Commit Graph
40 Commits
Author SHA1 Message Date
J. Ryan Stinnett 7bc8eb23cb Bug 1321675 - Rename removeDevice to removeDeviceAssoc. r=gl
MozReview-Commit-ID: 1UMUfX23zUb
2017-02-03 17:23:49 -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 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
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
J. Ryan Stinnett ded6a2651c Bug 1311358 - Add error notification for RDM with container tabs. r=ntim
MozReview-Commit-ID: DPDGaHQzuYq
2016-10-19 08:53:10 -05: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 1acc749efb Bug 1283453 - Add network throttling UI to RDM. r=gl
MozReview-Commit-ID: 9MYLXuhlT2F
2016-10-13 09:25:22 -05: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 090a811ef2 Bug 1241582 - Port touch, window_close tests from legacy tool; r=ntim
MozReview-Commit-ID: 8Npzkbfekur
2016-09-09 10:45:07 +02:00
Matteo Ferretti db3385dfe5 Bug 1254388 - Apply touch simulation from selected device. r=ntim
MozReview-Commit-ID: De8lVrct0iZ
2016-09-13 16:28:15 +02: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
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07:00
J. Ryan Stinnett f97bb0bb97 Bug 1274032 - Show notification when opening RDM on non-remote tabs. r=ntim
MozReview-Commit-ID: DGDuM6jobbG
2016-08-12 17:09:29 -05:00
Tim Nguyen da8d0b13ed Bug 1254386 - Add user agent emulation to new RDM. r=jryans
MozReview-Commit-ID: EBWBJV20KLV
2016-08-23 01:51:17 -07:00
Benoit Chabod 0ce3a6cf55 Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: 860epGLFO9
2016-08-16 21:56:14 -05: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
Benoit Chabod e45bb9e11a Bug 1269882 - Reload viewport when enabling touch simulation, r=jryans 2016-06-28 05:42:00 +02: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
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 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
J. Ryan Stinnett 73589e7042 Bug 1240913 - Catch errors on RDM open / close. r=ochameau
MozReview-Commit-ID: 8WB989Fy1Ce
2016-05-18 19:27:29 -05:00
Gabriel Luong cc8c7a4c03 Bug 1239459 - Toggle touch event simulation r=jryans 2016-05-11 23:39:04 -07:00
Phil Ringnalda 1515ed2c19 Back out 027b0144a1a6 (bug 1239459) for failures in responsive.html/test/browser/browser_menu_item_02.js
CLOSED TREE
2016-05-10 21:01:28 -07:00
Gabriel Luong 7d78c2ff51 Bug 1239459 - Toggle touch event simulation r=jryans 2016-05-10 17:09:55 -07:00
J. Ryan Stinnett 8aa03a5d4d Bug 1263258 - Require space before paren for anonymous functions. r=pbro
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -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
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 49f63c544b Bug 1240896 - Improve RDM GCLI test toggling. r=me
MozReview-Commit-ID: BfG5HL2tIFW
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 5b0908d7ab Bug 1240896 - Load frame script into RDM browser. r=gl
MozReview-Commit-ID: BSaD8NwQCMF
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 7b56407c30 Bug 1240804 - Wait for RDM tool to init first. r=me
MozReview-Commit-ID: Eb1xsE5irMw
2016-03-31 19:46:14 -05:00
Matteo Ferretti 51e8cff855 Bug 1239464 - Close button for exiting the responsive design view; r=jryans
MozReview-Commit-ID: Fygjgc7FHzF
2016-03-04 01:21:19 -05:00
J. Ryan Stinnett 25b4978dde Bug 1239437 - Browser mochitests for responsive.html. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett 9f65f5255a Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett ae8cb019b0 Bug 1239437 - Add a basic viewport frame. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett 5f2c9b80c8 Bug 1239437 - Delegate to empty, new responsive UI tool if enabled. r=pbrosset 2016-01-25 19:44:08 -06:00