Skip to content

Commit

Permalink
Upgrade old chrome to 45 (#5938)
Browse files Browse the repository at this point in the history
  • Loading branch information
aghassemi authored Nov 1, 2016
1 parent e5501a3 commit 401c180
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build-system/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var karma = {
browsers: [
'SL_Chrome_android',
'SL_Chrome_latest',
'SL_Chrome_37',
'SL_Chrome_45',
'SL_Firefox_latest',
'SL_Safari_8',
'SL_Safari_9',
Expand Down
2 changes: 1 addition & 1 deletion build-system/tasks/runtime-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function getConfig() {
}
const c = extend(obj, karmaConfig.saucelabs);
if (argv.oldchrome) {
c.browsers = ['SL_Chrome_37']
c.browsers = ['SL_Chrome_45'];
}
}

Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-a4a/0.1/test/test-amp-a4a.js
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ describe('amp-a4a', () => {
const doc = fixture.doc;
const a4aElement = createA4aElement(doc);
const a4a = new AmpA4A(a4aElement);
a4a.adUrl_ = 'http://foo.com';
a4a.adUrl_ = 'https://nowhere.org';
a4a.maybeRenderAmpAd_ = function() { return Promise.resolve(false); };
return a4a.maybeRenderAmpAd_().then(rendered => {
// Force vsync system to run all queued tasks, so that DOM mutations
Expand All @@ -747,7 +747,7 @@ describe('amp-a4a', () => {
expect(a4aElement.children.length).to.equal(1);
const iframe = a4aElement.children[0];
expect(iframe.tagName).to.equal('IFRAME');
expect(iframe.src.indexOf('http://foo.com')).to.equal(0);
expect(iframe.src.indexOf('https://nowhere.org')).to.equal(0);
expect(iframe.style.visibility).to.equal('');
});
});
Expand Down
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ module.exports = function(config) {
base: 'SauceLabs',
browserName: 'chrome',
},
SL_Chrome_37: {
SL_Chrome_45: {
base: 'SauceLabs',
browserName: 'chrome',
version: 37,
version: '45',
},
SL_iOS_9_1: {
base: 'SauceLabs',
Expand Down
2 changes: 1 addition & 1 deletion testing/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export function createFixtureIframe(fixture, initialIframeHeight, opt_beforeLoad
};
let timeout = setTimeout(function() {
reject(new Error('Timeout waiting for elements to start loading.'));
}, 1000);
}, 2000);
// Declare the test ready to run when the document was fully parsed.
window.afterLoad = function() {
resolve({
Expand Down

0 comments on commit 401c180

Please sign in to comment.