mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision ac12b3e9488edb436f063b11213e954ae62d5a5e
This commit is contained in:
parent
65370f17c9
commit
b56a3b8e69
111 changed files with 3122 additions and 68 deletions
|
@ -0,0 +1,15 @@
|
|||
// META: global=!default,sharedworker
|
||||
// https://crbug.com/239669
|
||||
const t = async_test("Tests that repeatedly setting 'onerror' within a shared worker doesnt crash.");
|
||||
onconnect = t.step_func_done((event) => {
|
||||
function update() {
|
||||
onerror = undefined;
|
||||
}
|
||||
try {
|
||||
for (var i = 0; i < 8; ++i) {
|
||||
update();
|
||||
}
|
||||
} catch (ex) {
|
||||
assert_unreached("FAIL: unexpected exception (" + ex + ") received while updating onerror event handler.");
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue