Commit Graph

5903 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
1dd6cb6ee5 Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js
Backed out changeset f593045cc48f (bug 1543077)
Backed out changeset 25449ba8aceb (bug 1543077)
Backed out changeset ccc438262e29 (bug 1543077)
Backed out changeset 4573c25b1ce0 (bug 1543077)
Backed out changeset 1cbaafb9373a (bug 1543077)
Backed out changeset 1a0e7ced8e47 (bug 1543077)

--HG--
extra : rebase_source : f04bf405303fe03776f0e70b03db076c0a41ae45
2019-05-27 12:00:21 +03:00
Henri Sivonen
7fe82142c4 Bug 1543077 part 6 - Tests for the new Japanese encoding override. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D30003

--HG--
extra : moz-landing-system : lando
2019-05-27 07:55:31 +00:00
Henri Sivonen
533527938d Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=emk,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28634

--HG--
extra : moz-landing-system : lando
2019-05-27 07:55:27 +00:00
Sylvestre Ledru
d57d4905f1 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Nika Layzell
1976124273 Bug 1535835 - Remove global weak ref to BrowsingContext within Unlink(), r=farre
Differential Revision: https://phabricator.services.mozilla.com/D30683

--HG--
extra : moz-landing-system : lando
2019-05-24 20:15:53 +00:00
Boris Zbarsky
439bd768ad Bug 1554065. Fix the requestor nsDocShell::DoFindItemWithName passes to TabGroup::FindItemWithName. r=nika
The requestor should be ourselves: the toplevel docshell that the tabgroup does
not need to look in when doing the search.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 19:40:44 +00:00
Barret Rennie
0345083532 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:48:48 +00:00
Edgar Chen
800499a9f9 Bug 1554122 - Rename nsAutoPopupStatePusher* to AutoPopupStatePusher; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32457

--HG--
extra : moz-landing-system : lando
2019-05-24 12:42:29 +00:00
arthur.iakab
af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Tim Nguyen
cce8333093 Bug 1550559 - Convert findbar XUL textbox to HTML input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D30542

--HG--
extra : moz-landing-system : lando
2019-05-20 21:54:15 +00:00
Carolina
8dcd2eb628 Bug 1553498 - Inserts an empty page for about:certviewer and redirects to it when the user put that URL in the browser. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D32152

--HG--
extra : moz-landing-system : lando
2019-05-23 22:12:30 +00:00
Sylvestre Ledru
993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Bogdan Tara
fa8d90211a Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-23 07:44:57 +03:00
Alastor Wu
d6b68d2693 Bug 1553328 - use browsing context to notify tab mute/unmute media. r=baku,farre
This bug will use the browsing context to notify content tab to mute/unmute media, instead of using MessageManager. We would use the top level canonical browsing context to
set the media mute property for the top level window and propagate it to other top level windows in other processes.

If we don't do so, we're not able to mute/unmute media in the different process when we we enable Fission, because the current way we use can only notify one process and would cause the media on other process can't be muted/unmuted.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:19:49 +00:00
Christoph Kerschbaumer
796a800303 Bug 965637: Move CSP from Principal into Client, part 4: test updates. r=mccr8,jkt
Differential Revision: https://phabricator.services.mozilla.com/D27657

--HG--
extra : moz-landing-system : lando
2019-05-21 23:15:08 +00:00
Christoph Kerschbaumer
b633427366 Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D27654

--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Noemi Erli
cc1f5b44f2 Backed out 4 changesets (bug 1510569) for mass test failures CLOSED TREE
Backed out changeset c5488e2770a6 (bug 1510569)
Backed out changeset df98eef1f640 (bug 1510569)
Backed out changeset db6da7f94a92 (bug 1510569)
Backed out changeset fb696b92c13d (bug 1510569)
2019-05-21 23:41:41 +03:00
Barret Rennie
68cdb08594 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 19:28:39 +00:00
Cosmin Sabou
e565aa827a Backed out 4 changesets (bug 1510569) for causing build bustages on nsIDocShell.idl CLOSED TREE
Backed out changeset 57f49df057be (bug 1510569)
Backed out changeset de97a258fcfd (bug 1510569)
Backed out changeset 4b0ed20ab3bc (bug 1510569)
Backed out changeset 1d8ab383d3e9 (bug 1510569)
2019-05-21 20:30:01 +03:00
Barret Rennie
3ee6a359f7 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 17:08:57 +00:00
Nika Layzell
e71da28e87 Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D29779

--HG--
extra : moz-landing-system : lando
2019-05-21 17:04:39 +00:00
Brendan Dahl
543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
Ryan Hunt
7959d6495e Bug 1525720, part 7 - Use getter methods to access mBrowserParent and mBrowserBridgeChild. r=farre
This prepares nsFrameLoader for replacing mBrowserParent and mBrowserBridgeChild
with a common interface by making special case code use a getter method instead
of direct access.

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

--HG--
extra : source : 32eeee79d628dade8109454c636d5f8aaff0c93e
2019-04-25 12:36:16 -05:00
Gurzau Raul
57f573a6ff Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt
1d9e574c17 Bug 1525720, part 7 - Use getter methods to access mBrowserParent and mBrowserBridgeChild. r=farre
This prepares nsFrameLoader for replacing mBrowserParent and mBrowserBridgeChild
with a common interface by making special case code use a getter method instead
of direct access.

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

--HG--
extra : rebase_source : a3493579481b7b79086c34486b7342783fd68070
extra : histedit_source : d4a2909d13575822d36611879d2e14211ef2cf3a
2019-04-25 12:36:16 -05:00
Jonathan Watt
f3060a6671 Bug 1552449. Make the nsIDocShell interface to print preview less susceptible to inadvertent misuse. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31598

--HG--
extra : rebase_source : 843908736fcaaab29bd16033d1c077850423521a
2019-05-07 14:12:44 +01:00
Brian Hackett
0c7f13ec4c Bug 1546736 Part 1 - Keep track of whether docshells and workers are being watched by the devtools, r=bzbarsky.
--HG--
extra : rebase_source : 837fc73223c0e275fce716bbe1108a14d0e9afa4
2019-05-08 09:27:32 -10:00
Daniel Varga
4bf41d68cf Merge mozilla-central to mozilla-inbound. a=merge 2019-05-16 07:19:28 +03:00
Daniel Varga
091774e8ae Merge mozilla-central to mozilla-inbound. a=merge 2019-05-16 00:33:52 +03:00
Boris Zbarsky
e679d377e4 Bug 1550930 part 3. Stop using [array] for nsIDroppedLinkHandler.dropLinks. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D30770

--HG--
extra : moz-landing-system : lando
2019-05-15 20:58:08 +00:00
Nika Layzell
b3a31ed1b4 Bug 1535800 - Part 2: Don't attempt to resume loading within in a destroyed docshell, r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D30559

--HG--
extra : moz-landing-system : lando
2019-05-09 21:11:06 +00:00
Nika Layzell
58ac0710e3 Bug 1535800 - Part 1: Handle a null mSessionHistory in ResumeRedirectedLoad, r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D30558

--HG--
extra : moz-landing-system : lando
2019-05-09 21:07:41 +00:00
Brindusan Cristian
ebd6889717 Merge inbound to mozilla-central. a=merge 2019-05-15 00:41:32 +03:00
Kyle Machulis
6c8ad68e8a Bug 1540839 - Add pref for preserving browsing contexts; r=nika
Still having lots of issues with tests failing, but need to get this
landed for various reasons. Followup to pref on at Bug 1550571.

Differential Revision: https://phabricator.services.mozilla.com/D30563
2019-05-14 10:51:09 -07:00
Kyle Machulis
19cab0495b Bug 1540839 - Assert on browsing context creation in chrome; r=nika
We shouldn't be creating browsing contexts in chrome. Add
assertion (behind pref that guards the rest of this patch set) to make
sure that doesn't happen.

Differential Revision: https://phabricator.services.mozilla.com/D30561
2019-05-14 10:51:07 -07:00
Kyle Machulis
fe60360473 Bug 1540839 - Hold BrowsingContextGroups until ContentChild dies; r=nika
In order to not have detach called on non-existent BrowsingContexts,
we need to hold browsing contexts alive until the lifetime of
ContentChild has ended.

Differential Revision: https://phabricator.services.mozilla.com/D29782
2019-05-14 10:51:07 -07:00
Kyle Machulis
9f9436d028 Bug 1540839 - Add ability to preserve browsing contexts between FrameLoaders; r=nika
When changing processes and therefore destroying/rebuilding
frameloaders, add ability to keep the browsing context around and add
it to the new frameloader.

Differential Revision: https://phabricator.services.mozilla.com/D26267
2019-05-14 10:51:04 -07:00
Sean Feng
476bb2dc86 Bug 1531917 - Add Telemetry for bfcache hit and miss r=bdekoz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30212

--HG--
extra : moz-landing-system : lando
2019-05-14 15:27:55 +00:00
Sean Feng
04337d74c3 Bug 1531917 - Add Telemetry for how pages use bfcache r=jesup,bdekoz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30211

--HG--
extra : moz-landing-system : lando
2019-05-14 16:21:09 +00:00
Geoff Brown
167de4a58d Bug 1551226 - Run Android x86_64 7.0/debug mochitests; r=snorp
We can run /debug mochitests against geckoview for the cost of another dozen
or so test annotations. Both /opt and /debug mochitests are nearly worthy of
tier 1, but still waiting for bug 1534732.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 20:52:36 +00:00
Andrew McCreight
2841945140 Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).

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

--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Jonathan Watt
e811a45220 Bug 1551688. Make it clearer that nsIContentViewer.setPageMode() is for testing only by renaming it. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31126

--HG--
extra : rebase_source : 8365f296ef575e6632b27d06617d197f0fc50cff
2019-04-29 14:53:25 +01:00
Jonathan Watt
4087881b28 Bug 1551559. Make nsIDocShell::setIsPrinting [noscript]. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31078

--HG--
extra : rebase_source : 84a2a233a08f9ac46fc4991cf3469c38e3c04e65
extra : amend_source : 24a7b1d7ea12c05bd16e37e7b8697cea9cdc5741
2019-04-26 17:05:38 +01:00
Hiroyuki Ikezoe
a7b7f105b5 Bug 1541253 - Propagate CSS visivibility information to descendant documents. r=tnikkel
Depends on D26251

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

--HG--
extra : moz-landing-system : lando
2019-05-10 11:15:43 +00:00
Masayuki Nakano
19fbb1a392 Bug 1549925 - Mark all methods of nsIDocumentStateListener as can_run_script r=m_kato
`nsIDocumentStateListener` is a scriptable interface and each method may run
any script.  So, we should mark them as `can_run_script`.  Then, we need to
mark a lot of editing methods because we need to mark
`EditorBase::EndTransactionInternal()` and `EditorBase::DoTransactionInternal()`
as `MOZ_CAN_RUN_SCRIPT`.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 07:37:51 +00:00
Nika Layzell
afc359bd25 Bug 1549783 - Ensure that cached contexts come after non-cached ones in EnsureSubscribed, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D30230

--HG--
extra : moz-landing-system : lando
2019-05-08 07:24:31 +00:00
Andreas Farre
707e8a73dc Bug 1549373 - Make BrowsingContexts stay alive long enough to be detached. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30065

--HG--
extra : moz-landing-system : lando
2019-05-06 16:14:40 +00:00
Andreas Farre
e135a08b5e Bug 1547911 - Don't assert that there are no children when restoring BC. r=nika
This is essentially equal to restoring cached children and removing
current children from a BrowsingContext, which is the correct
behaviour. It would've been better if the current children were
removed in a more transparent manner, but it is more important to
remove an assert that too eagerly triggers.

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

--HG--
extra : moz-landing-system : lando
2019-05-05 19:26:51 +00:00
Andrea Marchesini
f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00