Commit Graph
612 Commits
Author SHA1 Message Date
Brian Grinstead bed411d3a6 Bug 1251658 - Reset the ui.popup.disable_autohide pref when closing the Browser Toolbox;r=ochameau
But only reset if the pref has been toggled from the Browser Toolbox UI, to prevent
unexpected resetting if the pref was changed from about:config before opening the
Browser Toolbox.

MozReview-Commit-ID: LwI2M5Uj4jf
2017-09-05 10:25:25 -07:00
Julian Descottes 09c0897077 Bug 1391228 - remove unused devtools profiler actor, specs and front;r=gregtatum,mstange
MozReview-Commit-ID: 82R4C3NFolu
2017-08-18 17:27:56 +02:00
Julian Descottes 6e285e3e8a Bug 1395990 - use constant MOZILLA_OFFICIAL to check for local build in ToolboxProcess.jsm;r=bgrins
MozReview-Commit-ID: mzBOBwruL9
2017-09-01 18:28:08 +02:00
Brian Grinstead 4ad2dcf2f3 Bug 1307881 - Part 1 - Split message persistence prefs into two, one for the netmonitor and one for the console;r=Honza
MozReview-Commit-ID: 4i8heIyPEv0
2017-08-31 21:42:15 -07:00
Sebastian Hengst ae74a4c150 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Gabriel Luong 460d170192 Bug 1394268 - Implements the new photon tab line in the devtools tabbar. r=bgrins 2017-08-31 00:34:39 -04:00
Ryan VanderMeulen 7b05a61cae Bug 1386410 - Skip browser_toolbox_custom_host.js for permafailing on uplift to Beta. r=bgrins, f=pbro 2017-08-03 17:32:32 -04:00
Gabriel Luong fd711951c3 Bug 1394513 - Part 1: Use the same separator styles as photon for the toolbox tab separator. r=bgrins 2017-08-29 20:39:46 -04:00
Tom Tromey c1b8d2d0ba Bug 1391768 - register existing source actors in source map service init; r=bgrins
MozReview-Commit-ID: Ao1viu9sk5O
2017-08-29 14:21:58 -06:00
Luca Greco b083d1070c Bug 1341305 - Provide an internal DevTools API to register an Extension Sidebar for the inspector panel. r=gl
MozReview-Commit-ID: IvAptqCN5ne
2017-07-24 16:00:10 +02:00
Alexandre Poirot aedf5dcf96 Bug 1379016 - Hide about:devtools-toolbox from about:about. r=pbro
MozReview-Commit-ID: 8SKXyLgyBam
2017-08-24 12:02:34 +02:00
Wes Kocher 68ddef6d5c Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Andrew Halberstadt c8dc976a1e Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F
2017-08-22 16:56:02 -04:00
Brian Grinstead 6ea03fa837 Bug 1392744 - Pass the port along to the browser toolbox chrome uri;r=jryans
This allows multiple browser toolboxes to be opened at once, assuming the host
profiles have different values for devtools.debugger.chrome-debugging-port

MozReview-Commit-ID: 1bzsZFww4Zv
2017-08-24 10:03:47 -07:00
Sebastian Hengst 370ecfd753 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6TGQRm8SSk0
2017-08-24 13:28:57 +02:00
Kris Maglione be161e68b4 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0
2017-08-19 13:32:58 -07:00
Brian Grinstead 65d70186db Bug 1389939 - Stop syncing devtools theme and compact themes;r=Gijs
MozReview-Commit-ID: GUjgHU5pgg1
2017-08-23 10:18:51 -07:00
Julian Descottes f493553983 Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw
2017-08-22 16:31:44 +02:00
Julian Descottes 4ba1ec480e Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i
2017-07-24 12:12:47 +02:00
Julian Descottes aaea6acb73 Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs
2017-07-12 11:04:28 +02:00
Ryan VanderMeulen f40c0d4a06 Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Julian Descottes 307d4547f9 Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i
2017-07-24 12:12:47 +02:00
Julian Descottes 01c83703fb Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs
2017-07-12 11:04:28 +02:00
Julian Descottes 92eb851e00 Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
MozReview-Commit-ID: 2ab0Ol4Mq64
2017-08-16 15:11:21 +02:00
Brian Grinstead 985f65c5ae Bug 1390927 - Only show the toolbox edit context menu on text inputs;r=gl
MozReview-Commit-ID: KRqKwwHkx1u
2017-08-16 09:11:46 -07:00
Brian Grinstead fddc263d45 Bug 1388104 - Open the textbox context menu on any html input in the toolbox;r=gl
Right now HTML inputs do not get a context menu when being right clicked. The inspector
works around this by calling toolbox.openTextBoxContextMenu on each individual input,
but the rest of the toolbox can be served by handling this at the toolbox level.

MozReview-Commit-ID: KuRQmuf01xh
2017-08-15 15:39:32 -07:00
Stone Shih f4fd6c8a8b 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
Wes Kocher 1865918a1a Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Brian Grinstead 1d229271b6 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH
2017-08-11 09:16:59 -07:00
Brian Grinstead 2be258f821 Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7
2017-08-11 09:07:04 -07:00
Stone Shih 15ebcf0227 Backed out changeset e73fd9007b9b (bug 1351148) 2017-08-11 15:19:18 +08:00
Stone Shih ee73347b45 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
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
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
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