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

16945 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 9ecd76c56b Bug 1539461 - Remove the old aboutdebugging codebase r=remote-debugging-reviewers,daisuke
Depends on D37863

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

--HG--
extra : moz-landing-system : lando
2019-07-16 16:24:57 +00:00
Julian Descottes f1fcf6094f Bug 1539461 - Remove the aboutdebugging.new-enabled preference r=remote-debugging-reviewers,daisuke
Depends on D37860

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

--HG--
extra : moz-landing-system : lando
2019-07-16 16:24:14 +00:00
Julian Descottes eb34d94bb2 Bug 1539451 - Disable WebIDE and ConnectPage by default r=remote-debugging-reviewers,daisuke
Depends on D37859

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

--HG--
extra : moz-landing-system : lando
2019-07-16 16:23:46 +00:00
Julian Descottes e7303a1e95 Bug 1539451 - Remove the unused "disabled" field in devtools/client/menus r=remote-debugging-reviewers,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D37859

--HG--
extra : moz-landing-system : lando
2019-07-16 16:22:34 +00:00
David Walsh 6e8b9aea44 Bug 1564243 - Don't show map scopes for pretty sources r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D38113

--HG--
extra : moz-landing-system : lando
2019-07-16 13:22:32 +00:00
Jason Laster 5970b1a8fe Bug 1354679 - Automatically display the PausedDebuggerOverlay when the debugger is paused. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D35162

--HG--
extra : moz-landing-system : lando
2019-07-09 22:01:34 +00:00
Junior Hsu 11fb864ed7 Bug 1424076 - P2 adjust Origin header comparison for POST request r=Honza
We'd like to enable the Origin header for all eligible reqeusts, which include POST.
The test should be adjusted.

Differential Revision: https://phabricator.services.mozilla.com/D33382
2019-07-09 23:20:01 +02:00
Oana Pop Rus b0ba88239d Backed out 4 changesets (bug 1424076) for mochitests failures in test_iframe_sandbox_navigation.html on a CLOSED TREE
Backed out changeset 67239c7df87c (bug 1424076)
Backed out changeset 2b4487c6403d (bug 1424076)
Backed out changeset c002ddb976e9 (bug 1424076)
Backed out changeset 50fbc0cec01a (bug 1424076)
2019-07-09 23:48:37 +03:00
Dorel Luca 441c28479d Backed out changeset e97f23bfa99c (bug 1497197) for devtools failures in devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_profiler_dialog.js
--HG--
extra : rebase_source : 7dee1e5b361f92470a55c3e0b6119a89c6aec2e4
2019-07-09 21:52:51 +03:00
Junior Hsu a9df20be3c Bug 1424076 - P2 adjust Origin header comparison for POST request r=Honza
We'd like to enable the Origin header for all eligible reqeusts, which include POST.
The test should be adjusted.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 18:26:59 +00:00
Dorel Luca 06b684f035 Backed out 4 changesets (bug 1424076) for ESlint failure
Backed out changeset c6299be2356c (bug 1424076)
Backed out changeset f567bf2904c9 (bug 1424076)
Backed out changeset 6127a13715c9 (bug 1424076)
Backed out changeset 743605a9b0ac (bug 1424076)

--HG--
extra : rebase_source : a20ab3fc782b376dd091e18b647a2ef12d7e4aca
2019-07-09 21:17:22 +03:00
jaril c44213fae7 Bug 1564134 - Convert ContentProcessTargetActor to protocol.js. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D37188

--HG--
extra : moz-landing-system : lando
2019-07-10 08:21:50 +00:00
Florens Verschelde 75cbed9086 Bug 1566135 - Remove devtools-separator margin variables; r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D38105

--HG--
extra : moz-landing-system : lando
2019-07-16 06:22:12 +00:00
Panos Astithas b290fc08af Bug 1233891 - Use DOM promises instead of deprecated sync promises in devtools/. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37138

--HG--
extra : moz-landing-system : lando
2019-07-09 17:26:32 +00:00
Junior Hsu 6aa8489ec9 Bug 1424076 - P2 adjust Origin header comparison for POST request r=Honza
We'd like to enable the Origin header for all eligible reqeusts, which include POST.
The test should be adjusted.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 17:15:21 +00:00
Christoph Kerschbaumer b4c50e5e07 Bug 1497197: Apply Meta CSP to about:debugging. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37369

--HG--
extra : moz-landing-system : lando
2019-07-09 17:10:31 +00:00
Belén Albeza 9b6880a907 Bug 1558757 - Add unit tests for reducers. r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D36741

--HG--
extra : moz-landing-system : lando
2019-07-09 13:40:55 +00:00
Nicolas Chevobbe c263325eba Bug 1564363 - Close the network detail on Escape. r=Honza.
We use the openNetworkDetails prop which is already in use
in the netmonitor to collapse the message if the parameter
passed to the function is falsy (i.e. the panel is already
displayed)

Depends on D37388

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

--HG--
extra : moz-landing-system : lando
2019-07-09 10:50:50 +00:00
Nicolas Chevobbe b6f86a6665 Bug 1564363 - Set toggleNetworkDetails prop as non required. r=Honza.
This prop is only used when hideToggleButton isn't truthy.
In the case of the console, it won't ever be called, so
it's not mandatory.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 10:50:48 +00:00
Nicolas Chevobbe 064fd41499 Bug 1534706 - Don't focus ConfirmDialog when displaying it. r=Honza
Some people found that the ConfirmDialog was getting into their
way when typing into the console, as it was stealing the focus.
This patch fixes this by not focusing the ConfirmDialog when
we show it, so the user can still type.
This means that we now handle the dialog confirm and dismiss from
JSTerm, when the former is displayed.

Since it wasn't clear how you could close the popup, we add a close
button that makes it very obvious.

This means we can drop the key handler in the dialog as the jsterm
is always focused.
We also simply remove the feature to open the MDN link on `?` key
stroke as it's not discoverable and was the only part of the
panel where you could do such thing.

Existing tests are adapted and extended to cover the new behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 12:28:38 +00:00
Nicolas Chevobbe a0d642a0a5 Bug 1563914 - Fix ConsoleTable with invalid headers. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D37164

--HG--
extra : moz-landing-system : lando
2019-07-09 08:47:58 +00:00
Florens Verschelde e1899f230d Bug 1564267 - Fix console line-height for large text; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D37367

--HG--
extra : moz-landing-system : lando
2019-07-09 11:16:34 +00:00
Jonathan Kew 7ae68c458b Bug 1421938 - Add an 'auto' value for the CSS 'quotes' property, and make it use language-dependent quote marks. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36429

--HG--
extra : moz-landing-system : lando
2019-07-09 08:59:27 +00:00
Florens Verschelde 8700d1754a Bug 1564191 - Remove unused tool-canvas.svg and tool-webaudio.svg; r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D37299

--HG--
extra : moz-landing-system : lando
2019-07-09 08:17:26 +00:00
Javier Olaechea ad8d779e56 Bug 1558355 - Remove devtools.netmonitor.features.resizeColumns pref, r=Honza
Remove devtools.netmonitor.features.resizeColumns pref and any reference to it.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 08:33:12 +00:00
Christoph Kerschbaumer fa67de326f Bug 1497199: Apply Meta CSP to about:devtools.
Differential Revision: https://phabricator.services.mozilla.com/D37370

--HG--
extra : moz-landing-system : lando
2019-07-09 06:56:56 +00:00
Daisuke Akatsuka a894b5e7b1 Bug 1521085: Add a test which add a property which is an invalid identifier. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37220

--HG--
extra : moz-landing-system : lando
2019-07-09 03:54:57 +00:00
Daisuke Akatsuka 5382e84637 Bug 1521085: Return false if the property name is an invalid identifier. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37219

--HG--
extra : moz-landing-system : lando
2019-07-09 04:43:23 +00:00
shindli f5dea34efe Backed out 5 changesets (bug 1421938) for bustages in /builds/worker/workspace/build/src/layout/base/nsQuoteList.cpp CLOSED TREE
Backed out changeset 4e25a6db1f5b (bug 1421938)
Backed out changeset 11a8f9bc0418 (bug 1421938)
Backed out changeset f27980997dc5 (bug 1421938)
Backed out changeset adb2e2714c14 (bug 1421938)
Backed out changeset 33e38a62b400 (bug 1421938)
2019-07-09 02:52:38 +03:00
Jonathan Kew 6bea7b3966 Bug 1421938 - Add an 'auto' value for the CSS 'quotes' property, and make it use language-dependent quote marks. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36429

--HG--
extra : moz-landing-system : lando
2019-07-08 20:16:19 +00:00
shindli 2c12986a7f Backed out 5 changesets (bug 1421938) for causing a bustage in /builds/worker/workspace/build/src/intl/locale/cldr-quotes.inc:21:448 CLOSED TREE
Backed out changeset 3958f2af0e34 (bug 1421938)
Backed out changeset 89a0866d1aa0 (bug 1421938)
Backed out changeset f150702af11f (bug 1421938)
Backed out changeset b8ebd4d241e0 (bug 1421938)
Backed out changeset 1d38eb5eff6e (bug 1421938)
2019-07-08 23:09:34 +03:00
Jonathan Kew e5f479f588 Bug 1421938 - Add an 'auto' value for the CSS 'quotes' property, and make it use language-dependent quote marks. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36429

--HG--
extra : moz-landing-system : lando
2019-07-08 12:13:28 +00:00
Jason Laster 0cffef92ff Bug 1561092 - Fix intermittent browser_dbg-wasm-sourcemaps test.
Differential Revision: https://phabricator.services.mozilla.com/D37294

--HG--
extra : moz-landing-system : lando
2019-07-08 17:55:35 +00:00
Tom Schuster d427e8bfe9 Bug 1558914 - Remove non-standard Array.sort from devtools test. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D36438

--HG--
extra : moz-landing-system : lando
2019-07-08 17:45:09 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Noemi Erli ba301c3e5e Bug 1563684 - ES lint fix CLOSED TREE 2019-07-08 16:12:34 +03:00
Nicolas Chevobbe 875a819a93 Bug 1563684 - Fix blank console on GMail. r=yulia.
The console fails to connect to the server because
the getCachedMessages function throws on GMail.
This is because we try to access a property on a
cross-origin object, window.windowUtils, in
getInnerWindowId.
Wrapping the access to the property fixes the issue.
A test is added to make sure we don't regress.

// TODO: The test isn't failing without the fix,
so it should be re-written.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 12:34:20 +00:00
Nicolas Chevobbe c0c38fd4a3 Bug 1557305 - Speed up JsPropertyProvider analyzeInput function. r=ochameau.
We were using Array.from to get an array of all the characters, and
be able to slice parts of the strings to run some checks.
This had the disadvantage of being quite slow on very large strings,
at a point where we introduced a bail out mechanism into the function
to not block the content page.
This patch switches to `String.prototype[Symbol.iterator]` to loop
over all the character, and removes lots of array and string manipulations.
On the same, super-large, string, the function cost went from 6700ms to
less than 200ms.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 06:24:38 +00:00
Sebastian Hengst 11acdc3897 Bug 1554707 - Refactor test folder structure: adjust code for js Prettier. a=eslint-fix CLOSED TREE
--HG--
extra : amend_source : 534bfbe20df1ba8875778afc8bd4aa99f9f51fa5
2019-07-08 12:06:32 +02:00
Ola Gasidlo 247d4a898e Bug 1554707 - Refactor test folder structure, r=jdescottes,ladybenko
Refactor test folder structure to align with remote debugging

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

--HG--
rename : devtools/client/application/test/browser.ini => devtools/client/application/test/browser/browser.ini
rename : devtools/client/application/test/browser_application_panel_debug-service-worker.js => devtools/client/application/test/browser/browser_application_panel_debug-service-worker.js
rename : devtools/client/application/test/browser_application_panel_list-domain-workers.js => devtools/client/application/test/browser/browser_application_panel_list-domain-workers.js
rename : devtools/client/application/test/browser_application_panel_list-several-workers.js => devtools/client/application/test/browser/browser_application_panel_list-several-workers.js
rename : devtools/client/application/test/browser_application_panel_list-single-worker.js => devtools/client/application/test/browser/browser_application_panel_list-single-worker.js
rename : devtools/client/application/test/browser_application_panel_list-unicode.js => devtools/client/application/test/browser/browser_application_panel_list-unicode.js
rename : devtools/client/application/test/browser_application_panel_list-workers-empty.js => devtools/client/application/test/browser/browser_application_panel_list-workers-empty.js
rename : devtools/client/application/test/browser_application_panel_open-links.js => devtools/client/application/test/browser/browser_application_panel_open-links.js
rename : devtools/client/application/test/browser_application_panel_start-service-worker.js => devtools/client/application/test/browser/browser_application_panel_start-service-worker.js
rename : devtools/client/application/test/browser_application_panel_unregister-worker.js => devtools/client/application/test/browser/browser_application_panel_unregister-worker.js
rename : devtools/client/application/test/head.js => devtools/client/application/test/browser/head.js
rename : devtools/client/application/test/service-workers/debug-sw.js => devtools/client/application/test/browser/resources/service-workers/debug-sw.js
rename : devtools/client/application/test/service-workers/debug.html => devtools/client/application/test/browser/resources/service-workers/debug.html
rename : devtools/client/application/test/service-workers/dynamic-registration.html => devtools/client/application/test/browser/resources/service-workers/dynamic-registration.html
rename : devtools/client/application/test/service-workers/empty-sw.js => devtools/client/application/test/browser/resources/service-workers/empty-sw.js
rename : devtools/client/application/test/service-workers/empty.html => devtools/client/application/test/browser/resources/service-workers/empty.html
rename : devtools/client/application/test/service-workers/scope-page.html => devtools/client/application/test/browser/resources/service-workers/scope-page.html
rename : devtools/client/application/test/service-workers/simple-unicode.html => devtools/client/application/test/browser/resources/service-workers/simple-unicode.html
rename : devtools/client/application/test/service-workers/simple.html => devtools/client/application/test/browser/resources/service-workers/simple.html
rename : devtools/client/application/test/.eslintrc.js => devtools/client/application/test/components/.eslintrc.js
rename : devtools/client/application/test/babel.config.js => devtools/client/application/test/components/babel.config.js
rename : devtools/client/application/test/fixtures/Chrome.js => devtools/client/application/test/components/fixtures/Chrome.js
rename : devtools/client/application/test/fixtures/PluralForm.js => devtools/client/application/test/components/fixtures/PluralForm.js
rename : devtools/client/application/test/fixtures/Services.js => devtools/client/application/test/components/fixtures/Services.js
rename : devtools/client/application/test/fixtures/l10n.js => devtools/client/application/test/components/fixtures/l10n.js
rename : devtools/client/application/test/fixtures/stub.js => devtools/client/application/test/components/fixtures/stub.js
rename : devtools/client/application/test/jest.config.js => devtools/client/application/test/components/jest.config.js
rename : devtools/client/application/test/package.json => devtools/client/application/test/components/package.json
rename : devtools/client/application/test/setup.js => devtools/client/application/test/components/setup.js
rename : devtools/client/application/test/yarn.lock => devtools/client/application/test/components/yarn.lock
extra : moz-landing-system : lando
2019-07-08 09:20:28 +00:00
Cosmin Sabou 38de4a72d6 Backed out 1 changesets (bug 1561092) for debugger failures on flow and jest tests. CLOSED TREE
Backed out changeset 109fab16fdda (bug 1561092)
2019-07-08 08:53:09 +03:00
Jason Laster d5e49f826f Bug 1561092 - Fix intermittent browser_dbg-wasm-sourcemaps test. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D36837

--HG--
extra : moz-landing-system : lando
2019-07-07 21:20:49 +00:00
Julian Descottes 5a3789f753 Bug 1563686 - Introduce menu.popupAtTarget to fix zoom issues in netmonitor menus r=nchevobbe
Already tested via toolbox menus in devtools/client/framework/test/browser_toolbox_zoom_popup.js
Could open a follow up to allow for other anchor points than bottom-left.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 14:15:51 +00:00
Nicolas Chevobbe 81e865fd97 Bug 1558248 - Don't clear the completion text when it starts with the typed letters. r=fvsch.
We were clearing the completion text all the time to prevent
a visual glitch while typing (See Bug 1491776). But since we
are now waiting for 75ms before calling the autocomplete
function (which triggers the autocompletion text update), we
have a flash of the completion text, which isn't ideal.
In this patch, we check if the typed letters match the begining
of the completion text, and if they do, we don't clear the
completion text.
In the same time, we set the completion text in absolute position
so it doesn't jump when the new letter is added in the CodeMirror
document.
Finally, we change how the Editor pipe events from CodeMirror to
include parameters, so we can use them in JsTerm.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 10:38:08 +00:00
Yash Johar 26f5af1d30 Bug 1535254 - Update RDM rotate and touch icons to a Photon style. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D32790

--HG--
extra : moz-landing-system : lando
2019-07-06 14:37:17 +00:00
Cosmin Sabou 037c8526b6 Backed out changeset f93a2cb9622e (bug 1563776) for debugger failures on jest-test.config.js. CLOSED TREE 2019-07-06 01:08:37 +03:00
Michael Ratcliffe 5d02b348c1 Bug 1563776 - Fix debugger tests when fx source folder is called firefox r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D37086

--HG--
extra : moz-landing-system : lando
2019-07-05 17:24:22 +00:00
Julian Descottes 15564ff126 Bug 1561304 - Add border to HTML tooltip when not using XUL wrapper r=fvsch
Also changed the border radius to be consistent between doorhanger and arrow style tooltips.
There are still subtle differences between the XUL+arrow/HTML+arrow/XUL+doorhanger, but for now I would just like to fix this before we merge to 70.
Strictly using the photon shadow for doorhangers is too subtle and too inconsistent with our other tooltips, so I used shadow-20.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 07:08:17 +00:00
Victor Porof b8157dfaaf Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE
# ignore-this-changeset

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

--HG--
extra : source : 4722b924e08478f5337ab509718bd66906bf472f
extra : amend_source : a5baa1aab21639fdba44537e3a10b179b0073cb4
2019-07-05 11:29:32 +02:00
Victor Porof 66e8f7440d Bug 1561435 - Fix test failures for devtools/server/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 9238d499b425da9f71e9afa887b200841b73ca1a
extra : intermediate-source : aa4fc8c9ee0d199e5b78bc6827f677605f71e70f
2019-06-19 13:43:15 -07:00
Victor Porof d8903e9911 Bug 1561435 - Fix linting errors for devtools/server/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 5bdd50ed27f18c787fc43b5ffbe3bf778969d759
extra : intermediate-source : cffe7cded9d562e2700c576bce3e2088f4e7882d
2019-06-20 06:26:50 -07:00
Victor Porof 24d2c75470 Bug 1561435 - Format devtools/server/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d2dc183b9bf9086d4b862e0e9a0cfa0bf773193f
2019-07-05 11:26:00 +02:00
Victor Porof 60b8254b35 Bug 1561435 - Update `pageError stubs file` after formatting devtools/client/ by running `browser_webconsole_update_stubs_page_error.js`, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : e550cb2590583e0978a183813069197d65bb4b9e
extra : intermediate-source : 39a13b35139e3d3f7be072a51674e125ff798c66
2019-06-28 23:03:19 +02:00
Victor Porof e22aa772cc Bug 1561435 - Fix test failures for devtools/client/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : b0c4a5ceaa806c7eb0b80373bad03952a8e8e615
extra : intermediate-source : bc3217f46831d07aba771b9f19373190d2122894
2019-06-19 13:31:45 -07:00
Victor Porof 56ef3d5679 Bug 1561435 - Fix linting errors for devtools/client/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 64dd06feccb80551c56339bdf16ee480b94b2d84
extra : intermediate-source : 59239f9cb724bfb9ac79c5e06ac42393e74af328
2019-06-20 06:22:00 -07:00
Victor Porof f6db0ee557 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 60e4496cf9699dc59f2f4738cb60f87cbdb01e67
2019-07-05 11:24:38 +02:00
Victor Porof 57a6febcec Bug 1561435 - Update `pageError stubs file` after formatting testing/ by running `browser_webconsole_update_stubs_page_error.js`, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : ef0ac7e1af4307bd0e8fbefbce2f05a647cde9be
extra : intermediate-source : d05c283a1ffde68231f668ef0c1359c422c5bdbc
2019-06-28 22:48:16 +02:00
Victor Porof 34da32ec3c Bug 1558517 - Pre 3.1: Change conflicting "camelcase" rule which would fail after running Prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34695

--HG--
extra : source : 078747ad644246551a165a176a691e0440553c85
extra : intermediate-source : 3b39b237ae3c49eb6c9d56a2ef8bfb5134b878da
2019-06-12 11:43:25 +02:00
Victor Porof b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Razvan Maries 960e4c47d4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-05 00:43:53 +03:00
Razvan Maries daed363fd7 Merge mozilla-inbound to mozilla-central a=merge 2019-07-05 00:40:17 +03:00
Razvan Caliman 0bde9bbef6 Bug 724505 - Map minified CSS to prettyfied CSS. r=gl
Ensure source links for selectors in the Rules view and warning links in Web Console for minified CSS go to the right location in the Style Editor after applying automatic prettification.

This only works for linked stylesheets. [Bug 1169770](https://bugzilla.mozilla.org/show_bug.cgi?id=1169770) needs to be fixed first before this can work correctly on inline minified stylesheets.

This patch augments the `prettifyCSS()` method to generate the mappings necessary to generate a sourcemap from the original to the prettified source. It uses these mappings to translate the cursor position when invoking the Style Editor to be opened at a specific location.

The mappings from the minified to the prettified source are used only until the stylesheet is changed in the Style Editor. Upon editing the source in the Style Editor, the associated mappings are cleared because it's likely they have been rendered invalid.

The updated stylesheet will already be prettified so it bypasses the `prettifyCSS()` method, thus avoiding the need to re-generate mappings. New CSS warnings will be listed in the Web Console which point to the right location in the edited stylesheet (the old warnings no longer point to the right place, but that's an acceptable side-effect). The Rules view in the Inspector also lists selectors with the new positions within the edited stylesheet.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 17:30:00 +00:00
Csoregi Natalia 0c754625a9 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-04 12:54:22 +03:00
Oana Pop Rus 2ad74ef9f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-04 06:38:21 +03:00
Nicolas Chevobbe a48d2333b8 Bug 1560426 - Fix dead link in getting started page. r=sole.
Differential Revision: https://phabricator.services.mozilla.com/D35486

--HG--
extra : moz-landing-system : lando
2019-07-04 17:06:35 +00:00
J 8d50baa36e Bug 1561755 - Replace flex display badge tooltip with the correct inlineFlex tooltip string id in element-editor.js. r=gl 2019-07-03 14:49:46 -04:00
Yura Zenevich da1fd387a0 Bug 1562194 - update links to MDN since the wording and thus MDN doc headings are updated as well. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D36763

--HG--
extra : moz-landing-system : lando
2019-07-04 14:21:41 +00:00
Yura Zenevich 548f92d410 Bug 1562194 - update heading with no content text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36762

--HG--
extra : moz-landing-system : lando
2019-07-04 10:39:55 +00:00
Yura Zenevich 724ec6a79b Bug 1562194 - update <fieldset> no name from legend text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36761

--HG--
extra : moz-landing-system : lando
2019-07-04 10:38:46 +00:00
Yura Zenevich 459cd85753 Bug 1562194 - update <optgroup> text label audit rules and only keep the text label for optgroup from label rule. r=nchevobbe,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36760

--HG--
extra : moz-landing-system : lando
2019-07-04 15:16:57 +00:00
Yura Zenevich 1012544d50 Bug 1518808 - add accessibility highlighter infobar for text label audit. When accessible object does not pass text label accessibility audit, the infobar will display a short message describing the particular labeling issue. r=nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D35961

--HG--
extra : moz-landing-system : lando
2019-07-04 15:16:57 +00:00
Yura Zenevich a2bb375be2 Bug 1552067 - add checks section for text label audit. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D35497

--HG--
extra : moz-landing-system : lando
2019-07-04 03:36:35 +00:00
Yura Zenevich 76b7fe4f3e Bug 1552067 - move common error/warning/error icons to devtools/client/themes/images/. r=nchevobbe,fvsch
Differential Revision: https://phabricator.services.mozilla.com/D35496

--HG--
rename : devtools/client/themes/images/alert.svg => devtools/client/themes/images/alert-small.svg
rename : devtools/client/themes/images/webconsole/error.svg => devtools/client/themes/images/error-small.svg
rename : devtools/client/themes/images/webconsole/info.svg => devtools/client/themes/images/info-small.svg
extra : moz-landing-system : lando
2019-07-04 03:36:27 +00:00
Julian Descottes 043855ab8e Bug 1562583 - Add license headers in devtools/shared/protocol files r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36480

--HG--
extra : moz-landing-system : lando
2019-07-03 18:00:30 +00:00
Yura Zenevich d1477ea4b5 Bug 1518808 - add accessibility highlighter infobar for text label audit. When accessible object does not pass text label accessibility audit, the infobar will display a short message describing the particular labeling issue. r=nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D35961

--HG--
extra : moz-landing-system : lando
2019-07-03 17:25:13 +00:00
Yura Zenevich 04eaa20e54 Bug 1552067 - add checks section for text label audit. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D35497

--HG--
extra : moz-landing-system : lando
2019-07-03 17:25:06 +00:00
Yura Zenevich 654c4e2673 Bug 1552067 - move common error/warning/error icons to devtools/client/themes/images/. r=nchevobbe,fvsch
Differential Revision: https://phabricator.services.mozilla.com/D35496

--HG--
rename : devtools/client/themes/images/alert.svg => devtools/client/themes/images/alert-small.svg
rename : devtools/client/themes/images/webconsole/error.svg => devtools/client/themes/images/error-small.svg
rename : devtools/client/themes/images/webconsole/info.svg => devtools/client/themes/images/info-small.svg
extra : moz-landing-system : lando
2019-07-03 17:26:43 +00:00
arthur.iakab 7bc47eec9b Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Nicolas Chevobbe 8921a25384 Bug 1562914 - Fix PropTypes error in FilterBar in split console. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D36618

--HG--
extra : moz-landing-system : lando
2019-07-03 11:15:28 +00:00
Nicolas Chevobbe ea96bb70c8 Bug 1562839 - Put editor mode behind a pref. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D36582

--HG--
extra : moz-landing-system : lando
2019-07-03 11:14:22 +00:00
Sebastian Streich ce99ef5438 Bug 1552168 - Fix Tests that rely on data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35006

--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:46 +00:00
Narcis Beleuzu 60d6348455 Backed out 3 changesets (bug 1552067, bug 1518808) as per yzen`s req . CLOSED TREE
Backed out changeset e677852d2ea5 (bug 1518808)
Backed out changeset d60bcc3b1c72 (bug 1552067)
Backed out changeset 2cee1703625e (bug 1552067)

--HG--
rename : devtools/client/themes/images/error-small.svg => devtools/client/themes/images/webconsole/error.svg
rename : devtools/client/themes/images/info-small.svg => devtools/client/themes/images/webconsole/info.svg
2019-07-04 02:21:44 +03:00
Kris Maglione b459f53a11 Bug 1561061: Move SpecialPowers pref env code to parent and make sane-ish. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D35706

--HG--
extra : rebase_source : ec33af8c17048c3828d4ca4643e2e17bd2a854c0
extra : source : c2d0956f41d82e76c682f829807e818863cd802a
2019-06-24 13:47:53 -07:00
Maliha Islam 20343ec334 Bug 1558544 - Fix CSS styling for overlapping sliders on color preview, r=gl
Differential Revision: https://phabricator.services.mozilla.com/D34924

--HG--
extra : moz-landing-system : lando
2019-06-13 21:34:10 +00:00
Ciure Andrei f0ee56947e Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : dc375a75c39378fa7cb5db8220af0ee49528a568
2019-07-03 00:51:32 +03:00
Ciure Andrei d2edc7f197 Merge inbound to mozilla-central. a=merge 2019-07-03 00:47:39 +03:00
Maliha Islam 2d69e323f1 Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257

--HG--
extra : moz-landing-system : lando
2019-07-02 15:47:34 +00:00
Razvan Maries fd165b8d1b Backed out changeset e43b59849492 (bug 1552278) for debugger failure. CLOSED TREE 2019-07-02 20:44:02 +03:00
David Walsh f17e16215c Bug 1552278 - Improve Quick Open animation r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36507

--HG--
extra : moz-landing-system : lando
2019-07-02 16:14:45 +00:00
Alex Rosenfeld 2e33d7a927 Bug 1561577 - prevent default when esc is pressed on shortcutsModal r=jlast
Prevent toggling open Split Console with escape is pressed to toggle shortcutsModal closed.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 16:23:17 +00:00
David Walsh a5e1307a53 Bug 1557895 - Provide a tooltip for directories in the sources tree r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34264

--HG--
extra : moz-landing-system : lando
2019-06-26 18:19:24 +00:00
Jason Laster e508e7c9eb Bug 1553291 - CodeMirror chokes on large minified files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D36237

--HG--
extra : moz-landing-system : lando
2019-06-28 17:22:35 +00:00
Connor Brewster 6180037e31 Bug 1561060 - Enable filter tooltip for backdrop-filter in devtools r=gl
Differential Revision: https://phabricator.services.mozilla.com/D36292

--HG--
extra : moz-landing-system : lando
2019-07-02 00:13:17 +00:00
Greg Tatum 56a3070459 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-07-01 21:53:40 +00:00
Logan Smyth e572b4c130 Bug 1561707 - Support excluding listeners from the event collector list. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D36076

--HG--
extra : moz-landing-system : lando
2019-06-27 06:23:54 +00:00
Gabriel Luong 91807979e8 Bug 1558783 - Fixes the subgrid and parent grid highlighter states when both are highlighted. r=mtigley
This fixes 2 issues that we had when the subgrid and parent grid highlighter are shown:

1) When the subgrid and its parent grid container are both highlighted and the parent grid container
is unhighlighted, we need to still show a translucent parent grid container highlight.

2) Avoid showing a translucent parent grid container highlight for a subgrid, when the
parent grid container is already highlighted.

Differential Revision: https://phabricator.services.mozilla.com/D35725
2019-06-24 17:46:04 -04:00
David Walsh 2eae45b214 Bug 1562249 - Improve perceived performance of column breakpoints by rendering offscreen breakpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36343

--HG--
extra : moz-landing-system : lando
2019-06-28 21:41:43 +00:00
shindli d8e8b80c16 Backed out 2 changesets (bug 1558914) for SM bustages on Array.slice . CLOSED TREE
Backed out changeset ac7ca81ef7c6 (bug 1558914)
Backed out changeset e7fbcb7b6694 (bug 1558914)
2019-07-01 19:02:49 +03:00
Kris Maglione fd61f8b9d4 Bug 1541557: Part 7 - Convert SpecialPowers to use JSWindowActors rather than framescripts. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35057

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.jsm => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/SpecialPowers.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : f3edaf8edc918bb4291b66cb50f4de117f57b2bd
extra : source : 46ff845a7b0cdabf640bb2e3c783735ab68b7cd1
2019-06-12 10:48:29 -07:00
Tom Schuster d572d1339c Bug 1558914 - Remove non-standard Array.sort from devtools test. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D36438

--HG--
extra : moz-landing-system : lando
2019-07-01 12:52:59 +00:00
Nicolas Chevobbe d430ca54b8 Bug 1546917 - Create this.printSimulation in rule.js in the constructor. r=gl.
This fixes an issue in the destroy function without having to guard for the
property existence.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 13:56:55 +00:00
Jatin a9bd762a6a Bug 1554209 - Added spacing to Accessibility icon in RTL Firefox builds. r=yzen,gl
Before this change, the accessibility icon was too close to the text beside it
on the RTL versions of Firefox.
Now a margin has been added to create sufficient space between the icon and
the text.

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

--HG--
extra : moz-landing-system : lando
2019-06-30 19:01:21 +00:00
Csoregi Natalia 29f8e6aebd Merge inbound to mozilla-central. a=merge 2019-06-29 12:59:53 +03:00
Kagami Sascha Rosylight 29904ec6bf Bug 1454622: Remove DOMQuad bounds attribute r=bzbarsky
The bounds attribute has been deprecated and shown zero use, and thus this change removes it.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 02:27:47 +00:00
jaril 6e05066510 Bug 1548369 - Render an SVG in the gap between the token and the preview where it shouldn't unrender the preview right away (WIP)
Still WIP

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:17:51 +00:00
shindli 67c134b492 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-29 02:23:28 +03:00
Gabriel Luong 1aa241f2d1 Bug 1550030 - Part 1: Implement the DOM mutation breakpoint context menu items in the markup view. r=loganfsmyth,jdescottes
This implements the context menu items for the DOM mutation breakpoint.
In addition, there were some server changes to:
- Update the mutationBreakpoints form for the NodeActor
- Expose the mutationBreakpoints form
- Moved the setMutationBreakpoints method from the Node spec to Walker spec
since the Node spec only consisted of getter methods. It made more sense
that the setter went into the Walker spec to be more consistent with how
the Walker and Node spec have been arranged.

Unit tests will be followed up in Part 2 immediately.

Differential Revision: https://phabricator.services.mozilla.com/D36074
2019-06-26 15:16:22 -04:00
Cosmin Sabou 798a05e2dc Merge mozilla-central to mozilla-inbound. 2019-06-28 19:16:36 +03:00
Bryan Kok b425bf8630 Bug 1519315 - Display CodeMirror's gutter in console input when devtools.webconsole.input.editor is true. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D33995

--HG--
extra : moz-landing-system : lando
2019-06-28 16:27:55 +00:00
Julien Wajsberg a0fc08dc4a Bug 1561886 - Color the profiler icon in blue if the profiler is running at startup r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D36198

--HG--
extra : moz-landing-system : lando
2019-06-28 14:12:00 +00:00
Julian Descottes 91b274be5b Bug 1561565 - Add linting rule and update documentation for setupInParent r=ochameau,yulia,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36003

--HG--
extra : moz-landing-system : lando
2019-06-28 12:09:25 +00:00
Julien Wajsberg 050b115653 Bug 1561875 - Increase the profiler's popup's width to fix layout issues on Linux r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D36181

--HG--
extra : moz-landing-system : lando
2019-06-27 23:01:47 +00:00
Razvan Caliman 8eb3b5c195 Bug 1561871 - Restore default numeric value for letter-spacing to 0 in the Font Editor. r=gl
Fix for accidental regression in D35394 form careless copy / paste.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 17:07:43 +00:00
Nicolas Chevobbe 4257b47fac Bug 1519105 - Add a keyboard shortcut to switch between inline and editor mode. r=Honza.
We use Cmd/Ctrl + B to switch between inline and editor mode. This
should be familiar for VSCode users as it toggles the file sidebar.
When changing the layout, we persist the choice into the editor pref
so the user keeps the same layout the next time they open the console.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:25:59 +00:00
Nicolas Chevobbe 66150262ef Bug 1519312 - Render the console input to the left of the panel when editor preference is true; r=Honza.
When the editor preference is true, a CSS class is added to
the panel that allow us to shift the layout to a CSS Grid, where
the input panel is on the left and the output on the right.

A toolbar is added to be able to execute an expression when in
editor mode.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:13:32 +00:00
Nicolas Chevobbe 43fd57f33f Bug 1560804 - Fix double scrollbar in network message detail. r=Honza.
We take this as an opportunity to fix the alignment between the XHR
badge and the URL.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:50:43 +00:00
Jefry Lagrange bd7874038e Bug 1517728 - Export Console content to file. .
Add a context menu entry to export the console output to a file.
We group the 2 export entries into a submenu.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:28:53 +00:00
tanhengyeow 44c6145f6e Bug 1559398 - Implement table and preview sections in WebSocket side panel. r=Honza
Implement table and preview sections in WebSocket side panel.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:24:59 +00:00
lloan fb05c2c381 Bug 1556350 - Each child in an array or iterator should have a unique key prop. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36038

--HG--
extra : moz-landing-system : lando
2019-06-28 07:17:05 +00:00
Gerald Squelart b13eeec2e9 Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:12:57 +00:00
Charlie Marlow 8d6b1bcaa4 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 21:34:33 +00:00
Andreea Pavel ea400c1438 Backed out changeset 21d365e43fec (bug 1561131) for failing test_bug1112014.html on a CLOSED TREE 2019-06-28 00:12:41 +03:00
Andreea Pavel c41e3df739 Bug 1559547 - disabled browser_dbg-worker-scopes.js on linux asan r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36232

--HG--
extra : moz-landing-system : lando
2019-06-27 19:03:46 +00:00
Charlie Marlow 3f0f7ff856 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 18:09:10 +00:00
Razvan Caliman ad206d66fc Bug 1561639 - Simplify handling for font variation instances in Font Editor. r=gl
The Redux action/reducer setup for handling selecting and applying font variation instances is needlessly complex. The indirection is not necessary.

The flow is as follows:
- When a font variation instance (provided by some variable font files) is selected from the _Instances_ select menu, update all variation axes with the values associated with that instance.

- When the user makes any manual change to any of the axis values, save all axis values associated with a "Custom" variation instance. This enables the user to revert to them.

This patch removes the needless indirection about saving the axis values and applying the "Custom" variation instance. The logic is now moved to the UPDATE_AXIS_VALUE reducer.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:20:01 +00:00
Herpiko Dwi Aguno 6edc04621b Bug 1548076. Let the devtools gain focus even if the click hits an empty area on UI. r=jdescottes,yzen
Differential Revision: https://phabricator.services.mozilla.com/D35686

--HG--
extra : moz-landing-system : lando
2019-06-27 13:01:28 +00:00
Nicolas Chevobbe 68245b3595 Bug 1548866 - Fix intermittent failure on browser_webconsole_keyboard_accessibility.js. r=jdescottes.
The failure was happening on window7, which I guess is
pretty slow. Looking at the failure screenshot I was able
to see that the console output was empty.
The test is initially waiting for a 100 messages to be displayed
in the console output.
We are using the waitFor helper function for that. waitFor by default
call the function argument 500 times, at a 10ms interval, and then
fail.
Here, we bump the interval to 100ms, and set the max number of
tries to 500, in order to give extra time for the 100 messages
to be rendered in the output.

Pushed a TV job a re-ran it a few times without seeing the failure,
so the fix should be good.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 12:45:56 +00:00
tanhengyeow c5423a8f4a Bug 1561676 - WebSocket panel crashes in WebConsole. r=nchevobbe,Honza
Hide WebSocketsPanel in console.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:54:37 +00:00
Nicolas Chevobbe c1f5c82eda Bug 1560320 - Dismiss autocomplete on Ctrl+A on OSX. r=Honza.
Ctrl + A moves the cursor to the beginning of the line,
so we need to dismiss autocomplete.
A test case is added to make sure this behaves as
expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:48:34 +00:00
Nicolas Chevobbe 06b2ed9350 Bug 1559329 - Set "group similar messages" to true by default. r=Honza.
This was making browser_webconsole_scroll.js fail.
After some investigation, I found that the `isInWarningGroup`
prop, a function defined in `mapStateToProp` was causing a
re-rendering (because we were creating a new function each
time), impacting the shouldScrollToBottom behaviour.

To fix this, we no longer create a `isInWarningGroup` prop,
but directly use the `isMessageInWarningGroup` selector, which
was modified to take an array of visible messages instead of
the whole state.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:42:15 +00:00
Nicolas Chevobbe 81c6695582 Bug 1559335 - Fix messages ordering when 2 messages have the same timestamp. r=Honza.
If 2 messages are emitted during the same microsecond,
their timestamps are similar, and the sorting we do when
filtering for warning groups might be erroneous.
In such case, we now check the message id, to see which
one we handled first, which should be enough.

A test is added to ensure this works as expected. Basically,
we now render 2 logs one after the another, to increase the
chance they'll get the same timestamp.
The updated test was failing without the fix, and seems to
pass with it.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:41:56 +00:00
Dorel Luca 357997da30 Backed out changeset 5f0520d9b5de (bug 1561639) for ESlint failure 2019-06-27 14:06:28 +03:00
Razvan Caliman 5a3ef1cbf6 Bug 1561639 - Simplify handling for font variation instances in Font Editor. r=gl
The Redux action/reducer setup for handling selecting and applying font variation instances is needlessly complex. The indirection is not necessary.

The flow is as follows:
- When a font variation instance (provided by some variable font files) is selected from the _Instances_ select menu, update all variation axes with the values associated with that instance.

- When the user makes any manual change to any of the axis values, save all axis values associated with a "Custom" variation instance. This enables the user to revert to them.

This patch removes the needless indirection about saving the axis values and applying the "Custom" variation instance. The logic is now moved to the UPDATE_AXIS_VALUE reducer.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 10:35:31 +00:00
Coroiu Cristina f91bd38732 Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03:00
Nicholas Nethercote ca8e78069d Bug 1561491 - Make gfx.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D35975

--HG--
extra : rebase_source : 9090ac828f1da9582510975047d5ad59a228dda5
2019-06-26 10:38:09 +10:00
Gurzau Raul f5eb98192b Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-27 01:04:55 +03:00
Jason Laster 890892c4e2 Bug 1560445 - Extract classes from protocol.js. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D35502

--HG--
rename : devtools/shared/protocol.js => devtools/shared/protocol/Actor.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Actor/generateActorSpec.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Front.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Front/FrontClassWithSpec.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Pool.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Request.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Response.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/types.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/utils.js
extra : moz-landing-system : lando
2019-06-26 15:53:20 +00:00
Logan Smyth 76d6b8f5c2 Bug 1550835 - DOM mutation breakpoint server API. r=jlast,gl
Differential Revision: https://phabricator.services.mozilla.com/D33528

--HG--
extra : moz-landing-system : lando
2019-06-26 06:23:03 +00:00
Florens Verschelde 2eb0a8831a Bug 1558630 - Move Netmonitor tab to 4th place to reflect popularity; r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D35397

--HG--
extra : moz-landing-system : lando
2019-06-26 14:10:38 +00:00
Nicolas Chevobbe 04e73a0fed Bug 1526886 - Convert evaluateJsAsync from Promise to an async function. r=yulia.
We take this as an opportunity to clean-up the function that
waits for the evaluation result.
This change was causing an issue in main.js `_queueResponse`.
Previously, since `evaluateJsAsync` wasn't returning anything,
`_queueResponse` wouldn't be called (See https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/devtools/server/main.js#1305-1308).
But now `ret` isn't falsy (the async function always return a
Promise), which means we ended up trying to send a response.
To fix this, we simply check if the response isn't falsy, or we
bail out.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:28:04 +00:00
Nicolas Chevobbe 082c14256e Bug 1526886 - Fix nits in main.js error messages. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D35984

--HG--
extra : moz-landing-system : lando
2019-06-26 15:27:16 +00:00
jaril 627c8a353c Bug 1560831 - Add getting started docs for setting up mozilla-central. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35631

--HG--
extra : moz-landing-system : lando
2019-06-25 15:43:36 +00:00
Armando Ferreira a7e460857f Bug 1522104 - Re-organise devtools/client/webconsole/components/ folder. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35932

--HG--
rename : devtools/client/webconsole/components/FilterBar.js => devtools/client/webconsole/components/FilterBar/FilterBar.js
rename : devtools/client/webconsole/components/FilterButton.js => devtools/client/webconsole/components/FilterBar/FilterButton.js
rename : devtools/client/webconsole/components/FilterCheckbox.js => devtools/client/webconsole/components/FilterBar/FilterCheckbox.js
rename : devtools/client/webconsole/components/ConfirmDialog.js => devtools/client/webconsole/components/Input/ConfirmDialog.js
rename : devtools/client/webconsole/components/JSTerm.js => devtools/client/webconsole/components/Input/JSTerm.js
rename : devtools/client/webconsole/components/ReverseSearchInput.css => devtools/client/webconsole/components/Input/ReverseSearchInput.css
rename : devtools/client/webconsole/components/ReverseSearchInput.js => devtools/client/webconsole/components/Input/ReverseSearchInput.js
rename : devtools/client/webconsole/components/CollapseButton.js => devtools/client/webconsole/components/Output/CollapseButton.js
rename : devtools/client/webconsole/components/ConsoleOutput.js => devtools/client/webconsole/components/Output/ConsoleOutput.js
rename : devtools/client/webconsole/components/ConsoleTable.js => devtools/client/webconsole/components/Output/ConsoleTable.js
rename : devtools/client/webconsole/components/GripMessageBody.js => devtools/client/webconsole/components/Output/GripMessageBody.js
rename : devtools/client/webconsole/components/Message.js => devtools/client/webconsole/components/Output/Message.js
rename : devtools/client/webconsole/components/MessageContainer.js => devtools/client/webconsole/components/Output/MessageContainer.js
rename : devtools/client/webconsole/components/MessageIcon.js => devtools/client/webconsole/components/Output/MessageIcon.js
rename : devtools/client/webconsole/components/MessageIndent.js => devtools/client/webconsole/components/Output/MessageIndent.js
rename : devtools/client/webconsole/components/MessageRepeat.js => devtools/client/webconsole/components/Output/MessageRepeat.js
rename : devtools/client/webconsole/components/message-types/CSSWarning.js => devtools/client/webconsole/components/Output/message-types/CSSWarning.js
rename : devtools/client/webconsole/components/message-types/ConsoleApiCall.js => devtools/client/webconsole/components/Output/message-types/ConsoleApiCall.js
rename : devtools/client/webconsole/components/message-types/ConsoleCommand.js => devtools/client/webconsole/components/Output/message-types/ConsoleCommand.js
rename : devtools/client/webconsole/components/message-types/DefaultRenderer.js => devtools/client/webconsole/components/Output/message-types/DefaultRenderer.js
rename : devtools/client/webconsole/components/message-types/EvaluationResult.js => devtools/client/webconsole/components/Output/message-types/EvaluationResult.js
rename : devtools/client/webconsole/components/message-types/NetworkEventMessage.js => devtools/client/webconsole/components/Output/message-types/NetworkEventMessage.js
rename : devtools/client/webconsole/components/message-types/PageError.js => devtools/client/webconsole/components/Output/message-types/PageError.js
rename : devtools/client/webconsole/components/message-types/WarningGroup.js => devtools/client/webconsole/components/Output/message-types/WarningGroup.js
rename : devtools/client/webconsole/components/message-types/moz.build => devtools/client/webconsole/components/Output/message-types/moz.build
extra : moz-landing-system : lando
2019-06-26 09:19:54 +00:00
Cosmin Sabou 2fa3b2ee5b Merge mozilla-inbound to mozilla-central. a=merge 2019-06-26 06:58:03 +03:00
arthur.iakab 785bee02e8 Merge mozilla-central to mozilla-inbound 2019-06-26 01:09:31 +03:00
janelledement bec014efe2 Bug 1548933 Preview should ignore search results. r=davidwalsh
This patch addresses bug 1548933.  It adds/removes the preview highlight to related tokens (if necessary) as well as the target token. This happens when one token is broken into pieces due to a search query that only covers part of the token.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:46:14 +00:00
Julian Descottes 9d682b17d1 Bug 1553042 - Enable new about:debugging on all channels r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D35792

--HG--
extra : moz-landing-system : lando
2019-06-25 18:36:02 +00:00
Jim Porter 32b61264e9 Bug 1551992 - Compress profile data before sending to perf-html; r=mstange,julienw
Differential Revision: https://phabricator.services.mozilla.com/D33399

--HG--
extra : moz-landing-system : lando
2019-06-25 09:54:49 +00:00
David Walsh e65a1b74dd Bug 1486416 - Show extension name in the debugger r=jlast,rpl,jdescottes
Showing moz-extension URLs in the debugger is not helpful -- we should display the name of the extension instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 17:17:39 +00:00
David Walsh 8292ca922e Bug 1560642 - Provide URLs as tooltips for hidden tabs r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35578

--HG--
extra : moz-landing-system : lando
2019-06-24 19:02:03 +00:00
Jason Laster a6c6431f41 Bug 1560572 - Format Rust files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35557

--HG--
extra : moz-landing-system : lando
2019-06-25 15:43:34 +00:00
chujun 7a1483fb01 Bug 1520375 Invalid conditional breakpoint only pauses when pauseOnExceptions is checked
test_conditional_breakpoint-03.js tests the behavior of the last case in the [[ https://docs.google.com/spreadsheets/d/1VIQpKgFHv8AhgwUYZ1JaQBr3AOSZojnlcSi6VB4gWUQ/edit#gid=0 | Google sheet ]].

I'm not sure if it's the correct way to test a breakpoint doesn't pause in test_conditional_breakpoint-04.js. Look forward to your feedback.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 14:09:00 +00:00
Gabriel Luong f65cbba81d Bug 1548703 - Rearrange the markup context menu items. r=rcaliman
This patch rearranges the second and third group of context menu items
in the markup context menu.

Differential Revision: https://phabricator.services.mozilla.com/D35675
2019-06-24 13:12:10 -04:00
Ciure Andrei 7e158713cf Merge inbound to mozilla-central. a=merge 2019-06-25 12:39:48 +03:00
Connor Brewster 691d3c2a59 Bug 1555165 - Part 1: Parse backdrop-filter CSS property r=emilio,boris
Differential Revision: https://phabricator.services.mozilla.com/D35816

--HG--
extra : moz-landing-system : lando
2019-06-26 23:02:16 +00:00
lloan 5f8bbed9ba Bug 1174100 - Cache information is not exposed to HAR. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33570

--HG--
extra : moz-landing-system : lando
2019-06-26 15:07:06 +00:00
Brian Hackett 359882bb51 Bug 1484818 - Fix record/replay problems with protocol.js ThreadClient, r=yulia.
--HG--
extra : rebase_source : 71683eca53cc53ba03f3d356bd73c40667d44073
2019-06-20 06:31:55 -10:00
Yury Delendik b29ae38d77 Bug 1560209 - Display original variables in WebAssembly when DWARF is provided. r=jlast
* Use XScopes data to display original varaibles (prototype)
* Move DWARF debugger logic to the separate package.

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

--HG--
rename : devtools/client/debugger/packages/devtools-source-map/src/utils/convertToJSON.js => devtools/client/debugger/packages/devtools-wasm-dwarf/src/convertToJSON.js
rename : devtools/client/debugger/packages/devtools-source-map/wasm/dwarf_to_json.wasm => devtools/client/debugger/packages/devtools-wasm-dwarf/wasm/dwarf_to_json.wasm
extra : moz-landing-system : lando
2019-06-21 20:53:57 +00:00
yulia 8bb0b7b9ac Bug 1559591 - disable start-service-worker test r=jdescottes,yulia
due to leaks related to this test on other linux platforms, we might want to disable this
test on linux in general

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

--HG--
extra : moz-landing-system : lando
2019-06-24 09:11:18 +00:00
Logan Smyth d0d8f42f64 Bug 1561392 - Handle backward-compat for new event-breakpoint implementation. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35847

--HG--
extra : moz-landing-system : lando
2019-06-25 20:17:24 +00:00
Nicolas Chevobbe 85b42f62ab Bug 1358983 - Fix zombie highlighters. r=miker.
Due to how highlighters work, it requires the inspector to be initialized.
It can happen than the user will mouseenter/mouseout on an element that
calls highlight/unhighlight very quickly.
Since the hightlight can take some time, it might happen that the unhighlight
call is handled first, before the highlight call, meaning that we now have an
highlighter displayed, even though the user isn't hovering anything that
should cause this anymore.

This patch introduces a new toolbox function called `getHighlighter` that
returns an object with a `highlight and a `unhighlight` function.
We keep a reference to any possible pending `highlight` call so we can wait
for it to be done in `unhighlight`, before destroying it.

The console makes use of the new helper function, and a test is added to ensure
we don't have zombie highlighters anymore.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:15:57 +00:00
Emilio Cobos Álvarez b301149caa Bug 1536871 - Make 'line-height: normal' return the 'normal' keyword from getComputedStyle() on Nightly and Early Beta, for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D25119

--HG--
extra : moz-landing-system : lando
2019-06-14 09:01:44 +00:00
Florens Verschelde 0baf9163d9 Bug 1560356 - Make sure we only expand one event header at a time; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D35563

--HG--
extra : moz-landing-system : lando
2019-06-21 22:19:23 +00:00
Florens Verschelde 773855f4a1 Bug 1558226 - Use theme-twisty in event tooltip headers; r=miker
- Uses theme-twisty for the triangle icon.
- Icon now has the correct orientation in RTL (handled by theme-twisty styles in common.css).
- Header rows are now always 24px tall excluding the border (before they were all 25px tall, including the first one.
- Accessible text color for event headers (dark theme, was 4.12).
- Make the event name 12px (our usual "biggish font" size, used in accordion headers and tab labels).

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:06:35 +00:00
Razvan Caliman ddacf7fb9f Bug 1559589 - Ensure Font Editor supports "normal" as computed style value for line-height; r=gl
Remove conversion for computed `line-height` value to unitless value to prevent Font Editor from crashing when the patch from [Bug 1536871](https://bugzilla.mozilla.org/show_bug.cgi?id=1536871) is applied (the default computed value for `line-height` is no longer numeric).

Add support for `normal` keyword value for `line-height` as the default returned by `getComputedStyle()`, similar to existing behavior for `letter-spacing`.

Fix misnomer of the class in `LetterSpacing.js` component.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 17:28:21 +00:00
David Walsh 34f1734412 Bug 1560571 - Enable event listener breakpoints r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D35554

--HG--
extra : moz-landing-system : lando
2019-06-21 21:41:56 +00:00
Gurzau Raul e639b0bebd Backed out changeset 5656e43f9b43 (bug 1560006) for debugger test fails at SourcesTreeItem.spec.js
--HG--
extra : rebase_source : bb5081c6c4b2e735f41745bf047a39404cd1e6e4
2019-06-22 01:51:11 +03:00
Nicolas Chevobbe a71fef0c9c Bug 1560429 - Fix low-alpha hexa longAlphaHex getter. r=miker.
A test case is added to make sure this is fixed.
We also add the ability to not run a given test case in the color test.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:17:34 +00:00
Michael Ratcliffe 7b2e58e5d4 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35265

--HG--
extra : moz-landing-system : lando
2019-06-21 21:22:42 +00:00
David Walsh 53fb636dc3 Bug 1557782 - Update event listener breakpoints label to existing tools r=jlast
Per Harald's request

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

--HG--
extra : moz-landing-system : lando
2019-06-21 17:15:43 +00:00
David Walsh ddef526000 Bug 1557784 - Align event listner breakpoint arrows and checkboxes with header r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35540

--HG--
extra : moz-landing-system : lando
2019-06-21 17:15:41 +00:00
J c44db21903 Bug 1558656 - Remove inactive declaration in #inspector-main-content rule in inspector.css. r=gl
One of the css rules appied to this element defines flex: 1 1 auto; but since this element
is not inside a flex container, this declaration is inactive and was removed.
2019-06-26 15:34:42 -04:00
Yury Delendik bfb70f4334 Bug 1560631 - Enable browser_dbg-wasm-sourcemaps.js test r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35574

--HG--
extra : moz-landing-system : lando
2019-06-24 18:44:22 +00:00
David Walsh 6dc75498cf Bug 1560174 - Prevent xmlns warning for breakpoint SVGs r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35362

--HG--
extra : moz-landing-system : lando
2019-06-20 22:21:28 +00:00
David Walsh ff72acb0aa Bug 1560217 - Clean up WhyPaused component r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35390

--HG--
extra : moz-landing-system : lando
2019-06-20 22:22:00 +00:00
Ola Gasidlo 36f5b54e49 Bug 1558755 - Add docs on how to run mochitests in headless mode, r=pbro,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D34683

--HG--
extra : moz-landing-system : lando
2019-06-21 07:55:28 +00:00
Noemi Erli 2d7f1bd4ea Backed out changeset 52bdbeb64586 (bug 1541278) for failures in browser_markup_html_edit_01.js CLOSED TREE 2019-06-21 01:56:32 +03:00
Cosmin Sabou 55afe30077 Merge mozilla-central to autoland. CLOSED TREE 2019-06-21 01:44:45 +03:00
Yura Zenevich c373d8c345 Bug 1559317 - ensure outline is not visible when tbody gets focus on :active. r=mtigley
Depends on D35065

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

--HG--
extra : moz-landing-system : lando
2019-06-20 20:43:58 +00:00
Yura Zenevich 2129218788 Bug 1559316 - ensure badge background does not turn white when tbody gets focus on :active. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35065

--HG--
extra : moz-landing-system : lando
2019-06-20 20:43:35 +00:00
Vikas Prasad Mahato e5e84bc614 Bug 1541278 - Markup View's background flash effect: use yellow from Box Model shift-hover highlight. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D32864

--HG--
extra : moz-landing-system : lando
2019-06-20 20:36:39 +00:00
Cosmin Sabou 149fc6da7d Bug 1557181 - Disable browser_grids_grid-outline-updates-on-grid-change.js cause of frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35233

--HG--
extra : moz-landing-system : lando
2019-06-20 17:02:25 +00:00
Razvan Maries 8ea522bf4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-20 14:19:57 +03:00
Logan Smyth bf92dc5ae0 Bug 1549999 - Use notification infrastructure to implement DOM event breakpoints. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31002

--HG--
extra : moz-landing-system : lando
2019-06-19 22:27:57 +00:00
Dorel Luca 9bedd32999 Backed out changeset 4c6d64a74105 (bug 1559317) for DevTools failures in devtools/client/jsonview/test/browser_jsonview_row_selection.js 2019-06-20 07:38:48 +03:00
Yura Zenevich 61dcf45aaf Bug 1559317 - prevent on mouse down default action on TreeView's tbody so it never gets focused state. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35335

--HG--
extra : moz-landing-system : lando
2019-06-19 18:15:53 +00:00
Gabriel Luong f44521ca57 Bug 1560009 - Clean up the FlexItemSizingOutline component. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35267
2019-06-18 16:35:00 -04:00
Florens Verschelde 849697766d Bug 1555570 - Slightly darken background colors in devtools dark theme; r=rcaliman
Following the color tests in https://bugzilla.mozilla.org/show_bug.cgi?id=1555570#c7
- Use a slightly darker background color for the body background, to improve text-to-background contrast
- As a result, tweak the sidebar and toolbar background, and the selection hover background

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

--HG--
extra : moz-landing-system : lando
2019-06-19 02:07:02 +00:00
Brian Grinstead d99b0feeab Bug 1559208 - Stop setting [devtoolstheme] on browser-bottombox;r=jdescottes
This is unused since gcli removal

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:44:17 +00:00
Patrick Brosset a16af7dace Bug 1559257 - Removing getSameTypeRootTreeItemIgnoreBrowserBoundaries and getSameTypeParentIgnoreBrowserBoundaries usage; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D34940

--HG--
extra : moz-landing-system : lando
2019-06-18 15:59:29 +00:00
Daniel Varga 352fafbea0 Backed out changeset b68dc81adbf9 (bug 1560006) for debugger failure
--HG--
extra : rebase_source : bd86f278fc400e530f3e21d33ae448735b9fd01a
2019-06-20 03:30:26 +03:00
Michael Ratcliffe ca940dcbc5 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
Try is green.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 18:53:57 +00:00
Florens Verschelde 86d301cf44 Bug 1560142 - Improve contrast of string color in dark theme; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35338

--HG--
extra : moz-landing-system : lando
2019-06-19 20:19:14 +00:00
tanhengyeow 1f04945904 Bug 1555625 - Basic skeleton of side panel for WS frames. r=Honza
Implement basic skeleton of side panel for WS frames.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 20:00:30 +00:00
Florens Verschelde 1086bcbf2b Bug 1559081 - Fix RDM toolbar height to match the toolbox; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35088

--HG--
extra : moz-landing-system : lando
2019-06-19 17:18:20 +00:00
Nicolas Chevobbe 9ca9ab3f7f Bug 1553356 - Fix browser_webconsole_warning_groups_filtering.js intermittent. r=Ola.
The failures indicated that some warning messages
were placed before the navigation marker, when they
should be placed after.
We now listen to the `load` event instead of `DOMContentLoaded`
to ensure the page is fully loaded and the warning gets
reported into the right page session.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 12:07:37 +00:00
Brendan Dahl ccb8b2f945 Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 20:40:19 +00:00
Dickson Tan d974e4bf55 Bug 1544773 - fix clicking on disclosures in the console redirecting focus to input. r=nchevobbe
The top-level App component forcefully resets focus to the console input when something in the output gains focus, e.g disclosure toggles, and the clear output button.While this is useful for mouse users when typing, it breaks reading flow for screen reader users when reviewing output, being sent back to input when interacting with disclosures.

This commit prevents the unwanted focus behaviour when clicking by suppressing it in an onMouseDown, and prevents the click event from bubbling to the App component so focus doesn't get reset.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 19:17:58 +00:00
Cosmin Sabou e6c37d6bc0 Bug 1557326 - Disable browser_grids_grid-list-on-mutation-element-added.js on all platforms for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35215

--HG--
extra : moz-landing-system : lando
2019-06-18 11:29:44 +00:00
Csoregi Natalia 00ee9d3ed1 Merge inbound to mozilla-central. a=merge 2019-06-17 00:48:46 +03:00
Brian Hackett f55ecd123b Bug 1551256 - Show net monitor stacks for fetch() calls from workers, r=bzbarsky.
--HG--
extra : rebase_source : e21725f13ffc343befe68b26e4d70fc1a2733005
2019-06-15 06:46:22 -10:00
Nicolas Chevobbe e42e1a1be5 Bug 1558558 - Fix toggle buttons padding and colors. .
Some colors weren't matching the UI spec document,
and the padding was a bit off.

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

--HG--
extra : moz-landing-system : lando
2019-06-16 02:42:07 +00:00
shindli eb7050ee4c Merge inbound to mozilla-central. a=merge 2019-06-16 00:45:47 +03:00
violet 682af614dd Bug 1470695 - Implement overflow-block and overflow-inline properties r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D34738

--HG--
extra : moz-landing-system : lando
2019-06-15 13:09:16 +00:00
Andreea Pavel 8c09b0389f Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingResources.java
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
2019-06-15 12:54:47 +03:00
Nicolas Chevobbe 31d2b0b04a Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

We flip the pref to show content messages ini tests that need them.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 08:07:17 +00:00
Ciure Andrei 2e6ac83efb Backed out changeset 7312aba8ec3b (bug 1558674) for causing browser_console_context_menu_entries.js to permafail CLOSED TREE 2019-06-15 08:48:18 +03:00
Brendan Dahl 7c478fba5b Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 00:27:36 +00:00
Mihai Alexandru Michis cff1990963 Backed out 4 changesets (bug 1545582) for causing build bustages in SavedStacks.cpp CLOSED TREE
Backed out changeset a47c4a44bae0 (bug 1545582)
Backed out changeset c05a5d68d9a8 (bug 1545582)
Backed out changeset 699de45940b1 (bug 1545582)
Backed out changeset 285673afaa99 (bug 1545582)
2019-06-15 02:19:08 +03:00
Greg Tatum 6dc22ec6a1 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-13 20:25:26 +00:00
yulia 4056444ce3 Bug 1559487 - disable browser_application_panel_start-service-worker.js test on linux asan r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D35079

--HG--
extra : moz-landing-system : lando
2019-06-14 21:11:25 +00:00
yulia 9ab3272468 Bug 1494796 - fix verify test r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D34981

--HG--
extra : moz-landing-system : lando
2019-06-14 20:34:04 +00:00
yulia 9d1bf84ed1 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 20:27:35 +00:00
yulia 9ea8f553f1 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:09 +00:00
yulia 4b589da1f6 Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:07 +00:00
yulia 492954347a Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:05 +00:00
yulia 6f57978eb3 Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:11 +00:00
yulia 0f5736a52e Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:59 +00:00
yulia bf027a18fa Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:13 +00:00
yulia 5f77a853c5 Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:17 +00:00
yulia 780b2f0e28 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:57 +00:00
yulia dd7caa0576 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:01 +00:00
yulia 33ce714526 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:15 +00:00
yulia 6816bf4706 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:19 +00:00
yulia e9327cc5a4 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 04:23:55 +00:00
Dorel Luca b4311cbef0 Backed out changeset 6fb248823c0d (bug 1544864) for DevTools failures in devtools/client/webconsole/test/mochitest/browser_console_clear_cache.js. CLOSED TREE 2019-06-14 20:57:29 +03:00
Brian Hackett 90aa1dfe93 Bug 1124122 - Suppress postMessage events on a window's document when event handling is suppressed, r=smaug.
--HG--
extra : rebase_source : 7aa7eceb16238eebe414c67e06fcb0908138f3f6
2019-06-11 12:53:00 -10:00
Gurzau Raul 079e2377e2 Backed out changeset b4f0ee392b97 (bug 1174100) for failing at browser_net_har_import.js on a CLOSED TREE. 2019-06-14 18:27:26 +03:00
Nicolas Chevobbe aaf29517bf Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 13:40:32 +00:00
Gregor Weber a15d4fbe01 Bug 1554881 - Simplify RequestListItem render r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D35010

--HG--
extra : moz-landing-system : lando
2019-06-14 13:38:55 +00:00
lloan ba376c9970 Bug 1174100 - Cache information is not exposed to HAR. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33570

--HG--
extra : moz-landing-system : lando
2019-06-14 12:12:44 +00:00
Jean-Yves Avenard 57cda3041a Bug 1556131 - P2. Don't attempt to needlessly change preference during test. r=bradwerth
In an attempt to reduce intermittent failures, the pref apz.keyboard.enabled is set to false. However, this preference is only ever read once, on startup before any JS test has a chance to run and modify the pref..

It doesn't do what it was thought to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 15:55:48 +00:00
Nicolas Chevobbe f9e6c563e9 Bug 1553127 - Display a warning when place-items or place-content is used on non flex/grid container. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D34843

--HG--
extra : moz-landing-system : lando
2019-06-14 05:50:22 +00:00
Nicolas Chevobbe a986a13e41 Bug 1553127 - Display a warning when `place-self` is used on non flex/grid items. r=pbro.
We take this as an opportunity to add tests for `align-self` as well.
This requires the test to change a bit so we can create more than one
element in order to test the inactive property helper on grid/flex item
(i.e. with a parent flex/grid container).
This is done by providing a `createTestElement` function in the test case,
that  creates whatever nodes it need and append it in the rootNode parameter.
The function then returns the element that needs to be tested with isPropertyUsed.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 05:49:35 +00:00
Narcis Beleuzu 7d018750a1 Backed out 13 changesets (bug 1494796) for dt failures on browser_dbg-navigation.js . CLOSED TREE
Backed out changeset 5db908b26d50 (bug 1494796)
Backed out changeset c48f00f0df72 (bug 1494796)
Backed out changeset 591453b88e8b (bug 1494796)
Backed out changeset a14e820311bc (bug 1494796)
Backed out changeset 0e214d450b35 (bug 1494796)
Backed out changeset 1a4ab8b35a85 (bug 1494796)
Backed out changeset fe1559f5f1d4 (bug 1494796)
Backed out changeset 35d967de4223 (bug 1494796)
Backed out changeset 1d21a55cae15 (bug 1494796)
Backed out changeset 33eec873a43e (bug 1494796)
Backed out changeset 25e69c21dc2e (bug 1494796)
Backed out changeset b900d41c8ae8 (bug 1494796)
Backed out changeset c2a034e34fa6 (bug 1494796)
2019-06-14 07:20:42 +03:00
Narcis Beleuzu 72a734cf98 Backed out changeset aa7f507ac743 (bug 1558674) for dt failures on browser_console_context_menu_entries.js . CLOSED TREE 2019-06-14 05:57:52 +03:00
yulia ee582580f9 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 00:21:41 +00:00
yulia 1c2c423009 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:19:20 +00:00
yulia 98302b3f7b Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:19:02 +00:00
yulia 76b82cde68 Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:40 +00:00
yulia 35d91ebc2b Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:32 +00:00
yulia a2f0af32b2 Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:25 +00:00
yulia 542bcd0e56 Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:19 +00:00
yulia 607a83590c Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:17 +00:00
yulia 2e3fde9d0e Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 00:16:39 +00:00
yulia 844b51e01a Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:28 +00:00
yulia ecc3907641 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:28:03 +00:00
yulia 650d7f9c31 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:14:58 +00:00
yulia 57a1e6ce79 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 00:14:36 +00:00
Brendan Dahl 04a85879bb Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:21 +00:00
Barret Rennie 43bd779652 Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 21:00:34 +00:00
Barret Rennie 2de25cc4ca Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563

--HG--
extra : moz-landing-system : lando
2019-06-13 21:08:40 +00:00
Brindusan Cristian 3f9e2ec379 Backed out changeset 64b2f8306217 (bug 1536871) for dt failures at browser_fontinspector.js. CLOSED TREE 2019-06-14 00:14:16 +03:00
Yury Delendik 827de35634 Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:02:14 +00:00
Narcis Beleuzu ed60adfc3c Backed out 5 changesets (bug 1510569) for bustages on BrowserChild.cpp . CLOSED TREE
Backed out changeset 4f0f5351be8b (bug 1510569)
Backed out changeset 14bbe0916bdd (bug 1510569)
Backed out changeset 19e734aeffa9 (bug 1510569)
Backed out changeset abb51690fd32 (bug 1510569)
Backed out changeset 1bf1907ee0c9 (bug 1510569)
2019-06-13 22:08:23 +03:00
Barret Rennie 75f83f43fc Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 17:55:04 +00:00
Barret Rennie 15c17bbb9f Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563

--HG--
extra : moz-landing-system : lando
2019-06-13 17:54:23 +00:00
Emilio Cobos Álvarez 7d1f93b8c6 Bug 1536871 - Make 'line-height: normal' return the 'normal' keyword from getComputedStyle() on Nightly and Early Beta, for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D25119

--HG--
extra : moz-landing-system : lando
2019-06-13 18:30:07 +00:00
Ciure Andrei 217ab9d060 Backed out 4 changesets (bug 1545582) for causing spidermonkey bustages CLOSED TREE
Backed out changeset c53f9e22d5f7 (bug 1545582)
Backed out changeset 6640b7f3d7e0 (bug 1545582)
Backed out changeset c65de5ec10da (bug 1545582)
Backed out changeset 3224107774b1 (bug 1545582)
2019-06-20 19:39:54 +03:00
Greg Tatum 34c1fdc5b4 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-19 21:08:45 +00:00
arthur.iakab a549fe0532 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 144e998695db067f1dad805e5263b591ed98e50f
2019-06-28 13:10:08 +03:00
Razvan Maries 968156f90a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-28 06:41:53 +03:00
Razvan Maries 6cd0726ada Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-28 00:46:58 +03:00
Brian Hackett 9b229e4f05 Bug 1561327 - Add ReplayDebugger.addDebuggees. 2019-06-27 10:07:15 -10:00
Boris Zbarsky a4410ccb51 Bug 1558726. Stop using [array] in nsISocketTransportService. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D34668

--HG--
extra : moz-landing-system : lando
2019-06-13 04:21:32 +00:00
Nicolas Chevobbe cb521cd00a Bug 1558692 - Fix browser_webconsole_warning_group_multiples.js intermittent. r=bgrins.
Making the URLs unique seems to fix the issue.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 16:04:11 +00:00
Miriam 334b0c25ee Bug 1550064 - Improve debug line highlight visibility.
This implements Victoria's suggestion for improving highlight line visibility.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 15:05:58 +00:00
Jason Laster 4e2a60b020 Bug 1555293 - Fix 0.13 - 0.16% installer size. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34779

--HG--
rename : devtools/client/shared/source-map/worker.js => devtools/client/shared/vendor/whatwg-url.js
extra : moz-landing-system : lando
2019-06-13 14:18:10 +00:00
Nicolas Chevobbe 8c902ec959 Bug 1557632 - Don't check if input is compilable unit on Ctrl+Enter. r=Honza.
In the regular webconsole input, on Enter, we check that the
input is a compilable unit, so the user don't accidentally
execute an incomplete snippet.
In the editor mode, the user will have to use Ctrl/Cmd + Enter to
execute, so we don't have to worry about Enter (it will simply
append a new line).
And since the user might deal with a large number of characters,
we don't want to prevent them to execute. If it's malformed, they
will get an error in the output and can fix their input easily, since
it wasn't cleared.

The patch adds a test to ensure this work as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 12:35:04 +00:00
Nicolas Chevobbe 87dddd801b Bug 1557031 - Fix test leaks caused by InactivePropertyHelper. r=miker.
We put some objects on the InactivePropertyHelper (node, rule),
but never reset those properties, which was causing leaks in some
inspector tests.
This patch adds a unselect function that clears all the references
added in the select function.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 10:51:35 +00:00
Nicolas Chevobbe 90335906a2 Bug 1558805 - Fix test_inspector-inactive-property-helper.html beta permafail. r=jdescottes.
The inactive CSS feature is only enabled in Nightly at
the moment, which is what's causing the test to fail
on beta simulation.
Forcing the pref to true in the test should fix the issue.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 10:27:03 +00:00
yulia efb4e81f0c Bug 1494796 - wait for paintflash requests to settle r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32721

--HG--
extra : moz-landing-system : lando
2019-06-12 23:36:30 +00:00
yulia 19ed9a4da3 Bug 1494796 - wait in aboutdebugging addons nobg test for tabs before closing; r=jdescottes
This test was failing due to the tab closing before a response from the tab was recieved.
It is due to the threadClient closing more quickly. This waits for the last message before closing

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:36:13 +00:00
yulia 69155c39cd Bug 1494796 - fix blob stylesheet test to not fail retrieving sourcemap; r=nchevobbe
this test was failing because the threadClient was posting messages due to being unable to
find the source map. After investigating, I found that the sourcemap was formatted incorrectly. I do
not know if this was intentional. If it wasn't this fix works. If it was, then we need to find a way
to wait on source map failures, and the test name might need to be updated

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:35:49 +00:00
yulia c0aa01fcc2 Bug 1494796 - fix timing issue and rewrite object grip test; r=nchevobbe
There was an issue where this test was timing out, and due to the way it was written it was
very hard to identify where -- there were many nested promises. I rewrote the test in order to
identify the time out.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:35:16 +00:00
yulia 4ca11160ea Bug 1494796 - fix netmonitor test to ensure elements exist on the dom before testing; r=Honza
the test `browser_net_params_sorted` may not have been functioning for some time. While
investigating this, I discovered that we were getting an empty array for `actualKeys`. Iterating
over this array returned immediately. As a result the test always passed, even though the shape of
the data changed. I updated this code so that it waits for the dom to be populated with the number
of keys expected. I also updated the test to reflect the data the front end has today.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:59 +00:00
yulia 41a63bce0d Bug 1494796 - fix timing issues in general tests due to threadClient refactor; r=jdescottes
this patch fixes a few tests that had miscellanous timeouts

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:36 +00:00
yulia 6d5d4fea40 Bug 1494796 - fix timing issues in debugger tests due to threadClient refactor; r=jlast
There were a few miscellaneous situations in which the test would fail due to a hanging
request. These tests passed in the past because the old way of using the threadActor did not
identify which requests had been responded to.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:00 +00:00
violet d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Ehsan Akhgari b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Jason Laster c2697b1ae8 Bug 1531493 - fix intermittent browser_dbg-worker-scopes.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34716

--HG--
extra : moz-landing-system : lando
2019-06-12 21:37:31 +00:00
Edwin Gao cc854e7601 Bug 1555454 - migrate mochitest-devtools-chrome to macosx1014 r=gbrown
Changes:
- migrate `mochitest-devtools-chrome` to macosx1014

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

--HG--
extra : moz-landing-system : lando
2019-06-12 21:21:32 +00:00
Thomas 6d0f6d5946 Bug 1519537 - layout flex inspector - change min/max color in diagram and info chart. r=mtigley
In the layout panel of the inspector, in the flex part, change color of min and max properties.
Change the min/max labels, and lock icon color of the flex outline box to the same color too.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 19:53:34 +00:00
chujun c7b8502fb8 Bug 1536854 - Log errors from logpoint as actual errors in the console r=davidwalsh,nchevobbe
If logpoint throws, set `level` to "error".
Add tests to ensure the correct level is set.

Demo function: https://luxuriant-system.glitch.me/
Add some logpoints. The first two statements are invalid. The third one is valid.
{F1311386}

In console:
{F1311387}

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:10:35 +00:00
Jason Laster 43b1de0cda Bug 1552015 - improve column breakpoint rendering performance.
Differential Revision: https://phabricator.services.mozilla.com/D34711

--HG--
extra : moz-landing-system : lando
2019-06-12 13:24:15 +00:00
Nicolas Chevobbe 9129865b0e Bug 1558468 - Split InactivePropertyHelper test cases in multiple files. r=rcaliman.
This should make the test more managable as we add properties
validators in InactivePropertyHelper.
eslint doesn't support dynamic import yet, so we have to ignore
the test file.

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

--HG--
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/gap.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/max-min-width-height.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/vertical-align.js
extra : moz-landing-system : lando
2019-06-12 09:49:16 +00:00
Belén Albeza 1268639223 Bug 1553783 - Add mochitest for unregister service worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34168

--HG--
extra : moz-landing-system : lando
2019-06-11 21:27:26 +00:00
Belén Albeza 9a15238677 Bug 1553784 - Add mochitest for empty list of service workers r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34154

--HG--
extra : moz-landing-system : lando
2019-06-11 21:23:59 +00:00
Florens Verschelde b2cdaf13a8 Bug 1558403 - Add sidebar background color to SecondaryPanes sidebar; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34520

--HG--
extra : moz-landing-system : lando
2019-06-11 18:34:49 +00:00
Bogdan Tara 22ebc89901 Backed out changeset 6b3192ef9401 (bug 1552015) for es lint failure on visibleColumnBreakpoints.js CLOSED TREE 2019-06-12 04:15:58 +03:00
Miriam a5efe7af40 Bug 1558273 - For arrays and objects, highlight from token to end of line when paused.
Differential Revision: https://phabricator.services.mozilla.com/D34392

--HG--
extra : moz-landing-system : lando
2019-06-10 20:40:04 +00:00
Jason Laster a2f1b1ad93 Bug 1552015 - improve column breakpoint rendering performance. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34358

--HG--
extra : moz-landing-system : lando
2019-06-11 20:44:12 +00:00
Miriam 5a1f34625e Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod
Added proper plural form to editor.searchResults and sourceSearch.resultsSummary1. Updated the comments and IDs for the new strings as well. Replaced all instances of old string references with new string references.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:25:15 +00:00
tanhengyeow 0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Jason Laster 8578b45a14 Bug 1558303 - Stop using immutable.
Differential Revision: https://phabricator.services.mozilla.com/D34411

--HG--
extra : moz-landing-system : lando
2019-06-11 16:15:17 +00:00
David Walsh dee0e36659 Bug 1558237 - Prevent unwanted background for event listener breakpoints toggles r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D34381

--HG--
extra : moz-landing-system : lando
2019-06-11 08:49:38 +00:00
Nicolas Chevobbe 63f04fee2d Bug 1545888 - Use template-styled message with placeholders as warning group labels. r=Honza.
This allows to have more meaningful warning group messages, i.e.
"Content Blocking" is turned into something like "The resource at
'<URL>' was blocked because content blocking is enabled".

This is done by parsing the message of the first warning to put
in the group, and replacing the URL with a generic placeholder.

We take this as an opportunity to decouple content blocked messages
and storage access blocked ones, as they have slightly different
meanings and consequences.

Tests are updated to match the new labels, and a new test is
added to make sure that we can have multiple warning group in a
single "page navigation" session.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 13:47:37 +00:00
Oana Pop Rus f872d9fd84 Backed out changeset de1dc8a5ce54 (bug 1552458) for xpcshell failures on service-worker-registration on a CLOSED TREE 2019-06-11 12:10:59 +03:00
Nicolas Chevobbe 37c48f52e6 Bug 1557324 - Fix JSTerm keyboard navigation in old input. r=Honza.
Hitting Ctrl+ArrowRight didn't have any effect on windows/linux.
The patch fixes this and add a test to make sure a user can
navigate from word to word using Ctrl (or Alt on OSX) and
Arrow Left/Right keys.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:26:22 +00:00
tanhengyeow 5b709c20cd Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:16:31 +00:00
Nicolas Chevobbe fe0fe361da Bug 1557330 - Lowercase node.nodename in InactivePropertyHelper. r=rcaliman.
Element.nodeName is usually all-caps, and we were testing lower cased version,
which brought erroneous results.
The test wasn't picking those errors because we were creating the element from
a XHTML document, where Element.nodeName keep the casing used for their creation.
The test is modified to deal with an HTML document instead.

After the test was modified, I could see it was failing, and was then able to
do the actual feature fix.

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

--HG--
rename : devtools/server/tests/browser/browser_inspector-inactive-property-helper.js => devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html
extra : moz-landing-system : lando
2019-06-11 05:57:13 +00:00
Brian Hackett 3e7cf51dc1 Bug 1558504 - Waive xrays on contents of Set and Map objects when previewing, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D34743

--HG--
extra : rebase_source : 0a7a278afe93c3873b6c90ade98a9271fbff9965
2019-06-12 06:11:48 -10:00
Brian Hackett 82d933962b Bug 1533308 - Report rejected non-exception objects to the console, r=kmag,arai.
--HG--
extra : rebase_source : a226e104ffac8b7db1c5cde797cb0fbe438c1c65
2019-06-11 11:53:27 -10:00
Yura Zenevich e3e6d52193 Bug 1558194 - fix background styling for audit overlay in dark mode. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34353

--HG--
extra : moz-landing-system : lando
2019-06-10 18:40:18 +00:00
Thomas e4fd1c3d23 Bug 1521188 - Indicate grid/flex container/item in infobar highlighter. r=pbro
Indicate in the infobar highlighter if the element is of kind grid or flex, and if it is a container or an item.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:09:56 +00:00
Yura Zenevich 8e39f82bc5 Bug 1558188 - ensure TreeView's tbody container does not get keyboard focus. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34351

--HG--
extra : moz-landing-system : lando
2019-06-10 18:32:40 +00:00
Razvan Caliman d83b76d0d4 Bug 1557063 - Better checks for invalid CSS when using gap, column-gap and row-gap. r=miker,fluent-reviewers,flod
Splits the checks by appropriate container:
- column-gap and gap for flex-container, grid-container and multi-column container
- row-gap only for flex container and grid container

See CSS Box Alignment: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Alignment

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

--HG--
extra : moz-landing-system : lando
2019-06-07 21:09:41 +00:00
Jason Laster 0feee6b2a0 Bug 1527488 - Stop waiting for fetched content. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34075

--HG--
extra : moz-landing-system : lando
2019-06-07 21:27:19 +00:00
David Walsh e5f1dbe9cf Bug 1556308 - Prevent nemonitor errors for failed requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33988

--HG--
extra : moz-landing-system : lando
2019-06-10 16:16:08 +00:00
David Walsh c42d65aba2 Bug 1416916 - Syntax highlight .es# files r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34191

--HG--
extra : moz-landing-system : lando
2019-06-10 15:57:22 +00:00
jaril 69f1083c8c Bug 1553557 - Change preview-selection to preview-token.
Differential Revision: https://phabricator.services.mozilla.com/D34293

--HG--
extra : moz-landing-system : lando
2019-06-10 13:47:45 +00:00
Andreea Pavel 37086877f5 Bug 1531493 - disabled browser_dbg-worker-scopes.js on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D34338

--HG--
extra : moz-landing-system : lando
2019-06-10 14:11:44 +00:00
Nicolas Chevobbe a03be2ac39 Bug 1551612 - Add componentDidCatch in Message component. r=bgrins.
This patch adds a componentDidCatch handler to the Message component
so we don't crash the whole console when a message can't be rendered.
When a message causes a crash, we display an error message instead,
asking the user to file a bug. A button allow to copy the message data
so it can be attached in the bug report.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 06:22:05 +00:00
phoenixabhishek 4deb2657c6 Bug 1525039 - Redesign toggleable buttons. r=ladybenko
The toggle buttons have been redesigned as per the shared mockup

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

--HG--
extra : moz-landing-system : lando
2019-06-10 06:10:25 +00:00
Micah Tigley 246762bd09 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-08 21:35:42 +00:00
David Walsh 7301ca4449 Bug 1556454 - Use consistent red color and show blocked badge for blocked requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33862

--HG--
extra : moz-landing-system : lando
2019-06-07 08:21:24 +00:00
Tim Nguyen d5dcb284d5 Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190

--HG--
extra : moz-landing-system : lando
2019-06-07 21:42:59 +00:00
Dorel Luca c735f1864c Backed out changeset 7bf9069eba43 (bug 1557674) for DevTools failures in devtools/client/storage/test/browser_storage_cookies_tab_navigation.js. CLOSED TREE 2019-06-08 00:10:09 +03:00
Tim Nguyen 4bc7c29815 Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190

--HG--
extra : moz-landing-system : lando
2019-06-07 19:36:00 +00:00
Mihai Alexandru Michis ea44e068e2 Backed out changeset e2af0f70828c (bug 1551612) for causing bc failures in webconsole.properties CLOSED TREE 2019-06-07 19:03:05 +03:00
Neil Deakin 17002c10a5 Bug 1556809, wait for render() method to complete r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D33802

--HG--
extra : moz-landing-system : lando
2019-06-06 17:39:01 +00:00
Nicolas Chevobbe 7939b78f6c Bug 1523864 - Move filter bar layout change to the App level. r=Honza.
This makes the console code more consistent, and adds the
nice benefit of being able to check if the layout should
be modified when performing non-window-resize events that
might still impact the layout (sidebar toggle, sidebar
resizing, ...).

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:23:35 +00:00
Kelly 78da19b9b9 Bug 1523864 Display filter buttons next to filter input if there is enough space. r=Honza
Set a minimum width on the filter bar of the Devtools Console window. When there is enough empty space
to the right of the filterbar, allow the filter buttons to be desplaying inline, rather than on their own
separate row.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:23:16 +00:00
Nicolas Chevobbe 3adf3cc47b Bug 1551612 - Add componentDidCatch in Message component. r=bgrins.
This patch adds a componentDidCatch handler to the Message component
so we don't crash the whole console when a message can't be rendered.
When a message causes a crash, we display an error message instead,
asking the user to file a bug. A button allow to copy the message data
so it can be attached in the bug report.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 13:03:48 +00:00
Belén Albeza 3e3b9a6493 Bug 1553110 - Part 3: add test for Start worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D33929

--HG--
extra : moz-landing-system : lando
2019-06-07 12:57:16 +00:00
Belén Albeza 48588a63c9 Bug 1553110 - Part 2: Disable debugging/start links if sw cannot be debugged (multie10s) r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33637

--HG--
extra : moz-landing-system : lando
2019-06-07 12:58:16 +00:00
Razvan Caliman a01a6f5ce4 Bug 1548833 - Replace message table data with generalized message payload. r=nchevobbe
Follow-up to [Bug 1093953](https://bugzilla.mozilla.org/show_bug.cgi?id=1093953) which introduced a generalized `payload` object for messages to be populated asynchronously with additional  data associated with the message after it is initially received.

The reasoning is: messages can have arbitrary data payload associated with them. The rendering component for the message type will consume and validate that payload data.

Here, we replace the specialized messageTableDataByID with the generalized messagePayloadByID, update corresponding Redux actions, reducers, selectors and tests.

The only place where `tableData` is used is in the `ConsoleApiCall` message type, in the `ConsoleTable` component. We replace it with `payload` which is sent down to all message types anyway.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:25:20 +00:00
Michael Ratcliffe 5964c04dcb Bug 1553472 - Ensure that all DevTools tooltips should conform with the Proton theme r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32309

--HG--
extra : moz-landing-system : lando
2019-06-06 15:09:48 +00:00
Bogdan Tara d2b3af29d9 Backed out changeset f4ea30c29aa7 (bug 1556533) for browser_orientationchange_event.js failures CLOSED TREE 2019-06-07 04:54:14 +03:00
Micah Tigley 08a7bba50b Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-07 00:00:55 +00:00
Csoregi Natalia df1edb3dc0 Merge mozilla-central to autoland. CLOSED TREE 2019-06-07 01:38:51 +03:00
Csoregi Natalia 0bbc9b655d Merge inbound to mozilla-central. a=merge 2019-06-07 00:52:54 +03:00
Bogdan Tara 2fbab54c99 Backed out changeset 91643c6f9a42 (bug 1556533) for es lint failure CLOSED TREE 2019-06-07 00:22:18 +03:00
Michael Ratcliffe 4f40762044 Bug 1493369 - Fix and rewrite browser_storage_updates.js r=rcaliman
### Changes

In a nutshell, the old test produced the occasional orange and was badly written so it was very difficult to follow, especially when there were failures. The new test uses a snapshot system, which is much easier to understand.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=39b92ebbce9ce1ae58f0466ccc1608314257bf81&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0fdf5e246550494e41b1ad88da1258e62a63ab7&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=79489426ffcf177663aceb9db43efabc190de613&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ee7fbfb846be73e08023caddd1baed2e6962d6b&group_state=expanded

That is 1040 successful test runs across all supported operating systems. There is just one window leak, which is common when running a single test in this way.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:26:34 +00:00
Nicolas B. Pierron 7d6c7e92af Bug 1488858 - Rename JSMSG_NOT_NONNULL_OBJECT to JSMSG_OBJECT_REQUIRED. r=jorendorff 2019-06-06 14:25:44 +02:00
shindli f8c85e378a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-06 13:11:16 +03:00
shindli 3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Charlie Marlow 29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Micah Tigley 0b75341190 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-06 19:18:16 +00:00
Yura Zenevich 0759de7245 Bug 1552067 - add filter and badge for text label audit type. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33186

--HG--
extra : moz-landing-system : lando
2019-06-06 05:24:03 +00:00
Yura Zenevich 1deec0a684 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185

--HG--
rename : devtools/server/actors/accessibility/contrast.js => devtools/server/actors/accessibility/audit/contrast.js
rename : devtools/server/actors/accessibility/moz.build => devtools/server/actors/accessibility/audit/moz.build
extra : moz-landing-system : lando
2019-06-06 08:05:19 +00:00
Yura Zenevich a9aa355247 Bug 1552066 - add ALL filter to accessibility checks toolbar. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33184

--HG--
extra : moz-landing-system : lando
2019-06-06 13:53:29 +00:00
Yura Zenevich 8a74234eb8 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Michael Ratcliffe 09cf65be17 Bug 1554841 - l10n corrections in storage inspector cookie table headers r=pbro
### Changes

#### Set 1 - Match cookie creation strings, remove "on" and capitalize.

- Expires on {icon long-arrow-right} Expires
- Last accessed on {icon long-arrow-right} Last accessed
- Created on {icon long-arrow-right} Created
- sameSite {icon long-arrow-right} SameSite

#### Set 2 - Re-add missing strings

- table.headers.cookies.isHttpOnly=HttpOnly
- table.headers.cookies.isSecure=Secure
- table.headers.cookies.hostOnly=HostOnly

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

--HG--
extra : moz-landing-system : lando
2019-06-05 13:11:00 +00:00
Dhruvi Butti 4d7125f280 Bug 1539816 - Always filter the autocomplete popup items if the popup was opened. .
Currently, if the autocomplete preference is set to false, and the user
displays the autocomplete popup with Ctrl + Space, typing other letters
won't filter the popup, which feels very weird.
This patch fixes this behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:05:31 +00:00
janelledement 0e820e6a25 Bug 888161 - Adds download file option to the context menu of source tree items r=davidwalsh
This patch addresses bug 888161 by adding a ‘Download File’ option to the context menu of individual source tree item files.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:42:03 +00:00
Ola Gasidlo ae788a0773 Bug 1473295 - add enviroment for unit tests, r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D32959

--HG--
extra : moz-landing-system : lando
2019-06-06 13:49:49 +00:00
Ryan Duffy bd1d104ad9 Bug 1527488 - Change debugger build to support lazy loading modules
Differential Revision: https://phabricator.services.mozilla.com/D32865

--HG--
extra : moz-landing-system : lando
2019-06-06 13:02:36 +00:00
Nicolas Chevobbe 74f4a28c13 Bug 1556068 - Track JsPropertyProvider's analyzeInput string and bail if it's taking too long. r=Honza.
It can happen that the string we receive is quite large
and as a result takes a long time to analyze, freezing
the process.
This patch simply tracks for how long the for loop is running,
and bail out if it's greater than a given time (set to 2500 ms
for now).
This is mostly a safeguard, a future patch should try to improve
the performance of the function itself.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 13:08:21 +00:00
Brian Hackett f169f9c96f Bug 1325195 Part 2 - Remove worker specific code in object previews, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D32874

--HG--
extra : rebase_source : d262de290a5a8de56085e614cd01435d91b9dee3
2019-05-28 08:33:00 -10:00
Brian Hackett 60bf728495 Bug 1545400 - Increment recursion depth when debugger has saved a thread's microtasks, r=arai,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D32889

--HG--
extra : rebase_source : 33e2c281ef94a565fe4fc1d1490e41d005f7835b
2019-05-28 10:28:03 -10:00
arthur.iakab 94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
Micah Tigley 03e3d3a28d Bug 1351487 - Part 2: Add tests for ensuring that window screen sizing values reported in RDM are correct. r=bradwerth
Depends on D32410

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

--HG--
extra : moz-landing-system : lando
2019-06-05 00:29:36 +00:00
chujun aef340f83f Bug 1488662 Change go to line shortcut to Ctrl+G r=davidwalsh
The current “go to line” keyboard shortcut `CmdOrCtrl+;` conflicts with the “step in” shortcut. The "go to line" shortcut is replaced with the shortcut for Chrome debugger and Sublime Text: `Ctrl+G`. Upper or lower cases don’t matter.

1. Current behavior:
1a) With no file open in editor; or with a file open in editor, but not pausing at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` opens the “go to line” box.

1b) Pause at a breakpoint:
`Cmd+;` runs `step in`, and also opens the “go to line” box;
`Cmd+Shift+;` runs `step over`, and also opens the “go to line” box.

2) Code changes:
2a) Create gotoLineModal.key3.
2b) Update localization note.
2b) Update snapshot test.

3) After the code changes, on macOS:
3a) With no file open in editor:
`Ctrl+G` opens the “go to line” box.

3b) With a file open, but not pausing at breakpoints:
`Ctrl+G`opens the “go to line” box; hitting `Ctrl+G` again or `escape` closes the box.

3c) Pause at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` doesn’t open the “go to line” box.
`Ctrl+G` opens the “go to line” box.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 01:25:36 +00:00
Julian Descottes 39072efb4b Bug 1556652 - Document how to create perf profiles on try for DAMP r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33601

--HG--
extra : moz-landing-system : lando
2019-06-04 12:44:57 +00:00
Gabriel Luong 6c4bdbacd6 Bug 1550519 - Show a translucent parent highlight when a subgrid is highlighted. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32507
2019-05-24 14:02:14 -04:00
Nicolas B. Pierron 1040b3de0b Bug 1533132 - Index JSMSG_SET_NON_OBJECT_RECEIVER MDN documentation. r=fscholz 2019-06-05 19:15:35 +02:00
Mihai Alexandru Michis c70fbfe90e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 18:56:22 +03:00
Gabriel Luong 86e6780079 Bug 1556729 - Set the node value when rendering the TextNode component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33709
2019-06-04 17:25:29 -04:00
Mihai Alexandru Michis 153172de0c Merge inbound to mozilla-central. a=merge 2019-06-05 12:51:25 +03:00
Narcis Beleuzu 83a9f3a6b3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-05 00:52:43 +03:00
Nicolas Chevobbe 54361ce6cb Bug 1551586 - Display a warning when min-width, min-height etc. are used incorrectly. r=miker,fluent-reviewers,flod.
This introduce a new form of invalid messages. Until now, all the
messages were like "X has no effect on this since it's not Y".
But in this case, the width/height properties applies to all but
a few cases, which means we can't really keep the same shape of
message (or it would be "since it's not A, B, C, D, ...).
So we're switching to a message that prints the display property
of the element ("X has no effect on this element since it has a
display of Y").
In order to do that, we need to pipe the element computed display
into the inactive tooltip.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 20:33:58 +00:00
Charlie Marlow da73c04156 Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-04 22:04:14 +00:00
Gabriel Luong 37d4796343 Bug 1556729 - Only call setState for the TextNode when the value has changed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33672
2019-06-04 13:57:47 -04:00
Narcis Beleuzu 49c534e5b2 Backed out changeset 49fbf60f938d (bug 1550519) for dt failures on grid-inspector.js . CLOSED TREE
--HG--
extra : rebase_source : 3da4c4f1341edc7cc5137e7a63f4c869862d894f
2019-06-04 22:43:03 +03:00
Daniel Varga 2289134635 Backed out changeset 96ea626be10a (bug 1553472) fot devtools failure at devtools/client/framework/test/browser_toolbox_zoom_popup.js. On a CLOSED TREE 2019-06-04 20:45:54 +03:00
Francis Houle 6ab927ce7f Bug 1552806 - Remove 'tabs' mention from setup page intro text. r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D33114

--HG--
extra : moz-landing-system : lando
2019-06-04 16:21:04 +00:00
Bogdan Tara ae2ef98e40 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-04 19:08:56 +03:00
Bogdan Tara 0152d321a5 Merge inbound to mozilla-central. a=merge 2019-06-04 19:05:52 +03:00
Julian Descottes eedc5b96dd Bug 1556434 - Use JSON reporter for DevTools jest tests on Try r=nchevobbe,Ola
This should be less fragile to catch regressions on try.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 12:29:43 +00:00
Michael Ratcliffe 08dff5b395 Bug 1553472 - Ensure that all DevTools tooltips should conform with the Proton theme r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32309

--HG--
extra : moz-landing-system : lando
2019-06-03 14:38:58 +00:00
Michael Ratcliffe 90435c49d2 Bug 1553468 - Dark theme color fix for the markup view's Inactive elements r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32147

--HG--
extra : moz-landing-system : lando
2019-06-03 14:39:21 +00:00
Nicolas Chevobbe 02dab6edec Bug 1556743 - Fix typo in warningGroup setting label. r=sole
Differential Revision: https://phabricator.services.mozilla.com/D33638

--HG--
extra : moz-landing-system : lando
2019-06-04 15:27:53 +00:00
Emilio Cobos Álvarez 1e7b303431 Bug 1539469 - Make all input elements display: inline-block, for compat with other UAs. r=mats
See https://github.com/whatwg/html/issues/4082 for the data and some comments
from Boris and David.

I didn't look into fixing the font-inflation reftests, see bug 1540176 for that.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 15:39:47 +00:00
Tim Nguyen 98fab8cd1a Bug 1551870 - Reintroduce netmonitor-toolbar-container in single-toolbar mode so React doesn't re-render the toolbar when switching panels. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33616

--HG--
extra : moz-landing-system : lando
2019-06-04 15:06:06 +00:00
Belén Albeza 49e70f547d Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32736

--HG--
extra : moz-landing-system : lando
2019-06-04 14:50:39 +00:00
Belén Albeza 0b00781fa0 Bug 1554133 - Part 1: move about:debugging's l10n module to a shared folder r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32735

--HG--
extra : moz-landing-system : lando
2019-06-04 14:08:50 +00:00
Bogdan Tara 5273a6b844 Backed out 2 changesets (bug 1554133) for package related build bustages CLOSED TREE
Backed out changeset 72ae1ac933ac (bug 1554133)
Backed out changeset c48321582c78 (bug 1554133)
2019-06-04 17:05:53 +03:00
Belén Albeza 89b8d31ca7 Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32736

--HG--
extra : moz-landing-system : lando
2019-06-03 12:16:27 +00:00
Belén Albeza bf6dcc9cc5 Bug 1554133 - Part 1: move about:debugging's l10n module to a shared folder r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32735

--HG--
extra : moz-landing-system : lando
2019-06-03 12:15:17 +00:00
Gurzau Raul 37c91988a5 Backed out changeset 37918f3c49df (bug 1551870) for eslint failure at browser_net_filter-value-preserved.js on a CLOSED TREE. 2019-06-04 16:17:17 +03:00
Tim Nguyen 858cf4d572 Bug 1551870 - Reintroduce netmonitor-toolbar-container in single-toolbar mode so React doesn't re-render the toolbar when switching panels. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33616

--HG--
extra : moz-landing-system : lando
2019-06-04 12:53:16 +00:00
Gurzau Raul 7553da5d5b Bug 1506032 - disabled browser_toolbox_window_reload_target.js on win, linux and mac r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33618

--HG--
extra : moz-landing-system : lando
2019-06-04 11:47:10 +00:00
Mihai Alexandru Michis 09cd19a7b2 Backed out 4 changesets (bug 1555511) for devtools failures at browser_viewport_resizing_minimum_scale.js CLOSED TREE
Backed out changeset 80b9b4eb8305 (bug 1555511)
Backed out changeset d9ce18a4d7cd (bug 1555511)
Backed out changeset 5e9e587d0622 (bug 1555511)
Backed out changeset 24e136f27469 (bug 1555511)
2019-06-04 12:43:01 +03:00
Julian Descottes abbd1fe8d2 Bug 1533111 - Wait after opening aboutdebugging in multie10s test to avoid timeouts r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D33480

--HG--
extra : moz-landing-system : lando
2019-06-04 08:28:37 +00:00
Andrea Marchesini 176b3f8e39 Bug 1556419 - cookie path should not contain the last '/', r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33500

--HG--
extra : moz-landing-system : lando
2019-06-04 02:42:57 +00:00
Razvan Caliman 89a6536b37 Bug 1555064 - (Part 2) Centralize the list of supported pseudo-classes. r=gl
Depends on D32867

Reference the shared list of pseudo-elements throughout the codebase:
- markup view context menu + test
- Rule editor
- box model highlighter
- node actor
- new Rules view

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

--HG--
extra : moz-landing-system : lando
2019-05-30 16:14:53 +00:00
Razvan Caliman 212aac6c2b Bug 1555064 - (Part 1) Generalize creation and handling of pseudo-class toggles in the Rules view. r=gl
- Removes the hardcoded references from `index.xhtml` and `rules.js` and uses a centralized list of pseudo-classes to generate the checkboxes for the supported pseudo-class locks at runtime.

- Streamlines the handling for pseudo-class locks state. Fixes Bug 1536676 as a side-effect.

- Updates tests.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:22:18 +00:00
Bryan Kok 7c048f1c6d Bug 1519314 - Enter should create a new line, Ctrl-Enter should execute the input when 'devtools.webconsole.input.editor' is true. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32612

--HG--
extra : moz-landing-system : lando
2019-06-03 15:03:05 +00:00
Coroiu Cristina b2c75da135 Backed out changeset ba1f75c56457 (bug 1555150) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js 2019-06-04 07:52:50 +03:00
Brad Werth 08b5f65dc3 Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100

--HG--
extra : moz-landing-system : lando
2019-06-03 18:28:54 +00:00
Brad Werth b9368b4a3e Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362

--HG--
extra : moz-landing-system : lando
2019-06-03 18:28:42 +00:00
Charlie Marlow a2861fd11e Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-03 19:43:08 +00:00
Emilio Cobos Álvarez 749db71829 Bug 1554150 - Hide some appearance values from content. r=mats
They're not used internally either, so remove all ability to address them.

I haven't removed the implementation yet, as some of them are quite complex, and
I don't have a mac / windows build. We should do that when this hits release
though.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 17:32:48 +00:00
Micah Tigley 5609541472 Bug 1554695 - RDM reports incorrect angle when rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33546

--HG--
extra : moz-landing-system : lando
2019-06-03 20:24:02 +00:00
Nicolas Chevobbe 978aa39f4f Bug 1525618 - Add an option in the settings panel to toggle warning groups. r=Honza.
We also listen for the warningGroup preference change to
toggle warningGroups in the console output.
If warningGroups were disabled, we need to loop through
the state messages to create warningGroups when needed.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:10:45 +00:00
Nicolas Chevobbe 7c5f1956ab Bug 1552434 - Move timestamp preference change handler. r=rcaliman.
We move the observer declaration closest to where the store is created
so we can dispatched action more easily.
We put all the observers in a Map so we can remove them easily when
destroying the console panel.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:10:14 +00:00
Nicolas Chevobbe c03f5e6b19 Bug 1555339 - Add a test for InactivePropertyHelper isPropertyUsed. r=pbro.
Since isPropertyUsed takes an HTMLElement and its computed style, we
need to have access to the DOM, and can't use an xpcshell test.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 12:16:44 +00:00
Tushar b7d2d86b34 Bug 1548627 - Increase width of computed-style inspector to fit widest properties. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D33113

--HG--
extra : moz-landing-system : lando
2019-06-03 09:03:11 +00:00
lloan 102432df24 Bug 1555909 - Remove workaround for cleanup the list on destroy. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33444

--HG--
extra : moz-landing-system : lando
2019-06-03 07:35:04 +00:00
Gurzau Raul aea781583c Backed out 4 changesets (bug 1555511) for failing at browser_viewport_resizing_minimum_scale.js
Backed out changeset 6988b151bbe7 (bug 1555511)
Backed out changeset aa1c32a38785 (bug 1555511)
Backed out changeset 999f3af17edf (bug 1555511)
Backed out changeset 1069871269f7 (bug 1555511)
2019-06-03 03:25:58 +03:00
Brad Werth 8620747298 Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100

--HG--
extra : moz-landing-system : lando
2019-05-31 22:11:46 +00:00
Brad Werth c6faf20b00 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362

--HG--
extra : moz-landing-system : lando
2019-05-31 22:11:24 +00:00
Dorel Luca f8b1143315 Merge mozilla-inbound to mozilla-central a=merge 2019-06-02 12:43:23 +03:00
Yura Zenevich f46fa84727 Bug 1556135 - only check if the current node is null in getClosestBackgroundImage. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33396

--HG--
extra : moz-landing-system : lando
2019-06-01 23:16:01 +00:00
Micah Tigley 6530cdd60b Bug 1107456 - Part 2: Test that RDM's viewport's outer size values remain unaffected at different zoom levels. r=bradwerth
Depends on D32778

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

--HG--
extra : moz-landing-system : lando
2019-05-31 17:45:21 +00:00
Jason Laster 59a1eb73d0 Bug 1552039 - filter breakpoints to the right of the line. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D33012

--HG--
extra : moz-landing-system : lando
2019-05-31 21:15:43 +00:00
jaril f655de653b Bug 1548369 - Don't unrender preview when hovering from preview back to token. r=jlast
When hovering from the preview of tokenA back to tokenA, the preview shouldn't unrender and the rerender.

Before:
{F1318568}
After:
{F1318569}

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

--HG--
extra : moz-landing-system : lando
2019-05-31 19:25:35 +00:00
Daisuke Akatsuka 948456cbea Bug 1554868: Remove 'complexity' rule of eslint. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33141

--HG--
extra : moz-landing-system : lando
2019-05-31 07:53:38 +00:00
Ashley Hauck 7205b26ed3 Bug 1538375 - Don't deopt on debugger statements. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D33219

--HG--
extra : moz-landing-system : lando
2019-05-31 17:34:46 +00:00
ravefalcon92 066936706c Bug 1543859 - Refactored treeOrder code to remove duplicate code and make it simple to add r=davidwalsh
new exceptions in sorting the sourcesTree

Refactored treeOrder code to remove duplicate code and make it simple to add
new exceptions in sorting the sourcesTree

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

--HG--
extra : moz-landing-system : lando
2019-05-29 18:02:17 +00:00
Jason Laster e52ffa5c23 Bug 1553895 - Fix directory roots for directories below workers. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32379

--HG--
extra : moz-landing-system : lando
2019-05-31 13:44:01 +00:00
Greg Tatum 8ed1db88b3 Bug 1307227 - Add a runtime check for when the profiler button is enabled and checked; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D31663

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:25 +00:00
Greg Tatum eccc1fe1ef Bug 1307227 - Integrate the profiler popup widget into the browser; r=jdescottes
This commit takes the popup, and wires it up the button using the
CustomizableUI interface. It is integrated with the DevTools initialization
code.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:18 +00:00
Greg Tatum ae0bdac16c Bug 1307227 - Ensure the provider is always initialized for calls to lazyRequireGetter; r=ochameau
The performance profiler pop-up menu wants to be near DevTools, but work
without the complete DevTools initialization. This patch ensure that
any calls to lazyRequireGetter properly initialize the provider.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:03 +00:00
Greg Tatum ac6c65f4d0 Bug 1307227 - Update the profiler's popup code to work in Gecko; r=julienw
This commit represents the changes needed to convert the existing
Gecko Profiler Add-on code to work outside of the WebExtensions
environment. A following commit will actually wire it into the
rest of the browser.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 15:53:46 +00:00
Greg Tatum f59b172f85 Bug 1307227 - Copy over the Gecko Profiler Addon files; r=julienw
This bug's first commit will be a non-working revision.

These files are taken from:

68d5de9c9f

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

--HG--
extra : moz-landing-system : lando
2019-05-31 16:07:09 +00:00
Dorel Luca 72973df697 Backed out changeset 95ffb38f6a64 (bug 1555518) for Debugger failure. CLOSED TREE 2019-05-31 18:17:11 +03:00
Yury Delendik c2d8717df1 Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)

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

--HG--
extra : moz-landing-system : lando
2019-05-30 01:01:19 +00:00
Emilio Cobos Álvarez 19258bfbb4 Bug 1554716 - Remove nsStyleColor moving the color property to nsStyleText. r=jfkthame
I think this is a good change regardless of other discussion in bug 1552587. If
we decide to move `mColor` to the top-level of the struct that can be done
separately.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 14:48:22 +00:00
Gabriel Luong e73b26a82d Bug 1555114 - Convert the TextEditor markup into a React component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32882
2019-05-28 15:42:28 -04:00
Daniel Varga f35d98dcc4 Merge mozilla-central to mozilla-inbound 2019-06-01 12:45:58 +03:00
arthur.iakab 36d75a7e56 Merge mozilla-central to mozilla-inbound 2019-06-01 01:30:47 +03:00
Andrea Marchesini b1b122fb20 Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33031

--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +00:00
Julian Descottes f6e56257dd Bug 1550651 - Remove AboutDebuggingNew component registration r=daisuke
The component is no longer needed since we enabled the new aboutdebugging by default on Nightly

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

--HG--
extra : moz-landing-system : lando
2019-05-28 01:20:08 +00:00
Julian Descottes c356104909 Bug 1553214 - add fallback value for pageError.cssSelectors r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33069

--HG--
extra : moz-landing-system : lando
2019-05-31 08:11:13 +00:00
Julian Descottes 71458e86e7 Bug 1555732 - Update mozilla-central-mappings to support new location of menu-item helper in devtools-core r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D33190

--HG--
extra : moz-landing-system : lando
2019-05-31 07:59:53 +00:00
Gabriel Luong f5bd87247f Bug 1550519 - Show a translucent parent highlight when a subgrid is highlighted. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32507
2019-05-24 14:02:14 -04:00
Ehsan Akhgari adf073ce68 Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32925

--HG--
extra : moz-landing-system : lando
2019-06-04 17:27:43 +00:00
jaril e57c4bd27b Bug 1553557 - Assign and remove token highlights through popup lifecycle.
Token highlights should disappear when no longer hovered on a token. Sometimes it stays on after scrolling in the editor. This seemed to have been caused by the way we select which token was hovered on when removing the highlight, which is based off of the cursor position. That method is not as reliable when scrolling, which was causing the bug.

Instead, we can just use the `target` property of the preview at the time the popup is mounted/unmounted to reliably add and remove the token highlight class.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 18:58:17 +00:00
Jason Laster 2e54b109b8 Bug 1441183 - Resume lands on the same location. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D33571

--HG--
extra : moz-landing-system : lando
2019-06-05 18:42:58 +00:00
David Walsh 496b70d268 Bug 1552061 - Keep scrolling location for individual documents r=jlast
Ensures scroll position stays the same between tab switches while paused and not paused.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 18:33:25 +00:00
Daniel Holbert 4e2947f721 Bug 1556855 part 5: Update devtools css database. r=mats
This patch was generated automatically by running ./mach devtools-css-db

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

--HG--
extra : moz-landing-system : lando
2019-06-05 18:23:10 +00:00
Belén Albeza d4b067645c Bug 1553110 - Part 1: Share the workers-listener module between the new about debugging and application panel r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D33024

--HG--
rename : devtools/client/aboutdebugging-new/src/modules/workers-listener.js => devtools/client/shared/workers-listener.js
extra : moz-landing-system : lando
2019-06-04 13:59:39 +00:00
Daisuke Akatsuka 251261a129 Bug 1554809: Change the event which decides whether need to wait for rendering detail pane, and wait for rendering detail pane at point needs. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33774

--HG--
extra : moz-landing-system : lando
2019-06-05 11:09:02 +00:00
Daisuke Akatsuka 002c2ce79d Bug 1506032: Wait for documentUnload and newRoot events are fired. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33749

--HG--
extra : moz-landing-system : lando
2019-06-05 10:12:34 +00:00
Brad Werth d5b5784233 Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100

--HG--
extra : rebase_source : da266fd0f9b8b684c6dec90bba505b2ab29eed35
extra : source : e0cd61fa79ed1971595aaba6124a4ad07448f409
2019-06-04 22:25:12 +00:00
Brad Werth 8cac9e2706 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362

--HG--
extra : rebase_source : 17a93bbbac7f70f15e3f0ab99005ba2da5dd11d9
extra : source : 8c6e5561abed4b92ab1e722bf24a19b2152e3720
2019-06-04 22:25:08 +00:00
Brendan Dahl 4480082295 Bug 1553188 - Fix renaming browser.xul to browser.xhtml name change in devtools test. CLOSED TREE 2019-05-31 11:44:20 -07:00
Brian Grinstead 402bc3a970 Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree

Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
shindli c9ee4bb3ac Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
2019-06-06 13:51:59 +03:00
Ola Gasidlo 7b5fdcd2db Bug 1548465 - Fix jest tests with localization, r=ladybenko,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33160

--HG--
extra : moz-landing-system : lando
2019-06-06 09:44:18 +00:00
yulia fd9524f7ff Bug 1042642 - Do not pass the threadClient to EnvironmentClient during instantiation in tests; r=jdescottes
r=jdescottes

turns out we were incorrectly passing the threadClient to the environmentClient while
instantiating in one of the tests. It worked before because the threadClient exposed the API surface
of the debugger-client.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 09:02:03 +00:00
yulia ae4a4c8517 Bug 1042642 - Stop using the DebuggerClient instance to listen for ThreadClient events in tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29375

--HG--
extra : moz-landing-system : lando
2019-05-30 08:38:51 +00:00
yulia a9f8c70111 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373

--HG--
extra : moz-landing-system : lando
2019-05-30 08:37:55 +00:00
yulia 29a61755bc Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371

--HG--
extra : moz-landing-system : lando
2019-05-29 15:51:28 +00:00
yulia 41a557e3b1 Bug 1042642 - do not use DebuggerClient for functions that should only take ThreadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29370

--HG--
extra : moz-landing-system : lando
2019-05-29 15:46:02 +00:00
Michael Ratcliffe 0771ce1232 Bug 1553467 - [Inactive CSS] Increase the tooltip's visual padding to match the attached mockup. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32140

--HG--
extra : moz-landing-system : lando
2019-05-29 12:40:53 +00:00
Florens Verschelde ba5741d87f Bug 1555304 - Fix size of print simulation icon; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33002

--HG--
extra : moz-landing-system : lando
2019-05-29 17:50:01 +00:00