Masayuki Nakano
1b2614bcc1
Bug 1540962 - Make nsICommandManager builtinclass and make users use nsCommandManager directly r=bzbarsky
...
`nsICommandManager` isn't implemented by JS even in comm-central nor
BlueGriffon. Therefore, we can make it a builtinclass.
Additionally, this patch makes all users in C++ use `nsCommandManager` which is
the only implementation of `nsICommandManager`. This avoids QI from
`nsICommandManager` to `nsPICommandUpdater`.
Differential Revision: https://phabricator.services.mozilla.com/D25726
2019-04-03 12:51:38 +00:00
Alastor Wu
4f26766702
Bug 1524065 - part1 : implement the way to resume delayed autoplay media via browsing context. r=farre
...
After enable Fission, we're not able to resume media in the different process, because the current way we use can only notify one process and would cause the media on other process can't be resumed.
Therefore, we should use the browsing context to notify the web content which might be on different processes.
Differential Revision: https://phabricator.services.mozilla.com/D18136
2019-03-20 03:15:36 +00:00
Boris Zbarsky
1f721aa2a7
Bug 1534370 part 2. Annotate doCommand as MOZ_CAN_RUN_SCRIPT. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D23041
2019-03-12 01:57:42 +00:00
Boris Zbarsky
e91bb859f9
Bug 1534370 part 1. Annotate doCommandWithParams as MOZ_CAN_RUN_SCRIPT. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D23036
2019-03-13 00:43:48 +00:00
Boris Zbarsky
69ebb5e0ff
Bug 1489308 part 1. Factor out part of nsDocShell::AddState into a separate method. r=qdot
...
This implements the "URL and history update steps" from the HTML spec. See
<https://html.spec.whatwg.org/multipage/history.html#url-and-history-update-steps >.
Differential Revision: https://phabricator.services.mozilla.com/D17318
2019-02-27 05:56:23 +00:00
Boris Zbarsky
504b7df982
Bug 1531128 part 2. Add a docshell API for determining whether a navigation is in progress. r=mccr8
...
This is needed by the document.open spec, which cancels loads for the document
only if a navigation is pending.
Differential Revision: https://phabricator.services.mozilla.com/D21441
2019-02-27 23:21:29 +00:00
Ehsan Akhgari
bef12263c4
Bug 1517136 - Devirtualize and inline the calls in nsSecureBrowserUIImpl::CheckForBlockedContent(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15574
2019-01-07 17:56:07 -05:00
Gurzau Raul
ca7e228805
Backed out changeset d801dfa24d7d (bug 1517136) for build bustages at /security/manager/ssl/nsSecureBrowserUIImpl.cpp on a CLOSED TREE
2019-01-07 23:42:15 +02:00
Ehsan Akhgari
6a358bf780
Bug 1517136 - Devirtualize and inline the calls in nsSecureBrowserUIImpl::CheckForBlockedContent(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15574
2019-01-07 16:03:40 -05:00
Gurzau Raul
45845ef185
Backed out changeset f6f97217b46c (bug 1517136) for build bustage at /security/manager/ssl/nsSecureBrowserUIImpl.cpp on a CLOSED TREE
2019-01-07 21:31:52 +02:00
Ehsan Akhgari
124e361b1d
Bug 1517136 - Devirtualize and inline the calls in nsSecureBrowserUIImpl::CheckForBlockedContent(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15574
2019-01-07 13:53:46 -05:00
Jonathan Kingston
92c5938cf9
Bug 1517768 - Fix typos of DocShell spelling. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15733
2019-01-04 23:17:00 +00:00
Kyle Machulis
7a224234d5
Bug 1496251 - Remove InternalLoad from nsIDocShell r=bzbarsky
...
We only call through the nsIDocShell interface in one place, which can
be replaced with a cast to nsDocShell.
Differential Revision: https://phabricator.services.mozilla.com/D13487
2018-12-19 21:01:05 +00: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
Kyle Machulis
41c3435c93
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
2018-11-28 03:30:54 +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
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
60f4ce2b3e
Merge inbound to mozilla-central. a=merge
2018-11-20 23:44:09 +02: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
Boris Zbarsky
685b646fa2
Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug
2018-11-19 20:17:53 -05: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
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
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
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
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
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
Kyle Machulis
05a190dd1a
Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState; r=bz, nika
...
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).
Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.
2018-10-29 17:13:29 -07:00
Kyle Machulis
e37f01f866
Backed out changeset fa8487b94a38 due to a=BUSTAGE on comm-central
2018-10-29 12:28:02 -07:00
Kyle Machulis
8416fded30
Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState r=bzbarsky,nika
...
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).
Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.
Differential Revision: https://phabricator.services.mozilla.com/D6944
2018-10-26 03:50:37 +00:00
Narcis Beleuzu
28f99c035d
Backed out changeset 8dd09fad1f35 (bug 1492648) for bc failures on browser_auto_close_window.js
2018-10-19 10:11:33 +03:00
Kyle Machulis
dc2a795ff8
Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState r=bzbarsky,nika
...
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).
Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.
Differential Revision: https://phabricator.services.mozilla.com/D6944
2018-10-18 22:14:54 +00:00
Gijs Kruitbosch
fd849225b3
Bug 1493634 - make docshell responsible for outer window IDs, r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D7702
2018-10-10 10:20:36 +00:00
Botond Ballo
62bc204ac9
Bug 1290420 Part 1: Add a docshell flag for overriding meta viewport handling. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D3373
2018-10-04 00:19:40 +00:00
Nicholas Nethercote
84e3011f44
Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika
...
Because they have almost identical semantics.
2018-09-06 18:02:43 +10:00
Dylan Roeh
af0804d29d
Bug 1489257 - Backed out 3 changesets (bug 1441059, bug 1478171) for causing bug 1489257. r=me
...
Backed out changeset f7bd4f224f9a (bug 1441059 )
Backed out changeset e66e6bd82e3f (bug 1441059 )
Backed out changeset 94cfd6113ca7 (bug 1478171)
2018-09-13 12:27:23 -05:00
arthur.iakab
6079672082
Backed out changeset 16d2d6dc3cdf (bug 1489257)on request by droeh for causing geckowiev failures
2018-09-11 18:47:58 +03:00
Dylan Roeh
c6b369eb4c
Bug 1489257 - Backed out 3 changesets (bug 1441059, bug 1478171) for causing bug 1489257. r=me
...
Backed out changeset f7bd4f224f9a (bug 1441059 )
Backed out changeset e66e6bd82e3f (bug 1441059 )
Backed out changeset 94cfd6113ca7 (bug 1478171)
2018-09-10 16:15:31 -05:00
Nicholas Nethercote
aa1ac557fc
Bug 1488321 - Remove all traces of the "transaction" terminology in SHistory. r=nika.
...
This patch:
- removes GetTransactionAtIndex(), because getTransactionAtIndex() can be used
instead;
- renames a lot of things;
- updates some comments.
2018-09-05 09:03:22 +10:00
Ehsan Akhgari
364dd5924a
Bug 1487396 - Part 1: Enable the secure browser UI object to keep track of the newly added content blocking states for each document; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D4809
2018-09-04 14:20:22 -04:00
Andreas Farre
383c4c2fb1
Bug 1481238 - Create WebIDL interface for BrowsingContext. r=peterv
...
Expose Chrome only WebIDL to interface with BrowsingContext from
script. The API consists of parent, firstChild and nextSibling
attributes for BrowsingContext, and the browsingContext attribute for
Window.
2018-08-29 05:00:00 +03:00
Dylan Roeh
8c94543dbc
Bug 1441059 - Make nsILoadURIDelegate async to preserve the order of GeckoSession.loadUri() calls. r=snorp,bz
...
This alters nsILoadURIDelegate.loadURI() to return a Promise rather than spinning the event loop to synchronously return a boolean, and alters nsDocShell::InternalLoad to allow for those changes by re-calling itself if necessary based on the resolution of the promise.
2018-08-07 13:42:07 -05:00
Boris Zbarsky
37dd73127b
Bug 1479569 part 1. Add a ContentFrameMessageManager getter on nsIDocShell. r=kmag
2018-08-02 23:49:09 -04:00
Csoregi Natalia
5bd0ca7b64
Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE
...
Backed out changeset e123d0aa911c (bug 1479569)
Backed out changeset b828a58404e5 (bug 1479569)
Backed out changeset 97041ef8f311 (bug 1479569)
2018-08-03 10:39:12 +03:00