Andreas Farre
e67d1d2ec7
Bug 1505838 - Add BrowsingContextGroup. r=peterv
...
Add top-level and auxiliary browsing contexts to a group of
BrowsingContexts on creation and store a pointer to that group in all
children of the BrowsingContexts in the group. With this it is
possible to compute the transitive closure of related browsing
contexts.
Since we'll not be using linked lists of BrowsingContexts for neither
groups nor children we can move children to be an array of
BrowsingContexts and adjust to use a the more convenient HashMap for
roots.
Differential Revision: https://phabricator.services.mozilla.com/D13227
2018-12-17 10:45:37 +00:00
Henri Sivonen
6a4865ee0f
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
2018-12-18 09:06:55 +00:00
Jonathan Kingston
df91fb541b
Bug 1508654 - adding in assert for referrer implied codebase principal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12436
2018-12-17 15:35:45 +00:00
Dão Gottwald
6947b51ead
Bug 1394188 - Make tab labels not change during reload. r=bzbarsky,florian
...
Differential Revision: https://phabricator.services.mozilla.com/D14602
2018-12-17 12:33:29 +00:00
Andrea Marchesini
ab2f923d5e
Bug 1513895 - Unify PopupBlocker algorithm in 1 single file, r=smaug
2018-12-16 10:21:16 +01:00
Andrea Marchesini
6c9f6c7a9f
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
fac22bc424
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
7afdf06829
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
Ehsan Akhgari
61fe3c0a09
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Narcis Beleuzu
9657ef7bee
Merge mozilla-central to inbound. CLOSED TREE
2018-11-28 12:02:34 +02:00
Andrea Marchesini
1deb95e3af
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
80d814c6cf
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
3643cc289c
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
f293508546
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
2018-11-28 03:30:56 +00:00
James Willcox
678f986f11
Bug 1507209 - Don't fire 'onLoadError' if Firefox wouldn't show an error page r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D11911
2018-11-15 17:55:55 +00:00
Ehsan Akhgari
cebe9c2c89
Bug 1509555 - Part 4: Remove nsIWebProgressListener::STATE_BLOCKED_SLOW_TRACKING_CONTENT r=baku
...
Depends on D12830
Differential Revision: https://phabricator.services.mozilla.com/D12831
2018-11-27 08:56:39 +00:00
Andrea Marchesini
7edd6fbbed
Bug 167475 - Telemetry to count how often iframes load no-data URLs, r=smaug
2018-11-23 08:11:31 +01:00
Boris Zbarsky
a16438afe4
Bug 1509101. Stop passing around anchor targets as char16_t*; use nsAString instead. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D12579
2018-11-21 18:53:39 +00:00
Blake Kaplan
8a8d4d8ea1
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
2018-11-21 01:06:08 +00:00
Valentin Gosu
50bbf8a0fd
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
2018-11-21 16:28:20 +00:00
Cosmin Sabou
b241cff35e
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Valentin Gosu
162d769ecb
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
2018-11-17 19:30:36 +00:00
shindli
e34efb9d89
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-20 23:48:34 +02:00
shindli
60f4ce2b3e
Merge inbound to mozilla-central. a=merge
2018-11-20 23:44:09 +02:00
Jonathan Kingston
0e60243f01
Bug 1508644 - Remove systemPrincipal fallback from Docshell EndPageLoad. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12426
2018-11-20 18:06:59 +00:00
Jonathan Kingston
d4b3f85106
Bug 1508609 - Add strict checking of principals into DocShell LoadURI. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12425
2018-11-20 18:08:03 +00:00
Ehsan Akhgari
0b6dceed64
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
2018-11-20 14:34:49 +00:00
Christoph Kerschbaumer
522c7e4228
Bug 1508629: Remove unused forceCreateAboutBlankContentViewer from docshell. r=jkt
2018-11-20 14:23:04 +01:00
Christoph Kerschbaumer
cae29b2f21
Bug 1508596: Remove unused CreatePrincipalFromReferrer within nsDocshell. r=jkt
2018-11-20 12:12:01 +01:00
Boris Zbarsky
685b646fa2
Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug
2018-11-19 20:17:53 -05:00
Lina Cambridge
afa248aee3
Bug 1494713 - Pass the widget for the DocShell to IHistory::VisitURI. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D11287
2018-11-16 17:29:57 +00:00
Narcis Beleuzu
6e37dfa8f9
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
9d1220d4e7
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
2018-11-14 17:19:25 +00:00
Dorel Luca
c4f8caba67
Backed out changeset 365e0d2414bf (bug 1504728) for browser-chrome failures. CLOSED TREE
2018-11-09 18:48:39 +02:00
Ehsan Akhgari
75f342fb34
Bug 1504728 - Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
2018-11-09 15:36:02 +00:00
Andreas Farre
6a06e4bb72
Bug 1496722 - Make nsIDocShellTreeItem.itemType readonly. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D7900
2018-11-08 21:58:58 +00:00
Jonathan Kingston
93f9dd293e
Bug 1498526 - add in user pref to prevent loading implied triggeringPrincipal loads for dev and nightly builds. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D8546
2018-11-07 14:42:27 +00:00
Nazım Can Altınova
446a489515
Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange
...
MozReview-Commit-ID: AML1ESUnFlu
Depends on D4914
Differential Revision: https://phabricator.services.mozilla.com/D4915
2018-11-06 21:45:50 +00:00
Nazım Can Altınova
670614c344
Bug 1417976 - Part 1: Store the information of DocShells in CorePS r=mstange,bzbarsky
...
Added a mechanism to register and unregister the DocShells from the CorePS depending
on the state of the profiler. Registering mechanism is straightforward. During
unregistration, if profiler is not active, we remove the DocShell information
immediately. If profiler is active, we don't remove and we keep the profiler buffer
position at that moment. During another DocShell registration we Discard the
unregistered DocShells. If the profiler buffer position is greater than the position
when we captured during unregistration, we delete the DocShell since that means there
can't be any markers associated to this DocShell anymore.
MozReview-Commit-ID: IVuKQ6drvkR
Differential Revision: https://phabricator.services.mozilla.com/D4914
2018-11-06 21:45:07 +00:00
Emilio Cobos Álvarez
832fbaf888
Bug 1505159 - Make some media features code nicer using [infallible]. r=hiro
...
Differential Revision: https://phabricator.services.mozilla.com/D11102
2018-11-06 21:06:00 +00:00
Margareta Eliza Balazs
12b694ecff
Backed out changeset c5cf88fb02d1 (bug 1498526) for causing multiple failures e.g. browser/extensions/formautofill/test/mochitest/test_address_level_1_submission.html CLOSED TREE
2018-11-06 14:49:52 +02:00
Jonathan Kingston
29df81750a
Bug 1498526 - add in user pref to prevent loading implied triggeringPrincipal loads for dev and nightly builds. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D8546
2018-11-06 11:51:51 +00:00
Andreas Farre
6d1cb9a5de
Bug 1480198 - Construct nsDocShell objects inside BrowsingContext. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D7400
2018-11-05 12:43:10 +00:00
Jonathan Kingston
1ec5d5b19b
Bug 1490257 - Add in asserts for missing triggeringPrincipal. r=ckerschb
...
Depends on D10884
Differential Revision: https://phabricator.services.mozilla.com/D10885
2018-11-05 14:03:28 +00:00
Margareta Eliza Balazs
8c771ddf11
Backed out 3 changesets (bug 1417976) for bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/GeckoProfiler.h CLOSED TREE
...
Backed out changeset 908f30faf4b6 (bug 1417976)
Backed out changeset 44ae0b8569b2 (bug 1417976)
Backed out changeset 801cdde1f597 (bug 1417976)
2018-11-02 18:42:21 +02:00
Nazım Can Altınova
884f5c2625
Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange
...
MozReview-Commit-ID: AML1ESUnFlu
Depends on D4914
Differential Revision: https://phabricator.services.mozilla.com/D4915
2018-11-02 16:17:54 +00:00
Nazım Can Altınova
1845628c1e
Bug 1417976 - Part 1: Store the information of DocShells in CorePS r=bzbarsky,mstange
...
Added a mechanism to register and unregister the DocShells from the CorePS depending
on the state of the profiler. Registering mechanism is straightforward. During
unregistration, if profiler is not active, we remove the DocShell information
immediately. If profiler is active, we don't remove and we keep the profiler buffer
position at that moment. During another DocShell registration we Discard the
unregistered DocShells. If the profiler buffer position is greater than the position
when we captured during unregistration, we delete the DocShell since that means there
can't be any markers associated to this DocShell anymore.
MozReview-Commit-ID: IVuKQ6drvkR
Differential Revision: https://phabricator.services.mozilla.com/D4914
2018-11-02 16:17:23 +00:00
Gurzau Raul
fb23268fea
Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout
2018-11-01 15:27:30 +02:00
Ehsan Akhgari
21af3820d9
Bug 1503465 - Part 2: Add a docshell API for retrieving the top-level content blocking log r=baku
...
Depends on D10362
Differential Revision: https://phabricator.services.mozilla.com/D10363
2018-10-31 21:21:36 +00:00