Commit Graph

217 Commits

Author SHA1 Message Date
Tim Nguyen
f300531367 Bug 1341045 - Make sure RDM close icon is centered within button. r=jryans
MozReview-Commit-ID: 5nlucwAe51L

--HG--
extra : rebase_source : d7d6a3c97967329e51cd33b2c1b070df343f5543
2017-02-25 15:42:31 +00:00
Tim Nguyen
d762bbe438 Bug 1341045 - Use checked class instead of introducing active class. r=jryans
MozReview-Commit-ID: 6fC7hVRSvjh

--HG--
extra : rebase_source : a6051a964f42a22137f6128cd57a82e3701d463b
2017-02-25 15:42:26 +00:00
Tim Nguyen
4a0c3cbbd6 Bug 1341045 - Remove broken CSS overrides from responsive.html. r=jryans
MozReview-Commit-ID: KCb8G3agjE4

--HG--
extra : rebase_source : 28e219d44795b54979307f8f70eba0823eefab78
2017-02-25 15:42:20 +00:00
J. Ryan Stinnett
8ba3f9bd61 Bug 1342962 - Hide intermediate states when toggling RDM. r=ochameau
MozReview-Commit-ID: AZ9bVv15YxJ

--HG--
extra : rebase_source : 2ea78d7b8b5a6d2b0959d00c5af2746b72bc9523
2017-03-01 17:20:34 -06:00
J. Ryan Stinnett
e3d67a0451 Bug 1338599 - Default custom devices to enabled in RDM. r=gl
MozReview-Commit-ID: HAkhcKZhLVt

--HG--
extra : rebase_source : 2c9252ecc4f52786881dd58eadf77bb82bf067fb
2017-03-01 17:57:24 -06:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Julian Descottes
596f377474 Bug 1339783 - use theme-toolbar-hover for accordion header background on hover;r=gl
Move toolbar only variable toolbar-tab-hover to variables.css and reuse it in
accordion.

MozReview-Commit-ID: KgBLlYIYlrr
2017-02-22 16:55:05 +01:00
J. Ryan Stinnett
f532ae395e Bug 1339155 - Tweak RDM font size to fit add device UI. r=gl
MozReview-Commit-ID: FwGrcV17rXM

--HG--
extra : rebase_source : 07391d37dbc1aa545acc9df294cc3189a15e0f1b
2017-02-13 14:13:19 -06:00
J. Ryan Stinnett
5e3134b8e0 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

--HG--
extra : rebase_source : 3c6c6f28cfe0fc96a429b3167e2d6ee79810cf25
2017-02-10 14:51:26 -06:00
J. Ryan Stinnett
30c2539e76 Bug 1321675 - Move device adder below devices. r=gl
This gets closer to Helen's mockup.  The spacing is a bit tight.  When adjusting
the modal size, I used the most popular DevTools screen resolution (1366 x 768)
as a reference.

MozReview-Commit-ID: 4EjJKKhuxpA

--HG--
extra : rebase_source : 01d293e177d38548df2997db6aed5d822c6e1101
2017-02-07 16:57:03 -06:00
J. Ryan Stinnett
400ec2efd0 Bug 1321675 - Add / remove custom devices in RDM. r=gl
MozReview-Commit-ID: E84zxk9n1AL

--HG--
extra : rebase_source : 8609b6ea5b0654b80fadec3a070f8a9e9c2eaeb0
2017-02-03 17:09:01 -06:00
J. Ryan Stinnett
1566515dfe Bug 1321675 - Rename removeDevice to removeDeviceAssoc. r=gl
MozReview-Commit-ID: 1UMUfX23zUb

--HG--
extra : rebase_source : 369e0ede8a58af9242e1a98bb2b536efd4193794
2017-02-03 17:23:49 -06:00
J. Ryan Stinnett
73f556c0e6 Bug 1321675 - Show device details in tooltip. r=gl
MozReview-Commit-ID: LxxaoBBQCUU

--HG--
extra : rebase_source : 22c5ce062a99ba6d9687e3701cef4ab5ecd2da80
2017-02-02 17:38:57 -06:00
J. Ryan Stinnett
0b62c18843 Bug 1321675 - Add form to device modal for adding devices. r=gl
MozReview-Commit-ID: 2CejxW5VuqK

--HG--
extra : rebase_source : 42fa45ea8f837762be8757fc6eaf694c2ffc93aa
2017-01-30 18:26:12 -06:00
J. Ryan Stinnett
534f8bfa90 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

--HG--
extra : rebase_source : 51c3beeaa4ff081d1f9d3ddd5e00b83c56aa15e1
2017-01-27 16:03:04 -06:00
J. Ryan Stinnett
c671fb54e1 Bug 1313933 - Cleanup logging in RDM tab remoteness test. r=ochameau
MozReview-Commit-ID: LSZGbhd6wg7

--HG--
extra : rebase_source : c34217e03985a8343d8e0a7544b618d604d36f85
2017-01-26 16:27:07 -06:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
J. Ryan Stinnett
ebe862c29b 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

--HG--
extra : rebase_source : d8c49b55c01ca625b7e85c52c4be63175ba98fd0
2017-01-20 17:08:48 -06:00
J. Ryan Stinnett
cb11da5ada 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

--HG--
rename : devtools/client/responsive.html/test/unit/test_change_viewport_device.js => devtools/client/responsive.html/test/unit/test_change_device.js
extra : rebase_source : ddf227119edc0e022d586cf46b448e1891d059aa
2017-01-19 16:56:39 -06:00
J. Ryan Stinnett
cff6bbb553 Bug 1319950 - Wrap dPR state in object for consistency. r=gl
MozReview-Commit-ID: ERiDO14wGUz

--HG--
extra : rebase_source : 97d52933efb35758f8c6916be75a59a06cfe25f0
2017-01-09 19:29:53 -06:00
J. Ryan Stinnett
cf3fb03fad Bug 1319950 - DPR watching should move to actor. r=jryans
MozReview-Commit-ID: KcPhlh5uYJO

--HG--
extra : rebase_source : 0a9c585b28a78ad2892c87e8fc814f9fbde90d57
2017-01-09 18:47:38 -06:00
J. Ryan Stinnett
0e917d0bbf Bug 1331601 - RDM browser_device_change.js fix for subpixel size. r=jryans
MozReview-Commit-ID: 4fzMjF2O338

--HG--
extra : rebase_source : 11641276339cf9f151468dcc5e3bd791c13da20c
2017-01-19 16:28:50 -06:00
J. Ryan Stinnett
5f485b1aa7 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

--HG--
extra : rebase_source : 5cc2deafc31f8f58d13d78e5b2524d60897bf5b9
2017-01-19 13:25:14 -06:00
J. Ryan Stinnett
c6a3f8a08d 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

--HG--
extra : rebase_source : 6c945bc74c5b4a366c461f34566db1dfc2eb0435
2017-01-18 17:06:55 -06:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Julian Descottes
5a11042662 Bug 1315922 - fix react/prop-types issues in client/responsive.html;r=jryans
MozReview-Commit-ID: LYLdsqLyU1K

--HG--
extra : rebase_source : 09e46abc9d7142c907637c8f1d132ff653945fc9
2016-11-08 11:34:35 +01:00
Christoph Kerschbaumer
be82c7af85 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher
cb7e0bda60 Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
05287d4fa8 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Joel Maher
41529739bc Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Sebastian Hengst
cb76f56d60 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
d7ea1c1605 Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
J. Ryan Stinnett
517ccd5a02 Bug 1274855 - Fix mouse event races in RDM mouse resize test. r=ochameau
MozReview-Commit-ID: G0S7e8sPbHX

--HG--
extra : rebase_source : 0fdb310b198bca5a9a28021106a5e790b07dc0b8
2017-01-09 20:09:47 -06:00
Gabriel Luong
a159f1482f Bug 1319619 - Move RDM dimension controls above the viewport. r=jryans 2017-01-09 16:39:27 -05:00
Florian Quèze
55f78ce0fa Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
djmdev
66788a726d Bug 1325567 - Added tooltip to rotate viewport button. r=jryans
--HG--
extra : rebase_source : bd7ef1797251da80290ed5ed5cf85b8aa82a95bb
2017-01-05 01:59:08 +05:30
Thomas Nguyen
0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
J. Ryan Stinnett
0119e527b3 Bug 1321831 - Delay loading RDM devices to allow faster open. r=ochameau
MozReview-Commit-ID: 4UkW0qjSAmr

--HG--
extra : rebase_source : 1d8bb05b41731b8bfe60cb6635bd7ddc3b2ae83f
2016-12-29 11:59:09 -06:00
Towkir Ahmed
5fb25d056e Bug 1325570 - The checkboxes from modal can now be checked/unchecked using the left click only; r=jryans
MozReview-Commit-ID: LPRzXjp7q6v

--HG--
extra : rebase_source : 198f3bec99e8a026cbef2f0103b40d1c1e2b53c2
2017-01-04 09:34:37 -06:00
Jared Wein
560afd3f8e Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn

--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -05:00
Towkir Ahmed
95eb20ef5c Bug 1325553 - Sound of "take screenshot" button respects relevant preference now; r=ntim 2016-12-28 08:45:00 +01:00
Aman Dwivedi
6cbcc32370 Bug 1323685 - Remove workarounds for bug 449811. r=mak 2016-12-22 16:33:28 +05:30
J. Ryan Stinnett
2ec0d7411f Bug 1321631 - Delay loading RDM camera audio until used. r=ochameau
MozReview-Commit-ID: LWHS1xFRvdd

--HG--
extra : rebase_source : adc4764cf7e5e11227db805a7a935c611becc816
2016-10-31 14:22:29 -05:00
J. Ryan Stinnett
51505bd886 Bug 1318675 - Reconnect find bar when toggling RDM. r=ochameau
MozReview-Commit-ID: 4IoXvTZXbKW

--HG--
extra : rebase_source : f86449933dbc3946a94de41ef723eddae1d8361e
2016-11-28 20:46:47 -06:00
J. Ryan Stinnett
acb8298a71 Bug 1319596 - Wait for first historychange when starting RDM. r=ochameau
In bug 1310771, the session store process for gathering data from content was
changed so that the key "historychange" is used instead of "history".  Kept the
check for "history" as well, since other places in session store still test for
it.

MozReview-Commit-ID: 4xF7FkxkriI
2016-11-25 14:12:56 -06:00
Bob Owen
4f48f9317d 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
4240700f13 Backed out changeset 5b26ae9afaea (bug 1147911) 2016-11-23 18:33:10 +01:00
Bob Owen
67d3ea6af8 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
J. Ryan Stinnett
c8dc1ff2d1 Bug 1319628 - Remove longer timeouts from individual RDM tests. r=me
MozReview-Commit-ID: LsYKx98YvLH
2016-11-22 20:45:31 -06:00
J. Ryan Stinnett
5e0e2553a5 Bug 1319628 - Longer timeout for all RDM browser tests. r=me
MozReview-Commit-ID: E88nI5xLqtj
2016-11-22 20:45:30 -06:00