Commit Graph
577 Commits
Author SHA1 Message Date
Tom Tromey 2f65c65a28 Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn
2017-08-04 13:14:11 -06:00
Tom Tromey 58b1ba9c5a Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp
2017-08-04 09:52:25 -06:00
Tom Tromey 0f65d40c76 Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv
2017-08-03 09:00:19 -06:00
Tom Tromey 70a7919a33 Bug 1384943 - add initial implementation of SourceMapServiceWrapper; r=bgrins
This adds a simple wrapper for the source map service.  This wrapper
logs errors using console.error, preserving the status quo from before
this series.

MozReview-Commit-ID: 2ckUZaerrcJ
2017-07-31 15:57:07 -06:00
J. Ryan Stinnett 13aa5364d7 Bug 1386830 - Test profile dirs in Browser Toolbox. r=jdescottes
Before trying to migrate Browser Toolbox profile dirs, ensure the old and new
dirs are actually different.  This avoids an issue where we were constantly
"migrating" the profile to the same place, effectively deleting it on every run.

MozReview-Commit-ID: FUAb2G21nbV
2017-08-02 16:34:40 -05:00
Julian Descottes c6b39656eb Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau
MozReview-Commit-ID: 9ajEa09R0Nb
2017-08-03 14:54:09 +02:00
Julian Descottes 524de90951 Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW
2017-08-02 12:53:20 +02:00
Brian Grinstead 2d4ca18cef Bug 1386724 - Force devtools-browser to be loaded in shared-head.js;r=jdescottes
If a devtools entry point isn't hit in a test (toolbox open, keyboard shortcut,
opening the web dev menu, etc), then things like the menu items aren't installed.
This is for performance reasons (Bug 1359855), but it means that some tests
may fail when run alone. Prevent that from happening by forcing devtools to start
up in shared-head.js.

This causes certain tests to fail when run alone if they don't open the tools

MozReview-Commit-ID: ANuUhYXIbSF
2017-08-02 10:08:16 -07:00
Tom Tromey b7ccf51b81 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO
2017-07-07 12:53:32 -06:00
Alexandre Poirot 962f5370c6 Bug 1385226 - Fix gcli Shift+F12 key shortcut. r=jdescottes
MozReview-Commit-ID: Bcs14MEyHXF
2017-07-28 11:53:05 +02:00
Carsten "Tomcat" Book e856225f55 Backed out changeset 7adefc652d95 (bug 1351148) 2017-07-28 09:20:14 +02:00
Sebastian Hengst a95badd051 Backed out changeset 0462e7a66185 (bug 1369801)
MozReview-Commit-ID: Hc6hLI0Ywxj
2017-07-27 18:14:08 +02:00
Julian Descottes 72ca589618 Bug 1369801 - dt-addon: clear extensions.lastAppVersion when creating browser toolbox profile;r=ochameau
This is needed to:
1. force the devtools system addon installation when starting the BT instance of FF
2. avoid the addon update prompt

Another approach is to create a separate user.js pref file to fix 1. However with this
approach there is currently no way to fix 2.

MozReview-Commit-ID: palK2hION0
2017-07-06 02:48:41 +02:00
Alexandre Poirot 149b64f367 Bug 1359855 - Remove assertion for dynamic key registration. r=jdescottes
Per definition of this bug/patch, key shortcuts can't be registered anymore.
It mostly means that add-on definition a key shortcut won't keep their key shortcut working.
This shouldn't be an issue on 57 as I don't think WebExtension addon can set a key shortcut via this DevTools API.

MozReview-Commit-ID: G5c8JzaUWoR
2017-07-13 15:24:55 +02:00
Alexandre Poirot 5c610c8eff Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI
2017-07-13 15:27:37 +02:00
Alexandre Poirot d44493c928 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Alexandre Poirot 76f0c99969 Bug 1359855 - Fix the developer toggle in customize widgets. r=jdescottes
Now that devtools-browser is lazily evaluated, we have to create the widget early in devtools-startup.

MozReview-Commit-ID: JanbAPalYE1
2017-07-13 15:43:50 +02:00
Alexandre Poirot 5d9fb27256 Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY
2017-07-18 11:05:47 +02:00
Carsten "Tomcat" Book c41fe0dd6f Backed out changeset a46ee323e1e7 (bug 1359855) for test failures in browser_ext_devtools_inspectedWindow.js 2017-07-24 12:07:39 +02:00
Carsten "Tomcat" Book 2c5f96e9a1 Backed out changeset 44726932185a (bug 1359855) 2017-07-24 12:07:21 +02:00
Carsten "Tomcat" Book 362f9cf026 Backed out changeset 354080a171dc (bug 1359855) 2017-07-24 12:07:18 +02:00
Carsten "Tomcat" Book 88cc560a7f Backed out changeset 8d68726f1c34 (bug 1359855) 2017-07-24 12:07:16 +02:00
Carsten "Tomcat" Book a86648919d Backed out changeset dbd03e7e1bc5 (bug 1359855) 2017-07-24 12:07:11 +02:00
Alexandre Poirot 239ceb31fe Bug 1359855 - Remove assertion for dynamic key registration. r=jdescottes
Per definition of this bug/patch, key shortcuts can't be registered anymore.
It mostly means that add-on definition a key shortcut won't keep their key shortcut working.
This shouldn't be an issue on 57 as I don't think WebExtension addon can set a key shortcut via this DevTools API.

MozReview-Commit-ID: G5c8JzaUWoR
2017-07-13 15:24:55 +02:00
Alexandre Poirot 7e34fb649a Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI
2017-07-13 15:27:37 +02:00
Alexandre Poirot b55685c1b5 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Alexandre Poirot 3a70cdb1e6 Bug 1359855 - Fix the developer toggle in customize widgets. r=jdescottes
Now that devtools-browser is lazily evaluated, we have to create the widget early in devtools-startup.

MozReview-Commit-ID: JanbAPalYE1
2017-07-13 15:43:50 +02:00
Alexandre Poirot cc18cc689f Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY
2017-07-18 11:05:47 +02:00
Alexandre Poirot c800f15849 Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd
2017-07-20 13:52:57 +02:00
Wes Kocher c21f63d3ed Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Jan Odvarko 65932bda75 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: G2TzrRF0Vag
2017-06-09 09:42:34 -07:00
Julian Descottes e5e5115de2 Bug 1383014 - remove UI for option to enable old debugger worker debugging;r=bgrins,sole
MozReview-Commit-ID: AweGB4Hcmgf
2017-07-21 13:00:06 +02:00
Stone Shih 535bbe4702 Bug 1351148 Part6: Revise browser_toolbox_races.js to avoid jam content process by synthesized input events. f=jryans,pbro. r=ochameau.
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.

MozReview-Commit-ID: 1G3ggeaZ1Os
2017-06-05 13:00:44 +08:00
Luca Greco 3858a8a30b Bug 1341304 - Emit "selection-changed" event on the DevTools toolbox object. r=jdescottes,ochameau
MozReview-Commit-ID: G2jRxqDH9wx
2017-07-06 19:47:21 +02:00
Sebastian Hengst 6aa896a12d Backed out changeset 227ff88b9848 (bug 1326937) for timing out in browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout on A CLOSED TREE 2017-07-17 20:48:25 +02:00
Brian Grinstead 2085208361 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: 6Pxao2KmSb4
2017-06-09 09:42:34 -07:00
Wes Kocher 59d73eb1b7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Sebastian Hengst e7a7a6d1ff Bug 1380867 - Add activeConsole to workerTargets: Add semicolon after return statement to make eslint happy. r=eslint-fix 2017-07-14 23:59:56 +02:00
Jason Laster f6c2a63907 Bug 1380867 - Add activeConsole to workerTargets. r=bgrins 2017-07-13 18:55:00 -04:00
Vangelis Katsikaros c790c99910 Bug 1366102 - Remove the DEVTOOLS_OS_* probes from our Telemetry. r=miker
MozReview-Commit-ID: IGjaTqiGoFz
2017-05-30 16:36:35 +03:00
Junior Hsu ded770e714 Bug 1373198 - Part 5: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:02:00 +02:00
Yoshi Huang f77f12189b Bug 1377523 - Part 2: fix for browser_toolbox_*. r=pbro
fixed the tests in devtools/client/framework/test/ to not to use data:
URI.
2017-07-13 12:27:38 +08:00
Towkir Ahmed 015730df74 Bug 1374088 - camera icon on 'Screenshort behavior' label is now correctly aligned; r=gl 2017-07-12 13:40:07 -04:00
Tom Tromey 2547134c0a Bug 1371852 - make Frame component listen for source-map pref changes; r=jryans
MozReview-Commit-ID: 51DTsRGogCh
2017-06-12 16:44:27 -06:00
J. Ryan Stinnett ef4570eae6 Bug 1378480 - Dump Browser Toolbox stdout to terminal. r=kmag
MozReview-Commit-ID: BSnvDzisCB3
2017-07-05 15:01:16 -05:00
Alexandre Poirot 8acb14c4b9 Bug 1378151 - Remove toolbox-process-window.js preprocessing and enable eslint. r=jdescottes
MozReview-Commit-ID: 6qPg0jSsdsR
2017-07-04 17:05:12 +02:00
Paolo Amadini 6db1a43ab3 Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz
2017-06-29 00:13:06 +01:00
Julian Descottes 46d114a202 Bug 1375809 - use events to communicate between XPIProvider.jsm and ToolboxProcess.jsm;r=aswan,jryans
As DevTools are moving to be an addon and out of mozilla-central, we should remove the
coupling between the mozilla-central code and the DevTools code.

Instead of directly loading and calling the ToolboxProcess, XPIProvider.jsm now uses
events to interact with BrowserToolboxProcess.

MozReview-Commit-ID: HpnMLCILkea
2017-06-23 17:44:05 +02:00
Julian Descottes 24139ca556 Bug 1372520 - use DevToolsShim to inspectNode in nContextMenu;r=bgrins,mixedpuppy
As devtools become optional, nsContextMenu needs to check if devtools are installed before
displaying the devtools-related menu entries.

Rather than loading devtools classing and calling APIs, use APIs provided by the DevToolsShim,
that will stay in mozilla-central.

MozReview-Commit-ID: CxqabTjhckC
2017-06-14 17:52:50 +02:00
Wes Kocher 0942b0ec9f Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00