Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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
J. Ryan Stinnett
eb5d4c8ef8 Bug 1240912 - Add outerWindowID getter for request matching. r=ochameau
MozReview-Commit-ID: DlatvZVE8qu
2016-08-19 10:01:34 -05:00
J. Ryan Stinnett
0ddbfea7f3 Bug 1240912 - Toolbox remains connected across frame swaps. r=ochameau
It is now possible keep the toolbox open while toggling RDM open and closed.
The toolbox will follow the frame as it moves and update the message manager it
uses internally with each move.

MozReview-Commit-ID: DvLzCmOXfnb
2016-08-19 10:01:29 -05:00
J. Ryan Stinnett
397cd6641e Bug 1276607 - Activate content frame when stopping RDM to restore focus. r=bigben
MozReview-Commit-ID: CgDxa0aaQwi
2016-08-11 18:26:56 -05:00
J. Ryan Stinnett
b9dc81662f Bug 1240900 - Connect primary browser UI to the viewport. r=ochameau
The primary browser navigational UI should now behave as if it's connected to
the page content in the viewport, including things like:

* Content page's URL is displayed in location bar
* Content page's title is displayed on the tab
* Back / forward navigates the viewport
* Entering a location navigates the viewport
* Page loading progress is displayed in the status bar as usual

MozReview-Commit-ID: FzxWEwj13sJ
2016-06-25 11:35:02 -05:00
Tom Tromey
86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
4a427c4c1c Bug 1240913 - Swap page state between tabs and RDM viewports. r=ochameau
This change brings the following improvements to RDM:

* Page state is preserved when toggling in and out of RDM
* Session history is no longer manipulated, so the tool UI won't end up in the
  tab's back-forward page list.

Known issues to be fixed later:

* The browser UI is not hooked up to the viewport browser
* Restarting the browser with the tool open shows a confused, empty RDM

MozReview-Commit-ID: Fb6QRv6LYow
2016-05-18 19:27:29 -05:00