mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 8da19eeb64e1dbcc32cabc2961a44e15635d116f
This commit is contained in:
parent
b32bff3b97
commit
120d9aa5dc
298 changed files with 9286 additions and 3047 deletions
|
@ -184,7 +184,7 @@ promise_test(() => {
|
|||
if (message.data === "Ready") {
|
||||
const onSuccess = () => { parent.postMessage("Failure", "*"); };
|
||||
const onError = error => {
|
||||
if (error.name == "SecurityError") {
|
||||
if (error.name == "NotAllowedError") {
|
||||
parent.postMessage("Success", "*");
|
||||
} else {
|
||||
parent.postMessage("Failure", "*");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue