Commit Graph
71 Commits
Author SHA1 Message Date
J. Ryan Stinnett 4e09bdbfe2 Bug 1407830 - Verify that RDM swaps take place. r=ochameau
It is possible for the frame loader swap within `gBrowser._swapBrowserDocShells`
to fail when various frame state is either not ready yet or doesn't match
between the two browsers you're trying to swap.  However, such errors are
currently caught and silenced in the browser, because they are apparently
expected in certain cases.  So, here we do our own check to verify that the swap
actually did in fact take place, making it much easier to track such errors when
they happen.

MozReview-Commit-ID: LwuCXJQRRVW
2017-10-13 20:19:49 -05:00
J. Ryan Stinnett 38cd37baa4 Bug 1407830 - Add diagnostics to RDM swap. r=ochameau
Add some (disabled by default) logging to the RDM swap process to speed up
future investigations.

MozReview-Commit-ID: ICuH7i5Nsq5
2017-10-13 20:07:24 -05:00
J. Ryan Stinnett c262085d22 Bug 1348960 - Expose openLinkIn for RDM tabs. r=ochameau
MozReview-Commit-ID: 2EzZfBsNIrf
2017-10-03 22:34:07 -07:00
J. Ryan Stinnett f9fcbf833e Bug 1404088 - Hide RDM temporary tabs from WebExtensions. r=ochameau
RDM uses temporary tabs to move content around and into the tool's viewport.
This triggers events like `TabOpen` and `TabClose` for the temporary tab,
trigger unnecessary work, like alerting WebExtensions.

Avoid this noise for WebExtensions and others by absorbing these events.

Note that the _original_ browser tab is unaffected.  This only changes temporary
tabs RDM uses during the swapping process.

MozReview-Commit-ID: H8kBYBma6i9
2017-09-29 17:14:32 -05:00
J. Ryan Stinnett 843dbef8a4 Bug 1404088 - Add gBrowser to the browser property list. r=ochameau
MozReview-Commit-ID: fWPCkDe6Ve
2017-09-29 11:57:53 -05:00
J. Ryan Stinnett 8c77100f50 Bug 1404088 - Standardize RDM's exposed browser properties. r=ochameau
MozReview-Commit-ID: KIykapQm5mP
2017-09-28 18:47:24 -05:00
J. Ryan Stinnett 2c7f079345 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett 29ad3830d7 Bug 1305777 - Move RDM frame script to new RDM. r=ochameau
MozReview-Commit-ID: LJhKdurBVzt
2017-09-26 18:24:32 -05:00
Sebastian Hengst 88453318f1 Backed out changeset 5a0227d048e8 (bug 1305777) for failing devtools' devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_links.js on Windows 7 debug without e10s. r=backout 2017-09-29 10:45:04 +02:00
Sebastian Hengst bd2513957f Backed out changeset ffb4e22a4347 (bug 1305777) 2017-09-29 10:43:19 +02:00
J. Ryan Stinnett 82d5b3cfd6 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett 22e62556a6 Bug 1305777 - Move RDM frame script to new RDM. r=ochameau
MozReview-Commit-ID: LJhKdurBVzt
2017-09-26 18:24:32 -05:00
J. Ryan Stinnett f28f7c72a5 Bug 1394473 - Fix up target=_blank links in RDM. r=ochameau
Sometime during Firefox 56, the `dataTransfer` property was removed, so this
started to fail.  It was a bit strange anyway, since we have a principal on the
outer browser.

Adds a test to cover this use case.

MozReview-Commit-ID: 9UOCc77ZRxk
2017-08-28 18:25:16 -05:00
Christoph Kerschbaumer 62012a3546 Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
Nathan Froyd 8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Matt R 639c361b63 Bug 1368204 - convert uses of 'defer' to 'new Promise' in client/responsive.html; r=tromey
MozReview-Commit-ID: HnjT6j9yjW3
2017-05-27 17:32:06 +01:00
Gabor Krizsanits 57873c6622 Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.

There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.

In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02:00
J. Ryan Stinnett d1e2853625 Bug 1352814 - Force session history off for RDM container. r=ochameau
In bug 1313933, we removed the session store black magic that RDM used to do in
order to hide the container tab.

Unfortunately, that fix appears to have been imperfect.  Session store has a
fallback path that can still record the current URL, causing the container URL
to be recorded anyway, even though we asked nicely to please not do that.

In this change, we try a fresh approach of wedging the session history listener
for the container tab so it can't record anything.  This avoids the racy
approach that was used before bug 1313933 while still appearing to block the
container URL from being recorded.

MozReview-Commit-ID: JZTYzMAvaEM
2017-04-18 14:07:14 -05:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
J. Ryan Stinnett 09b0b09808 Bug 1342962 - Hide intermediate states when toggling RDM. r=ochameau
MozReview-Commit-ID: AZ9bVv15YxJ
2017-03-01 17:20:34 -06:00
J. Ryan Stinnett 00d77953b9 Bug 1313933 - Explicitly bypass history when loading RDM UI. r=ochameau
By using `LOAD_FLAGS_BYPASS_HISTORY`, we can tell session history explicitly to
ignore the entry for the container UI (which is meant to remain hidden from the
user).

This allows us to remove the horrible racy hack that attempted to have the same
effect.

MozReview-Commit-ID: LnhJpO9UbNI
2017-01-27 16:03:04 -06:00
J. Ryan Stinnett c1fa5f4a29 Bug 1331601 - Copy tab listener state flags in RDM. r=ochameau
When starting and stopping RDM, we need want to ensure tab listener state flags
are preserved for the tab involved, which is a bit tricky with the tab dance
RDM is doing.

The state flags ensure the browser will call the correct handlers when switching
tabs to update the primary browser UI.  For example, this is needed to correctly
update the enabled state of the view source command for the current tab.

MozReview-Commit-ID: 7lKY0DKxgJH
2017-01-19 13:25:14 -06:00
J. Ryan Stinnett 1cc668c246 Bug 1331601 - Restore remoteType on RDM close. r=ochameau
In bug 1318767, `updateBrowserRemoteness` was changed to take the `remoteType`
as part of an options argument, but the RDM call site wasn't updated.

MozReview-Commit-ID: 8GSSwicaHvz
2017-01-18 17:06:55 -06:00
Christoph Kerschbaumer 81c125990e Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher aa51fd7f3a Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer 1e6a940fa1 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Florian Quèze 361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Thomas Nguyen 82e1caab63 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Aman Dwivedi aec48bf322 Bug 1323685 - Remove workarounds for bug 449811. r=mak 2016-12-22 16:33:28 +05:30
J. Ryan Stinnett 1c4e2f721d Bug 1318675 - Reconnect find bar when toggling RDM. r=ochameau
MozReview-Commit-ID: 4IoXvTZXbKW
2016-11-28 20:46:47 -06:00
J. Ryan Stinnett b0927338c9 Bug 1319596 - Wait for first historychange when starting RDM. r=ochameau
In bug 1310771, the session store process for gathering data from content was
changed so that the key "historychange" is used instead of "history".  Kept the
check for "history" as well, since other places in session store still test for
it.

MozReview-Commit-ID: 4xF7FkxkriI
2016-11-25 14:12:56 -06:00
Bob Owen 432572b6f3 Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-24 15:08:30 +00:00
Sebastian Hengst d9dbaf74fb Backed out changeset 5b26ae9afaea (bug 1147911) 2016-11-23 18:33:10 +01:00
Bob Owen a7d454bdcc Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-23 13:36:57 +00:00
Sebastian Hengst 16ad987153 Backed out changeset 5cffb4645bc0 (bug 1147911) 2016-11-18 00:58:52 +01:00
Bob Owen 6dc9342a41 Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-17 15:48:52 +00:00
Ehsan Akhgari 5bbe94bf07 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
J. Ryan Stinnett 16edeff0d2 Bug 1316736 - Clean up RDM typos. r=ochameau
MozReview-Commit-ID: 4waiXuzrQDE
2016-11-09 18:38:28 -06:00
Alexandre Poirot 0d77c0893d Bug 1068400 - Restore toolbox when switching from in-parent-process to OOP tab. r=jryans
MozReview-Commit-ID: K51gp7PavC7
2016-10-24 07:37:23 -07:00
Phil Ringnalda e95441af18 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
J. Ryan Stinnett 6db6f10404 Bug 1278762 - Support printing in RDM. r=ochameau
MozReview-Commit-ID: TLPs16E5eq
2016-10-26 20:03:04 -05:00
J. Ryan Stinnett f8949776b3 Bug 1278762 - Support view source in RDM. r=ochameau
MozReview-Commit-ID: 6RVynUTJ4qY
2016-10-26 20:01:53 -05:00
J. Ryan Stinnett 408a5c2944 Bug 1278762 - Support view selection source in RDM. r=ochameau
MozReview-Commit-ID: 2VPFDE9tfF
2016-10-21 16:24:32 -05:00
J. Ryan Stinnett f591bec748 Bug 1278762 - Support page info context menu actions in RDM. r=ochameau
MozReview-Commit-ID: CYdDvFMG00e
2016-10-19 09:55:35 -05:00
J. Ryan Stinnett 061606ecb9 Bug 1278762 - Support general context menu actions in RDM. r=ochameau
MozReview-Commit-ID: 3jjAyed0yhP
2016-10-19 09:21:23 -05:00
J. Ryan Stinnett 07c76f3bf6 Bug 1278762 - Support share this page from context menu in RDM. r=ochameau
MozReview-Commit-ID: 4hYKxkuvxp4
2016-10-17 15:33:06 -05:00