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

4107 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Kris Maglione 6a39211860 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Csoregi Natalia b355fcc4bf Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
Kris Maglione d09458dc51 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
Kris Maglione 2faa43dd5c Bug 1647438: Remove nsIDOMWindowUtils.containerElement. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D81771
2020-07-02 15:03:44 +00:00
sefeng 80e3e377d1 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-07-03 19:48:59 +00:00
Cosmin Sabou 5d6a0462a3 Backed out changeset 0f5653007c41 (bug 1645046) for wpt failures. CLOSED TREE 2020-07-03 18:19:17 +03:00
sefeng 383b8d065d Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-07-02 20:36:37 +00:00
Kartikaya Gupta 09a3ec38fb Bug 1650193 - Make test_innerWidthHeight_script use overlay scrollbars. r=tnikkel
This allows it to pass when run on desktop with apz.allow_zooming=true.

Differential Revision: https://phabricator.services.mozilla.com/D82078
2020-07-02 19:35:51 +00:00
Noemi Erli b04c81aab3 Backed out changeset 397ad8a55255 (bug 1645046) for causing multiple wpt failures CLOSED TREE 2020-06-30 00:19:28 +03:00
sefeng 4132c41203 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-06-29 15:33:45 +00:00
Marcos Cáceres a20f1c126d Bug 1591329 - Require secure context for getGamePads() and events r=kip
Differential Revision: https://phabricator.services.mozilla.com/D80444
2020-06-26 20:01:28 +00:00
Jason Orendorff 7eb9e6c8e0 Bug 1647066 - Fix interfaces tests for shipping AggregateError to beta. r=jwalden.
Differential Revision: https://phabricator.services.mozilla.com/D80755
2020-06-24 00:52:46 +00:00
tkhan 6ccabd4784 Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D70362
2020-06-22 19:09:49 +00:00
Kris Maglione 3bda67deab Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Nika Layzell 3002ab2ab5 Bug 1508306 - Part 2: Fix Large-Allocation tests for new changes, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78999
2020-06-15 23:24:09 +00:00
Emilio Cobos Álvarez 5df2b6ec58 Bug 1599160 - Stop synthesizing performance timing entries for cache sheets. r=mayhemer
This basically undoes D77842, but it was better done on top than just
removing the patch from the stack. I could squash them if desired.

The previous patch to respect caching headers makes tests much much more
happy, to the point where I'm not sure whether we really need this or
not. Your call whether we should keep it or not.

Differential Revision: https://phabricator.services.mozilla.com/D78660
2020-06-12 19:06:12 +00:00
Narcis Beleuzu a8dde16e58 Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE
Backed out changeset 8844170ff408 (bug 1508306)
Backed out changeset b750f1d873cf (bug 1508306)
Backed out changeset c7170e76e676 (bug 1640019)
Backed out changeset 5905995e4815 (bug 1640019)
Backed out changeset 7bf86513348e (bug 1640019)
Backed out changeset f7d0605295f7 (bug 1640019)
Backed out changeset 521b4d5a9a89 (bug 1640019)
Backed out changeset 8542edc564bc (bug 1640019)
Backed out changeset 4f6a03152526 (bug 1640019)
Backed out changeset 30d2bf04719b (bug 1640019)
2020-06-12 22:47:50 +03:00
Nika Layzell 9c5d47c53f Bug 1508306 - Part 2: Fix Large-Allocation tests for new changes, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78999
2020-06-12 16:52:15 +00:00
Razvan Maries 7b30d6e82e Backed out 7 changesets (bug 1599160) for damp failures. CLOSED TREE
Backed out changeset edb0e17f3c98 (bug 1599160)
Backed out changeset 64b42ac358e6 (bug 1599160)
Backed out changeset ce1521b895e1 (bug 1599160)
Backed out changeset 0b0ff0ad8db7 (bug 1599160)
Backed out changeset c7ef05dae614 (bug 1599160)
Backed out changeset 466cfd0ad5db (bug 1599160)
Backed out changeset b3f28494f0e7 (bug 1599160)
2020-06-12 02:40:38 +03:00
Emilio Cobos Álvarez d1db9f246c Bug 1599160 - Stop synthesizing performance timing entries for cache sheets. r=mayhemer
This basically undoes D77842, but it was better done on top than just
removing the patch from the stack. I could squash them if desired.

The previous patch to respect caching headers makes tests much much more
happy, to the point where I'm not sure whether we really need this or
not. Your call whether we should keep it or not.

Differential Revision: https://phabricator.services.mozilla.com/D78660
2020-06-11 11:42:08 +00:00
Geoff Brown c507e488f6 Bug 1627523 - Disable test_selectevents.html on android for intermittent failures; r=snorp
In addition to the failures tracked by this bug and its dups for many months, there are likely
many other Android test_selectevents.html failures going unnoticed or reported to random bugs
because the failure message generated here is not picked up by treeherder bug suggestions (separate
issue tracked by bug 1407293). Note that this test has traditionally been skipped on Android;
I enabled it in bug 1585119, thinking that it was running reliably.

Differential Revision: https://phabricator.services.mozilla.com/D79139
2020-06-10 19:44:56 +00:00
Alexis Beingessner 8a9982b45a Bug 1642344 - remove unused dom.testing.ignore_ipc_principal pref. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D77852
2020-06-09 14:45:58 +00:00
Jon Coppeard ebd33b0e2f Bug 1639246 - Ship weak refs r=sfink,smaug
This renames the pref to remove 'experimental' and turns it on by default.

For integration with the CC, any DOM objects that are the target of a WeakRef or registered with a FinalizationRegistry have their wrappers preserved. WeakRef.deref() checks whether any wrapper is still preserved and returns undefined if not, to avoid giving out references to wrappers whose DOM object has been cycle collected.

Tests exercising browser integration are under js/xpconnect/tests/mochitest/.

Differential Revision: https://phabricator.services.mozilla.com/D77656
2020-06-09 11:20:45 +00:00
Neil Deakin ee1cb77c68 Bug 1643075, removed unused message manager usage from browser_test_performance_metrics.js, r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D78108
2020-06-04 00:07:25 +00:00
Jon Bauman a311412e9e Bug 1641208 - `Accept` header does not include `image/avif` even when `image.avif.enable` is set. r=mattwoodrow,aosmond,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77371
2020-06-01 22:21:05 +00:00
Razvan Maries a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Kris Maglione b3fcd970ec Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Masatoshi Kimura b9a2ffc214 Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Neil Deakin 7d5d797ff3 Bug 1640240, remove message manager usage from browser_test_focus_after_modal_state.js, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D76517
2020-05-22 19:03:02 +00:00
Jonathan Kingston f34d7b951e Bug 1557386 - Testing CORS content and errors for beacon. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D75804
2020-05-22 11:51:46 +00:00
Mihai Alexandru Michis 37ef8a125d Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
CLOSED TREE
2020-05-23 02:22:20 +03:00
Masatoshi Kimura 0701e89b7e Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-22 21:46:25 +00:00
Masatoshi Kimura 7ecd6866bd Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in test_resize_move_windows.xhtml. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D75302
2020-05-22 21:46:54 +00:00
Bogdan Tara 81a4d66bf7 Backed out changeset 68aec891cd2e (bug 1557386) for test_beaconFrame.html failures CLOSED TREE 2020-05-21 20:46:37 +03:00
Jonathan Kingston 04df574987 Bug 1557386 - Testing CORS content and errors for beacon. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D75804
2020-05-21 10:17:44 +00:00
Tom Tung dd538bb240 Bug 1606624 - Changes on interface tests in mochitest; r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66777
2020-05-19 04:30:19 +00:00
Emilio Cobos Álvarez 16af962c7e Bug 1638127 - Make Linux focus ring behavior match Windows, rather than Mac. r=karlt
The Mac focus model is a bit different (mouse doesn't focus form
controls for example).

This matches GTK3 to my knowledge, where outlines are not shown until
you've navigated with the keyboard.

We should maybe consider changing Android as well (and maybe all
platforms, actually), but that's a bit of a bigger endeavour.

Differential Revision: https://phabricator.services.mozilla.com/D75505
2020-05-18 10:33:14 +00:00
Cosmin Sabou b93117dadd Bug 1614436 - Disable browser_ConsoleStorageAPITests.js on linux asan for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D75686
2020-05-16 20:24:47 +00:00
sanketh 8b9dee2da4 Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku
In RFP mode, we do not support `PerformanceNavigationTiming`, so don't expose
it. In particular, `window.PerformanceNavigationTiming` should return
`undefined`.

Added a new method `PerformanceNavigationTiming::Enabled` which when used with
the WebIDL `Func` attribute allows us to toggle whether
`window.PerformanceNavigationTiming` is exposed.

Created
`dom/tests/mochitest/general/test_toggling_performance_navigation_timing.html`
to test whether the toggling works. Updated
`browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js`
to create a new window each time `privacy.resistFingerprinting` is flipped so
this behavior does not leak into other tests.

Differential Revision: https://phabricator.services.mozilla.com/D73528
2020-05-07 16:33:38 +00:00
Emilio Cobos Álvarez 12644d52bc Bug 1634569 - Remove hackaround for bug that can no longer happen. r=masayuki
This seems to come from bug 618907, which seems to be a hack-around code
that went away in bug 1595435.

If we open a window on mousedown such as it gains focus before this code
runs, we just steal the focus from it, which is undesired.

Also remove the test for bug 799299. It doesn't work anyways if the
browser is remote (this test only runs on non-e10s mode), and this
unifies the behavior with e10s and with content (see attached test-case,
which doesn't change behavior with and without my patch).

Differential Revision: https://phabricator.services.mozilla.com/D73901
2020-05-08 03:57:23 +00:00
Narcis Beleuzu 96bd10ac35 Backed out changeset 6cc9a20bbb57 (bug 1634569) for mochitest failures on test_focus.xhtml . CLOSED TREE 2020-05-06 13:58:31 +03:00
Emilio Cobos Álvarez 1e934bc543 Bug 1634569 - Remove hackaround for bug that can no longer happen. r=masayuki
This seems to come from bug 618907, which seems to be a hack-around code
that went away in bug 1595435.

If we open a window on mousedown such as it gains focus before this code
runs, we just steal the focus from it, which is undesired.

Also remove the test for bug 799299. It doesn't work anyways if the
browser is remote (this test only runs on non-e10s mode), and this
unifies the behavior with e10s and with content (see attached test-case,
which doesn't change behavior with and without my patch).

Differential Revision: https://phabricator.services.mozilla.com/D73901
2020-05-06 06:18:13 +00:00
Ian Moody 011b59d595 Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.

This was done automatically with a new eslint rule that will be introduced in
the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS.  The rule will be disabled for that instance.

Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Tom Schuster f77a3af47a Bug 1277799 - Define @@toStringTag on all DOM interface prototype objects. r=peterv
Instead of manually defining toStringTag we now add the toStringTag symbol to the list of properties.
This is also how we usually define toStringTag in the JS engine.
Even though this changes more code I like this approach better. Everything is centralized in the generated bindings file.

Differential Revision: https://phabricator.services.mozilla.com/D72179
2020-05-05 17:54:51 +00:00
Liang-Heng Chen 7560eb3292 Bug 1634305 - use BEHAVIOR_REJECT_TRACKER to run test; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D73607
2020-05-04 19:04:23 +00:00
Tom Tung 9662fc231a Bug 1624266 - Update some mochitests for testing interfaces; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71573
2020-05-04 07:31:50 +00:00
Andreas Farre a5c1034d17 Bug 1576188 - Test that save-as works for cross process frames. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D70388
2020-04-27 05:41:27 +00:00
Dorel Luca c2d429f9a0 Backed out 2 changesets (bug 1576188) for Build bustage in docshell/base/BrowsingContext.cpp. CLOSED TREE
Backed out changeset 7e5e86986811 (bug 1576188)
Backed out changeset b731cbad59a8 (bug 1576188)
2020-04-24 23:02:11 +03:00
Andreas Farre 91925ee89e Bug 1576188 - Test that save-as works for cross process frames. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D70388
2020-04-24 15:47:14 +00:00