Skip to content

Commit 82b2443

Browse files
committed
Add more globals to whitelist for safari
Fixes #3199
1 parent a5b7b85 commit 82b2443

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lazypipe": "^0.2.3",
1818
"polyclean": "^1.2.0",
1919
"run-sequence": "^1.1.0",
20-
"web-component-tester": "^3.3.21"
20+
"web-component-tester": "^4"
2121
},
2222
"scripts": {
2323
"build": "gulp",

‎test/unit/globals.html‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
// Polymer
4141
Polymer: true,
4242
currentImport: true
43+
44+
// weird safari + selenium globals
45+
alert: true,
46+
confirm: true,
47+
prompt: true
4348
};
4449

4550
test('check global leakage', function() {

0 commit comments

Comments
 (0)