forked from mirrors/gecko-dev
Bug 1561435 - Fix test failures for dom/, r=standard8
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35953 --HG-- extra : source : 601fd342df276db814d904aecf943dcd2f14290c extra : intermediate-source : 9ea5cf04581fe4dbf353443a98e6a970f0fdee41
This commit is contained in:
parent
9bb757c75b
commit
64a157bec4
2 changed files with 3 additions and 3 deletions
|
|
@ -55,14 +55,14 @@
|
|||
if (msg.data.type == "event") {
|
||||
eventFileTest.step(function() { assert_equals(msg.data.filename, workerLocation); });
|
||||
eventFileTest.done();
|
||||
eventLineTest.step(function() { assert_equals(msg.data.lineno, 15); });
|
||||
eventLineTest.step(function() { assert_equals(msg.data.lineno, 19); });
|
||||
eventLineTest.done();
|
||||
eventMessageTest.step(function() { assert_equals(msg.data.message, "Error: workerhello"); });
|
||||
eventMessageTest.done();
|
||||
} else {
|
||||
callbackFileTest.step(function() { assert_equals(msg.data.filename, workerLocation); });
|
||||
callbackFileTest.done();
|
||||
callbackLineTest.step(function() { assert_equals(msg.data.lineno, 15); });
|
||||
callbackLineTest.step(function() { assert_equals(msg.data.lineno, 19); });
|
||||
callbackLineTest.done();
|
||||
callbackMessageTest.step(function() { assert_equals(msg.data.message, "Error: workerhello"); });
|
||||
callbackMessageTest.done();
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
const sentMessage = "ping";
|
||||
const errorFilename = href.substring(0, href.lastIndexOf("/") + 1) +
|
||||
filename;
|
||||
const errorLine = 90;
|
||||
const errorLine = 97;
|
||||
const errorColumn = 11;
|
||||
|
||||
var worker = new SharedWorker(filename);
|
||||
|
|
|
|||
Loading…
Reference in a new issue