Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web-platform-tests to revision b382ac7192087da0a7439902e20be76…
…ab7587ee8
- Loading branch information
1 parent
3e96a32
commit defee2a
Showing
45 changed files
with
632 additions
and
176 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[floats-in-table-caption-001.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/CSS2/positioning/abspos-inline-007.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[abspos-inline-007.xht] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-050.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[css3-text-line-break-opclns-050.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-054.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[css3-text-line-break-opclns-054.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-059.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[css3-text-line-break-opclns-059.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-164.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[css3-text-line-break-opclns-164.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-165.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[css3-text-line-break-opclns-165.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-values/vh_not_refreshing_on_chrome.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[vh_not_refreshing_on_chrome.html] | ||
expected: FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,8 @@ | |
[idlharness] | ||
expected: FAIL | ||
|
||
|
||
[idlharness.any.serviceworker.html] | ||
[idlharness] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,8 @@ | |
[general] | ||
expected: FAIL | ||
|
||
|
||
[general.any.serviceworker.html] | ||
[general] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,8 @@ | |
[idl] | ||
expected: FAIL | ||
|
||
|
||
[idl.any.serviceworker.html] | ||
[idl] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,8 @@ | |
[idlharness] | ||
expected: FAIL | ||
|
||
|
||
[idlharness.tentative.any.serviceworker.html] | ||
[idlharness] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,8 @@ | |
[idlharness] | ||
expected: FAIL | ||
|
||
|
||
[idlharness.any.serviceworker.html] | ||
[idlharness] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,8 @@ | |
[idlharness] | ||
expected: FAIL | ||
|
||
|
||
[idlharness.any.serviceworker.html] | ||
[idlharness] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
[urlencoded-parser.any.html] | ||
[request.formData() with input: &&&a=b&&&&c=d&] | ||
expected: FAIL | ||
|
||
[request.formData() with input: a&b&c] | ||
expected: FAIL | ||
|
||
[response.formData() with input: a=b&c=d] | ||
expected: FAIL | ||
|
||
[response.formData() with input: a&b&c] | ||
expected: FAIL | ||
|
||
[request.formData() with input: a=b&c=d] | ||
[response.formData() with input: &&&a=b&&&&c=d&] | ||
expected: FAIL | ||
|
||
|
||
[urlencoded-parser.any.worker.html] | ||
[response.formData() with input: a&b&c] | ||
expected: FAIL | ||
|
||
[request.formData() with input: &&&a=b&&&&c=d&] | ||
[request.formData() with input: a&b&c] | ||
expected: FAIL | ||
|
||
[request.formData() with input: _charset_=windows-1252&test=%C2x] | ||
[request.formData() with input: a=b&c=d] | ||
expected: FAIL | ||
|
||
[request.formData() with input: a&b&c] | ||
[response.formData() with input: &&&a=b&&&&c=d&] | ||
expected: FAIL | ||
|
||
[request.formData() with input: a=b&c=d] | ||
[response.formData() with input: a=b&c=d&] | ||
expected: FAIL | ||
|
||
[response.formData() with input: &&&a=b&&&&c=d&] | ||
[response.formData() with input: _charset_=windows-1252&test=%C2x] | ||
expected: FAIL | ||
|
||
[request.formData() with input: a=b&c=d&] | ||
[response.formData() with input: a=b&c=d] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/xhr/xmlhttprequest-sync-default-feature-policy.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[transition_calc_implicit.html] | ||
expected: TIMEOUT |
5 changes: 0 additions & 5 deletions
5
...eta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/wpt/web-platform-tests/background-fetch/service_workers/sw-helpers.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// The source to post setup and completion results to. | ||
let source = null; | ||
|
||
function sendMessageToDocument(msg) { | ||
source.postMessage(msg); | ||
} | ||
|
||
// Notify the document that the SW is registered and ready. | ||
self.addEventListener('message', event => { | ||
source = event.source; | ||
sendMessageToDocument('ready'); | ||
}); |
22 changes: 22 additions & 0 deletions
22
tests/wpt/web-platform-tests/background-fetch/service_workers/sw-update-ui.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
importScripts('sw-helpers.js'); | ||
|
||
async function updateUI(event) { | ||
let updateParams = []; | ||
switch (event.id) { | ||
case 'update-once': | ||
updateParams = [{title: 'Title1'}]; | ||
break; | ||
case 'update-twice': | ||
updateParams = [{title: 'Title1'}, {title: 'Title2'}]; | ||
break; | ||
} | ||
|
||
return Promise.all(updateParams.map(param => event.updateUI(param))) | ||
.then(() => 'update success') | ||
.catch(e => e.message); | ||
} | ||
|
||
self.addEventListener('backgroundfetched', event => { | ||
event.waitUntil(updateUI(event) | ||
.then(update => sendMessageToDocument({ type: event.type, update }))) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
tests/wpt/web-platform-tests/background-fetch/update-ui.https.window.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// META: script=/service-workers/service-worker/resources/test-helpers.sub.js | ||
// META: script=resources/utils.js | ||
'use strict'; | ||
|
||
// Covers functionality provided by BackgroundFetchUpdateEvent.updateUI(). | ||
// | ||
// https://wicg.github.io/background-fetch/#backgroundfetchupdateuievent | ||
|
||
const swName = 'sw-update-ui.js'; | ||
|
||
backgroundFetchTest(async (test, backgroundFetch) => { | ||
const registrationId = 'update-once'; | ||
const registration = | ||
await backgroundFetch.fetch(registrationId, 'resources/feature-name.txt'); | ||
assert_equals(registration.id, registrationId); | ||
|
||
const message = await getMessageFromServiceWorker(); | ||
assert_equals(message.update, 'update success'); | ||
|
||
}, 'Background Fetch updateUI resolves', swName); | ||
|
||
|
||
backgroundFetchTest(async (test, backgroundFetch) => { | ||
const registrationId = 'update-twice'; | ||
const registration = | ||
await backgroundFetch.fetch(registrationId, 'resources/feature-name.txt'); | ||
assert_equals(registration.id, registrationId); | ||
|
||
const message = await getMessageFromServiceWorker(); | ||
assert_equals(message.update, 'updateUI may only be called once.'); | ||
|
||
}, 'Background Fetch updateUI called twice fails', swName); |
24 changes: 24 additions & 0 deletions
24
tests/wpt/web-platform-tests/budget-api/idlharness.https.any.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// META: script=/resources/WebIDLParser.js | ||
// META: script=/resources/idlharness.js | ||
|
||
'use strict'; | ||
|
||
// See https://wicg.github.io/budget-api/ | ||
|
||
idl_test( | ||
['budget-api'], | ||
['html'], | ||
async idl_array => { | ||
idl_array.add_objects({ BudgetService: ['navigator.budget'] }); | ||
if (self.Window) { | ||
idl_array.add_objects({ Navigator: ['navigator'] }); | ||
} else { | ||
idl_array.add_objects({ WorkerNavigator: ['navigator'] }); | ||
} | ||
const budgetStates = await navigator.budget.getBudget(); | ||
if (budgetStates.length) { | ||
self.budgetState = budgetStates[0]; | ||
idl_array.add_objects({ BudgetState: ['budgetState'] }); | ||
} | ||
} | ||
); |
Oops, something went wrong.