Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
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
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
J. Ryan Stinnett
2ab4b33c33 Bug 1240913 - Add @allowfullscreen to appease swapFrameLoaders. r=ochameau
We don't really need fullscreen access here, but we do need the same access to
browser features as regular browser tabs.  The `swapFrameLoaders` platform API
we use compares such features before allowing the swap to proceed.

MozReview-Commit-ID: DVPUC1QKBgJ
2016-05-18 19:27:29 -05:00
Benoit Chabod
f5f02a8d5b Bug 1258353 - Refactor devtools react components. r=janx 2016-05-17 11:55:49 -07:00
Matteo Ferretti
08eba6b061 Bug 1262594 - Rebuild screenshot capturing after iframe mozbrowser; r=jryans
MozReview-Commit-ID: ASQujGzJa6s
2016-04-19 00:18:26 +02:00
Patrick Brosset
0b6dd780fc Bug 1264063 - 1 - Disable prop-types eslint rule and fix sort-comp errors; r=ochameau
MozReview-Commit-ID: 26NMWUWiKdi
2016-04-13 10:24:48 +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
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
0f539c4ab9 Bug 1240896 - Uplift dimensions to avoid recreating iframe. r=gl
MozReview-Commit-ID: 3tsFvGNdPqZ
2016-04-06 23:11:37 -05:00
J. Ryan Stinnett
aa587333f2 Bug 1240896 - Use iframe mozbrowser in RDM. r=gl
MozReview-Commit-ID: LJ78ao7ubDE
2016-04-06 23:11:37 -05:00
J. Ryan Stinnett
08a9307352 Bug 1253781 - Better perf with pure render. r=gl
There are few easy wins that greatly improve our perf with React:

* Add the PureRenderMixin to pure components that always render the same thing
  given the same props and state.  This implements React's shouldComponentUpdate
  as a shallow equality check of the props and state, so render() will be
  skipped if they match the previous values.
* Change action dispatch functions so they are only created once instead of on
  each render().  If an outer component creates new functions for each render()
  call, then the PureRenderMixin equality check fails for only the new function
  instances, even though no data has changed.

MozReview-Commit-ID: D96X048nEF4
2016-03-07 12:00:43 -06:00
Gabriel Luong
dd5f225ab0 Bug 1241326 - Implement resize handles to change viewport size on drag r=jryans 2016-02-11 18:14:07 -05:00
J. Ryan Stinnett
9f65f5255a Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00