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

6695 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 61184721de Bug 1610141, findbar should only apply to the main browsers and tests, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D68782

--HG--
extra : moz-landing-system : lando
2020-03-30 15:10:52 +00:00
nika 3ac24d06a9 Bug 1557118, add support for filtering actor creation based on the messagemanagergroup attribute set on browser elements, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D68780

--HG--
extra : moz-landing-system : lando
2020-04-01 12:59:19 +00:00
Peter Van der Beken d3031742f5 Bug 1622420 - Cleanup docshell/test/browser/browser_bug422543.js. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D68573

--HG--
extra : moz-landing-system : lando
2020-04-01 10:28:44 +00:00
Peter Van der Beken 88d677afa5 Bug 1622420 - Set the current WindowContext for BrowsingContexts newly created over IPC. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D68572

--HG--
extra : moz-landing-system : lando
2020-04-01 12:54:28 +00:00
Paul Bone 0a2d65eb13 Bug 1597154 - pt 4. Rename SchemeUsesDocChannel r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59823

--HG--
extra : moz-landing-system : lando
2020-04-01 00:33:31 +00:00
Paul Bone 3a6d9ec5d6 Bug 1597154 - pt 3. Flip documentchannel whitelist to blacklist r=mattwoodrow
This fixes 1597154 because the lists of URIs here and in nsDocShell now
match.

Note that they don't exactly match, there's an exception for about:newtab
which we'll fix in a follow-up bug.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 01:17:13 +00:00
Paul Bone ebec315fcf Bug 1597154 - pt 1. Add a comment about checking GetPendingRedirectedChannel r=mattwoodrow,kmag
Differential Revision: https://phabricator.services.mozilla.com/D57597

--HG--
extra : moz-landing-system : lando
2020-04-01 00:32:17 +00:00
sonakshi a6f08454e0 Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67729

--HG--
extra : moz-landing-system : lando
2020-03-31 18:47:30 +00:00
Razvan Maries 40412d7928 Backed out changeset 2515c5b5a0d2 (bug 1622619) for build bustages. CLOSED TREE 2020-03-31 17:18:38 +03:00
sonakshi fc4a38cd03 Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67729

--HG--
extra : moz-landing-system : lando
2020-03-31 13:38:55 +00:00
Kris Maglione 1a8c27fa02 Bug 1576262: Handle ownership races during cross-process navigations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D68454

--HG--
extra : moz-landing-system : lando
2020-03-27 13:55:07 +00:00
Nika Layzell ba41903373 Bug 1618992 - Improve diagnostics for 'Invalid Transaction from Child', r=farre
Differential Revision: https://phabricator.services.mozilla.com/D67942

--HG--
extra : moz-landing-system : lando
2020-03-26 15:12:09 +00:00
Tim Huang 7e5e34c94e Bug 1616788 - Part 5: Add a field HasStoragePermission in the WindowContext. r=dimi,baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D67470

--HG--
extra : moz-landing-system : lando
2020-03-30 14:12:08 +00:00
Emilio Cobos Álvarez 02c5c21c33 Bug 1625792 - Remove nsIURIContentListener.onStartURIOpen. r=mattwoodrow
It's only used to check whether the docshell is gone already, and we need to
deal with that in other places anyway. No other useful implementation.

In comm-central there are a couple, but they're useless too.

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

--HG--
extra : moz-landing-system : lando
2020-03-29 22:10:09 +00:00
Emilio Cobos Álvarez 266c1d0b6c Bug 1528305 - Don't show an error page for unknown protocols for page-triggered navigations that replace a document. r=mattwoodrow
Pages apparently do this to try to open to native apps, and that on Firefox
causes an error page to be shown if the app is not installed, which is pretty
bad.

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

--HG--
extra : moz-landing-system : lando
2020-03-27 17:20:14 +00:00
Csoregi Natalia 8526066f54 Backed out changeset 8aeb06899b10 (bug 1528305) for failures on test_location_href_unknown_protocol.html. CLOSED TREE 2020-03-27 08:07:32 +02:00
Emilio Cobos Álvarez 453c627cea Bug 1528305 - Don't show an error page for unknown protocols for page-triggered navigations that replace a document. r=mattwoodrow
Pages apparently do this to try to open to native apps, and that on Firefox
causes an error page to be shown if the app is not installed, which is pretty
bad.

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

--HG--
extra : moz-landing-system : lando
2020-03-27 00:06:25 +00:00
Emilio Cobos Álvarez a251b713ef Bug 1625304 - Remove INTERNAL_LOAD_FLAGS_IS_USER_TRIGGERED. r=mattwoodrow
It's unused (modulo assertions that mask it off), and I want to add something
similar for bug 1528305, so this avoids some confusion.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 22:39:16 +00:00
James Willcox 1f15cc4c1e Bug 1620657 - Add `CanonicalBrowsingContext::GetParentProcessWidgetContaining()` r=nika,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D67683

--HG--
extra : moz-landing-system : lando
2020-03-25 23:47:40 +00:00
Nika Layzell a1910253b1 Bug 1616991 - Rename WindowGlobalChild::WindowGlobal getter to reflect nullability, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64660

--HG--
extra : moz-landing-system : lando
2020-03-23 23:03:50 +00:00
Kristen Wright 5094f72a18 Bug 1622111 - Convert security.data_uri.unique_opaque_origin to static pref and remove ClientPrefs. r=njn
Converts security.data_uri.unique_opaque_origin to a static pref. This pref was initialized by the ClientManager in ClientPrefs, so this commit also removes those files. Somehow this pref was getting added in VarCache twice, so it also removes the places where the pref was added in Networking.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:08:52 +00:00
Nika Layzell bd152e0d88 Bug 1614259 - Ensure BrowisngContexts are detached when nsDocShell is destroyed, r=farre
After bug 1582832, DocShell destruction and BrowsingContext detaching happen
in separate operations, leaving a gap where a DocShell has been destroyed, but
its BrowsingContext is still considered attached. During this gap, the usual
invariant that an in-process, attached BrowsingContext always has an
associated DOM window doesn't hold, nor do the usual invariants for outer
window forwarding security checks.

This patch fixes the detach timing so that a child BrowsingContext for a frame
which has been removed is always marked detached at the same time its DocShell
is destroyed.

Co-authored-by: Kris Maglione <maglione.k@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2020-03-23 13:28:09 +00:00
Dan Glastonbury 04870fc980 Bug 1623562 - Refactor allowPlugins to use BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D67428

--HG--
extra : moz-landing-system : lando
2020-03-20 04:53:43 +00:00
Narcis Beleuzu 66477aeb36 Backed out changeset 20f1bb2d5bd2 (bug 1623562) for bc failures. CLOSED TREE 2020-03-20 05:42:41 +02:00
Dan Glastonbury d15761b621 Bug 1623562 - Refactor allowPlugins to use BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D67428

--HG--
extra : moz-landing-system : lando
2020-03-20 02:16:12 +00:00
Matt Woodrow 72a7d5a69b Bug 1613002 - Fix process switch channel connection race. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D67090

--HG--
extra : moz-landing-system : lando
2020-03-19 22:30:07 +00:00
Andrea Marchesini 1e01916653 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-19 13:03:14 +00:00
Masatoshi Kimura 3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
Dan Glastonbury 85893ca83c Bug 1621192 - P4: Remove documentOpenFlags from DocumentChannelCreationArgs. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D66170

--HG--
extra : moz-landing-system : lando
2020-03-19 01:49:24 +00:00
Dan Glastonbury 2e0a825b23 Bug 1621192 - P3: Remove mPluginsAllowed from DocumentChannel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D66169

--HG--
extra : moz-landing-system : lando
2020-03-19 01:49:11 +00:00
Dan Glastonbury 3bbde12e78 Bug 1621192 - P2: Move allowContentRetargeting to BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D66168

--HG--
extra : moz-landing-system : lando
2020-03-19 01:49:04 +00:00
Dan Glastonbury 2bb6d70d00 Bug 1621192 - P1: Move allowPlugins to BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D66167

--HG--
extra : moz-landing-system : lando
2020-03-19 01:48:56 +00:00
Stefan Hindli 5f419e4b50 Backed out 9 changesets (bug 1622111) for causing mochitest failures in dom/animation/test/mozilla/test_restyles.html CLOSED TREE
Backed out changeset c244160797f8 (bug 1622111)
Backed out changeset dd9209f6bd8b (bug 1622111)
Backed out changeset d694c9e7061f (bug 1622111)
Backed out changeset 486aae809f6d (bug 1622111)
Backed out changeset 709266168c41 (bug 1622111)
Backed out changeset ca0d47bb86a8 (bug 1622111)
Backed out changeset caa735c8bb91 (bug 1622111)
Backed out changeset 12397711ab25 (bug 1622111)
Backed out changeset b66002fd1480 (bug 1622111)
2020-03-19 02:47:51 +02:00
Kristen Wright 54ef9a89c8 Bug 1622111 - Convert security.data_uri.unique_opaque_origin to static pref and remove ClientPrefs. r=njn
Converts security.data_uri.unique_opaque_origin to a static pref. This pref was initialized by the ClientManager in ClientPrefs, so this commit also removes those files. Somehow this pref was getting added in VarCache twice, so it also removes the places where the pref was added in Networking.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 22:12:20 +00:00
Valentin Gosu e8a044e138 Bug 1617889 - COOP: Open new windows as "noopener" when origins don't match r=nika
If current's top-level browsing context's active document's cross-origin
opener-policy is "same-origin" or "same-origin + COEP", then:
- Let currentDoc be current's active document.
- If currentDoc's origin is not same origin with currentDoc's top-level
  origin, then set noopener to true.

https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e#changes-to-choosing-a-browsing-context

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

--HG--
extra : moz-landing-system : lando
2020-03-17 16:39:27 +00:00
Valentin Gosu 23d8dfc6ba Bug 1617889 - Fix CrossOriginOpenerPolicy inheritance from a cross origin iframe r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65524

--HG--
extra : moz-landing-system : lando
2020-03-17 16:36:58 +00:00
Valentin Gosu 8f8a2e2547 Bug 1617889 - Fix COOP comparison check r=michal
Differential Revision: https://phabricator.services.mozilla.com/D64083

--HG--
extra : moz-landing-system : lando
2020-03-17 16:36:17 +00:00
Coroiu Cristina 0c837bbcd0 Backed out changeset 0453b0a0c49d (bug 1531289) for browser-chrome failures at uriloader/exthandler/tests/mochitest/browser_auto_close_window.js on a CLOSED TREE 2020-03-18 15:55:43 +02:00
Andrea Marchesini c486efbb58 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-18 12:08:24 +00:00
Anny Gakhokidze 1002c784ee Bug 1621748 - Fix stale pointers when updating history entries consecutively, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D66631

--HG--
extra : moz-landing-system : lando
2020-03-16 18:25:45 +00:00
Marco Bonardo 2dc20c6432 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269

--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Agi Sferro e4e57c8343 Bug 1619796 - Don't fire onLoadRequest for embedder-initiated loads. r=smaug,droeh
Differential Revision: https://phabricator.services.mozilla.com/D66695

--HG--
extra : moz-landing-system : lando
2020-03-13 18:22:16 +00:00
Boris Zbarsky cf6ef6a24b Bug 1467437. Align with other browsers and the spec for whether hashchange and popstate events bubble. r=smaug
I think I caught all the places in our tree that add event listeners for these
events on a non-Window (and hence depend on bubbling behavior), but I'm a
little worried about what happens if webextensions do bareword
addEventListener() for these events...

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:45:50 +00:00
Boris Zbarsky 5f4fd391ec Bug 1440212 part 1. Remove the always-true aIsTrusted argument of FireFrameLoadEvent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35599

--HG--
extra : moz-landing-system : lando
2020-03-11 22:29:53 +00:00
Anny Gakhokidze a1eb5446db Bug 1546759 - Do not update session history entries in BC when it is discarded, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D66519

--HG--
extra : moz-landing-system : lando
2020-03-12 14:14:40 +00:00
Andrew Sutherland 7fc5e62a41 Bug 1515945 - Run about:serviceworkers in the parent process. r=perry
The parent is where the info is in the parent process.  Without this fix,
about:serviceworkers misleadingly suggests there are no Service Workers
present at all.  This is desired for mobile.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:53:59 +00:00
Dan Glastonbury 6136427ec3 Bug 1620499 - Cleanup access to BrowsingContext. r=mattwoodrow
Use the local source of truth instead of retrieving the value from nsILoadInfo.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 02:03:48 +00:00
Jason Adler f7585987c9 Bug 1609823 Make about:crashes an HTML file r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D66253

--HG--
rename : toolkit/crashreporter/content/crashes.xhtml => toolkit/crashreporter/content/crashes.html
extra : moz-landing-system : lando
2020-03-11 19:15:12 +00:00
Jason Adler db32a2f7ad Bug 1609822 - make about:checkerboard an HTML file r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D66148

--HG--
rename : toolkit/components/aboutcheckerboard/content/aboutCheckerboard.xhtml => toolkit/components/aboutcheckerboard/content/aboutCheckerboard.html
extra : moz-landing-system : lando
2020-03-10 17:05:16 +00:00