Henri Sivonen
3c6115331f
Bug 1513473 - Re-enable the Text Encoding menu telemetry probes on the release channel. datareview=chutten. r=janerik
...
* Make the probes available on the release channel.
* Migrate the probes to newer probe types.
* Rename the probes.
* Set email.
* Set expiry.
Differential Revision: https://phabricator.services.mozilla.com/D14237
--HG--
extra : moz-landing-system : lando
2018-12-18 09:06:55 +00:00
Jonathan Kingston
9c1d3b46db
Bug 1508654 - adding in assert for referrer implied codebase principal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12436
--HG--
extra : moz-landing-system : lando
2018-12-17 15:35:45 +00:00
Dão Gottwald
103fe90088
Bug 1394188 - Make tab labels not change during reload. r=bzbarsky,florian
...
Differential Revision: https://phabricator.services.mozilla.com/D14602
--HG--
extra : moz-landing-system : lando
2018-12-17 12:33:29 +00:00
Andrea Marchesini
9cc643f6d3
Bug 1513895 - Unify PopupBlocker algorithm in 1 single file, r=smaug
2018-12-16 10:21:16 +01:00
Andrea Marchesini
2aef2d72d5
Bug 1512311 - Disable implicit rel=noopener in anchor and area elements if the triggering principal is system, r=nika
2018-12-12 17:55:13 +01:00
Andrea Marchesini
45041939bf
Bug 167475 - iframes should load just URLs able to return data, r=smaug
...
This is done in order to block external protocol URLs in iframes, which cannot
be used to create documents, and they could exec external apps or show prompt
dialogs.
2018-12-12 00:59:47 +01:00
Nika Layzell
fae9f6ec44
Bug 1511237 - Store a TabChild reference in cached docshells, r=bzbarsky, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D13489
2018-12-05 10:18:44 -05:00
Nika Layzell
614b663032
Bug 1510460 - Record the current WindowGlobal on ChromeBrowsingContext, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D13156
2018-12-05 10:18:43 -05:00
Nika Layzell
91dd6c616f
Bug 1500944 - Part 2: Expose WindowGlobal actors to Chrome JS, r=farre
...
This serves 2 purposes:
1. Provides an object corresponding to an inner window which Chrome JS can hold onto.
2. Provides the object to JS which Chrome JS per-window actors will be attached to.
3. Provides useful information to Chrome JS in the parent process.
Differential Revision: https://phabricator.services.mozilla.com/D9394
2018-12-05 10:18:34 -05:00
Nika Layzell
b4954ede43
Bug 1500944 - Part 1: Store the set of active WindowGlobalParent objects in ChromeBrowsingContext, r=farre
...
This allows getting the set of all window globals for a given browsing context.
This is less useful at the moment as the active window global is not exposed as
such. That will be added as a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D9393
2018-12-05 10:18:33 -05:00
Ehsan Akhgari
0dcf936804
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
James Willcox
c010fd41c0
Bug 1507702 - Don't make about:crash* accessible to web content r=Ehsan,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D12133
2018-11-29 12:07:27 -06:00
Daniel Varga
c89eda391e
Backed out changeset 50171af401fc (bug 1507702) for build bustages at /builds/worker/workspace/build/src/docshell/base/nsAboutRedirector.cpp:34:3 on a CLOSED TREE
...
--HG--
extra : amend_source : 3ee43847a33693e3a47ecc586561a21f41074f13
2018-11-29 16:50:35 +02:00
James Willcox
fb1756d92c
Bug 1507702 - Don't make about:crash* accessible to web content r=Ehsan,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D12133
2018-11-29 08:37:14 -06:00
Andrea Marchesini
cf3f5b09a7
Bug 1510580 - Remove browser.fixup.hide_user_pass pref, r=valentin
2018-11-28 18:05:55 +01:00
Narcis Beleuzu
fbd301ecde
Merge mozilla-central to inbound. CLOSED TREE
2018-11-28 12:02:34 +02:00
Andrea Marchesini
a1c0511754
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set, r=nika
...
In case anchor and area elements have target=_blank and no rel=opener/noopener,
this patch makes so that rel=noopener is implied. This feature is behind pref
'dom_targetBlankNoOpener_enabled'.
See: https://github.com/whatwg/html/issues/4078
2018-11-28 08:22:05 +01:00
Brindusan Cristian
025923e8bc
Backed out 3 changesets (bug 1503681) for geckoview failures on org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. CLOSED TREE
...
Backed out changeset 211c7dfdc408 (bug 1503681)
Backed out changeset 076cc5bece1d (bug 1503681)
Backed out changeset 7a19fe6be68c (bug 1503681)
2018-11-28 11:10:48 +02:00
Andrea Marchesini
bed80e41e2
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set, r=nika
...
In case anchor and area elements have target=_blank and no rel=opener/noopener,
this patch makes so that rel=noopener is implied. This feature is behind pref
'dom_targetBlankNoOpener_enabled'.
See: https://github.com/whatwg/html/issues/4078
2018-11-28 08:22:05 +01:00
Kyle Machulis
c241567f0f
Bug 1505601 - Turn nsIDocShell XPIDL const lists into cenums; r=bzbarsky
...
Turn all const lists and related attributes into cenums, to provide a
vague sense of type safety.
Depends on D11715
Differential Revision: https://phabricator.services.mozilla.com/D11716
--HG--
extra : moz-landing-system : lando
2018-11-28 03:30:56 +00:00
Kyle Machulis
e821d52f9b
Bug 1505601 - Move nsIDocShell INTERNAL_LOAD consts to nsDocShell; r=bzbarsky
...
Consts aren't used in JS anyways, so there's no reason for them to be
in the IDL.
Differential Revision: https://phabricator.services.mozilla.com/D11715
--HG--
extra : moz-landing-system : lando
2018-11-28 03:30:54 +00:00
arthur.iakab
af07f9b9d4
Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
...
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
Nika Layzell
c3a800be72
Bug 1500944 - Part 2: Expose WindowGlobal actors to Chrome JS, r=farre
...
This serves 2 purposes:
1. Provides an object corresponding to an inner window which Chrome JS can hold onto.
2. Provides the object to JS which Chrome JS per-window actors will be attached to.
3. Provides useful information to Chrome JS in the parent process.
Differential Revision: https://phabricator.services.mozilla.com/D9394
2018-11-27 18:09:37 -05:00
Nika Layzell
8407efd877
Bug 1500944 - Part 1: Store the set of active WindowGlobalParent objects in ChromeBrowsingContext, r=farre
...
This allows getting the set of all window globals for a given browsing context.
This is less useful at the moment as the active window global is not exposed as
such. That will be added as a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D9393
2018-11-27 18:09:35 -05:00
James Willcox
11a785122a
Bug 1507217 - Make test_bug590573.html pass under GeckoView r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D11912
--HG--
extra : moz-landing-system : lando
2018-11-19 21:42:50 +00:00
James Willcox
6dcc759b63
Bug 1507209 - Don't fire 'onLoadError' if Firefox wouldn't show an error page r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D11911
--HG--
extra : moz-landing-system : lando
2018-11-15 17:55:55 +00:00
Ehsan Akhgari
486b276941
Bug 1509555 - Part 4: Remove nsIWebProgressListener::STATE_BLOCKED_SLOW_TRACKING_CONTENT r=baku
...
Depends on D12830
Differential Revision: https://phabricator.services.mozilla.com/D12831
--HG--
extra : moz-landing-system : lando
2018-11-27 08:56:39 +00:00
Gabriele Svelto
566f669d07
Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D12728
--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Andreas Farre
3ccff85cdd
Bug 1502330 - Create BrowsingContext with passed opener. r=qdot
...
By replacing nsWebBrowser's implementation of the
nsIBaseWindow.initWindow and nsIBaseWindow.create with a new static
nsWebBrowser::Create method we make it possible to pass arguments
directly when creating an nsWebBrowser, for example the opener
BrowsingContext. As a bonus we can do away with
nsWebBrowser::mInitInfo!
Differential Revision: https://phabricator.services.mozilla.com/D12634
--HG--
extra : moz-landing-system : lando
2018-11-27 09:59:44 +00:00
Andrea Marchesini
b9f5f08c7f
Bug 167475 - Telemetry to count how often iframes load no-data URLs, r=smaug
2018-11-23 08:11:31 +01:00
Matt Brubeck
b059d469bb
Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12370
--HG--
extra : moz-landing-system : lando
2018-11-21 22:35:42 +00:00
Boris Zbarsky
c38419de6d
Bug 1509101. Stop passing around anchor targets as char16_t*; use nsAString instead. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D12579
--HG--
extra : moz-landing-system : lando
2018-11-21 18:53:39 +00:00
Dorel Luca
c9ce5110c2
Backed out changeset 31b5c6b8ef22 (bug 1487542) for apiling. CLOSED TREE
2018-11-21 22:35:24 +02:00
Matt Brubeck
0c8f075f55
Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12370
--HG--
extra : moz-landing-system : lando
2018-11-21 13:12:42 +00:00
Blake Kaplan
3ca6a6bcab
Bug 1508595 - Only set an intercept controller when needed. r=asuth
...
We only need to expose an intercept controller in SharedWorkers if we're on
the non-parent-intercept version of ServiceWorkers or if e10s is off.
nsDocShell already does this dance and we have to mirror it.
Differential Revision: https://phabricator.services.mozilla.com/D12490
--HG--
extra : moz-landing-system : lando
2018-11-21 01:06:08 +00:00
Valentin Gosu
e823bab3cc
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-21 16:28:20 +00:00
Cosmin Sabou
79b7d9fe91
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Valentin Gosu
a80d7bf63e
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-17 19:30:36 +00:00
shindli
5cc898ccc2
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-20 23:48:34 +02:00
shindli
e75ab0ac9a
Merge inbound to mozilla-central. a=merge
2018-11-20 23:44:09 +02:00
Jonathan Kingston
4a2fc915af
Bug 1508644 - Remove systemPrincipal fallback from Docshell EndPageLoad. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12426
--HG--
extra : moz-landing-system : lando
2018-11-20 18:06:59 +00:00
Jonathan Kingston
02cef3103a
Bug 1508609 - Add strict checking of principals into DocShell LoadURI. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12425
--HG--
extra : moz-landing-system : lando
2018-11-20 18:08:03 +00:00
Ehsan Akhgari
5a990aab93
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:49 +00:00
Christoph Kerschbaumer
a3258f6f27
Bug 1508629: Remove unused forceCreateAboutBlankContentViewer from docshell. r=jkt
2018-11-20 14:23:04 +01:00
Christoph Kerschbaumer
fdf9634845
Bug 1508596: Remove unused CreatePrincipalFromReferrer within nsDocshell. r=jkt
2018-11-20 12:12:01 +01:00
Boris Zbarsky
71db58cf83
Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug
2018-11-19 20:17:53 -05:00
Lina Cambridge
69ee079fa0
Bug 1494713 - Pass the widget for the DocShell to IHistory::VisitURI
. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D11287
--HG--
extra : moz-landing-system : lando
2018-11-16 17:29:57 +00:00
Narcis Beleuzu
c8215609ff
Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE
...
Backed out changeset 26318538f077 (bug 1505198)
Backed out changeset fc39602006be (bug 1504728)
2018-11-16 02:34:15 +02:00
Ehsan Akhgari
7f3a7b13de
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-14 17:19:25 +00:00