Skip to content

Commit

Permalink
Add some global whitelists
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 20, 2018
1 parent 1761c79 commit d6821e4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/unit/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,19 @@
stub: true,

// Polymer
Polymer: true,
currentImport: true,
JSCompiler_renameProperty: true,

// weird safari + selenium globals
alert: true,
confirm: true,
prompt: true
prompt: true,

// weird Firefox event
NotifyPaintEvent: true,

// module-to-amd transform
require: true,
resolve: true
};

test('check global leakage', function() {
Expand Down

0 comments on commit d6821e4

Please sign in to comment.