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:
Victor Porof 2019-06-24 04:55:14 +02:00
Родитель 9bb757c75b
Коммит 64a157bec4
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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);