Commit Graph
269 Commits
Author SHA1 Message Date
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
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
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 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
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
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 58b1ba9c5a Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp
2017-08-04 09:52:25 -06: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
Carsten "Tomcat" Book e856225f55 Backed out changeset 7adefc652d95 (bug 1351148) 2017-07-28 09:20:14 +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
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
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
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
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
Joel Maher 0c454319ae Bug 1282269 - Intermittent devtools/client/framework/test/browser_browser_toolbox_debugger.js. temporarily disable on debug. r=gbrown
MozReview-Commit-ID: IIPeTQeCZ9Z
2017-06-21 10:11:10 -04:00
Paolo Amadini 7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Paolo Amadini 489326239e Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-06-18 08:05:06 +01:00
Tom Tromey 0d6495d3fd Bug 1366853 - SourceMapURLService must wait for sources to be available; r=bgrins
MozReview-Commit-ID: CVbYQCzJQTu
2017-05-22 13:47:42 -06:00
Phil Ringnalda e02b3c1e2c Backed out changeset cff7d7889369 (bug 1366853) for frequently failing browser_source_map-no-race.js at line 39 with: newLoc is null.
MozReview-Commit-ID: CEfFwc3LA2K
2017-06-08 19:29:28 -07:00
Tom Tromey 34efe9a51b Bug 1366853 - SourceMapURLService must wait for sources to be available; r=bgrins
MozReview-Commit-ID: CVbYQCzJQTu
2017-05-22 13:47:42 -06:00
Brian Grinstead 6ad6a941eb Bug 1370442 - Update keybindings test to always use the new debugger frontend;r=pbro
This is a workaround for one release of the old debugger frontend which swallows
the netmonitor shortcut.

MozReview-Commit-ID: 4sZAIEIWf8W
2017-06-06 09:36:36 -07:00
Sebastian Hengst a82a6c091f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Joel Maher d1f0b3328d Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Sebastian Hengst d7ba46af71 Backed out changeset 30c2b38c4a0f (bug 1366853) for frequently failing browser_source_map-no-race.js at line 39 with: newLoc is null. r=backout 2017-06-03 12:37:10 +02:00
Tom Tromey 9254dca8cb Bug 1366853 - SourceMapURLService must wait for sources to be available; r=bgrins
MozReview-Commit-ID: CVbYQCzJQTu
2017-05-22 13:47:42 -06:00
Tom Tromey a9544aa2f0 Bug 1355126 - regression test for absolute sourceRoot; r=bgrins
MozReview-Commit-ID: EOsAWOr5XWn
2017-05-30 13:08:12 -06:00
Paolo Amadini b83c1b93e8 Bug 1242505 - Part 5 - 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-05-25 15:00:49 +01:00
Paolo Amadini e2ac328f74 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-28 11:46:45 +01:00
Sebastian Hengst d3e7375d07 Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Sebastian Hengst 512a2a8b07 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini 09c88b0eac Bug 1242505 - Part 5 - 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-05-25 15:00:49 +01:00
Paolo Amadini 0c75b3612c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-25 15:00:35 +01:00
Bob Silverberg 5e5cec2d2c Bug 1349896 - Part 1: Expose devtools theme via gDevTools, r=ochameau
Added gDevTools.getTheme() to provide the theme name, and a gDevTools "theme-changed"
event to provide a notification when the theme is changed.

MozReview-Commit-ID: EeUAmtyPpUy
2017-05-09 13:03:19 -04:00
Tom Tromey 80d99baac9 Bug 1366442 - request new debugger front end in source map tests; r=bgrins
MozReview-Commit-ID: LSuTghqoldz
2017-05-24 11:04:59 -06:00
Michael Ratcliffe 139226f14f Bug 1365554 - Fix storage inspector failures in browser_devtools_api.js r=jdescottes
The changes to devtools/client/framework/test/browser_devtools_api.js are purely eslint fixes so you only need to glance over them.

The changes to ui.js checks if the toolbox is being destroyed... if it is we don't log an error, otherwise we do.

MozReview-Commit-ID: JJTqkYXVsYG
2017-06-02 14:15:41 +01:00
Julian Descottes 3f0b782801 Bug 1356244 - add integration test for DevToolsShim;r=ochameau
MozReview-Commit-ID: 8GKOLQtaSRl
2017-05-18 09:15:47 +02:00