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

5983 Коммитов

Автор SHA1 Сообщение Дата
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
Narcis Beleuzu dcc603a037 Backed out changeset 2719ba46ac12 (bug 1551601) for causing xpcshell failures. CLOSED TREE 2019-06-29 02:41:31 +03:00
Valentin Gosu 8c3c48e159 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-28 21:10:13 +00:00
Emilio Cobos Álvarez b1ca51fe1e Bug 1561738 - Remove nsStyleCoord. r=boris
And move the useful bits of it somewhere else (ServoStyleConstInlines.h for the
inline function definitions, and nsFrame.cpp for the static assertions).

Differential Revision: https://phabricator.services.mozilla.com/D36120
2019-06-28 12:44:44 +02:00
Cosmin Sabou 2fa2a56685 Backed out 3 changesets (bug 1561738) for causing build bustages on nsGridContainerFrame.cpp CLOSED TREE
Backed out changeset 98f100abc2ba (bug 1561738)
Backed out changeset 9ed20d0fb9ba (bug 1561738)
Backed out changeset 483b1e134ace (bug 1561738)
2019-06-28 13:27:09 +03:00
Emilio Cobos Álvarez e023916761 Bug 1561738 - Remove nsStyleCoord. r=boris
And move the useful bits of it somewhere else (ServoStyleConstInlines.h for the
inline function definitions, and nsFrame.cpp for the static assertions).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:46:26 +00:00
Andreas Farre 906c96a422 Bug 1555287 - Make sure to detach browsing context children early. r=nika
Always move browsing contexts to the cache, even if we're not caching
the docshell. If we're not moving to bfcache, BrowsingContext::Detach
will detach as normal.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:31:58 +00:00
Hiroyuki Ikezoe 0670fe9a3f Bug 1560237 - Introduce nsIScrollableFrame::IsSmoothScroll. r=botond
This is pretty much the same as ScrollStyles::IsSmoothScroll right now,
but in the next commit, we will no longer propagate scroll-behavior on <body> to
the root element so that nsIScrollableFrame::IsSmoothScroll will be changed
to reflect it.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:59:01 +00:00
Nicholas Nethercote 867b550ce8 Bug 1500829 - Remove nsIDocShell::shouldSaveLayoutState. r=nika
It's unused.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 22:06:39 +00:00
Ciure Andrei d631a393c8 Merge autoland to mozilla-central. a=merge 2019-06-25 12:38:30 +03:00
Ciure Andrei a32b379742 Backed out changeset a30ecde306ef (bug 1555287) for causing bug 1559537 a=backout 2019-06-25 09:36:36 +03:00
Edwin Gao 0b16ea99cf Bug 1555454 - move mochitests-plain over to macosx1014 r=jmaher
Changes:

- migrate over `mochitest-plain` to macosx1014
- disable some tests that are known to be problematic on macosx1014; they are noted in the comments

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:35:05 +00:00
Nika Layzell f3363ff093 Bug 1559460 - Support subframe process switches into embedder process, r=mccr8
This change comes in two parts. First, the code in WindowGlobalChild was changed
to detect the in-process case, and instruct the nsFrameLoader to become a
non-remote nsFrameLoader, and second the logic in WindowGlobalParent was updated
to ensure that the OwnerProcessID is updated after the change.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 16:34:30 +00:00
Valentin Gosu 2cd34ccec7 Bug 1555036 - If there is a Cross-Origin-Opener-Policy mismatch and the SANDBOXED_AUXILIARY_NAVIGATION is set navigate to a network error r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D34420

--HG--
extra : moz-landing-system : lando
2019-06-14 21:48:51 +00:00
Andreas Farre 922a3b8cbe Bug 1555287 - Make sure to detach browsing context children early. r=nika
Waiting for docshells and frameloaders to destroy will leave attached
browsing contexts attached too long. In case the children of a
browsing contexts cannot be cached we want to detach all of them as
soon as possible.

Also normalizes the use of BrowsingContext::mGroup.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 16:11:47 +00:00
Noemi Erli c8d23f6f3d Backed out changeset c807d0b9d872 (bug 1555287) for valgrind bustages CLOSED TREE
--HG--
extra : rebase_source : e53f888399cf5eb46d3996a107d572aabfad4b97
2019-06-13 12:50:32 +03:00
Andreas Farre 3d2e005e93 Bug 1555287 - Make sure to detach browsing context children early. r=nika
Waiting for docshells and frameloaders to destroy will leave attached
browsing contexts attached too long. In case the children of a
browsing contexts cannot be cached we want to detach all of them as
soon as possible.

Also normalizes the use of BrowsingContext::mGroup.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 15:35:17 +00:00
Ehsan Akhgari 35248909ba Bug 1557887 - Part 10: Prevent initial about:blank documents from escaping out of partitioned storage by using the correct storage principal when creating them; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34464

--HG--
extra : moz-landing-system : lando
2019-06-12 18:47:25 +00:00
Ehsan Akhgari b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Ehsan Akhgari 4a71ba49f8 Bug 1557887 - Part 3: Extend nsIDocShell.createAboutBlankContentViewer() to accept a storage principal argument; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34457

--HG--
extra : moz-landing-system : lando
2019-06-12 09:04:24 +00:00
Ehsan Akhgari 2287617cbc Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34456

--HG--
extra : moz-landing-system : lando
2019-06-12 23:01:56 +00:00
Ehsan Akhgari 547d4298b7 Bug 1558628 - Add back nsIDocShell.hasTrackingContentBlocked since it is used in the webcompat report-site-issue extension; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34613

--HG--
extra : moz-landing-system : lando
2019-06-12 09:01:51 +00:00