Commit Graph
86 Commits
Author SHA1 Message Date
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Julian Descottes fdebbd7b8f Bug 1359090 - load devtools-browser.css dynamically when starting devtools;r=ochameau
This changeset modifies devtools-browser.css to import:
- commandline-browser.css (needed for GCLI)
- responsivedesign.css (needed for the old RDM)

These files are no longer included in the main browser.css files.

devtools-browser.css is also no longer loaded by browser.xul.
Instead it is dynamically loaded when devtools need the browser stylesheet:
- when creating a side or bottom host (need the splitter)
- when opening gcli
- when opening the old responsive design

devtools-browser.js keeps track of the browser stylesheets loaded in the
various tracked windows and will remove the stylesheet when the window is unloaded.

MozReview-Commit-ID: AL3CxS7mvdO
2017-04-27 16:05:31 +02:00
J. Ryan Stinnett f2aabfe814 Bug 1358261 - Disable intermittent browser_responsiveui_touch.js. r=jryans
MozReview-Commit-ID: InLJuCKg6ko
2017-04-25 16:51:25 -05:00
J. Ryan Stinnett b39b211804 Bug 1345515 - Add notifications advertising new RDM. r=ochameau
New RDM can be disabled because the user flipped a pref or because e10s is
disabled.  For each of these cases, add notifications to old RDM pushing users
to switch to the new version and provide feedback, since the old RDM will
eventually be removed.

MozReview-Commit-ID: EOQ0FkuRmY0
2017-03-20 16:06:54 -05:00
Iris Hsiao 4aac6dc4da Backed out changeset ef655e427521 (bug 1345515) for devtool test failures at responsivedesign.jsm 2017-04-20 10:01:01 +08:00
J. Ryan Stinnett f71bbaf31d Bug 1345515 - Add notifications advertising new RDM. r=ochameau
New RDM can be disabled because the user flipped a pref or because e10s is
disabled.  For each of these cases, add notifications to old RDM pushing users
to switch to the new version and provide feedback, since the old RDM will
eventually be removed.

MozReview-Commit-ID: EOQ0FkuRmY0
2017-03-20 16:06:54 -05:00
Alexandre Poirot 06bea2fcdb Bug 1335419 - Lazy load and instanciate computed view, ruleview and font inspector. r=jdescottes
MozReview-Commit-ID: CtI8w6Ao35u
2017-01-31 16:26:40 +01:00
J. Ryan Stinnett 7d50cc72c2 Bug 1349009 - Fix ESLint errors in responsivedesign.jsm. r=tromey
MozReview-Commit-ID: Jg1MleQYV9W
2017-03-20 17:07:07 -05:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Joel Maher 0f0373cde1 Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Florian Quèze 361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Michael Brennan abf48ff6f4 Bug 1316855 - Tooltip of "Toolbox Buttons" should show their shortcut. r=jryans 2016-11-29 13:21:00 -05:00
Jared Wein 5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Alexandre Poirot 71cc329c95 Bug 1266134 - Fix responsive design possible leak on shutdown. r=jryans
MozReview-Commit-ID: 3DteAYhBDNi
2016-09-15 09:57:46 -07:00
Matteo Ferretti 0ce755719f Bug 1262806 - Close button doesn't work for the RDM tool if tab is detached from the current window; r=jryans
MozReview-Commit-ID: FQqkkqBLp5v
2016-10-21 14:01:43 +02:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01: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
J. Ryan Stinnett aa6957335f Bug 1296498 - Enable new RDM UI for Nightly. r=ntim
MozReview-Commit-ID: Iiu9tf4o9Df
2016-09-26 15:19:15 -05:00
Alexandre Poirot c1cbbf4f49 Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
MozReview-Commit-ID: 8vSSaDloJND
2016-09-06 07:05:32 -07:00
Jarda Snajdr 99886dffb7 Bug 1239132 - Remove CPOW access from 'wait' function in shared-head.js r=pbro
MozReview-Commit-ID: 1oifs1zuPZw
2016-09-12 06:26:48 +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
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Tim Nguyen 2b69207f54 Bug 1254386 - Change old RDM to use emulation actor. r=jryans
MozReview-Commit-ID: EQawVubnMAp
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
Gabriel Luong 48d32bdbbf Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Ryan VanderMeulen 9e3f87ab43 Bug 1277274 - Skip browser_responsiveui_window_close.js on Linux debug e10s for being permafail. 2016-07-15 12:55:26 -04:00
danhuang1202 99652824ff Bug 1274704 - Update Date.now() to performance.now() for getting accurate time diffence. r=jryans
MozReview-Commit-ID: LkdWbWCQDqb
2016-06-22 18:11:32 +08:00
Ben Kelly 0c641a9b46 Bug 1276271 P2 Verify responsive design UI does not leak when window is closed. r=jryans 2016-05-28 05:59:09 -07:00
Ben Kelly f175fd0a9f Bug 1276271 P1 Don't leak windows when response design tool is closed while active. r=jryans 2016-05-28 05:59:09 -07:00
Masayuki Nakano 236970321d Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN
2016-05-21 00:55:48 +09:00
Masayuki Nakano c0ba45f0e4 Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M
2016-05-21 00:52:03 +09: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
danhuang1202 c0b7dae3d5 Bug 920956 - Suppress regular mouse events and emulate 300ms delay. r=jryans
MozReview-Commit-ID: JPaUdvdlXdS
2016-05-19 00:37:00 -04: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 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot e39e7b8130 Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey 2016-05-16 03:13:30 -07:00
James Long ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Brian Grinstead 02f9ddbe39 Bug 1269763 - Convert instances of toolbox.frame.contentWindow to toolbox.win;r=jdescottes
MozReview-Commit-ID: 2jPa6K6io40
2016-05-03 15:46:24 -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
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Alexandre Poirot 433e5b03a7 Bug 1248603 - Register devtools menuitems dynamically. r=gijs,jryans 2016-04-01 05:49:00 -07:00
Bryan Clark b633562c37 Bug 1250120 - Change name to Responsive Design Mode in Tools -> Web Developer menu r=jryans 2016-03-29 12:34:21 -05:00
Victor Porof bfccfa9153 Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
Ryan VanderMeulen b005061a93 Bug 1252201 - Skip various leaky devtools tests on Linux debug as well. 2016-03-05 22:17:23 -05:00
Mike de Boer fd7fd89140 Bug 1241930: Part 3 - convert all assertion methods used inside content tasks to the Assert.* family in devtools tests. r=mconley 2016-03-04 14:32:27 +01:00
Ryan VanderMeulen 38841afbe3 Bug 1252201 - Skip some devtools tests that leak on OSX e10s. 2016-03-02 23:15:38 -05:00