Merge pull request #3200 from Polymer/fix-safari-test-globals

Add more globals to whitelist for safari
This commit is contained in:
Kevin Schaaf 2015-12-15 14:38:11 -08:00
commit 126223a050
3 changed files with 13 additions and 5 deletions

View File

@ -1,16 +1,18 @@
language: node_js
sudo: false
node_js: 4
node_js: stable
addons:
firefox: latest
sauce_connect: true
apt:
sources:
- google-chrome
- ubuntu-toolchain-r-test
packages:
- google-chrome-stable
- g++-4.8
before_script:
- npm install bower
- export PATH=$PWD/node_modules/.bin:$PATH
- npm install -g bower
- bower install
script:
- xvfb-run wct
@ -19,3 +21,4 @@ env:
global:
- secure: eFrp9xwSYG579rAR9/XyXYKh+UtIQJ1xS5q5PABu4ndYFckdJb8o3m7oXqRSikbiPWbCSd3Fkd6+ZKXlcQFdjJ+nx9gFitGthtH93qkvZCO3XhWEEBPj65igIo3hrRSOB6dIWyiZcnoH9IXLLQtKXY9uL1NCqCcyVHg1omPKr9w=
- secure: EAjjkzqZ8z+PEvdo2N2MiIjkqUYAjVkQABKyMw6N4hUa6YSNEW9PYyn4I0d9Rdvc25GwJ+oLQFdeQepioAkNfp6wYUj2IdMIfmmKa1aJWo5DWvOMDYp3ufRhIoiVi4ZVpLg9sTjw+078UhUQFWE44rwfUtHiIb2UbWe2/ueLOiM=
- CXX=g++-4.8

View File

@ -17,7 +17,7 @@
"lazypipe": "^0.2.3",
"polyclean": "^1.2.0",
"run-sequence": "^1.1.0",
"web-component-tester": "^3.3.21"
"web-component-tester": "^4"
},
"scripts": {
"build": "gulp",

View File

@ -39,7 +39,12 @@ suite('globals', function() {
// Polymer
Polymer: true,
currentImport: true
currentImport: true,
// weird safari + selenium globals
alert: true,
confirm: true,
prompt: true
};
test('check global leakage', function() {