Граф коммитов

98 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 91b65009eb Bug 1549945 - Avoid the need for import-globals-from when (x)html files load scripts via /tests/. r=mossop
When loading from /tests/ we can strip off the /tests/ part and find the file with the rest of the path.

Differential Revision: https://phabricator.services.mozilla.com/D71411
2020-04-20 16:15:11 +00:00
Simon Giesecke 6260a0f6e4 Bug 1370725 - Remove redundant dom/broadcastchannel/tests/test_broadcastchannel_any.html. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67819

--HG--
extra : moz-landing-system : lando
2020-03-23 11:33:55 +00:00
Andrea Marchesini d6f957415c Bug 1622124 - BroadcastChannel receives messages in onmessage after channel has been closed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66944

--HG--
extra : moz-landing-system : lando
2020-03-17 03:56:12 +00:00
Mihai Alexandru Michis 2b06d42785 Backed out changeset b92e26454745 (bug 1622124) for causing failures in test_broadcastchannel_close2.html
CLOSED TREE
2020-03-16 21:44:27 +02:00
Andrea Marchesini 321d68a5a5 Bug 1622124 - BroadcastChannel receives messages in onmessage after channel has been closed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66944

--HG--
extra : moz-landing-system : lando
2020-03-16 17:17:13 +00:00
Bogdan Tara 8e9e931317 Backed out changeset 43843f5a7d32 (bug 1622124) for permafails on webmessaging/broadcastchannel/basics.html CLOSED TREE 2020-03-16 18:44:59 +02:00
Andrea Marchesini b846f4be70 Bug 1622124 - BroadcastChannel receives messages in onmessage after channel has been closed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66944

--HG--
extra : moz-landing-system : lando
2020-03-16 11:57:47 +00:00
Simon Giesecke 1fabf7b51c Bug 1617170 - Encapsulate StructuredCloneReadInfo members. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64078

--HG--
extra : moz-landing-system : lando
2020-03-11 17:20:05 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Andrea Marchesini 57e537d532 Bug 1613909 - remove wasm and SharedArrayBuffers tests for BroadcastChannel and MessagePort, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D63083

--HG--
extra : moz-landing-system : lando
2020-02-17 17:13:14 +00:00
Andrea Marchesini 86fbe8d9d8 Bug 1613909 - Enable SharedArrayBuffer and wasm for broadcastChannel tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62612

--HG--
extra : moz-landing-system : lando
2020-02-13 01:26:42 +00:00
Andrea Marchesini 3efc616139 Bug 1613909 - Enable shared-memory for SAP + postMessage() tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62036

--HG--
extra : moz-landing-system : lando
2020-02-07 16:08:05 +00:00
Andrea Marchesini 5ee8116920 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 5 - more tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61187

--HG--
extra : moz-landing-system : lando
2020-02-06 13:48:30 +00:00
Narcis Beleuzu d259fe38d8 Backed out 13 changesets (bug 1611855) for wpt failures on /audioworklet-postmessage-sharedarraybuffer.https.html . CLOSED TREE
Backed out changeset 2b661d588f96 (bug 1611855)
Backed out changeset 16094fc92bc9 (bug 1611855)
Backed out changeset 3f89bbcaff92 (bug 1611855)
Backed out changeset a906501b6d92 (bug 1611855)
Backed out changeset 54738b88425d (bug 1611855)
Backed out changeset d27de910a6c0 (bug 1611855)
Backed out changeset 261902f6336d (bug 1611855)
Backed out changeset 380d83b61e62 (bug 1611855)
Backed out changeset 39aac60ebf5e (bug 1611855)
Backed out changeset 5ea099787376 (bug 1611855)
Backed out changeset d0f58871f838 (bug 1611855)
Backed out changeset e1be102310a9 (bug 1611855)
Backed out changeset 633357835540 (bug 1611855)

--HG--
rename : dom/base/test/test_postMessages_workers.html => dom/base/test/test_postMessages.html
2020-02-06 12:31:36 +02:00
Andrea Marchesini e23b403e32 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 5 - more tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61187

--HG--
extra : moz-landing-system : lando
2020-02-05 22:08:46 +00:00
Simon Giesecke ef5eb5a207 Bug 1509292 - Remove test test_broadcastchannel_worker.html r=baku
The test suffers from a race condition, and shows frequest intermittent
failures. There already is is WPT test testing the same in
/testing/web-platform/tests/webmessaging/broadcastchannel/workers.html
test case 'BroadcastChannel works in workers', which does not seem
to suffer from this problem.

Differential Revision: https://phabricator.services.mozilla.com/D61103

--HG--
extra : moz-landing-system : lando
2020-01-29 09:25:28 +00:00
Noemi Erli c57127be79 Backed out changeset fc73a1225106 (bug 1509292) for causing build bustages CLOSED TREE 2020-01-29 10:26:15 +02:00
Simon Giesecke 475a68fff8 Bug 1509292 - Remove test test_broadcastchannel_worker.html r=baku
The test suffers from a race condition, and shows frequest intermittent
failures. There already is is WPT test testing the same in
/testing/web-platform/tests/webmessaging/broadcastchannel/workers.html
test case 'BroadcastChannel works in workers', which does not seem
to suffer from this problem.

Differential Revision: https://phabricator.services.mozilla.com/D61103

--HG--
extra : moz-landing-system : lando
2020-01-29 08:03:59 +00:00
Andrea Marchesini c4f533906f Bug 1611424 - Intermittent TV dom/broadcastchannel/tests/test_wasm.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60977

--HG--
extra : moz-landing-system : lando
2020-01-24 18:08:23 +00:00
Noemi Erli f3e1f0d3c6 Backed out changeset 1154b297e921 (bug 1611424) for causing ESlint failure in test_wasm.html 2020-01-24 18:00:23 +02:00
Andrea Marchesini 960b3ab7c5 Bug 1611424 - Intermittent TV dom/broadcastchannel/tests/test_wasm.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60977

--HG--
extra : moz-landing-system : lando
2020-01-24 15:11:54 +00:00
Andrea Marchesini 6b524374dc Bug 1610020 - BroadcastChannel + wasm - part 6 - tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60322

--HG--
extra : moz-landing-system : lando
2020-01-24 08:00:26 +00:00
Tom Schuster 989660da15 Bug 1605854 - Remove uneval/toSource from DOM tests. r=smaug
Using JSON.stringify in dom/tests/mochitest/chrome/test_clonewrapper.xhtml might not be the best solution, because
the testObject contains ImageData objects.

Differential Revision: https://phabricator.services.mozilla.com/D58645

--HG--
extra : moz-landing-system : lando
2020-01-06 13:09:27 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Oana Pop Rus b180595588 Bug 1447586 Disable test_broadcastchannel_close2.html on Android, Linux64 and Mac r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50853

--HG--
extra : moz-landing-system : lando
2019-10-29 14:07:57 +00:00
Victor Porof 0a8ff0ad85 Bug 1561435 - Format dom/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35951

--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
Brian Grinstead 0d460e3432 Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

Differential Revision: https://phabricator.services.mozilla.com/D27457

--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Edwin Gao bb0492c3e0 Bug 1535784 - disable all instances of test_event_listener_leaks.html r=jmaher
Disabled all instances of test_event_listener_leaks.html scattered across the `dom/` test suite.

There exists a bug, 1530894 to track the failures, which has seen no movement for the 3 weeks it has been on file for.

Differential Revision: https://phabricator.services.mozilla.com/D23755

--HG--
extra : moz-landing-system : lando
2019-03-18 18:15:46 +00:00
Alex Kong 1a4b7d1b8a Bug 1508988 - Enable ESLint for dom/abort/, dom/asmjscache/, dom/battery/, dom/broadcastchannel/ and dom/console/ (manual changes). r=Standard8,nika
Differential Revision: https://phabricator.services.mozilla.com/D14132

--HG--
extra : moz-landing-system : lando
2018-12-19 22:39:34 +00:00
Alex Kong a164593e05 Bug 1508988 - Enable ESLint for dom/abort/, dom/asmjscache/, dom/battery/, dom/broadcastchannel/ and dom/console/ (automatic changes). r=Standard8,nika
Differential Revision: https://phabricator.services.mozilla.com/D14131

--HG--
extra : moz-landing-system : lando
2018-12-19 22:38:44 +00:00
Mark Banner a26105ff45 Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661

--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00:00
Julian Descottes 305dfd1207 Bug 1499096 - Update tests using ok() to is(), with minor fixes;r=Standard8
Depends on D8741
This changeset updates some calls to ok() that should actually be calls to is()
and that needed tiny fixes to match the expected value.

Differential Revision: https://phabricator.services.mozilla.com/D8742

--HG--
extra : moz-landing-system : lando
2018-10-23 07:21:18 +00:00
Julian Descottes 2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

Differential Revision: https://phabricator.services.mozilla.com/D8739

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Jonathan Kingston 2f0987a202 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb r?=gijs
Summary: Depends on D2046

Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2047

--HG--
extra : source : 33884d05cc94463950b31fab1fd2f37ada9becef
extra : intermediate-source : 72471adb75d5ec3dc2b0c8f972a6f1f26bfd3ae2
extra : histedit_source : f384cbab58401575afc3443c9a431b73cff806d4
2018-07-06 21:16:29 +01:00
dvarga 12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston c15f69d427 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2047

--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +03:00
Andreea Pavel f5c1119983 Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston 4ca581ffed Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2047

--HG--
extra : rebase_source : 4bb9e7feb0704239756e6e38623c0fea81669f7b
extra : amend_source : 9417f96547735fbdc55ea23666327a5cb86ac92f
2018-08-06 19:56:37 +03:00
Andrea Marchesini 641d521636 Bug 1453925 - BroadcastChannel doesn't need to use a runnable to dispatch messages, r=asuth 2018-04-14 01:01:52 +02:00
Cosmin Sabou 5748e6f517 Backed out changeset efa6394f2a4a (bug 1453925) for mochitest failures on test_broadcastchannel_worker_alive.html. a=backout 2018-04-15 02:45:33 +03:00
Andrea Marchesini 1a39373d7d Bug 1453925 - BroadcastChannel doesn't need to use a runnable to dispatch messages, r=asuth 2018-04-14 01:01:52 +02:00
Ben Kelly 0e1f0b0b34 Bug 1450358 P6 Add BroadcastChannel event listener leak test. r=baku 2018-04-04 11:25:43 -07:00
Tooru Fujisawa 1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00