Commit Graph
529 Commits
Author SHA1 Message Date
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
Nathan Froyd 8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04: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
Luca Greco 518ffdfbaa Bug 1347108 - Reduce the amount of time to show up a WebExtensions DevTools panel. r=aswan,bgrins
MozReview-Commit-ID: LJl8VJNErnz
2017-06-08 17:10:07 +02:00
Wes Kocher aff551aa1b Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Carsten "Tomcat" Book 4db368c47a Backed out changeset 905480360832 (bug 1373492) for causing dt10 failures in browser_rules_eyedropper.js 2017-06-20 14:18:40 +02: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
Gabriel Luong 997839c30f Bug 1373492 - Enable the layout view by default. r=pbro
MozReview-Commit-ID: 3E81zeEUmfm
2017-06-16 01:18:05 -04:00
Sebastian Hengst 5af9c80b7c Backed out changeset 2d2ee0638f59 (bug 1373492) for failing browser_inspector_highlighter-eyedropper-xul.js. r=backout 2017-06-19 22:35:10 +02:00
Gabriel Luong b2a400cb00 Bug 1373492 - Enable the layout view by default. r=pbro 2017-06-19 14:45:43 -04:00
Honza Bambas d9b2cc5343 Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer 2017-05-30 18:07:59 +02: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
Gabriel Luong 9f5ebf8b56 Bug 1373492 - Enable the layout view by default. r=pbro
MozReview-Commit-ID: 3E81zeEUmfm
2017-06-16 01:18:05 -04:00
Julian Descottes 7e0466ef4c Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI
2017-06-06 14:01:32 +02:00
Sebastian Hengst 3b75964ad7 Backed out changeset f972a227ac15 (bug 1367424) for failing test_chrome_ext_hybrid_addons.html on Android. r=backout 2017-06-12 18:25:24 +02: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
Julian Descottes 44251e878c Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI
2017-06-06 14:01:32 +02:00
Jason Laster 4fb8419113 Bug 1371842 - Update Debugger frontend (6/9/2017). r=jdescottes 2017-06-09 19:46:00 -04:00
Ryan VanderMeulen 75cc747ca2 Merge m-c to autoland. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE
2017-06-07 22:55:56 -04:00
Kris Maglione cf895c3c1d Bug 1370027: Part 2 - Use Subprocess.jsm rather than nsIProcess to create the Browser Toolbox process. r=bgrins
Using nsIProcess has the side-effect of spawning a NSPR process wait loop
thread, which makes it impossible for other IPC code to waitpid on its own
processes, and check their exit status. There are other instances that need to
be changed as well, but this is the one that developers are most likely to run
into.

MozReview-Commit-ID: L0WyOxlXbkk
2017-06-06 16:15:38 -07:00
Sebastian Hengst 92d4e91332 merge mozilla-central to autoland. r=merge a=merge 2017-06-03 20:16:49 +02: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
Julian Descottes ff793517de Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau
MozReview-Commit-ID: 38XKKM37jC5
2017-05-29 23:36:26 +02:00
Luca Greco 8c05041220 Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo
2017-02-15 14:54:50 +01: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 bc3498c6ce Backed out changeset 8ecdc6d29e1d (bug 1367424) for failing jetpack's test-dev-panel.js.test Panel API and more. r=backout 2017-06-06 13:03:41 +02:00
Julian Descottes 5673c4abd2 Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI
2017-05-29 18:21:21 +02: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
Julian Descottes 1497714c48 Bug 1366823 - add Scratchpad manager APIs to DevToolsShim;r=ochameau
MozReview-Commit-ID: 5JsSu9Spkgn
2017-05-29 14:50:07 +02: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
Ryan VanderMeulen f581b4e399 Merge inbound to m-c. a=merge 2017-05-25 16:34:16 -04:00
Honza Bambas 00cefdc449 Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me 2017-05-25 18:16:02 +02: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
Honza Bambas 0487f42c85 Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz 2017-05-23 08:09:00 -04: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
Julian Descottes caac4302b1 Bug 1356244 - call DevTools shim on devtools startup;r=ochameau
MozReview-Commit-ID: 7p4gviVsGu8
2017-05-13 00:46:45 +02:00
Julian Descottes 65c211f6af Bug 1356244 - devtools-addon: create low-level DevTools shim for mozilla-central;r=ochameau
MozReview-Commit-ID: KdfomLHgdLY
2017-05-18 09:12:22 +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 97e45c1b8b Bug 1317962 - use source maps in stack traces in the console; r=jryans
MozReview-Commit-ID: 9SPZDi50XZv
2017-05-02 12:51:51 -06:00