Permalink
Browse files

Update `isChromeVisible` to a more intuitive form.

  • Loading branch information...
1 parent 0b60ef2 commit e4db2a39dad593dacd7744ab5d7184aa817eb027 @Gozala Gozala committed Feb 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/addon-kit/tests/test-addon-page.js
@@ -11,8 +11,8 @@ const { setTimeout } = require('api-utils/timer');
let uri = require('self').data.url('index.html');
-function isChromeVisible({ document })
- document.documentElement.getAttribute('disablechrome') !== 'true'
+function isChromeVisible(window)
+ window.document.documentElement.getAttribute('disablechrome') !== 'true'
exports['test that add-on page has no chrome'] = function(assert, done) {
let loader = Loader(module);

0 comments on commit e4db2a3

Please sign in to comment.