Commit Graph

248 Commits

Author SHA1 Message Date
Gijs Kruitbosch
07ce706b62 Bug 1585732 - cache fission.rebuild_frameloaders_on_remoteness_change pref instead of refetching it, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50956
2019-10-29 23:33:54 +00:00
Kashav Madan
0f967b4d27 Bug 1586050 - Don't blow away progress listeners when switching between local and remote processes, r=kmag
Whenever we do a process switch, the <browser> gets a new WebProgress instance.
When that happens, we currently handle transferring listeners from one
RemoteWebProgress instance to another, but not from a local to remote, or vice
versa. This patch changes that by tracking listeners added to the <browser> and
manually re-adding them after a process switch occurs.

Differential Revision: https://phabricator.services.mozilla.com/D48233
2019-10-09 16:56:07 +00:00
Julian Descottes
682028d1a5 Bug 1586680 - Prevent showing caret browsing prompt when using StyleEditor shortcut r=bgrins
Depends on D48313

caret browsing is enabled by the F7 shortcut, and devtools style editor is toggled via shift+F7.
When the DevTools toolbox is using a browser element, using shift+F7 in the toolbox will first trigger caret browsing and then toggle the style-editor.
The DevTools shortcut is added via a XUL key in DevToolsStartup.jsm but I didn't manage to prevent the shift+F7 event from triggering the caret-browsing keypress callback.
So instead, check if shiftKey is true in the caret-browsing callback and bail out.
In theory, unless explicitly supported, the callback should bailout if any modifier is pressed.

Differential Revision: https://phabricator.services.mozilla.com/D48315
2019-10-09 13:00:15 +00:00
Barret Rennie
d0d12fb0e4 Bug 1578304 - Correctly set content title from onLocationChange event r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D48413
2019-10-07 19:13:23 +00:00
Tyler
93ce80831a Bug 1576908 - uses fission model for sending purge history messages r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45959
2019-10-03 14:03:34 +00:00
Emilio Cobos Álvarez
ac821a9575 Bug 1582042 - Remove nsIRemoteTab.forceRepaint(). r=mconley
It's useless if the tab is already visible (i.e., has renderLayers=true), per
the previous patches, and that's the only point at which it gets called.

Differential Revision: https://phabricator.services.mozilla.com/D47131
2019-09-26 22:11:50 +00:00
Paul Zuehlcke
3dca5af03a Bug 1580189 - Clear geolocation permission for sub-frames with active sharing state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45827
2019-09-25 09:16:32 +00:00
Neil Deakin
882729e27b Bug 1553384, find should iterate over each frame within a document in the parent process to allow out-of-process frames to be searched through, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41224
2019-09-17 23:28:41 +00:00
Kris Maglione
2a3f78dcc6 Bug 1542415: Part 4 - Always rebuild frameloaders on remoteness change in Fission windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44738
2019-09-09 12:28:09 +00:00
Barret Rennie
21becf3bef Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091
2019-08-28 18:55:45 +00:00
Dorel Luca
1109944f24 Backed out 4 changesets (bug 1510569) for build bustage. CLOSED TREE
Backed out changeset d7db6a1935ce (bug 1510569)
Backed out changeset 03b7cf756a7f (bug 1510569)
Backed out changeset fa318eec0e76 (bug 1510569)
Backed out changeset cecb17bd8c03 (bug 1510569)
2019-08-28 21:46:40 +03:00
Barret Rennie
607704f60c Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091
2019-08-28 18:00:23 +00:00
Oana Pop Rus
0078164859 Backed out 4 changesets (bug 1510569) for causing build bustage on a CLOSED TREE
Backed out changeset eae555c11f25 (bug 1510569)
Backed out changeset 2fb8938d16db (bug 1510569)
Backed out changeset b480af862022 (bug 1510569)
Backed out changeset 642cd6323cdc (bug 1510569)
2019-08-21 22:55:43 +03:00
Barret Rennie
c27a14ff78 Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091
2019-08-21 18:25:04 +00:00
Ehsan Akhgari
31a92a143b Bug 1572240 - Part 2: Introduce nsIBrowser.contentBlockingAllowListPrincipal; r=baku
This patch also includes some spot fixes for the storage principal
support on the XUL browser element.

Differential Revision: https://phabricator.services.mozilla.com/D42203
2019-08-19 14:38:34 +00:00
Abdoulaye O. Ly
dfe95e81d9 Bug 1562990 - [Fission] Make AudioPlayback work with JSWindowActor. r=NeilDeakin,farre
Differential Revision: https://phabricator.services.mozilla.com/D36648
2019-08-19 21:17:21 +00:00
Jared Wein
abceb15a41 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746
2019-08-08 16:18:24 +00:00
Bogdan Tara
b60cea4f7a Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein
c5783efd3d Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746
2019-08-08 01:38:50 +00:00
Mike Conley
626e34e03c Bug 1555711 - Port RemotePrompt to a JS Window Actor to be Fission-compatible. r=NeilDeakin,layely
Differential Revision: https://phabricator.services.mozilla.com/D38189
2019-07-31 15:32:15 +00:00
James Willcox
46d57a93ba Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525
2019-07-29 15:34:30 +00:00
Coroiu Cristina
cc8bb20ccb Backed out 4 changesets (bug 1561079, bug 1561913) for mochitest failures at dom/base/test/test_bug375314.html on a CLOSED TREE
Backed out changeset 0d1eaf86253f (bug 1561913)
Backed out changeset 1d1be67a5950 (bug 1561079)
Backed out changeset 528a46ffe2af (bug 1561079)
Backed out changeset f562e67e38cf (bug 1561079)
2019-07-24 20:56:30 +03:00
James Willcox
147fe4c36e Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525
2019-07-24 16:33:47 +00:00
Bogdan Tara
42d3ac1b1d Backed out 4 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset 50244d8132f9 (bug 1561913)
Backed out changeset 9abb44cca93b (bug 1561079)
Backed out changeset e6e23c902808 (bug 1561079)
Backed out changeset e48cf42b707f (bug 1561079)
2019-07-24 19:23:44 +03:00
James Willcox
6425e7499a Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525
2019-07-24 15:47:55 +00:00
Bogdan Tara
14f1ca4dcc Backed out 2 changesets (bug 1561079) foe ES lint failure on browser-custom-element.js CLOSED TREE
Backed out changeset 74cd5c0338ee (bug 1561079)
Backed out changeset adbc4ea67da9 (bug 1561079)
2019-07-24 18:31:15 +03:00
James Willcox
646819a464 Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525
2019-07-24 14:53:19 +00:00
Jonathan Kingston
32524b62e2 Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00
Victor Porof
3ca308bcdc Bug 1561435 - Format toolkit/content/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36053
2019-07-05 11:14:49 +02:00
Abdoulaye Oumar Ly
17c7ddfb59 Bug 1560171 - Merge SelectParent.jsm and SelectParentHelper.jsm files. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D36272
2019-07-02 13:25:41 +00:00
Geoff Lankow
902190d63a Bug 1529205 - Remove DateTimePickerParent's dependency on gBrowser; r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35392
2019-06-26 18:15:28 +00:00
Neil Deakin
a7704d8f5c Bug 1558919, switch page zoom to use JSWindowActor so that zooming works in OOP frames, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35019
2019-06-26 18:16:42 +00:00
Abdoulaye O. Ly
796a7be5ae Bug 1560229 - [Fission] Make Autoplay work with JSWindowActor. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D35395
2019-06-25 20:29:19 +00:00
Abdoulaye O. Ly
53cf3433c8 Bug 1533958 - Make <select> works with Fission. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32337
2019-06-14 16:23:29 +00:00
Barret Rennie
116492e86b Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563
2019-06-13 21:08:40 +00:00
Narcis Beleuzu
e491374825 Backed out 5 changesets (bug 1510569) for bustages on BrowserChild.cpp . CLOSED TREE
Backed out changeset 4f0f5351be8b (bug 1510569)
Backed out changeset 14bbe0916bdd (bug 1510569)
Backed out changeset 19e734aeffa9 (bug 1510569)
Backed out changeset abb51690fd32 (bug 1510569)
Backed out changeset 1bf1907ee0c9 (bug 1510569)
2019-06-13 22:08:23 +03:00
Barret Rennie
e63f01338e Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563
2019-06-13 17:54:23 +00:00
Brindusan Cristian
4945a4582d Backed out changeset ced634e12fc3 (bug 1533958) for xpcshell failures at test_ext_telemetry.js. CLOSED TREE 2019-06-13 20:29:19 +03:00
Abdoulaye O. Ly
a476114b94 Bug 1533958 - Make <select> works with Fission. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32337
2019-06-13 15:53:30 +00:00
Ehsan Akhgari
69407d1649 Bug 1557887 - Part 4: Port the browser.createAboutBlankContentViewer() API to the storage principal aware version of the docshell API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34458
2019-06-12 09:04:41 +00:00
Ehsan Akhgari
4c1dd31178 Bug 1557887 - Part 1: Add the browser.contentStoragePrincipal attribute; r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D34455
2019-06-11 17:14:11 +00:00
Gurzau Raul
ae3b8b1e09 Merge inbound to mozilla-central. a=merge 2019-06-12 00:34:32 +03:00
Neil Deakin
c1eb92539d Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley 2019-06-11 09:05:33 -04:00
Dão Gottwald
68772e077a Bug 1555951 - Use AppConstants.platform instead of RegExp::test(navigator.platform) in custom element scripts. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33926
2019-06-10 19:28:11 +00:00
Nicklas Boman
51ec2796ec Bug 1519365 - Update object property names that get passed to loadURIOptions to match the names in loadURIOptions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31729
2019-06-08 11:04:27 +00:00
Henri Sivonen
22be3f1c4f Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=Gijs,emk.
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-06-03 15:30:41 +03:00
Mike Conley
92452c88b5 Bug 1533949 - Make BrowserChild functions Fission-compatible, and move to BrowserElementChild. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D30725
2019-05-30 19:01:29 +00:00
Mihai Alexandru Michis
c1c0700d91 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)
2019-05-27 12:00:21 +03:00
Henri Sivonen
74b9548f55 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
2019-05-27 07:55:27 +00:00
Barret Rennie
422b75a792 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125
2019-05-23 18:49:08 +00:00