mirror of
https://github.com/servo/servo.git
synced 2025-08-23 06:15:35 +01:00
Update web-platform-tests to revision c2e5b9fbaa17424f05ca2bb04609790a3b61d5c2
This commit is contained in:
parent
db7bb2a510
commit
f2c1b70e4a
138 changed files with 2799 additions and 851 deletions
|
@ -141,7 +141,7 @@ recursiveData.foo = recursiveData;
|
|||
Object.freeze(recursiveData);
|
||||
|
||||
const modifierWithRecursiveData = Object.freeze({
|
||||
supportedMethods: validMethodBasicCard,
|
||||
supportedMethods: "basic-card",
|
||||
total: validTotal,
|
||||
data: recursiveData,
|
||||
});
|
||||
|
@ -186,7 +186,7 @@ function testBadUpdate(button, badDetails, expectedError, errorCode) {
|
|||
<ol>
|
||||
<li>
|
||||
<button onclick="
|
||||
const rejectedPromise = Promise.reject(new SyntaxError('test')).catch(err => err);
|
||||
const rejectedPromise = Promise.reject(new SyntaxError('test'));
|
||||
testBadUpdate(this, rejectedPromise, 'AbortError');
|
||||
">
|
||||
Rejection of detailsPromise must abort the update with an "AbortError" DOMException.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue