feat(webkit): roll to 1029 (#222)
This commit is contained in:
parent
3c7181a545
commit
856787a8e6
|
|
@ -10,7 +10,7 @@
|
||||||
"playwright": {
|
"playwright": {
|
||||||
"chromium_revision": "719491",
|
"chromium_revision": "719491",
|
||||||
"firefox_revision": "1004",
|
"firefox_revision": "1004",
|
||||||
"webkit_revision": "1027"
|
"webkit_revision": "1029"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"unit": "node test/test.js",
|
"unit": "node test/test.js",
|
||||||
|
|
|
||||||
|
|
@ -246,12 +246,16 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
||||||
expect(failedRequests[0].url()).toContain('one-style.css');
|
expect(failedRequests[0].url()).toContain('one-style.css');
|
||||||
expect(failedRequests[0].response()).toBe(null);
|
expect(failedRequests[0].response()).toBe(null);
|
||||||
expect(failedRequests[0].resourceType()).toBe('stylesheet');
|
expect(failedRequests[0].resourceType()).toBe('stylesheet');
|
||||||
if (CHROME)
|
if (CHROME) {
|
||||||
expect(failedRequests[0].failure().errorText).toBe('net::ERR_INVALID_HTTP_RESPONSE');
|
expect(failedRequests[0].failure().errorText).toBe('net::ERR_INVALID_HTTP_RESPONSE');
|
||||||
else if (WEBKIT)
|
} else if (WEBKIT) {
|
||||||
expect(failedRequests[0].failure().errorText).toBe('Message Corrupt');
|
if (process.platform === 'darwin')
|
||||||
else
|
expect(failedRequests[0].failure().errorText).toBe('The network connection was lost.');
|
||||||
|
else
|
||||||
|
expect(failedRequests[0].failure().errorText).toBe('Message Corrupt');
|
||||||
|
} else {
|
||||||
expect(failedRequests[0].failure().errorText).toBe('NS_ERROR_FAILURE');
|
expect(failedRequests[0].failure().errorText).toBe('NS_ERROR_FAILURE');
|
||||||
|
}
|
||||||
expect(failedRequests[0].frame()).toBeTruthy();
|
expect(failedRequests[0].frame()).toBeTruthy();
|
||||||
});
|
});
|
||||||
it('Page.Events.RequestFinished', async({page, server}) => {
|
it('Page.Events.RequestFinished', async({page, server}) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue