Commit Graph

138 Commits

Author SHA1 Message Date
Ehsan Akhgari
08e1954154 Bug 1520879 - Port the onContentBlockingEvent notifications inside WebProgressChild.jsm to C++; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17157

--HG--
extra : moz-landing-system : lando
2019-01-25 14:44:09 +00:00
Ehsan Akhgari
4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Jonathan Kingston
c3cdc8746c Bug 1520862 - Fixing WebNavigation serialization of principals to always be present. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D16884

--HG--
extra : moz-landing-system : lando
2019-01-17 18:50:40 +00:00
Brian Grinstead
f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
Mark Banner
12331afc41 Bug 1503674 - Remove unused PageMetadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14678

--HG--
extra : moz-landing-system : lando
2018-12-17 09:33:12 +00:00
Patrick Brosset
9aeed849cd Bug 1500921 - Tunnel the pagestyle message through RDM; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D14256

--HG--
extra : moz-landing-system : lando
2018-12-12 16:34:51 +00:00
Patrick Brosset
d6c7097c51 Bug 1273997 - Minimap support for alerts in RDM by relaying alerts on outer browser r=ochameau,jryans
Differential Revision: https://phabricator.services.mozilla.com/D13812

--HG--
extra : moz-landing-system : lando
2018-12-10 16:37:54 +00:00
Mike Conley
d9763e1890 Bug 1505063 - Only flip remoteness in RDM if we're switching from the privileged content process. r=ochameau
This means that for the File URI content process, we end up closing RDM if the page
navigates. This appears to be an acceptable trade-off, as this is the behaviour we've
been shipping since bug 1453519 landed (Firefox 61).

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

--HG--
extra : moz-landing-system : lando
2018-12-03 17:00:20 +00:00
Jay Lim
7e39d63c13 Bug 1472212 - Handle navigation away from privileged content process in RDM. r=jryans
Author: J. Ryan Stinnett <jryans@gmail.com>

Now that we are running about:home in the privileged content process, clicking
on a link in Activity Stream while having RDM activated will close the RDM
because a process flip will occur. This causes the following tests to time out
because the RDM has been deactivated:
- devtools/client/responsive.html/test/browser/browser_container_tab.js
- devtools/client/responsive.html/test/browser/browser_preloaded_newtab.js

This patch disables RDM in about:home and will load about:blank instead when
RDM is enabled.

MozReview-Commit-ID: D5EMyfkOM8l

--HG--
extra : source : 55c2a8d227dc91f965718aa09da9811cff0969a7
extra : intermediate-source : 4fe4ec18f2f3a4ed521205402de44b0987bae657
extra : histedit_source : a8107ebd47e63502f29c8b49b4967e15e0f0624a
2018-07-20 18:40:44 -04:00
Ciure Andrei
60ea98ca60 Backed out 10 changesets (bug 1501044, bug 1472212) for fetch-destination.https.html perma failure CLOSED TREE
Backed out changeset aa35078cabaa (bug 1472212)
Backed out changeset bf02793f802d (bug 1472212)
Backed out changeset 95a7ef6102a6 (bug 1472212)
Backed out changeset 7b7fa6ab2229 (bug 1472212)
Backed out changeset 4fe4ec18f2f3 (bug 1472212)
Backed out changeset 18f824674b76 (bug 1472212)
Backed out changeset 1978a7837502 (bug 1472212)
Backed out changeset 21a6f1a83c73 (bug 1472212)
Backed out changeset 48242d39d532 (bug 1472212)
Backed out changeset 0b5cf2f4305a (bug 1501044)
2018-10-30 23:31:10 +02:00
Jay Lim
e46b3ee73b Bug 1472212 - Handle navigation away from privileged content process in RDM. r=jryans
Author: J. Ryan Stinnett <jryans@gmail.com>

Now that we are running about:home in the privileged content process, clicking
on a link in Activity Stream while having RDM activated will close the RDM
because a process flip will occur. This causes the following tests to time out
because the RDM has been deactivated:
- devtools/client/responsive.html/test/browser/browser_container_tab.js
- devtools/client/responsive.html/test/browser/browser_preloaded_newtab.js

This patch disables RDM in about:home and will load about:blank instead when
RDM is enabled.

MozReview-Commit-ID: D5EMyfkOM8l

--HG--
extra : rebase_source : a9a2aab3076a84b202176ca75bc9390315a5d5bf
extra : intermediate-source : f8a06d01437e3626189c60f1a87ff7038fb328ed
extra : source : 55c2a8d227dc91f965718aa09da9811cff0969a7
2018-07-20 18:40:44 -04:00
Csoregi Natalia
cc313f779c Backed out 9 changesets (bug 1472212) for browser-chrome tests run issues on Linux x64 asan and failures on browser_ext_windows_create_tabId.js. CLOSED TREE
Backed out changeset 18e46df44cd1 (bug 1472212)
Backed out changeset 2e5de66c1f60 (bug 1472212)
Backed out changeset b94f9883aef0 (bug 1472212)
Backed out changeset ebdca743668c (bug 1472212)
Backed out changeset f8a06d01437e (bug 1472212)
Backed out changeset b6996abc7d90 (bug 1472212)
Backed out changeset 24c257cd18c3 (bug 1472212)
Backed out changeset 176f3ee14e67 (bug 1472212)
Backed out changeset b4baa63e5b1b (bug 1472212)
2018-10-30 01:58:21 +02:00
Jay Lim
ab26f28bd0 Bug 1472212 - Handle navigation away from privileged content process in RDM. r=jryans
Author: J. Ryan Stinnett <jryans@gmail.com>

Now that we are running about:home in the privileged content process, clicking
on a link in Activity Stream while having RDM activated will close the RDM
because a process flip will occur. This causes the following tests to time out
because the RDM has been deactivated:
- devtools/client/responsive.html/test/browser/browser_container_tab.js
- devtools/client/responsive.html/test/browser/browser_preloaded_newtab.js

This patch disables RDM in about:home and will load about:blank instead when
RDM is enabled.

MozReview-Commit-ID: D5EMyfkOM8l

--HG--
extra : rebase_source : 40ab33f73463dfacd680823ba81e856d58ebc967
extra : source : 55c2a8d227dc91f965718aa09da9811cff0969a7
2018-07-20 18:40:44 -04:00
Mark Banner
ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Mike Conley
c781ec84eb Bug 1496848 - Make RemoteWebProgressManager survive remote-to-remote process flips. r=Felipe
For simplicity, we do not support remote-to-non-remote or non-remote-to-remote
nsIWebProgressListener persistence.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 22:29:00 +00:00
Brian Grinstead
22f06659d2 Bug 1492967 - Merge together remote-browser and browser bindings;r=ochameau,mconley
Differential Revision: https://phabricator.services.mozilla.com/D6462

--HG--
extra : moz-landing-system : lando
2018-09-24 16:24:04 +00:00
Jonathan Kingston
45825d47d3 Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : d23e6557ba279e46f853d9bf59e4c5693aa5ce2a
extra : intermediate-source : 68200d86ebc80827c7f8c330a5b5ae004a5959e3
2018-08-29 15:46:12 +01:00
Brindusan Cristian
1db0587c0e Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
7a0538675d Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : d23e6557ba279e46f853d9bf59e4c5693aa5ce2a
2018-08-29 15:46:12 +01:00
arthur.iakab
d2e647e133 Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
1a020bb397 Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : 97cd948c92f66d0f4d57939288f545c1121d1c35
2018-08-29 15:46:12 +01:00
Tiberius Oros
3235f6720f Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
40056cd04c Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : a5fe8b9644cdc1ba1616e9a80a439c6c02958177
2018-08-29 15:46:12 +01:00
alecclarke
960d3048f8 Bug 1486630 - Remove _manifestURI field and handling of the MozApplicationManifest message. r=mconley
Remove the _manifestURI field and handling of the MozApplicationManifest message.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 15:21:14 +00:00
Gabriel Luong
75e60e08da Bug 1488114 - Refactor the reducers in RDM. r=rcaliman 2018-09-04 10:47:41 -04:00
Narcis Beleuzu
02dbdb12a9 Backed out changeset 7ffb06278c4c (bug 1488114) for xpcshell failures on test_change_pixel_ratio.js. CLOSED TREE 2018-09-04 19:24:12 +03:00
Gabriel Luong
6b3e97f314 Bug 1488114 - Refactor the reducers in RDM. r=rcaliman 2018-09-04 10:47:41 -04:00
Dave Townsend
ab3f6bd027 Bug 1479316: Pass through link related messages when in responsive design mode. r=jryans
Prior to bug 1453751 responsive design mode relied on the parent process seeing
that no favicon had been loaded and so defaulting to the root favicon for a
site. This would have meant that on some occasions responsive design mode didn't
show the correct favicon for pages that specified their own. This change passes
all the link related messages to the parent so favicons, feeds and searches
should work correctly.

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:27:05 +00:00
Jonathan Kingston
9b7fb2f20c Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

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

--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
f389570122 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: mixedpuppy, reviewbot

Bug #: 1362034

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

--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Andreea Pavel
f5c1119983 Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston
9be2ebdb53 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: reviewbot

Bug #: 1362034

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

--HG--
extra : rebase_source : 57c6bda461781ec20f0ceba8d1dd9c48778bf568
extra : amend_source : 2eebbf1e7df91697ce984d2845dbae41f9dcbcbd
2018-08-06 19:54:47 +03:00
Boris Zbarsky
e4b74becff Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Csoregi Natalia
08c950712e 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
Boris Zbarsky
0197de77c0 Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Boris Zbarsky
0e54dc6661 Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins 2018-07-24 19:47:41 -04:00
Gijs Kruitbosch
4991b73f4a Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG

--HG--
extra : rebase_source : ffa5561834b03205bf5f5b0cb3ee65b29eb82a9b
2018-06-20 22:53:40 +01:00
Gijs Kruitbosch
839706233a Bug 1470002 - remove pagehide message passing from browser code, r=mixedpuppy
MozReview-Commit-ID: 18hsSwHsWzz

--HG--
extra : rebase_source : f5d93272bd437f135a9d9f8242c3e02be1a2659a
2018-06-20 22:41:27 +01:00
J. Ryan Stinnett
ead390bee8 Bug 1470497 - Fix navigation after opening container in RDM. r=gl
This fixes the case of navigating a container tab from about:newtab to a remote
site.  This case triggers the process flip machinery where parent process is
told to manage the load.  We needed to allow certain session store messages for
this to complete successfully.

--HG--
extra : rebase_source : bb89e430941039d13a5352c9fc21777844de94e4
2018-06-22 17:28:01 -05:00
J. Ryan Stinnett
42d445d630 Bug 1468678 - Allow autoscrolling with RDM. r=ochameau
MozReview-Commit-ID: 7bOV0vrkdvf

--HG--
extra : rebase_source : c9b2dbbd67f3442060281b44653f018aecc653e7
2018-06-21 11:46:11 -05:00
J. Ryan Stinnett
39694624d1 Bug 1306975 - Support containers in RDM. r=gl
This adds support for container tabs / contextual identity in Responsive Design
Mode.  Tabs in non-default contexts can now be opened in RDM just like regular
tabs.

MozReview-Commit-ID: BofTgrowjGV

--HG--
extra : rebase_source : 171f6d0579ef3528160729b964d1cc71e1d74386
2018-02-23 17:33:55 -06:00
Julian Descottes
640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Michael Ratcliffe
13a006d57e Bug 1458208 - telemetry.js: DevTools code should always go through telemetry.js r=jdescottes
MozReview-Commit-ID: 9cUGY2CjjZG

--HG--
extra : rebase_source : 1818f742cc89c25146f23d42c68a6b53ae9cdc21
2018-05-10 15:14:01 +01:00
Kris Maglione
01c298aca6 Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule.

MozReview-Commit-ID: CkLFgsspGMU

--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
J. Ryan Stinnett
f783eddfec Bug 1453519 - Avoid process reselection inside RDM. r=ochameau
Use `E10SUtils` to check for cases where browser code would try to force a
browser to reselect a new process (such as when it is a preloaded browser) so
that we can avoid any process changes once RDM is open.

If such a case applies, navigate to about:blank first to trigger the process
change before starting RDM.

MozReview-Commit-ID: CxspLFXXotF

--HG--
extra : rebase_source : cb94789344f17c0b51ff4afbb54921218a2dd1b5
2018-04-13 11:57:44 -05:00
Kris Maglione
bf4d9f1be5 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
J. Ryan Stinnett
545937d350 Bug 1453499 - Expose processMessageManager for RDM frames. r=ochameau
RDM frames with their custom message manager hadn't exposed a value for
`processMessageManager`.  This was just a oversight.

By adding this value, we get a working Browser Content Toolbox for RDM tabs.

MozReview-Commit-ID: 95QskEMKgZK

--HG--
extra : rebase_source : 5259800f64afe55ee5bca29492f6f33efcfd458c
2018-04-10 18:35:05 -05:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00