Commit Graph

45 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
1604814567 Bug 1353045 - Remove SDK usage from RDM. r=pbro
MozReview-Commit-ID: I2dodBb9NHh
2017-04-06 21:42:21 -05:00
Tim Nguyen
88f4f845d8 Bug 1341045 - Use checked class instead of introducing active class. r=jryans
MozReview-Commit-ID: 6fC7hVRSvjh
2017-02-25 15:42:26 +00:00
J. Ryan Stinnett
1f81faff72 Bug 1338604 - Tell manager when custom devices are removed. r=gl
The action creator for removing custom devices calls the one for remove device
association directly, which skips the step of also messaging the manager.

I've made the simplest change to fix just this issue, which moves the message
sending into the action creator for this one case.  Bug 1332754 will apply the
same approach to other messages (they aren't causing issues yet since they are
not called from other action creators in the same way).

MozReview-Commit-ID: AICcT2vG1wl
2017-02-10 14:51:26 -06:00
J. Ryan Stinnett
9feb55bdf0 Bug 1321675 - Add / remove custom devices in RDM. r=gl
MozReview-Commit-ID: E84zxk9n1AL
2017-02-03 17:09:01 -06:00
J. Ryan Stinnett
9ae1a8519a Bug 1313933 - Cleanup logging in RDM tab remoteness test. r=ochameau
MozReview-Commit-ID: LSZGbhd6wg7
2017-01-26 16:27:07 -06:00
J. Ryan Stinnett
6fd0214526 Bug 1319950 - Only clear properties on resize if device is active. r=gl
If a device is active, remove it on resize.  If not, leave device properties
alone, so that things like touch simulation stay enabled when resizing without
a device.

MozReview-Commit-ID: Hvo6AdTJRBJ
2017-01-20 17:08:48 -06:00
J. Ryan Stinnett
3854af5904 Bug 1319950 - Use consistent naming with viewport properties. r=gl
Use "change" instead of "update" terminology with viewport properties.
Remove redundant "viewport" word from viewport changes.

MozReview-Commit-ID: HSFLiZyTVYy
2017-01-19 16:56:39 -06:00
J. Ryan Stinnett
2a0afbb653 Bug 1331601 - RDM browser_device_change.js fix for subpixel size. r=jryans
MozReview-Commit-ID: 4fzMjF2O338
2017-01-19 16:28:50 -06:00
J. Ryan Stinnett
f3a6ce50ca Bug 1274855 - Fix mouse event races in RDM mouse resize test. r=ochameau
MozReview-Commit-ID: G0S7e8sPbHX
2017-01-09 20:09:47 -06:00
J. Ryan Stinnett
019deb8880 Bug 1321831 - Delay loading RDM devices to allow faster open. r=ochameau
MozReview-Commit-ID: 4UkW0qjSAmr
2016-12-29 11:59:09 -06:00
J. Ryan Stinnett
e116aee262 Bug 1319628 - Longer timeout for all RDM browser tests. r=me
MozReview-Commit-ID: E88nI5xLqtj
2016-11-22 20:45:30 -06:00
Matteo Ferretti
ae8d32c927 Bug 1276971 - Adding UI to display and change the current DPI / DPR setting; r=gl,jryans
MozReview-Commit-ID: Dnb6OLhOvOK
2016-11-05 13:45:10 +01:00
J. Ryan Stinnett
08ff09dec5 Bug 1306816 - Fix intermittent failure in RDM device change test. r=gl
MozReview-Commit-ID: 4pwNX4oyMyg
2016-10-25 21:16:41 -05:00
Carsten "Tomcat" Book
716042c84c merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
J. Ryan Stinnett
bdaad5041c Bug 1296736 - Exit RDM when loading non-remote URLs. r=ochameau
MozReview-Commit-ID: 8GUZkq2fsZb
2016-10-17 12:57:19 -05:00
J. Ryan Stinnett
ef8d7fa8fa Bug 1310346 - Fix RDM browser_toolbox_swap_browsers.js for e10s-multi. r=ochameau
MozReview-Commit-ID: JwuqF3SdxtQ
2016-10-14 17:52:47 -05:00
J. Ryan Stinnett
1acc749efb Bug 1283453 - Add network throttling UI to RDM. r=gl
MozReview-Commit-ID: 9MYLXuhlT2F
2016-10-13 09:25:22 -05:00
Matteo Ferretti
8288b6fa42 Bug 1303484 - browser_device_modal_submit.js | unexpected number of devices; r=jryans
- Added `addDeviceForTest` that removes automatically the device added at the
  end of the test.
- Improved `switchDevice` with more assertions.

MozReview-Commit-ID: D1BJozD65uj
2016-10-04 09:18:27 +02:00
Carsten "Tomcat" Book
26df397286 Merge mozilla-central to fx-team 2016-09-30 12:09:37 +02:00
Matteo Ferretti
5cb10792c0 Bug 1302879 - Intermittent browser_device_change.js | Test timed out; r=jryans
- Handled racing condition from document's reload in `waitForViewportResizeTo`

MozReview-Commit-ID: 6WR6ETcQsB8
2016-09-30 08:19:22 +02:00
J. Ryan Stinnett
f6d8d56e28 Bug 1296498 - Update style editor RDM usage for new RDM. r=ntim
This is done by making the RDM APIs used by the style editor and its test for
this feature the same across old and new RDM, so that the test will work with
either version.

MozReview-Commit-ID: CdM6qeZQqni
2016-09-28 13:49:30 -05:00
Matteo Ferretti
23614cda77 Bug 1254385 - Apply dPR from selected device; r=jryans
- dPR and media queries are now reflecting the selected device's dppx
- added unit test

MozReview-Commit-ID: 9634mleTwkS
2016-08-31 09:58:26 +02:00
Tim Nguyen
a7c8661f29 Bug 1254386 - Test for device list. r=jryans
MozReview-Commit-ID: KhxfaGnuuUd
2016-08-23 01:51:17 -07:00
James Long
24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
J. Ryan Stinnett
3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Helen V. Holmes
512ec2aaa1 Bug 1266414: device modal fades in/out, r=jryans
Device modal can be closed with escape and outside click

MozReview-Commit-ID: eyQRxC6TDv
2016-07-18 10:12:12 -05:00
Benoit Chabod
515f31c74d Bug 1275559 - Handle asynchronous loading and errors for device list, r=jryans 2016-06-28 05:33:00 +02: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
Benoit Chabod
0fb671c694 Bug 1275520 - Improve RDM displayed device list preference. r=jryans 2016-06-22 09:41:00 -04:00
Matteo Ferretti
c47a1d9a12 Bug 1267278 - remove the usage of some add-on SDK modules, and refactoring the unit tests; r=jryans
- removed responsive.html/events.js
 - added `isActiveForWindow` method to `ResponsiveUIManager`
 - simplified how the check for RDM menu is done
 - re-enabled tests for OS X debug in e10s
 - refactored tests using `BrowserTestUtils`

MozReview-Commit-ID: 1TADh1dRVcU
2016-06-02 18:55:22 +02:00
J. Ryan Stinnett
e412994341 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
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
Matteo Ferretti
708180e645 Bug 1250084 - The 'Responsive Design View' button from the Menu is not checked while the RDM is opened; r=jryans
MozReview-Commit-ID: 9i9rYI48H4G
2016-04-25 17:28:49 +02:00
Gabriel Luong
993bf105f2 Bug 1241720 - Modal to promote devices from larger DB r=jyrans 2016-04-20 17:15:34 -04:00
Dave Townsend
4ac1a46d5e Bug 1257246: Update devtools for eslint 2. r=pbro
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.

MozReview-Commit-ID: 9xg2Gmlaz94
2016-04-05 11:31:19 -07:00
J. Ryan Stinnett
e294493120 Bug 1240896 - Rebuild existing RDM browser tests to work with remote frames. r=me
MozReview-Commit-ID: 9h1e4wjZjDo
2016-04-06 23:11:37 -05:00
J. Ryan Stinnett
88e1c2ef90 Bug 1240896 - Port browser_device_width.js to new RDM. r=gl
This also adds the test infrastructure for detecting content resizing.

MozReview-Commit-ID: H3bkAOkpMbs
2016-04-06 23:11:37 -05:00
J. Ryan Stinnett
be772bbd42 Bug 1240896 - Port browser_responsive_cmd.js, add GCLI resize support. r=gl
MozReview-Commit-ID: EYy1adtkmIu
2016-04-06 23:11:37 -05:00
J. Ryan Stinnett
ae7d2d5f93 Bug 1240804 - Ignore actions dispatched after RDM close. r=me
MozReview-Commit-ID: Kby5Zy4jeZ2
2016-03-31 19:46:14 -05:00
J. Ryan Stinnett
07632d59c0 Bug 1240804 - Fix JSON errors in RDM test file. r=me
MozReview-Commit-ID: FITgnNCjq2p
2016-03-31 19:46:14 -05:00
Gabriel Luong
065b279aa2 Bug 1241714 - Part 2: Fix a typo with prefs r=me 2016-03-21 16:02:22 -04:00
Gabriel Luong
febaaddf22 Bug 1241714 - Implement a selectable device list that applies settings to the viewport r=jryans 2016-03-21 14:48:31 -04:00
Alexandre Poirot
dd101c6942 Bug 1250833 - Stop using browser.xul globals specific to devtools. r=jryans 2016-02-27 04:51:11 -08:00
J. Ryan Stinnett
25b4978dde Bug 1239437 - Browser mochitests for responsive.html. r=pbrosset 2016-01-25 19:44:08 -06:00