Граф коммитов

18555 Коммитов

Автор SHA1 Сообщение Дата
Daniel Varga d4b08ce864 Backed out changeset 15e1d046f290 (bug 1533943) for causing conflict when backing out Bug 1533943 2019-11-14 08:29:37 +02:00
Nicolas Chevobbe c1e9d9b526 Bug 1595068 - Fix issue with debounced autocompletion in JsTerm. r=Honza,julienw.
The issue was that if a user typed a legitimate letter,
then, quickly after (i.e. before the autocompletion results
are here) hit Enter or Tab, the resulting input value would
be erroneous.
This is because we retrieve the value to insert from the
autocomplete popup, which at that time, is out-of-date, for
this brief moment.
The fix consists in updating the preLabel property of the
autocomplete popup items in order to get the proper
completion if the user ever hit enter, tab or arrow right.
We also take this as an opportunity to have a mechanism
to be able to cancel a registered update.

Differential Revision: https://phabricator.services.mozilla.com/D52376

--HG--
extra : moz-landing-system : lando
2019-11-13 16:19:18 +00:00
Gurzau Raul cc5f3cdeaf Bug 1533943 - Fixed eslint failure at browser/web-navigation.js on a CLOSED TREE. 2019-11-14 03:57:50 +02:00
Gurzau Raul 425b85a3c0 Backed out changeset 1fb9356c0a94 (bug 1594885) for devtools failures at browser_toolbox_tools_per_toolbox_registration.js on a CLOSED TREE. 2019-11-14 03:53:42 +02:00
Neil Deakin 641485fae3 Bug 1533943, modify WebNavigation to inherit from JSWindowActor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50886

--HG--
extra : moz-landing-system : lando
2019-11-14 00:53:29 +00:00
Kirk Steuber a844cacc35 Bug 1588142 - Fix test failure of browser_canvasframe_helper_02.js r=bgrins
Depends on D52289

Differential Revision: https://phabricator.services.mozilla.com/D52937

--HG--
extra : moz-landing-system : lando
2019-11-14 00:35:53 +00:00
Neil Deakin 785a88d297 Bug 1595155, support click handler which allows modifier+click in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52642

--HG--
rename : browser/modules/ContentClick.jsm => browser/actors/ClickHandlerParent.jsm
extra : moz-landing-system : lando
2019-11-14 00:47:48 +00:00
Brian Grinstead d4fff93546 Bug 1595636 - Rename xul->xhtml for non-tests in DevTools r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52711

--HG--
rename : devtools/client/framework/toolbox-window.xul => devtools/client/framework/toolbox-window.xhtml
rename : devtools/client/framework/toolbox.xul => devtools/client/framework/toolbox.xhtml
rename : devtools/client/performance/index.xul => devtools/client/performance/index.xhtml
rename : devtools/client/storage/index.xul => devtools/client/storage/index.xhtml
rename : devtools/client/styleeditor/index.xul => devtools/client/styleeditor/index.xhtml
extra : moz-landing-system : lando
2019-11-13 23:44:19 +00:00
Brian Grinstead 34fb6bc0fa Bug 1595636 - Rename xul->xhtml for tests in DevTools r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52710

--HG--
rename : devtools/client/inspector/markup/test/doc_markup_xul.xul => devtools/client/inspector/markup/test/doc_markup_xul.xhtml
rename : devtools/client/inspector/shared/test/doc_content_stylesheet.xul => devtools/client/inspector/shared/test/doc_content_stylesheet.xhtml
rename : devtools/client/inspector/test/doc_inspector_reload_xul.xul => devtools/client/inspector/test/doc_inspector_reload_xul.xhtml
rename : devtools/client/shared/sourceeditor/test/head.xul => devtools/client/shared/sourceeditor/test/head.xhtml
rename : devtools/client/shared/test/doc_html_tooltip-02.xul => devtools/client/shared/test/doc_html_tooltip-02.xhtml
rename : devtools/client/shared/test/doc_html_tooltip-03.xul => devtools/client/shared/test/doc_html_tooltip-03.xhtml
rename : devtools/client/shared/test/doc_html_tooltip-04.xul => devtools/client/shared/test/doc_html_tooltip-04.xhtml
rename : devtools/client/shared/test/doc_html_tooltip-05.xul => devtools/client/shared/test/doc_html_tooltip-05.xhtml
rename : devtools/client/shared/test/doc_html_tooltip.xul => devtools/client/shared/test/doc_html_tooltip.xhtml
rename : devtools/client/shared/test/doc_html_tooltip_arrow-01.xul => devtools/client/shared/test/doc_html_tooltip_arrow-01.xhtml
rename : devtools/client/shared/test/doc_html_tooltip_arrow-02.xul => devtools/client/shared/test/doc_html_tooltip_arrow-02.xhtml
rename : devtools/client/shared/test/doc_html_tooltip_doorhanger-01.xul => devtools/client/shared/test/doc_html_tooltip_doorhanger-01.xhtml
rename : devtools/client/shared/test/doc_html_tooltip_doorhanger-02.xul => devtools/client/shared/test/doc_html_tooltip_doorhanger-02.xhtml
rename : devtools/client/shared/test/doc_html_tooltip_hover.xul => devtools/client/shared/test/doc_html_tooltip_hover.xhtml
rename : devtools/client/shared/test/doc_html_tooltip_rtl.xul => devtools/client/shared/test/doc_html_tooltip_rtl.xhtml
rename : devtools/client/shared/test/doc_inplace-editor_autocomplete_offset.xul => devtools/client/shared/test/doc_inplace-editor_autocomplete_offset.xhtml
rename : devtools/client/shared/test/doc_options-view.xul => devtools/client/shared/test/doc_options-view.xhtml
rename : devtools/client/shared/test/doc_tableWidget_keyboard_interaction.xul => devtools/client/shared/test/doc_tableWidget_keyboard_interaction.xhtml
rename : devtools/client/shared/test/doc_tableWidget_mouse_interaction.xul => devtools/client/shared/test/doc_tableWidget_mouse_interaction.xhtml
rename : devtools/client/styleeditor/test/doc_xulpage.xul => devtools/client/styleeditor/test/doc_xulpage.xhtml
rename : devtools/server/tests/mochitest/doc_Debugger.Source.prototype.introductionType.xul => devtools/server/tests/mochitest/doc_Debugger.Source.prototype.introductionType.xhtml
extra : moz-landing-system : lando
2019-11-13 23:44:09 +00:00
Tim Nguyen 212398bea9 Bug 1596047 - Remove new RDM CSS that's now obsolete. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D52895

--HG--
extra : moz-landing-system : lando
2019-11-13 23:26:34 +00:00
Julian Descottes 1d6356e957 Bug 1594885 - Basic scaffolding for whatsnew panel in DevTools r=jlast,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D52733

--HG--
extra : moz-landing-system : lando
2019-11-13 23:21:52 +00:00
Dana Keeler a841102f18 bug 1412438 - add preference to disable HPKP by default r=jcj
As Chrome has removed support for the HPKP (HTTP Public Key Pinning) header,
continuing to support it in Firefox is a compatibility risk. This patch adds
the preference "security.cert_pinning.hpkp.enabled" and sets it to false by
default. As such, the platform will no longer process the HPKP header nor
consult any cached HPKP information for certificate pins.
Preloaded (statically-compiled) pins are still enabled in Firefox by default.
This patch also disables dynamically setting pins via our remote security
settings infrastructure, as it uses the same backend and represents similar
compatibility risk.

Differential Revision: https://phabricator.services.mozilla.com/D52773

--HG--
extra : moz-landing-system : lando
2019-11-13 18:35:35 +00:00
Julian Descottes d80bec141d Bug 1543156 - Wait for the addon manager to start in DevTools addons xpcshell tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D52535

--HG--
extra : moz-landing-system : lando
2019-11-13 12:29:08 +00:00
Razvan Caliman f797900dfd Bug 1593944 - Test to ensure inactive CSS state does not linger when dependencies change. r=miker,pbro
Depends on D52560

- Adds a test to check that the steps for [Bug 1593944](https://bugzilla.mozilla.org/show_bug.cgi?id=1593944) no longer cause an issue.
- Introduces a new `updateDeclaration()` helper in `devtools/client/inspector/rules/test/shared.js` to simplify updating property names and values in one step.
- Updates `toggleDeclaration()` to remove unused `inspector` parameter; updates existing tests.

Differential Revision: https://phabricator.services.mozilla.com/D52561

--HG--
extra : moz-landing-system : lando
2019-11-13 13:56:50 +00:00
Razvan Caliman a07852b3fc Bug 1593944 - Emit event with StyleRuleActor as argument when its underlying CSS rule is updated. r=pbro
The fix for [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) created a situation in the [`Rule.onDeclarationsChanged()`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/client/inspector/rules/models/rule.js#869-887) whereby the `isUsed` state of  client-side declarations was made to point to a fixed `isUsed` state received from the server, thus losing sync with the latest state of the `StyleRuleActor`. Until another "declarations-update" event was fired from the `StyleRuleActor`, the rule's declarations' `isUsed` flag would point to the state with which they were overwritten on the last event handler call.

As a reminder, the root cause of [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) was the inability force a "refresh" of the `StyleRuleFront` so it picked-up the latest `isUsed` state for its declarations when they depend on other declarations from other rules (ex: `justify-content: center` depends on `display:flex`). Therefore, the "declarations-updated" event was introduced with a payload of changed declarations to overwrite the client-side ones. It was convoluted, but it worked.

However, while investigating the cause of this newer bug [Bug 1593944](https://bugzilla.mozilla.org/show_bug.cgi?id=1593944), I discovered an unusual but perhaps expected side-effect: when dispatching an event over the protocol with a payload of the `StyleRuleActor`, its corresponding `StyleRuleFront` on the client would "refresh" automatically (meaning that, looking up state on the previous front reference would point to the latest state from the actor) . The client doesn't even need to use this payload to replace its previous front reference. Surprisingly, the client doesn't even need to explicitly listen to the event which carries the `StyleRuleActor`/`StyleRuleFront` reference. So long as a previous reference of the front exists on the client, it will point to the updated state of the actor. I haven't been able to identify whether this is a known and expected behavior, so I'm pinging @jdescottes and @ochameau to weigh in on the validity of these findings.

Relying on this behavior, the fix for both [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) and [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) involves simply emitting an event, "rule-updated", with the `StyleRuleActor` instance as payload whenever its internal state changes meaningfully so the corresponding front updates. The client will pick-up the latest `isUsed` state of declarations from its reference to the `StyleRuleFront`.


---

Another way to check this behavior and hypothesis is to do the following:
- In [`StyleRuleActor.setRuleText()`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/server/actors/styles.js#1704) replace `return this` with `return null`; (this will no longer return the `StyleRuleActor` over the protocol; it's not explicitly used on the client anyway).
- In the spec, replace the [`setRuleText()`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/shared/specs/styles.js#222) return value  with `RetVal("nullable:domstylerule")` so the protocol doesn't throw an error when getting the `null` from the actor.
- Make a build.
- Then, open the Inspector -> Rules View and change the value of a valid declaration, say: `display: block`, to something invalid, like `display: booo`. Notice that the declaration is no longer marked invalid with a warning sign. That's because the declaration's [`isValid`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/server/actors/styles.js#1447) flag is set on the actor but it no longer syncs with the client which uses the corresponding front to render the declaration after the change. Not returning the `StyleRuleActor` over the protocol breaks this sync actor-front sync.

Differential Revision: https://phabricator.services.mozilla.com/D52560

--HG--
extra : moz-landing-system : lando
2019-11-13 14:04:37 +00:00
Narcis Beleuzu ec2e46ea6b Backed out changeset 4d4982e04e4d (bug 1543156) for xpcshell failures on test_extension_storage_actor.js. CLOSED TREE 2019-11-13 13:36:30 +02:00
Julian Descottes ae692f9401 Bug 1543156 - Wait for the addon manager to start in DevTools addons xpcshell tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D52535

--HG--
extra : moz-landing-system : lando
2019-11-13 09:33:49 +00:00
Julian Descottes 801edf2944 Bug 1590408 - Fix CSS for doorhanger HTMLTooltip to align the center of the arrow with the center of the anchor r=miker
Depends on D52647

Differential Revision: https://phabricator.services.mozilla.com/D52671

--HG--
extra : moz-landing-system : lando
2019-11-12 15:45:49 +00:00
Julian Descottes 26d4e259ab Bug 1590408 - Add test to check doorhanger tooltip display on screen edge r=miker
Depends on D52668

Differential Revision: https://phabricator.services.mozilla.com/D52647

--HG--
extra : moz-landing-system : lando
2019-11-12 15:48:35 +00:00
Julian Descottes 0c52d46afe Bug 1590408 - Backed out changeset 84708a4f040d from Bug 1552146 r=miker
The positioning of the arrow was correct, but due to the way the arrow was rotated, the visual center of the arrow did not match the center of the arrow box
Backing out the JS change here, CSS patch later in the queue

Differential Revision: https://phabricator.services.mozilla.com/D52668

--HG--
extra : moz-landing-system : lando
2019-11-12 15:45:57 +00:00
Micah Tigley 094b05d9cb Bug 1579129 - Implement left-aligning/centering the viewport based on user prefs. r=gl,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51671

--HG--
extra : moz-landing-system : lando
2019-11-12 20:34:55 +00:00
Greg Tatum 790c8e1c1c Bug 1585659 - Hook up the supported features to the popup UI; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D50669

--HG--
extra : moz-landing-system : lando
2019-11-12 19:07:46 +00:00
Greg Tatum 5f235fa2c5 Bug 1585659 - Add a getSupportedFeatures method to the perf actor; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D50668

--HG--
extra : moz-landing-system : lando
2019-11-12 19:07:28 +00:00
Greg Tatum e10889da76 Bug 1591455 - Add types to the Settings component; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D50667

--HG--
extra : moz-landing-system : lando
2019-11-12 19:07:16 +00:00
Greg Tatum 691c9057fc Bug 1594842 - Move gecko-profiler-interface.js out of the server and into shared; r=julienw
It's being used in the client and server, and so is a shared file.

Differential Revision: https://phabricator.services.mozilla.com/D52247

--HG--
rename : devtools/server/performance-new/gecko-profiler-interface.js => devtools/shared/performance-new/gecko-profiler-interface.js
rename : devtools/server/performance-new/moz.build => devtools/shared/performance-new/moz.build
extra : moz-landing-system : lando
2019-11-12 19:07:03 +00:00
Greg Tatum f0ec628a73 Bug 1582779 - Offer to restart the browser when JS Tracer is enabled; r=julienw
To test this feature, check the "JSTracer" feature, and the user should be
prompted with a message bar to restart the browser. This will then set the
proper environment variable. Unfortunately, currently the user can still do
this even if a feature is not available in the build. See Bug 1585659.

Differential Revision: https://phabricator.services.mozilla.com/D50085

--HG--
extra : moz-landing-system : lando
2019-11-12 19:06:48 +00:00
Tim Nguyen b081bf6c33 Bug 1576946 - Remove nsStackFrame platform code. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D49487

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:19 +00:00
Tim Nguyen a9335df10d Bug 1576946 - Implement <stack> using CSS Grid. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46226

--HG--
extra : moz-landing-system : lando
2019-11-12 19:49:48 +00:00
Nicolas Chevobbe 13580b8fea Bug 1595105 - Fix browser_webconsole_context_menu_copy_message_with_async_stacktrace.js perma failure on beta simulation. r=aryx.
Let's set javascript.options.asyncstack in the test to
have the async stacktrace displayed.

Differential Revision: https://phabricator.services.mozilla.com/D52697

--HG--
extra : moz-landing-system : lando
2019-11-12 17:08:26 +00:00
Harshil Agrawal 10a33bcb03 Bug 1594359 - Fix DevTools shrink height r=jdescottes
In the devtools-browser.css file the min-height is set to 29px to the class .devtools-toolboc-bottom-iframe

Differential Revision: https://phabricator.services.mozilla.com/D52115

--HG--
extra : moz-landing-system : lando
2019-11-12 16:29:39 +00:00
Belén Albeza 5188ad0370 Bug 1581073: Add a README file with technical documentation r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D50223

--HG--
extra : moz-landing-system : lando
2019-11-11 14:58:46 +00:00
Julian Descottes eb6bf987a3 Bug 1526153 - Request longer timeout for browser_aboutdebugging_serviceworker_not_compatible r=ladybenko
Also removed the outdated comment referring to the tests of the old aboutdebugging which are no longer in the source control.
Seems like this was the only leftover comment of the sort.

Differential Revision: https://phabricator.services.mozilla.com/D52528

--HG--
extra : moz-landing-system : lando
2019-11-11 14:29:12 +00:00
Brian Hackett 830e9c1b8c Bug 1594975 - Fix ThreadActor.frames argument, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52477

--HG--
extra : moz-landing-system : lando
2019-11-11 12:30:31 +00:00
Belen Albeza 826cb6116c Bug 1575578 - Disable debug sw test on asan r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52527

--HG--
extra : moz-landing-system : lando
2019-11-11 10:57:19 +00:00
Brian Hackett 2843abc6be Bug 1595426 - Gather pause data for event logpoint hits, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52494

--HG--
extra : moz-landing-system : lando
2019-11-11 01:10:45 +00:00
Nicolas Chevobbe 116dcd0e39 Bug 1595012 - Remove WebConsoleFront evaluateJS. r=jdescottes.
The function is only used in tests, which is a bit concerning
as we should test the actual function being used (evaluateJSAsync).

Differential Revision: https://phabricator.services.mozilla.com/D52331

--HG--
extra : moz-landing-system : lando
2019-11-10 11:47:45 +00:00
Brian Hackett 5ebc1eec8c Bug 1594836 - Don't detach from threads in the debugger when navigating, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52374

--HG--
extra : moz-landing-system : lando
2019-11-09 22:16:04 +00:00
Dorel Luca 5bb844b4ce Backed out changeset b8c3e2f3cd42 (bug 1595012) for causing DevTools failures in devtools/client/webconsole/test/browser/browser_webconsole_stubs_evaluation_result.js. CLOSED TREE 2019-11-10 05:14:38 +02:00
Brendan Dahl a88f425e61 Bug 1492582 - Use XUL inspector highlighter for HTML docs without scroll frames. r=bgrins
The devtools highlighter is broken with browser.xhtml when scroll frames
are disabled.

Differential Revision: https://phabricator.services.mozilla.com/D52104

--HG--
extra : moz-landing-system : lando
2019-11-08 23:34:10 +00:00
Brendan Dahl 2e2ca37f8d Bug 1492582 - Use html root element in browser.xhtml and update styling to support html roots r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33558

--HG--
extra : moz-landing-system : lando
2019-11-08 23:33:43 +00:00
Nicolas Chevobbe 65a171ad7a Bug 1595012 - Remove WebConsoleFront evaluateJS. r=jdescottes.
The function is only used in tests, which is a bit concerning
as we should test the actual function being used (evaluateJSAsync).

Differential Revision: https://phabricator.services.mozilla.com/D52331

--HG--
extra : moz-landing-system : lando
2019-11-09 11:50:11 +00:00
Markus Stange 5d1bd1ad8b Bug 1563305 - Make error objects propagate correctly from the worker into the profiler page. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D44402

--HG--
extra : moz-landing-system : lando
2019-11-08 20:44:50 +00:00
Brian Hackett d482d50703 Bug 1594597 - Show workers in OBT debugger, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52110

--HG--
extra : moz-landing-system : lando
2019-11-08 20:26:19 +00:00
Jason Laster 58def33d5e Bug 1594979 - Logpoints fail to log with `frame is null`. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52310

--HG--
extra : moz-landing-system : lando
2019-11-08 16:49:11 +00:00
Belén Albeza 49be1da14e Bug 1590758 - Fix blank panel when changing to different pages with service workers from the same domain r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52147

--HG--
extra : moz-landing-system : lando
2019-11-08 16:58:18 +00:00
Jason Laster 96dcd40e06 Bug 1593846 - Paused packet should return a frame front. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52259

--HG--
extra : moz-landing-system : lando
2019-11-08 16:52:25 +00:00
Micah Tigley 0cd65a9ddc Bug 1578887 - Implement simulating viewport orientation for embedded RDM UI r=gl
Differential Revision: https://phabricator.services.mozilla.com/D51706

--HG--
extra : moz-landing-system : lando
2019-11-07 19:31:51 +00:00
Daisuke Akatsuka 47979b6cee Bug 1592514: Make the compatibility panel scrollable. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51233

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:47 +00:00
Daisuke Akatsuka 6916ea334f Bug 1592514: Add split line to the issue item. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51232

--HG--
extra : moz-landing-system : lando
2019-11-08 14:13:23 +00:00
Daisuke Akatsuka 44375fbe90 Bug 1592514: Show warning/info icon. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51231

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:40 +00:00
Daisuke Akatsuka b009b01f4a Bug 1592514: Show the issue causes. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51230

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:22 +00:00
Daisuke Akatsuka aba46c505a Bug 1592514: Make the CSS properties which caused the isse to be a link for the MDN doc. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51229

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:04 +00:00
Nicolas Chevobbe 4051daad83 Bug 1594637 - Fix browser_webconsole_output_order intermittent. r=Honza.
It's not obvious to me what the culprit is, but it may be because
of the clearOutput call somehow.
Let's see if this fix the intermittent.

Differential Revision: https://phabricator.services.mozilla.com/D52321

--HG--
extra : moz-landing-system : lando
2019-11-08 11:52:16 +00:00
Nicolas Chevobbe dc2101bfa2 Bug 1572667 - Re-enable stubs tests. r=Honza.
The tests are rewritten so we only have one test per
stub type. The stubs can be re-generated by passing
the --setenv WEBCONSOLE_STUBS_UPDATE=true arg when running
mach test.
We take this as an opportunity to not store the Messages
directly, but we generate them programmatically, which would
still reveal a bug as most of the test import messages.
Since we're doing that, some messages aren't localized, so
we need to add them to the L10N fixtures we have (which is
revamped a bit as getStr was getting too complex).

Differential Revision: https://phabricator.services.mozilla.com/D51596

--HG--
extra : moz-landing-system : lando
2019-11-08 12:06:42 +00:00
Mihai Alexandru Michis 9d7b170bed Bug 1591590 - Disable browser_toolbox_console_new_process.js on macos debug, linux debug and windows ccov for frequent failures. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D52132

--HG--
extra : moz-landing-system : lando
2019-11-08 10:22:54 +00:00
Michael Hoffmann cdfcf7765d Bug 1579982 - Handle dark theme in profiler popup r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D52235

--HG--
extra : moz-landing-system : lando
2019-11-08 10:22:03 +00:00
Noemi Erli 7816803844 Backed out changeset 22df7ed1b3c4 (bug 1593846) for causing debugger failures CLOSED TREE 2019-11-08 06:16:34 +02:00
Jason Laster d3ae1f3a8d Bug 1593846 - Paused packet should return a frame front. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52259

--HG--
extra : moz-landing-system : lando
2019-11-07 23:19:04 +00:00
Jason Laster cfe4e9651b Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-07 20:22:43 +00:00
Noemi Erli f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Matt Woodrow 2704b7ceff Bug 1593560 - Adjust tests to wait for data uri to load properly, since it now includes an extra IPDL roundtrip. r=kmag,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51548

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:07 +00:00
Nicolas Chevobbe 3b5a8879f9 Bug 1592969 - Show async separator in Frame component. r=davidwalsh.
Differential Revision: https://phabricator.services.mozilla.com/D52133

--HG--
extra : moz-landing-system : lando
2019-11-07 17:28:45 +00:00
Alexandre Poirot 7b1b1cd915 Bug 1592363 - Make the console use the TargetList. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48860

--HG--
extra : moz-landing-system : lando
2019-11-07 15:05:10 +00:00
Brendan Dahl 4726520941 Bug 1492582 - Use XUL inspector highlighter for HTML docs without scroll frames. r=bgrins
The devtools highlighter is broken with browser.xhtml when scroll frames
are disabled.

Differential Revision: https://phabricator.services.mozilla.com/D52104

--HG--
extra : moz-landing-system : lando
2019-11-07 16:21:30 +00:00
Brendan Dahl 0a467b3fbd Bug 1492582 - Use html root element in browser.xhtml and update styling to support html roots r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33558

--HG--
extra : moz-landing-system : lando
2019-11-07 16:20:55 +00:00
Julian Descottes 16b0bab094 Bug 1569572 - Do not throw in DevTools key-shortcuts.js when called with a null object r=nchevobbe
This situation can happen if a locale does not set a value for a localized devtools shortcut, ie writes
toolbox.elementPicker.key=
(with nothing after the = sign)

Differential Revision: https://phabricator.services.mozilla.com/D52099

--HG--
extra : moz-landing-system : lando
2019-11-07 11:02:57 +00:00
Julian Descottes 222bc5ccde Bug 1593921 - Use eslint-disable-next-line to disable complexity checks in DevTools r=pbro
Using next-line is less error prone for refactorings than wrapping methods with enable/disable blocks.

Differential Revision: https://phabricator.services.mozilla.com/D51782

--HG--
extra : moz-landing-system : lando
2019-11-05 14:29:04 +00:00
Nicolas Chevobbe 5e8b8ce165 Bug 1594379 - Update devtools-launchpad to 0.0.160. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51987

--HG--
extra : moz-landing-system : lando
2019-11-06 17:48:48 +00:00
Andreea Pavel 0f4b106038 Bug 1583706 - remove skip-if from browser_webconsole_location_logpoint_debugger_link.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51208

--HG--
extra : moz-landing-system : lando
2019-11-04 09:11:29 +00:00
Daniel Varga 6df4c46d72 Backed out 2 changesets (bug 1571704) for xpcshell failure at devtools/server/tests/unit/test_blackboxing-01.js. On a CLOSED TREE
Backed out changeset c4bcee0f733a (bug 1571704)
Backed out changeset 25e20d00d43f (bug 1571704)
2019-11-07 01:33:18 +02:00
Coroiu Cristina cbdbc8bc4b Backed out 7 changesets (bug 1593560) for crashtest failures at tests/layout/base/crashtests/446328.html on a CLOSED TREE
Backed out changeset 7dfae085a4cb (bug 1593560)
Backed out changeset 9842c80c98d8 (bug 1593560)
Backed out changeset d67a10437af7 (bug 1593560)
Backed out changeset 3e3948e9531c (bug 1593560)
Backed out changeset a7d04e276b44 (bug 1593560)
Backed out changeset 9f52c9f6dc54 (bug 1593560)
Backed out changeset 90572c49d464 (bug 1593560)
2019-11-07 00:32:53 +02:00
Dorel Luca 95d31e2a5d Bug 1571704 - Fixed eslint. CLOSED TREE 2019-11-06 23:49:08 +02:00
Jason Laster 5110bd1de0 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : source : 5dd0214c512990cd9417ad504406abb71c60654c
2019-11-06 20:07:35 +00:00
Brian Hackett a4cf74ad96 Bug 1563607 Part 5 - Add test for windowless service worker debugging, r=jdescottes.
Depends on D47544

Differential Revision: https://phabricator.services.mozilla.com/D47545

--HG--
extra : source : edd1135fd5078ccfb0fd6d97b69209dfcf82ab97
2019-11-06 18:26:18 +00:00
Brian Hackett 775761e2ad Bug 1563607 Part 4 - Update threads and sources after navigation, r=jlast.
Depends on D47543

Differential Revision: https://phabricator.services.mozilla.com/D47544

--HG--
extra : source : ee2bb2d156595d2c03dbd478922f56a538935e6f
2019-11-06 18:26:20 +00:00
Brian Hackett 0af504981d Bug 1563607 Part 2 - Attach to service workers in debugger when pref is enabled, r=jdescottes,jlast.
Depends on D47541

Differential Revision: https://phabricator.services.mozilla.com/D47542

--HG--
extra : source : 6d02ecfce856b46a71d1c0a2050f57c7736c81f8
2019-11-06 20:20:36 +00:00
Coroiu Cristina 086fc4d815 Backed out 4 changesets (bug 1563607) for causing hunks failed when backout Bug 1592616 on a CLOSED TREE
Backed out changeset edd1135fd507 (bug 1563607)
Backed out changeset ee2bb2d15659 (bug 1563607)
Backed out changeset 6d02ecfce856 (bug 1563607)
Backed out changeset 33e9b3eecd98 (bug 1563607)
2019-11-06 22:56:02 +02:00
Coroiu Cristina 513f9646d7 Backed out changeset 5dd0214c5129 (bug 1571704) for ESlint failure and causing hunks failed when backout Bug 1592616 on a CLOSED TREE 2019-11-06 22:52:53 +02:00
Jason Laster ff3a09fd85 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-06 20:07:35 +00:00
Brian Hackett 2918d993c8 Bug 1563607 Part 5 - Add test for windowless service worker debugging, r=jdescottes.
Depends on D47544

Differential Revision: https://phabricator.services.mozilla.com/D47545

--HG--
extra : moz-landing-system : lando
2019-11-06 18:26:18 +00:00
Brian Hackett 41a37063f0 Bug 1563607 Part 4 - Update threads and sources after navigation, r=jlast.
Depends on D47543

Differential Revision: https://phabricator.services.mozilla.com/D47544

--HG--
extra : moz-landing-system : lando
2019-11-06 18:26:20 +00:00
Brian Hackett d2acbc0ce3 Bug 1563607 Part 2 - Attach to service workers in debugger when pref is enabled, r=jdescottes,jlast.
Depends on D47541

Differential Revision: https://phabricator.services.mozilla.com/D47542

--HG--
extra : moz-landing-system : lando
2019-11-06 20:20:36 +00:00
Anny Gakhokidze 0ba78d3380 Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318

--HG--
extra : moz-landing-system : lando
2019-11-06 20:14:32 +00:00
Daniel Varga 8d89d86da9 Backed out 2 changesets (bug 1592829) for gecko build failure. On a CLOSED TREE
Backed out changeset 73013c2281fb (bug 1592829)
Backed out changeset 3257e8902653 (bug 1592829)
2019-11-06 22:09:41 +02:00
Anny Gakhokidze 1f167c323c Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318

--HG--
extra : moz-landing-system : lando
2019-11-05 22:25:56 +00:00
Matt Woodrow 52d6e76c02 Bug 1593560 - Adjust tests to wait for data uri to load properly, since it now includes an extra IPDL roundtrip. r=kmag,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51548

--HG--
extra : moz-landing-system : lando
2019-11-06 18:22:17 +00:00
Coroiu Cristina b78c37e290 Backed out 4 changesets (bug 1563607) for debugger failures on a CLOSED TREE
Backed out changeset c8f4de2596bc (bug 1563607)
Backed out changeset 1dc694b39efa (bug 1563607)
Backed out changeset cec07747fb2a (bug 1563607)
Backed out changeset a0d9b36ac4fe (bug 1563607)
2019-11-06 20:20:36 +02:00
Brian Hackett d673356e69 Bug 1563607 Part 5 - Add test for windowless service worker debugging, r=jdescottes.
Depends on D47544

Differential Revision: https://phabricator.services.mozilla.com/D47545

--HG--
extra : moz-landing-system : lando
2019-11-06 17:10:49 +00:00
Brian Hackett 5fa2446c5e Bug 1563607 Part 4 - Update threads and sources after navigation, r=jlast.
Depends on D47543

Differential Revision: https://phabricator.services.mozilla.com/D47544

--HG--
extra : moz-landing-system : lando
2019-11-06 17:14:55 +00:00
Brian Hackett 54ae9f0bf6 Bug 1563607 Part 2 - Attach to service workers in debugger when pref is enabled, r=jdescottes,jlast.
Depends on D47541

Differential Revision: https://phabricator.services.mozilla.com/D47542

--HG--
extra : moz-landing-system : lando
2019-11-06 17:23:54 +00:00
Brian Hackett 0a64c17efd Bug 1594452 - Gathering pause data should be low priority, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52018

--HG--
extra : moz-landing-system : lando
2019-11-06 15:56:08 +00:00
Nicolas Chevobbe de4b3a88c4 Bug 1593622 - Test console autocompletion after ?? (nullish coalescing operator). r=Honza.
The nullish coalescing operator was added last week in Spidermonkey.
It looks like there isn't anything to do to support it on the console
side, so we only add a test for the autocompletion after it, to make
sure we don't regress this in the future.

Differential Revision: https://phabricator.services.mozilla.com/D51632

--HG--
extra : moz-landing-system : lando
2019-11-06 09:49:27 +00:00
Ricky Stewart 50a5dbb671 Bug 1573560 - Have Node compilation write directly into FINAL_TARGET instead of requiring a symlink r=firefox-build-system-reviewers,jlast,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47367

--HG--
extra : moz-landing-system : lando
2019-11-04 23:15:19 +00:00
Jason Laster 9caf32ef3f Bug 1592718 - Enable WatchPoints in Nightly and DevEdition. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51742

--HG--
extra : moz-landing-system : lando
2019-11-05 20:52:58 +00:00
Brad Werth af12ec46b7 Bug 1593073 Part 2: Update one of the new RDM Fission tests to use the new test function. r=mtigley
Depends on D51717

Differential Revision: https://phabricator.services.mozilla.com/D51719

--HG--
extra : moz-landing-system : lando
2019-11-05 21:13:32 +00:00
Brad Werth 06763e3bb6 Bug 1593073 Part 1: Expand the addRDMTask method to include optional checks with the browser embedded UI. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D51717

--HG--
extra : moz-landing-system : lando
2019-11-05 20:49:58 +00:00
Narcis Beleuzu a36c38a36a Backed out changeset 5d1f3e0160fa (bug 1592718) for BC failures on debugger.js . CLOSED TREE 2019-11-05 21:23:22 +02:00
Julian Descottes ef1bf374d0 Bug 1594023 - Log actorIDs instead of js objects in DevTools target-list r=ochameau
Depends on D51630

Differential Revision: https://phabricator.services.mozilla.com/D51840

--HG--
extra : moz-landing-system : lando
2019-11-05 18:26:49 +00:00
Brendan Dahl eafc9e3293 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

Differential Revision: https://phabricator.services.mozilla.com/D51486

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-05 17:56:28 +00:00
Junior Hsu 167a3b63a4 Bug 1544231 - add image/webp to default navigation value of the Accept header, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51199

--HG--
extra : moz-landing-system : lando
2019-11-01 15:54:57 +00:00
Jason Laster decdfa79d9 Bug 1592718 - Enable WatchPoints in Nightly and DevEdition. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51742

--HG--
extra : moz-landing-system : lando
2019-11-05 16:38:01 +00:00
Brian Hackett 5efbcaefb0 Bug 1594042 - Improve logpoint performance, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51846

--HG--
extra : moz-landing-system : lando
2019-11-05 16:17:13 +00:00
Belén Albeza 6e5c96847e Bug 1590756: Fix unregister service workers r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51257

--HG--
extra : moz-landing-system : lando
2019-11-05 15:53:54 +00:00
David Walsh ee044d40a7 Bug 1586667 - Update case for blocked icon tooltip r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48985

--HG--
extra : moz-landing-system : lando
2019-11-04 08:41:52 +00:00
wartmanm 2363fb2b3f Bug 1590824 - Don't pass sourceId in jumpToDefinitionButton event listener. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D50867

--HG--
extra : moz-landing-system : lando
2019-11-05 13:13:16 +00:00
Brian Hackett 85e9afa634 Bug 1583546 - Add test that the OBT debugger can pause even when it hasn't been opened, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50225

--HG--
extra : moz-landing-system : lando
2019-11-05 12:32:11 +00:00
Brian Hackett 62f824d866 Bug 1593533 - Catch all exceptions thrown when testing if a window is top level, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D51533

--HG--
extra : moz-landing-system : lando
2019-11-05 12:24:42 +00:00
Brian Hackett c2512e1c97 Bug 1593566 - Improve efficiency when finding execution points where the frame depth changes, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51542

--HG--
extra : moz-landing-system : lando
2019-11-04 04:49:24 +00:00
Alexandre Poirot 61f6d79ef6 Bug 1593695 - Prevent warning about duplicated targets in the case of the Browser Toolbox. r=jdescottes
In the Browser Toolbox, we fetch all types of targets, including frames and processes.
But the main process target, which is the top level target for the Browser Toolbox,
is also returned by listProcesses and so is reported as duplicated.

Differential Revision: https://phabricator.services.mozilla.com/D51630

--HG--
extra : moz-landing-system : lando
2019-11-05 11:15:01 +00:00
Alexandre Poirot fca986f4b8 Bug 1593928 - Prevent enabling additional targets in the Browser Content Toolbox. r=jdescottes
The existing checks were also enabling additional target tracking of the TargetList
for the Browser Content Toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D51783

--HG--
extra : moz-landing-system : lando
2019-11-05 11:15:57 +00:00
Richard O. Gregory 8640fa2942 Bug 1589333 - Enable ESLint for all of devtools/client/shared/ (manual changes). r=Standard8,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D50637

--HG--
extra : moz-landing-system : lando
2019-11-04 18:05:14 +00:00
Richard O. Gregory e6f8e04a02 Bug 1589333 - Enable ESLint for all of devtools/client/shared/ (automatic changes). r=Standard8,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D50636

--HG--
extra : moz-landing-system : lando
2019-11-04 18:03:21 +00:00
Julian Descottes 76606dfbc7 Bug 1593794 - Add a try catch around grid-inspector updateGridPanel (follow up to Bug 1591952) r=gl
Depends on D51663

Differential Revision: https://phabricator.services.mozilla.com/D51693

--HG--
extra : moz-landing-system : lando
2019-11-05 07:31:01 +00:00
Mihai Alexandru Michis b819bd25aa Backed out 2 changesets (bug 1470510) for causing bustages in widget/cocoa/nsChildView.mm CLOSED TREE
Backed out changeset a343f30c34a3 (bug 1470510)
Backed out changeset 4da64790094d (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
2019-11-05 09:24:26 +02:00
Brendan Dahl 0c0da7791e Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

Differential Revision: https://phabricator.services.mozilla.com/D51486

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 23:37:31 +00:00
Nicolas Chevobbe b965151cf7 Bug 1593654 - Fix issue when expanding CSS warnings. r=rcaliman.
The issue was in commands.js evaluateJSAsync function where
we were trying to use an undefined parameter.
The regression wasn't spotted earlier because we only have
mocha test for CSS warning, and they don't assert this
codepath.
A mochitest is added on this patch to ensure CSS Warnings
can be expanded, that they display the impacted elements
as expected, and that clicking on the icon selects the
expected element in the inspector.

Differential Revision: https://phabricator.services.mozilla.com/D51627

--HG--
extra : moz-landing-system : lando
2019-11-04 15:29:22 +00:00
Brian Hackett cff7d7fb16 Bug 1592854 - Workaround rendering problems with conditional panel during test, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D51438

--HG--
extra : moz-landing-system : lando
2019-11-05 01:28:08 +00:00
Jason Laster 16fab4466c Bug 1586904 - Refreshing while paused fails. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51484

--HG--
extra : moz-landing-system : lando
2019-11-04 23:45:13 +00:00
Jason Laster d6de8cab3a Bug 1593348 - Handle empty target in paused-debugger. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51455

--HG--
extra : moz-landing-system : lando
2019-11-01 21:00:58 +00:00
Julian Descottes 3ff4d952e6 Bug 1591952 - Add a global try catch around grid-inspector onReflow to swallow exceptions after destroy r=gl
This method is very asynchronous, called on reflows and throttled. Which means it has a high chance of intermittently failing after destroy.

Differential Revision: https://phabricator.services.mozilla.com/D51663

--HG--
extra : moz-landing-system : lando
2019-11-04 19:44:32 +00:00
Itiel f985df675a Bug 1593542 - General RTL improvements to the network monitor r=jdescottes
Also improve CSS code style/quality

Differential Revision: https://phabricator.services.mozilla.com/D51535

--HG--
extra : moz-landing-system : lando
2019-11-04 17:46:46 +00:00
Jason Laster 90ac689cde Bug 1583806 - Add a binary path override for the browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51138

--HG--
extra : moz-landing-system : lando
2019-11-04 17:26:12 +00:00
Dorel Luca 0207ce5451 Backed out 2 changesets (bug 1470510) for build bustage on /build/src/widget/cocoa/nsChildView.mm. CLOSED TREE
Backed out changeset 5967bf633574 (bug 1470510)
Backed out changeset 067a556bb614 (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
extra : amend_source : 752d828c6a0726c3f2df57a25741e38b36b75d6b
2019-11-04 19:18:56 +02:00
Brendan Dahl 247b257cfa Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

Differential Revision: https://phabricator.services.mozilla.com/D51486

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 16:52:35 +00:00
Razvan Caliman 9ce94dcb9e Bug 1592604 - Ensure flexbox highlighter events don't influence grid badges in markup view. r=gl
When creating grid and display badges in the markup view, ensure they listen only to their corresponding highlighter events.

Differential Revision: https://phabricator.services.mozilla.com/D51137

--HG--
extra : moz-landing-system : lando
2019-11-01 15:20:18 +00:00
Julian Descottes cf665518e8 Bug 1591140 - Allow chrome privileged documents to preventDefault contextmenu events regardless of dom.event.contextmenu.enabled r=gl,nika,mconley
@gl can you take a look at the DevTools test added here?
@nika @mconley I used this.browsingContext.docShell.isContent here to rule out chrome-privileged documents. Do you know if there is better way to check if the current document is chrome-privileged or not?

Differential Revision: https://phabricator.services.mozilla.com/D51320

--HG--
extra : moz-landing-system : lando
2019-11-04 08:20:02 +00:00
Neil Deakin d12fb42226 Bug 1592157, convert LinkHandlerChild.jsm to JSWindowActor to support fission, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51026

--HG--
extra : moz-landing-system : lando
2019-11-04 14:48:04 +00:00
Nicolas Chevobbe 0794fcd2a2 Bug 1593053 - Remove XBL categories in console-services.js isCategoryAllowed. r=bgrins.
We shouldn't need those anymore now.

Differential Revision: https://phabricator.services.mozilla.com/D51568

--HG--
extra : moz-landing-system : lando
2019-11-04 14:30:15 +00:00
Alexandre Poirot 02b06ea7a2 Bug 1471754 - Make the Toolbox use the TargetList. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D48858

--HG--
extra : moz-landing-system : lando
2019-11-04 11:04:05 +00:00
Alexandre Poirot 19707475af Bug 1471754 - Implement the TargetList component. r=jdescottes
This component will help build and maintain the list of all the Targets.
Making it easier to:
* listen for all the targets: TargetList.watchTargets/unwatchTargets,
* iterate over all the existing ones: TargetList.getAllTargets,
* get all the TargetScoped fronts of all the targets: TargetList.getAllFronts.

Differential Revision: https://phabricator.services.mozilla.com/D48857

--HG--
extra : moz-landing-system : lando
2019-11-04 11:03:58 +00:00
Brian Hackett d293e937fe Bug 1592560 - Avoid using Reflect in workers, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D51282

--HG--
extra : moz-landing-system : lando
2019-11-04 09:08:05 +00:00
Itiel a02bd2636c Bug 1593531 - RTL fixes for the truncation message in the websockets panel r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D51532

--HG--
extra : moz-landing-system : lando
2019-11-04 10:04:46 +00:00
Itiel 235c8782ec Bug 1593527 - Cleanup CustomRequestPanel.css to fix RTL r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D51531

--HG--
extra : moz-landing-system : lando
2019-11-04 09:58:40 +00:00
Nicolas Chevobbe 9c0b3f6b24 Bug 1570524 - Fix browser_webconsole_cached_messages intermittent. r=Honza.
Wait for the messages to be displayed, and requestLongerTimeout,
as test failures logs seem to indicate that slower machine take
more than 30s to run the test.

Differential Revision: https://phabricator.services.mozilla.com/D51562

--HG--
extra : moz-landing-system : lando
2019-11-04 09:53:31 +00:00
Nicolas Chevobbe a558e51a4d Bug 1590974 - Pass the toolbox document to MenuButton in the a11y panel. r=yzen.
This makes it possible for the menus to not be constrained
to the panel boundaries if they are taller than the panel
itself (which could be the case for the simulate menu as
it has lots of items).
We need to style the button with a link role in the toolbox
CSS so they don't look like real buttons.

Differential Revision: https://phabricator.services.mozilla.com/D50461

--HG--
extra : moz-landing-system : lando
2019-11-04 06:38:37 +00:00
jaril 9f18dcfb2a Bug 1593302 - Fix frame timeline scrubbing so it doesn't highlight other elements r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51424

--HG--
extra : moz-landing-system : lando
2019-11-04 04:52:05 +00:00
Gijs Kruitbosch ea58459bc1 Bug 1545123 - move reading pluginreg and scanning for plugins to a background thread, r=handyman,mconley
Finally, let's move the actual IO away from the main thread.

This means there are now 3 ways of looking for plugins:
1. looking for changes from ReloadPlugins. This runs the PluginFinder runnable
   on the main thread.
2. loading plugins from LoadPlugins. This will:
   a) first check prefs and report the flash plugin based on that information,
      if the prefs indicate it exists (using the callback provided by
      nsPluginHost).
   b) then hopefully dispatch to a background thread, where it will read
      pluginreg.dat, scan the appropriate folders on disk, and see if
      anything changed. Once done, it sets mFinishedFinding to true and
      re-dispatches itself to the main thread.
   c) then on the main thread, it reports any changes to nsPluginHost.
3. if dispatching in 2(b) fails, we will run steps (b) and (c) on the main
   thread.

Note: if ReloadPlugins is called, we intiially do (1), but if we find
changes, we clear out the set of known plugins and then run LoadPlugins
again (meaning we go through 2 (or 3 if 2(b) fails)). This is how
reloading plugins worked prior to my changes and I've attempted not to
change it.

In order for this to work, there are some other changes in this commit:

- the sandbox prefs are being read "early" and cached for flash vs
  "everything else". We can't access prefs on non-main threads without
  using StaticPrefs, which doesn't seem worth it here.
- some of the plugin tag classes are moved to threadsafe refcounting.
  This is a bit unfortunate, but because they're instantiated on a non-
  mainthread, and then later used on the main thread, despite the
  fact that the architecture means nothing tries to touch them from
  more than one thread at once, without threadsafe refcounting we hit
  asserts in debug mode if we add references to them back on the main thread.
- we add shutdown blocking for pluginfinding. We don't really want to
  be halfway through finding plugins and then trying to shut them down,
  or re-instantiating plugins after they've been unloaded.
- we keep a reference to the "pending" pluginfinder instance while
  doing lookups away from the main thread (ie (2)), to avoid re-entrancy or
  trying to write to pluginreg while we're reading it somewhere else,
  etc. If there's an attempt to do more plugin finding while this is
  ongoing, we flip mDoReloadOnceFindingFinished and do a reload once
  our initial lookups are complete.

Depends on D48331

Differential Revision: https://phabricator.services.mozilla.com/D48332

--HG--
extra : moz-landing-system : lando
2019-11-02 22:35:04 +00:00
Ciure Andrei fdfd0105e6 Backed out 5 changesets (bug 1545123) for causing nsPluginTags.cpp build bustages CLOSED TREE
Backed out changeset 91313cceae8c (bug 1545123)
Backed out changeset d91549e68229 (bug 1545123)
Backed out changeset 269d89e09fbb (bug 1545123)
Backed out changeset a139ee115519 (bug 1545123)
Backed out changeset eb454f238f45 (bug 1545123)
2019-11-02 14:00:38 +02:00
Gijs Kruitbosch dc78268f2e Bug 1545123 - move reading pluginreg and scanning for plugins to a background thread, r=handyman,mconley
Finally, let's move the actual IO away from the main thread.

This means there are now 3 ways of looking for plugins:
1. looking for changes from ReloadPlugins. This runs the PluginFinder runnable
   on the main thread.
2. loading plugins from LoadPlugins. This will:
   a) first check prefs and report the flash plugin based on that information,
      if the prefs indicate it exists (using the callback provided by
      nsPluginHost).
   b) then hopefully dispatch to a background thread, where it will read
      pluginreg.dat, scan the appropriate folders on disk, and see if
      anything changed. Once done, it sets mFinishedFinding to true and
      re-dispatches itself to the main thread.
   c) then on the main thread, it reports any changes to nsPluginHost.
3. if dispatching in 2(b) fails, we will run steps (b) and (c) on the main
   thread.

Note: if ReloadPlugins is called, we intiially do (1), but if we find
changes, we clear out the set of known plugins and then run LoadPlugins
again (meaning we go through 2 (or 3 if 2(b) fails)). This is how
reloading plugins worked prior to my changes and I've attempted not to
change it.

In order for this to work, there are some other changes in this commit:

- the sandbox prefs are being read "early" and cached for flash vs
  "everything else". We can't access prefs on non-main threads without
  using StaticPrefs, which doesn't seem worth it here.
- some of the plugin tag classes are moved to threadsafe refcounting.
  This is a bit unfortunate, but because they're instantiated on a non-
  mainthread, and then later used on the main thread, despite the
  fact that the architecture means nothing tries to touch them from
  more than one thread at once, without threadsafe refcounting we hit
  asserts in debug mode if we add references to them back on the main thread.
- we add shutdown blocking for pluginfinding. We don't really want to
  be halfway through finding plugins and then trying to shut them down,
  or re-instantiating plugins after they've been unloaded.
- we keep a reference to the "pending" pluginfinder instance while
  doing lookups away from the main thread (ie (2)), to avoid re-entrancy or
  trying to write to pluginreg while we're reading it somewhere else,
  etc. If there's an attempt to do more plugin finding while this is
  ongoing, we flip mDoReloadOnceFindingFinished and do a reload once
  our initial lookups are complete.

Depends on D48331

Differential Revision: https://phabricator.services.mozilla.com/D48332

--HG--
extra : moz-landing-system : lando
2019-10-30 15:53:15 +00:00
Micah Tigley a34e986f2f Bug 1588438 - Refactor deprecated touch event APIs. r=ochameau
This revision refactors RDM's touch simulator to use modern touch web APIs where possible.

Differential Revision: https://phabricator.services.mozilla.com/D50147

--HG--
extra : moz-landing-system : lando
2019-11-01 23:05:37 +00:00
Brian Hackett 130ae0969a Bug 1593140 - Keep track of replaying process progress to detect hangs, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51323

--HG--
extra : moz-landing-system : lando
2019-11-01 22:50:37 +00:00
Micah Tigley 7b518bfeac Bug 1578865 - Show the device settings modal over the RDM UI . r=gl
Since closing D50559, we're not using CSS Grid for the browser's container layout (see D48778 for context). This means positioning the device settings modal using CSS grid areas won't work.

An alternative to this is to contain the RDM toolbar inside the browser stack now that it uses CSS Grid. We can then use absolute positioning to have the RDM toolbar always positioning on top of the browser element and adjust its size when the device settings is opened.

Differential Revision: https://phabricator.services.mozilla.com/D51102

--HG--
extra : moz-landing-system : lando
2019-11-01 19:23:55 +00:00
Florens Verschelde d57b479711 Bug 1525939 - Use shared Accordion component in Inspector; r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D43640

--HG--
extra : moz-landing-system : lando
2019-11-01 16:11:13 +00:00
Nicolas Chevobbe df353efb8c Bug 1592618 - Fix test memory leak in browser_jsterm_file_load_save_keyboard_shortcut.js .r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D51271

--HG--
extra : moz-landing-system : lando
2019-11-01 14:35:54 +00:00
Nicolas Chevobbe 07a531158b Bug 1592550 - Allow saveAs util function to be passed an array of filters. r=Honza.
A new parameter is added, and it expect an array
of filter objects (which contain a pattern and
a label properties), which are going to be used
by the save file dialog.

Depends on D51070

Differential Revision: https://phabricator.services.mozilla.com/D51078

--HG--
extra : moz-landing-system : lando
2019-11-01 09:26:18 +00:00
chujun 9d1969b69b Bug 1592904-Extenstion typo fix r=davidwalsh
Change occurrence of extenstion to extension in debugger

Differential Revision: https://phabricator.services.mozilla.com/D51239

--HG--
extra : moz-landing-system : lando
2019-10-31 17:03:59 +00:00
Julian Descottes 0257e34647 Bug 1592996 - Bail out from walker.findNodeFront if the walker cannot reach the selectors r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D51321

--HG--
extra : moz-landing-system : lando
2019-11-01 13:59:12 +00:00
Jason Laster cd8222f74c Bug 1581249 - Revert - The timeline should show breakpoint hits. r=bhackett
This reverts commit 34ddff68bdfc54cc61252cd76e708697d1629e86.

Differential Revision: https://phabricator.services.mozilla.com/D51331

--HG--
extra : moz-landing-system : lando
2019-11-01 00:05:58 +00:00
Brad Werth 8e14b87503 Bug 1579269 Part 2: Add a test of the inRDMPane property. r=mtigley
This test is setup to run both with and without the pref
"devtools.responsive.browserUI.enabled" set. Ideally, we can find a
way to refactor this structure into something that can be put into
devtools/client/responsive/test/browser/head.js, and other helper
functions in that file can be modified to work with the pref on or
off.

Differential Revision: https://phabricator.services.mozilla.com/D51022

--HG--
extra : moz-landing-system : lando
2019-10-31 21:17:21 +00:00
Brad Werth b5785ce2c6 Bug 1579269 Part 1: Make the document inRDMPane property set via a new emulation actor method. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D51020

--HG--
extra : moz-landing-system : lando
2019-10-31 21:16:58 +00:00
Sorin Davidoi 04c35ed680 Bug 1589744: Don't update hidden tabs when not necessary r=davidwalsh
They only need to be updated from `componentDidUpdate` if the open tabs have changed.

Before: https://perfht.ml/32w6iwg
After: https://perfht.ml/2Bqk7R0
Diff: https://perfht.ml/2pvNyhW

Differential Revision: https://phabricator.services.mozilla.com/D49782

--HG--
extra : moz-landing-system : lando
2019-10-31 09:38:47 +00:00
Cosmin Sabou 1ba5593436 Backed out changeset 9f5359d5db86 (bug 1583546) for devtools failures on browser_webconsole_location_logpoint_debugger_link.js 2019-10-31 17:54:25 +02:00
Alexander J. Vincent ca5176f7cc Bug 1094939 - Preferences actor should throw with the name for an unknown preference. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D50728

--HG--
extra : moz-landing-system : lando
2019-10-31 14:05:46 +00:00
Jason Laster a76f552717 Bug 1592755 - Remove _migrateProfileDir usage. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51170

--HG--
extra : moz-landing-system : lando
2019-10-31 10:56:13 +00:00
Jason Laster d059c73cf7 Bug 1589546 - Timeline markers move when the timeline updates. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51217

--HG--
extra : moz-landing-system : lando
2019-10-31 13:29:40 +00:00
Brian Hackett 7665a7d7c0 Bug 1571863 Part 2 - Handle failures when communicating with source fronts, and reenable browser_dbg-worker-scopes.js, r=loganfsmyth.
Depends on D50762

Differential Revision: https://phabricator.services.mozilla.com/D50763

--HG--
extra : moz-landing-system : lando
2019-10-31 13:55:09 +00:00
Brian Hackett 10ef99e089 Bug 1571863 Part 1 - Manage SourceFront from its associated ThreadFront, r=jdescottes,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50762

--HG--
extra : moz-landing-system : lando
2019-10-31 13:53:25 +00:00
Brian Hackett 7efef281eb Bug 1583546 - Add test that the OBT debugger can pause even when it hasn't been opened, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50225

--HG--
extra : moz-landing-system : lando
2019-10-31 13:49:28 +00:00
Brian Hackett d3809112ad Bug 1592730 - Make target updates async friendly, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51158

--HG--
extra : moz-landing-system : lando
2019-10-31 13:44:20 +00:00
Belén Albeza 3c264295d6 Bug 1592661: Re-enable Manifest browser tests on try r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51251

--HG--
extra : moz-landing-system : lando
2019-10-31 12:54:38 +00:00
Julian Descottes 3f0e2f4c4f Bug 1592517 - Migrate devtools DOMHelpers.jsm from JSM to plain JS module r=ochameau
Depends on D51054

Summary of the changes here:
- move DOMHelpers.jsm to dom-helpers.js
- remove all unused methods
- converted to a static helper to avoid instanciating DOMHelpers objects for no reason
- updated call sites accordingly

Differential Revision: https://phabricator.services.mozilla.com/D51065

--HG--
rename : devtools/shared/DOMHelpers.jsm => devtools/shared/dom-helpers.js
extra : moz-landing-system : lando
2019-10-30 11:25:01 +00:00
Daisuke Akatsuka 7673889b29 Bug 1592871: Add test whether the ruleview will not be broken. r=gl
Depends on D51219

Differential Revision: https://phabricator.services.mozilla.com/D51220

--HG--
extra : moz-landing-system : lando
2019-10-31 05:17:53 +00:00
Daisuke Akatsuka e3665fd758 Bug 1592871: Avoid passing not CSSStyleRule object into InspectorUtils.getSelectorCount(). r=gl
Differential Revision: https://phabricator.services.mozilla.com/D51219

--HG--
extra : moz-landing-system : lando
2019-10-31 05:18:11 +00:00
Anshul 4ebcdca08e Bug 1591975 - Summary: Do not render Watchpoint button in console r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D50984

--HG--
extra : moz-landing-system : lando
2019-10-31 05:02:32 +00:00
jaril ce02064d8a Bug 1592775 - Fix jumping behavior in frame timeline
Differential Revision: https://phabricator.services.mozilla.com/D51182

--HG--
extra : moz-landing-system : lando
2019-10-31 03:22:26 +00:00
Andreea Pavel e86554ebb1 Backed out changeset 723eb1f37393 (bug 1592775) for debugger failure on a CLOSED TREE 2019-10-31 04:49:03 +02:00
jaril c486c0a256 Bug 1592775 - Fix jumping behavior in frame timeline r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51182

--HG--
extra : moz-landing-system : lando
2019-10-31 02:32:14 +00:00
jaril 789e9699c4 Bug 1592751 - Maintain purple line above paused console message in Replay r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51167

--HG--
extra : moz-landing-system : lando
2019-10-31 01:39:19 +00:00
Brian Hackett 909ce93ac8 Bug 1580184 - Avoid creating duplicate entries in the source tree, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D50268

--HG--
extra : moz-landing-system : lando
2019-10-30 22:04:22 +00:00
Brian Hackett efb779ae1a Bug 1558771 - Sync breakpoints when new source actors appear, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D50744

--HG--
extra : moz-landing-system : lando
2019-10-28 13:26:26 +00:00
Kashav Madan faf9a2e212 Bug 1582531 - Update fission annotations for tests that fail cleanly, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50508

--HG--
extra : moz-landing-system : lando
2019-10-30 21:51:35 +00:00
Gabriel Luong 48b7b4b362 Bug 1568876 - Make copyRule in the ChangesView fission compatible. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D50973

--HG--
extra : moz-landing-system : lando
2019-10-30 19:51:48 +00:00
Julian Descottes c87fb76740 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

Differential Revision: https://phabricator.services.mozilla.com/D50465

--HG--
extra : moz-landing-system : lando
2019-10-30 08:31:16 +00:00
Julian Descottes 4f668cb36e Bug 1591013 - Add an eslint rule to prevent loading client modules from devtools/server r=nchevobbe
Depends on D51054

This will help catch some issues related to server files importing client files.
Note that we still don't validate:
- devtools/shared: at the moment devtools/shared still contains client only files which
  naturally import other client files, so linting here is not an option before we clean
  this up
- require calls using variables eg require(MY_MODULE_URI). Maybe we should prevent this via
  another linting rule

Differential Revision: https://phabricator.services.mozilla.com/D50466

--HG--
extra : moz-landing-system : lando
2019-10-30 08:28:44 +00:00
chujun 0815c788fc Bug 1588803-Show sources after setting directory root r=davidwalsh
1.Show sources and thread name after a thread is set to root
2.Show sources under chrome://
3.Show extension name and icon if an extension directory is set to root

{F1665109}
I'm building a better understanding of sources, sourcesTree and their utils. There could be better solutions than the ones I thought of. I'll appreciate feedback or discussions!

Differential Revision: https://phabricator.services.mozilla.com/D50438

--HG--
extra : moz-landing-system : lando
2019-10-30 07:32:39 +00:00
Nicolas Chevobbe 4519e50d89 Bug 1592308 - Add keyboard shortcut for loading / saving from console input. r=Honza.
Ctrl+O (Cmd+O on OSX) will load file content into the console input.
Ctrl+S (Cmd+S on OSX) will show the file dialog for the user
to save the console input content into a file.

A test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D51070

--HG--
extra : moz-landing-system : lando
2019-10-30 10:26:49 +00:00
Julian Descottes d7b03b0c90 Bug 1592513 - Fix eslint errors in DOMHelpers.jsm r=rcaliman
Depends on D51053

eslint validation was more relaxed in the previous location of this helper, we need to fix some violations.

Differential Revision: https://phabricator.services.mozilla.com/D51054

--HG--
extra : moz-landing-system : lando
2019-10-30 11:24:54 +00:00
Julian Descottes e266463281 Bug 1592513 - Move DOMHelpers.jsm from devtools/client/shared/ to devtools/shared/ r=rcaliman
Since I started using this helper in devtools/server/ (Node actor), the file needs to move outside of devtools/client

Differential Revision: https://phabricator.services.mozilla.com/D51053

--HG--
rename : devtools/client/shared/DOMHelpers.jsm => devtools/shared/DOMHelpers.jsm
extra : moz-landing-system : lando
2019-10-30 11:05:04 +00:00
Nicolas Chevobbe 90b00ddcf7 Bug 1351635 - Return isClassConstructor in class grip. r=loganfsmyth.
A test is added to ensure isClassConstructor has the expected
value for ES6 class grips.

Differential Revision: https://phabricator.services.mozilla.com/D50962

--HG--
extra : moz-landing-system : lando
2019-10-30 10:03:01 +00:00
Oana Pop Rus 304e3fed81 Bug 1582594 - Disable browser_markup_flex_display_badge.js on Linux, Mac and Windows r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50893

--HG--
extra : moz-landing-system : lando
2019-10-30 09:12:40 +00:00
Nicolas Chevobbe 6043a21348 Bug 1591404 - Remove unused tern and show-hint CodeMirror addons. r=gl.
Differential Revision: https://phabricator.services.mozilla.com/D50937

--HG--
extra : moz-landing-system : lando
2019-10-30 06:58:51 +00:00
Gurzau Raul 29cef09b45 Backed out 2 changesets (bug 1591013) for eslint failure at inspector/node.js on a CLOSED TREE.
Backed out changeset 5d53ab2f3152 (bug 1591013)
Backed out changeset d888aded0e70 (bug 1591013)
2019-10-30 00:56:04 +02:00
Julian Descottes a2bad4c3c2 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

Differential Revision: https://phabricator.services.mozilla.com/D50465

--HG--
extra : moz-landing-system : lando
2019-10-29 22:10:00 +00:00
Julian Descottes 15ee8feee3 Bug 1591013 - Add an eslint rule to prevent loading client modules from devtools/server r=nchevobbe
This will help catch some issues related to server files importing client files.
Note that we still don't validate:
- devtools/shared: at the moment devtools/shared still contains client only files which
  naturally import other client files, so linting here is not an option before we clean
  this up
- require calls using variables eg require(MY_MODULE_URI). Maybe we should prevent this via
  another linting rule

Differential Revision: https://phabricator.services.mozilla.com/D50466

--HG--
extra : moz-landing-system : lando
2019-10-25 07:01:53 +00:00
Micah Tigley 04dddd2796 Bug 1585080 - Make RDM browser <stack> use CSS Grid r=mconley,gl
Differential Revision: https://phabricator.services.mozilla.com/D50559

--HG--
extra : moz-landing-system : lando
2019-10-29 19:49:03 +00:00
zhaogang f466469108 Bug 1591058 - Put the memorization of selected location into togglePrettyPrint() . r=davidwalsh
Now the `togglePrettyPrint` and `selectPrettyLocation` together handle the mapping.

mochitest is added.

Differential Revision: https://phabricator.services.mozilla.com/D50568

--HG--
extra : moz-landing-system : lando
2019-10-29 16:31:19 +00:00
Itiel d26a949e7e Bug 1590212 - More RTL fixes to the console editor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49986

--HG--
extra : moz-landing-system : lando
2019-10-29 12:40:13 +00:00
Mihai Alexandru Michis 30c8de3920 Backed out changeset ca55fba5a3a3 (bug 1592144) for causing node devtools failures. CLOSED TREE 2019-10-29 16:19:31 +02:00
Jan Odvarko 69a35cc0f0 Bug 1582589 - Client cert checking fails when CAs differ on server and client certs r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D50913

--HG--
extra : moz-landing-system : lando
2019-10-29 14:00:28 +00:00
David Walsh 50a693991f Bug 1592144 - Only set frame logpoint if frame exists r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50875

--HG--
extra : moz-landing-system : lando
2019-10-29 07:48:23 +00:00
Nicolas Chevobbe d8758a92f8 Bug 1590093 - Lazy load console components. r=Honza.
We try to lazy load all the things we know we might
not need directly when opening the console.

Differential Revision: https://phabricator.services.mozilla.com/D50800

--HG--
extra : moz-landing-system : lando
2019-10-29 10:46:51 +00:00
Tim Nguyen 2ef4b4c3c7 Bug 1586281 - Fix network monitor resizer in RTL mode. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D50706

--HG--
extra : moz-landing-system : lando
2019-10-29 12:14:28 +00:00
Narcis Beleuzu 17b37761e8 Backed out changeset 3534c1bfbd8e (bug 1590212) as per Itiel`s request. CLOSED TREE 2019-10-29 14:11:43 +02:00
Michael Ratcliffe 6badf9242f Bug 1491811 - Rules: replace custom checkbox with -moz-appearance:checkbox r=fvsch
***
Bug 1491811 - Get screenshots of Rule View with native checkboxes

Differential Revision: https://phabricator.services.mozilla.com/D49305

--HG--
extra : moz-landing-system : lando
2019-10-28 17:19:53 +00:00
Emilio Cobos Álvarez 4825f0f201 Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50556

--HG--
extra : moz-landing-system : lando
2019-10-26 11:37:33 +00:00
Julian Descottes 4dd1553284 Bug 1591410 - Remove unused UnsolicitedPauses constants r=jlast,ochameau
Depends on D50616

Differential Revision: https://phabricator.services.mozilla.com/D50617

--HG--
extra : moz-landing-system : lando
2019-10-29 08:39:31 +00:00
Julian Descottes c2d789f1e7 Bug 1591410 - Remove unused root actor traits r=ochameau
Depends on D50605
All the traits removed here are not checked anywhere in the codebase.
There is more cleanup to do around old traits that are no longer relevant for backward compatibility, but that might still be used for feature detection.

Differential Revision: https://phabricator.services.mozilla.com/D50616

--HG--
extra : moz-landing-system : lando
2019-10-29 08:39:19 +00:00
Julian Descottes ed35f0fb14 Bug 1591410 - Remove devtools/shared/client/deprecated-thread-client.js r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D50605

--HG--
extra : moz-landing-system : lando
2019-10-29 08:36:03 +00:00
Itiel 571019ecae Bug 1590212 - More RTL fixes to the console editor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49986

--HG--
extra : moz-landing-system : lando
2019-10-29 07:59:04 +00:00
Julian Descottes a399da3be9 Bug 1588773 - Move css-selector.js helpers back to DevTools css-logic.js r=pbro
Depends on D49303

Some methods from css-logic were extracted from the devtools codebase to be used by context-menu files.
This was only needed in order to compute the css-selectors for Inspect Element.
If we use ContentDOMReference instead, those helpers can move back in the devtools codebase
(leaving them in css-selector.js fails the all-files-referenced test for some reason as well)

Differential Revision: https://phabricator.services.mozilla.com/D49330

--HG--
rename : toolkit/modules/tests/chrome/test_findCssSelector.html => devtools/shared/tests/mochitest/test_css-logic-findCssSelector.html
extra : moz-landing-system : lando
2019-10-28 09:11:02 +00:00