Commit Graph
286 Commits
Author SHA1 Message Date
J. Ryan Stinnett e6cfa9b3cc Bug 1407830 - Wait for browser during RDM startup. r=ochameau
Before the browser is mounted, listen for `remote-browser-shown` so that we know
when the browser is fully ready.  Without waiting for an event such as this, we
don't know whether all frame state for the browser is fully initialized (since
some happens async after the element is added), and swapping browsers can fail
if this state is not ready.

MozReview-Commit-ID: Ltd7mjdt7ox
2017-10-13 20:38:18 -05:00
J. Ryan Stinnett 4e09bdbfe2 Bug 1407830 - Verify that RDM swaps take place. r=ochameau
It is possible for the frame loader swap within `gBrowser._swapBrowserDocShells`
to fail when various frame state is either not ready yet or doesn't match
between the two browsers you're trying to swap.  However, such errors are
currently caught and silenced in the browser, because they are apparently
expected in certain cases.  So, here we do our own check to verify that the swap
actually did in fact take place, making it much easier to track such errors when
they happen.

MozReview-Commit-ID: LwuCXJQRRVW
2017-10-13 20:19:49 -05:00
J. Ryan Stinnett 38cd37baa4 Bug 1407830 - Add diagnostics to RDM swap. r=ochameau
Add some (disabled by default) logging to the RDM swap process to speed up
future investigations.

MozReview-Commit-ID: ICuH7i5Nsq5
2017-10-13 20:07:24 -05:00
J. Ryan Stinnett 0c8077f5c3 Bug 1342549 - Trim RDM DPR to ~3 decimal places. r=gl
MozReview-Commit-ID: 9xRV2OvOtuW
2017-10-05 22:30:03 -07:00
Miguel Useche acc9a7c1ab Bug 1402391 - CamelCase all React component files in \devtools\client\responsive.html\src\components\. r=jdescottes
MozReview-Commit-ID: Am14gw4EugN
2017-10-09 22:56:20 -04:00
Julian Descottes d3239a75b1 Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.

If not then it won't be impacted by DevTools themes.

MozReview-Commit-ID: CLFprKMuCt9
2017-10-04 21:13:48 +02:00
Julian Descottes c03c204be2 Bug 1399886 - modify devtools SVG files to use fill=context-fill;r=gl
MozReview-Commit-ID: dxSMaCHjrQ
2017-10-04 16:57:11 +02:00
J. Ryan Stinnett c262085d22 Bug 1348960 - Expose openLinkIn for RDM tabs. r=ochameau
MozReview-Commit-ID: 2EzZfBsNIrf
2017-10-03 22:34:07 -07:00
J. Ryan Stinnett f9fcbf833e Bug 1404088 - Hide RDM temporary tabs from WebExtensions. r=ochameau
RDM uses temporary tabs to move content around and into the tool's viewport.
This triggers events like `TabOpen` and `TabClose` for the temporary tab,
trigger unnecessary work, like alerting WebExtensions.

Avoid this noise for WebExtensions and others by absorbing these events.

Note that the _original_ browser tab is unaffected.  This only changes temporary
tabs RDM uses during the swapping process.

MozReview-Commit-ID: H8kBYBma6i9
2017-09-29 17:14:32 -05:00
J. Ryan Stinnett 843dbef8a4 Bug 1404088 - Add gBrowser to the browser property list. r=ochameau
MozReview-Commit-ID: fWPCkDe6Ve
2017-09-29 11:57:53 -05:00
J. Ryan Stinnett 8c77100f50 Bug 1404088 - Standardize RDM's exposed browser properties. r=ochameau
MozReview-Commit-ID: KIykapQm5mP
2017-09-28 18:47:24 -05:00
Nicolas Chevobbe fee723d060 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
J. Ryan Stinnett 2c7f079345 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett 76f60288f6 Bug 1305777 - Move RDM GCLI commands to new RDM. r=ochameau
MozReview-Commit-ID: Eyz90kT6Tdx
2017-09-26 18:47:12 -05:00
J. Ryan Stinnett c1db9fa094 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC
2017-09-26 18:39:16 -05:00
J. Ryan Stinnett 29ad3830d7 Bug 1305777 - Move RDM frame script to new RDM. r=ochameau
MozReview-Commit-ID: LJhKdurBVzt
2017-09-26 18:24:32 -05:00
Sebastian Hengst 88453318f1 Backed out changeset 5a0227d048e8 (bug 1305777) for failing devtools' devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_links.js on Windows 7 debug without e10s. r=backout 2017-09-29 10:45:04 +02:00
Sebastian Hengst df027e0355 Backed out changeset 6ae05de7437d (bug 1305777) 2017-09-29 10:43:48 +02:00
Sebastian Hengst 46113dc42d Backed out changeset 776ad30a20db (bug 1305777) 2017-09-29 10:43:42 +02:00
Sebastian Hengst bd2513957f Backed out changeset ffb4e22a4347 (bug 1305777) 2017-09-29 10:43:19 +02:00
J. Ryan Stinnett 82d5b3cfd6 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett db63e439ba Bug 1305777 - Move RDM GCLI commands to new RDM. r=ochameau
MozReview-Commit-ID: Eyz90kT6Tdx
2017-09-26 18:47:12 -05:00
J. Ryan Stinnett 9a5225cae4 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC
2017-09-26 18:39:16 -05:00
J. Ryan Stinnett 22e62556a6 Bug 1305777 - Move RDM frame script to new RDM. r=ochameau
MozReview-Commit-ID: LJhKdurBVzt
2017-09-26 18:24:32 -05:00
abhinav 8a1175ad06 Bug 1379687 - Fix for device selection menu not remembering custom devices with unicode characters. r=jryans
MozReview-Commit-ID: DTEmfg23INc
2017-09-27 10:33:32 -05:00
Sebastian Hengst fba940c63f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Alexandre Poirot e4d4fa2cc6 Bug 1399449 - Convert devtools/client/responsivedesign/responsivedesign.jsm to a commonjs module. r=jryans
MozReview-Commit-ID: Jl6OGUWnbHN
2017-09-13 14:33:58 +02:00
Alexandre Poirot 0318982e17 Bug 1399090 - Lazy load responsive design manager modules. r=jryans
MozReview-Commit-ID: IzldMjDwG8M
2017-09-12 14:50:24 +02:00
Julian Descottes c46eaba0ca Bug 1399028 - photon update - devtools icon, tab and accordion colors;r=gl
Updated colors and styles for toolbox toolbar tabs as well as sidebar tabs.
For icon color changes created special filters that match the expected photon colors.
The normal, selected and checked states of icons in both dark and light theme are now
always set using filters.

MozReview-Commit-ID: 4MTAxHnyI7a
2017-09-11 23:56:33 +02:00
J. Ryan Stinnett e7197f354c Bug 1398297 - Reload RDM when disabling touch. r=gl
MozReview-Commit-ID: ILdfxs5SXfH
2017-09-08 15:09:22 -05:00
Wes Kocher 3f192cf984 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 77Uz3uceUmk
2017-08-31 16:56:23 -07:00
Florian Quèze 5415e80530 Bug 1391704 - Avoid flickering while moving tabs across windows, r=mconley. 2017-09-01 00:42:31 +02:00
Tom Tromey 2c4ab81b95 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
J. Ryan Stinnett 2d8b590c76 Bug 1387445 - Enable DevTools RDM tests on Linux debug. r=xidorn
MozReview-Commit-ID: L7A6nt3Fowp
2017-08-29 19:15:26 -05:00
J. Ryan Stinnett f28f7c72a5 Bug 1394473 - Fix up target=_blank links in RDM. r=ochameau
Sometime during Firefox 56, the `dataTransfer` property was removed, so this
started to fail.  It was a bit strange anyway, since we have a principal on the
outer browser.

Adds a test to cover this use case.

MozReview-Commit-ID: 9UOCc77ZRxk
2017-08-28 18:25:16 -05:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
J. Ryan Stinnett af368c2117 Bug 1386053 - Skip remaining DevTools Stylo failures. r=manishearth
MozReview-Commit-ID: TcexGI0JkG
2017-08-03 13:32:25 -05:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
J. Ryan Stinnett a0d5af8e95 Bug 1381800 - Remove location from RDM components. r=pbro
MozReview-Commit-ID: Cs7608E1sIR
2017-07-18 21:35:57 -04:00
Christoph Kerschbaumer 62012a3546 Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
Nathan Froyd 8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Matt R 639c361b63 Bug 1368204 - convert uses of 'defer' to 'new Promise' in client/responsive.html; r=tromey
MozReview-Commit-ID: HnjT6j9yjW3
2017-05-27 17:32:06 +01:00
Ryan VanderMeulen e45e8dfb59 Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
Mats Palmgren bd90393cc1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book 1aa86b3e0e Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren 473a358067 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Ben Kelly b1360a3d6a Bug 1366783 Loosen responsive design mode test check for 300ms touch delay. r=jryans 2017-05-23 07:30:55 -07:00