Commit Graph

3 Commits

Author SHA1 Message Date
J. Ryan Stinnett
10cd63b51b 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
J. Ryan Stinnett
37028d8743 Bug 1240913 - Destroy RDM early on quit. r=ochameau
Watch for the tab's `beforeunload` and destroy RDM when it happens.  This
resolves issues with session restore getting confused about the state of content
managed by RDM.

MozReview-Commit-ID: DXs87Xm11JR
2016-05-18 19:27:29 -05:00
J. Ryan Stinnett
dc14cc8a35 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