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

6004 Коммитов

Автор SHA1 Сообщение Дата
Kashav Madan c2b56a6b32 Bug 1554070 - Ensure that the selected window has a targetable BrowsingContext, r=nika
When searching for a target by name, don't select a window if its associated
BrowsingContext is closed, discarded, or cached.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 15:35:04 +00:00
Kashav Madan 2f3f4c3567 Bug 1527321 - Implement BrowsingContext::IsTargetable, r=nika
Renames IsActive to IsTargetable, and updates its implementation to check that
the current browsing context is neither closed nor cached.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 15:31:04 +00:00
Jean-Yves Avenard 59c3f78447 Bug 1566153 - P2. Clean-up BrowsingContextGroup references when empty. r=nika
We can remove references held in the ContentChild and the ContentParent once the BrowsingContextGroup becomes empty.
This allows to break the cycles and the BrowsingContextGroup to be deleted.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 00:31:38 +00:00
Bogdan Tara ca45889546 Backed out 9 changesets (bug 1523638) for browser_contextmenu.js failures CLOSED TREE
Backed out changeset 0a584a07b696 (bug 1523638)
Backed out changeset 8c5af2289900 (bug 1523638)
Backed out changeset 40ed1bd64b09 (bug 1523638)
Backed out changeset 9a99a0391979 (bug 1523638)
Backed out changeset 07fb4748b91a (bug 1523638)
Backed out changeset 49047c3ebae9 (bug 1523638)
Backed out changeset d606d072126c (bug 1523638)
Backed out changeset 76dc1937fc77 (bug 1523638)
Backed out changeset c784c14b5d5d (bug 1523638)
2019-07-16 23:40:47 +03:00
Boris Zbarsky 826f1ff208 Bug 1566543. Stop using [array] for get/setColorMatrix. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D38222

--HG--
extra : moz-landing-system : lando
2019-07-16 18:30:10 +00:00
Nika Layzell 89d26ca7eb Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:56 +00:00
Nika Layzell 1fd3e64667 Bug 1523638 - Part 8: Remove unused arguments from nsDocShell::Embed(), r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37655

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:54 +00:00
Nika Layzell 4d83ce526b Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37651

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:41 +00:00
Gijs Kruitbosch 5ae6f00741 Bug 1550637 - hide tooltip when the docshell navigate, don't show tooltips if the docshell is no longer active, r=nika,dao
Differential Revision: https://phabricator.services.mozilla.com/D35503

--HG--
extra : moz-landing-system : lando
2019-07-16 07:48:23 +00:00
Cameron McCormack cb3298fa5a Bug 1565965 - Allow unsafe loads in the Layout Debugger. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38037

--HG--
extra : moz-landing-system : lando
2019-07-16 03:47:56 +00:00
Nika Layzell af7e2b19f4 Bug 1563604 - Part 2: Assert on the sending side that BrowsingContexts are in valid states, r=peterv
This should help us more easily identify where the crashing issues are coming
from. The issue in part 1 was found due to these assertion changes.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 20:44:57 +00:00
Nika Layzell 716af7c4d4 Bug 1563604 - Part 1: Confirm detach calls before dropping refs, r=peterv
This ensures that the object is not discarded while there are still in-flight
messages from the parent process, and vice-versa, which could cause crashes if a
CC was run before any pending messages have arrived.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 20:44:50 +00:00
Boris Zbarsky 374137e8d8 Bug 1565767 part 5. Remove some unnecesary refcounting at nsIContent::GetBaseURI callsites. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37973

--HG--
extra : moz-landing-system : lando
2019-07-15 18:29:05 +00:00
Boris Zbarsky 75aa8f554d Bug 1565767 part 4. Remove some unnecesary refcounting at Document::GetBaseURI callsites. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37972

--HG--
extra : moz-landing-system : lando
2019-07-15 18:28:43 +00:00
Boris Zbarsky 5062731c15 Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37968

--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Gijs Kruitbosch c097971fe3 Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36312

--HG--
extra : moz-landing-system : lando
2019-07-12 16:29:01 +00:00
Gijs Kruitbosch b5b5d6a0ab Bug 1560178 - fix miscellaneous tests to allow them to keep working when disallowing remote content in the parent process, r=aswan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36310

--HG--
extra : moz-landing-system : lando
2019-07-12 16:27:58 +00:00
Dorel Luca 77d61d6a6f Backed out 5 changesets (bug 1560178) for Browser-chrome failures in builds/worker/workspace/build/src/dom/base/Document.cpp. CLOSED TREE
Backed out changeset 1ff8a41dd3c1 (bug 1560178)
Backed out changeset 4aaeda889656 (bug 1560178)
Backed out changeset b1dfc0b5a14c (bug 1560178)
Backed out changeset 45fca0f1b675 (bug 1560178)
Backed out changeset fc2be64e4ece (bug 1560178)
2019-07-12 18:38:34 +03:00
Gijs Kruitbosch c16328f6e2 Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36312

--HG--
extra : moz-landing-system : lando
2019-07-12 12:36:33 +00:00
Gijs Kruitbosch 8b9bc73770 Bug 1560178 - fix miscellaneous tests to allow them to keep working when disallowing remote content in the parent process, r=aswan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36310

--HG--
extra : moz-landing-system : lando
2019-07-12 12:35:59 +00:00
Ehsan Akhgari 1000118805 Bug 1565373 - Use the intrinsic storage principal when inheriting directly; r=baku
We shouldn't perform an anti-tracking check here, since that may result
in us picking the node principal unintentionally.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 09:08:38 +00:00
Emilio Cobos Álvarez c17be889ab Bug 1218456 - Remove nsILinkHandler. r=smaug
Interfaces with just one implementation don't seem very useful.

Differential Revision: https://phabricator.services.mozilla.com/D37406
2019-07-09 23:08:05 +02:00
Dorel Luca 9925ca654c Backed out 5 changesets (bug 1218456) for Crashtest failures on dom/l10n/tests/mochitest/dom_localization/test_overlay.html. CLOSED TREE
Backed out changeset 31afe89c2d42 (bug 1218456)
Backed out changeset 8bd57ebc4528 (bug 1218456)
Backed out changeset e5d37afff36a (bug 1218456)
Backed out changeset e3da86278ecf (bug 1218456)
Backed out changeset 343046089f8e (bug 1218456)

--HG--
extra : rebase_source : f092d903c8c80581d187493e036b1875d8668b3d
2019-07-09 22:04:13 +03:00
Emilio Cobos Álvarez ddaf2014c9 Bug 1218456 - followup: Fix MinGW build bustage.
CLOSED TREE
2019-07-09 19:24:20 +02:00
Emilio Cobos Álvarez 23a7cb7a68 Bug 1218456 - Remove nsILinkHandler. r=smaug
Interfaces with just one implementation don't seem very useful.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 16:17:47 +00:00
Nicholas Nethercote 2a0a298b36 Bug 1563996 - Make privacy.trackingprotection.{pbmode.,}enabled static prefs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37202

--HG--
extra : moz-landing-system : lando
2019-07-09 07:59:22 +00:00
Nicholas Nethercote 7c43c6f952 Bug 1563996 - Make browser.xul.error_pages.enabled a static pref. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37201

--HG--
extra : moz-landing-system : lando
2019-07-09 07:59:03 +00:00
Nicholas Nethercote 544a779566 Bug 1563996 - Make three VarCache prefs in nsDefaultURIFixup.cpp into static prefs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37200

--HG--
extra : moz-landing-system : lando
2019-07-09 07:58:44 +00:00
Nika Layzell eb598b2ae9 Bug 1563542 - Correctly align usage of mIsDiscarded and mClosed for BrowsingContext, r=peterv
In the bug which introduced mIsDiscarded, the code was changed to not set
mClosed during Detach, and only set mIsDiscarded. This was a mistake because a
bunch of places are only reading mClosed. Specifically when creating a
BrowsingContext for an iframe, we check GetClosed() to see whether to skip
creating it. Not doing this check can lead to assertions like the one in this
bug.

This patch changes the behaviour to continue setting `mClosed`, and also updates
the relevant `GetClosed()` checks to correctly check `IsDiscarded()`

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:27:27 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Kershaw Chang a53a39a584 Bug 1563824 - New error NS_ERROR_TOO_MANY_REQUESTS for 429 response r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37140

--HG--
extra : moz-landing-system : lando
2019-07-06 21:46:00 +00:00
Sylvestre Ledru 131d0c6a02 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:18:28 +00:00
Geoff Brown 25a153e847 Bug 1455996 - Skip mochitest test_marquee_event_handlers.html; r=bobowen
Failures are affecting all platforms now. Let's skip the test entirely until
you can make it more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 12:56:54 +00:00
Victor Porof bcdc3a9567 Bug 1561435 - Format docshell/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : b08f475f1140b9e650b316ee2813c13ec9947678
2019-07-05 09:59:46 +02:00
Razvan Maries 960e4c47d4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-05 00:43:53 +03:00
Thomas Nguyen 2cf9034d70 Bug 1556827 - Dont send referrer in case of meta refresh redirect r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35810

--HG--
extra : moz-landing-system : lando
2019-07-04 19:58:35 +00:00
arthur.iakab 7bc47eec9b Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Sebastian Streich ce99ef5438 Bug 1552168 - Fix Tests that rely on data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35006

--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:46 +00:00
Sebastian Streich e7a3fe847e Bug 1552168 - Remove Pref data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35005

--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:29 +00:00
Kris Maglione 5f94103053 Bug 1560400: Part 3 - Update DocShell frame navigation tests to support remote frames. r=nika
The tests still fail under Fission, because the mechanisms they use to
navigate the frames don't work, but at least the checks for whether the
navigation succeeded now do. That means the tests should start passing when
the necessary APIs become Fission-compatible.

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

--HG--
extra : rebase_source : 6abaf14899403beec1b00ee78e4796a4446a5f64
extra : source : bf0f0e95c61c2a57d176699f05e71e967a13d3e8
2019-06-20 14:30:47 -07:00
Kris Maglione 65f0f4700f Bug 1532795: Part 4 - Add helper to get BrowsingContext from WindowProxy. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35377

--HG--
extra : rebase_source : 40fc5227409b49f2e4a4dc994324a226a6b01325
extra : source : 119caddcb0660754f9bce5e7153bfc92dc211d57
2019-06-19 13:06:32 -07:00
Kris Maglione 0296227317 Bug 1532795: Part 3 - Update random test to use SpecialPowers.spawn for cross-process iframe access. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35297

--HG--
extra : rebase_source : 1394011b96cb72cc6c7721f4ca15f9f282de4061
extra : source : fbbe113aeef2f44741248ef15be66562e66adf6c
2019-06-18 20:49:35 -07:00
Kris Maglione 8482b1b0ff Bug 1532795: Part 1 - Support sending BrowsingContexts via structured clone. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35698

--HG--
extra : rebase_source : 7aa723dcfa4e351c6898abd7ae9be6cf1d908423
extra : source : 1471732eca80f6fa44ae50b39c0317965cd29671
2019-07-01 15:24:09 -07:00
Andreas Farre c9e565fe1c Bug 1561899 - Add mIsDiscarded and use that when detaching. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D36195

--HG--
extra : moz-landing-system : lando
2019-07-02 20:48:13 +00:00
Andrew McCreight f3d1db0145 Bug 1560977 - Annotate crash reports if Fission is enabled. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D36530

--HG--
extra : moz-landing-system : lando
2019-07-02 21:08:55 +00:00
Kris Maglione fd61f8b9d4 Bug 1541557: Part 7 - Convert SpecialPowers to use JSWindowActors rather than framescripts. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35057

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.jsm => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/SpecialPowers.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : f3edaf8edc918bb4291b66cb50f4de117f57b2bd
extra : source : 46ff845a7b0cdabf640bb2e3c783735ab68b7cd1
2019-06-12 10:48:29 -07:00
Kris Maglione cc17dab6b6 Bug 1558298: Part 5 - Let ChromePowers.js handle its own SpecialPowers imports. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34594

--HG--
extra : rebase_source : 3e96cb3372833bc84de491ccbea8e26e84fad27c
extra : source : f94500dd11e38ba34310216d958943d6ef07ce96
2019-06-10 14:15:47 -07:00
Kris Maglione 573bb7a368 Bug 1558298: Part 3 - Always load specialpowers.js as a JSM. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34592

--HG--
rename : testing/specialpowers/content/specialpowers.js => testing/specialpowers/content/SpecialPowers.jsm
extra : rebase_source : 4816d20b49de84e082d506818ce222bba64f017d
extra : source : c634099abb9dc0196877e626c0df0c168d78876f
2019-06-10 13:31:19 -07:00
Kris Maglione 78818013b7 Bug 1558298: Part 2 - Always load specialpowersAPI.js as a JSM. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34591

--HG--
rename : testing/specialpowers/content/specialpowersAPI.js => testing/specialpowers/content/SpecialPowersAPI.jsm
extra : rebase_source : 58842419c5fd5fa0ac79c3f8d175c11982076df5
extra : source : 8d4419c439e1d92209f237e0d9f1e6c19fa71872
2019-06-10 13:12:00 -07:00
Valentin Gosu a09f77fb6b Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35839

--HG--
extra : moz-landing-system : lando
2019-06-30 20:20:51 +00:00