Commit Graph
257 Commits
Author SHA1 Message Date
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
Tom Tromey 9048adaa46 Bug 1366062 - clear SourceMapURLService cache on navigation; r=jryans
MozReview-Commit-ID: Elr6d2c7ZJR
2017-05-18 12:39:36 -06:00
Tom Tromey 5f9ecb5f24 Bug 1360357 - add test for inline source maps; r=jdescottes
MozReview-Commit-ID: K0xvb00728a
2017-05-16 13:16:17 -06:00
Tom Tromey 3fb5bb779c Bug 1365371 - change source map test not to require old debugger; r=jryans
MozReview-Commit-ID: 8SckurtKlHZ
2017-05-16 13:27:04 -06:00
Tom Tromey 1fae2b4bb3 Bug 1349354 - remove now-unused source-map-service; r=jryans
MozReview-Commit-ID: umdc4XrpGf
2017-05-15 03:17:19 -06:00
Phil Ringnalda 5a96b302e2 Bug 1358559 - Sync the disabling of browser_all_files_referenced.js on linux32 to the redundant and duplicative run of the same test in the devtools suite
MozReview-Commit-ID: FvZFpMytppg
2017-05-15 18:56:42 -07:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Ricky Chien 0e3b06b4e3 Bug 1344160 - Fix mochitest failures r=Honza
MozReview-Commit-ID: JkF1WCdLmt8
2017-04-29 23:20:49 +08:00
J. Ryan Stinnett f23f138672 Bug 1346902 - Update browser toolbox integration test for new debugger. r=jlast
MozReview-Commit-ID: 8k8bIqSBKGf
2017-04-25 22:12:30 +02:00
Tom Tromey c4042ba67b Bug 1359144 - use client-side source map service in console; r=jryans
MozReview-Commit-ID: Jn9fr1EoPg9
2017-04-28 10:12:57 -06:00
Alexandre Poirot daddab3bbd Bug 1331122 - Increase test timeout for browser_toolbox_races. r=jdescottes
This test toggles the toolbox multiple times (3),
it can be take significant amount of time on slow test machines.

MozReview-Commit-ID: 3wJ95Pd8lYN
2017-04-25 19:31:51 +02:00
Mike Conley 1e8abdbd0c Bug 1357169 - Back out changeset 9f7debc99bf8 (bug 418833). r=mats
MozReview-Commit-ID: EThljjMniOt
2017-03-31 09:41:02 -04:00
Michael Ratcliffe ac15073603 Bug 1356223 - Support scalar telemetry probe types in Telemetry.js r=pbro
MozReview-Commit-ID: A2SMdvjy4jp
2017-04-19 12:44:54 +01:00