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

15603 Коммитов

Автор SHA1 Сообщение Дата
Jason Laster 4f2055890d Bug 1497393 - replace onPauseChange with native threadClient event. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D26754

--HG--
extra : moz-landing-system : lando
2019-04-09 20:18:48 +00:00
Oriol Brufau 0c1218e4d5 Bug 1541422 - Escape special characters in autocomplete. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26617

--HG--
extra : moz-landing-system : lando
2019-04-09 16:46:34 +00:00
Micah Tigley 480b976719 Bug 1282084 - Don't allow RDM to show triggered hover states while touch is enabled. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26053

--HG--
extra : moz-landing-system : lando
2019-04-09 14:23:32 +00:00
Nicolas Chevobbe bc581a4d5e Bug 1534927 - Create warningGroup outside of console.group. r=Honza.
With this patch, we always create warningGroups outside of the outermost
console.group the first warning message could be in.
This is done because we don't want a warningGroup to be burried in a console.group,
or worse, in a console.groupCollapsed, where it wouldn't be visible at all.

The messages reducer is modified to do that, and a test is added
to ensure all the group interactions work as expected.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 14:05:04 +00:00
Cosmin Sabou a0d1e27a85 Backed out 3 changesets (bug 1539344) for devtools failures on browser_toolbox_target.js. CLOSED TREE
Backed out changeset 878f78400ed7 (bug 1539344)
Backed out changeset 8b3d1e3ae296 (bug 1539344)
Backed out changeset 29b64aed3474 (bug 1539344)
2019-04-09 14:03:07 +03:00
Alexandre Poirot 24425de294 Bug 1540694 - Removed scopedCuImport usages. r=jdescottes
ChromeUtils.import no longer pollute the global scope,
so we can switch to it and remove this ancient helper.

Depends on D26078

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:44:03 +00:00
Alexandre Poirot 953f28d1a8 Bug 1540694 - Fix DEBUG_DEVTOOLS_ALLOCATIONS now that DevTools share the unique system compartment. r=jdescottes
In bug 1517210, DevTools started sharing the same compartment than JSMs.
So we can no longer use a Debugger instance bound to jsdebugger.jsm as it
would run in the same compartment than DevTools code we want to inspect
from the allocation tracker.
Instead, we instantiate the Debugger from a custom Sandbox loaded
in a unique and distinct compartment.

Depends on D26077

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:19 +00:00
Alexandre Poirot 9a96c419f3 Bug 1540694 - Remove unecessary import-globals-from. r=jdescottes
Now that there is a shared head.js, the import-globals-from is done from there.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:17 +00:00
Noemi Erli 4d1c376ac0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-09 13:00:14 +03:00
Noemi Erli dd7e27f4a8 Merge inbound to mozilla-central. a=merge 2019-04-09 12:55:19 +03:00
Belén Albeza a0613f0489 Bug 1539344 - Part 3: add Jest tests to check display of debug target type info r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25376

--HG--
extra : moz-landing-system : lando
2019-04-09 09:50:49 +00:00
Razvan Maries a3e3bcf2fe Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-04-09 06:43:36 +03:00
Andrew McCreight 1b901ff2db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 21:39:27 +00:00
Belén Albeza f142e50fd7 Bug 1539344 - Part 2: display target type icon in DebugTargetInfo component r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25375

--HG--
extra : moz-landing-system : lando
2019-04-08 12:52:03 +00:00
Belén Albeza 5b663e7187 Bug 1539344 - Part 1: share constants between about:debugging and DebugTargetInfo r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25374

--HG--
extra : moz-landing-system : lando
2019-04-08 09:18:58 +00:00
Brian Hackett ffa20b4d14 Bug 1542659 Part 3 - Avoid throwing when enumerating proxy properties, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26453

--HG--
extra : rebase_source : 136c986b58610ac72603a4016de98cef149dff1b
2019-04-07 16:02:42 -10:00
Brian Hackett e3e30e99e4 Bug 1542659 Part 2 - Remove unnecessary ReplayInspector instrumentation, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D26452

--HG--
extra : rebase_source : 596c0dbe2f29ab74d1253aeeb0e73e666a69c34a
2019-04-07 16:02:04 -10:00
Brian Hackett 7154d679ab Bug 1542659 Part 1 - Hook require() when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26451

--HG--
extra : rebase_source : 6697485b1dc098d6b276957953b537bfdcfb1109
2019-04-07 16:00:49 -10:00
Ciure Andrei 9df9f73d71 Backed out changeset 8de77b46cd56 (bug 1529867) to remove the disable for browser_dbg-windowless-workers.js a=backout
--HG--
extra : histedit_source : d960a236d71f480dfee881e02d5c629d96170c74
2019-04-08 21:53:27 +03:00
Nicolas Chevobbe c25d4ff00b Bug 1542721 - Fix console mocha tests. r=bgrins.
Adding a mock for devtools/shared/layout/utils fixes the test.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 16:44:03 +00:00
Dorel Luca ca1e4e263d Backed out changeset 4fef2150bef9 (bug 1534984) for DevTools Failures in devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js. CLOSED TREE 2019-04-08 19:23:02 +03:00
Belén Albeza d3d11b05a5 Bug 1505368 - Show error page in about:devtools-toolbox when target is destroyed r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D20315

--HG--
extra : moz-landing-system : lando
2019-04-08 15:41:38 +00:00
Micah Tigley a17d89a9d3 Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl
Differential Revision: https://phabricator.services.mozilla.com/D25142

--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:57 +00:00
Micah Tigley 270557bf86 Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl
Differential Revision: https://phabricator.services.mozilla.com/D25142

--HG--
extra : moz-landing-system : lando
2019-04-08 20:22:12 +00:00
Hemakshi Sachdev 6c85a24a58 Bug 1538171 - Remove the style-editor-options-popup XUL menupopup from the StyleEditor and use the JS Menu API instead. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26075

--HG--
extra : moz-landing-system : lando
2019-04-08 13:16:46 +00:00
Andreea Pavel 4ebc473f0c Bug 1529867 - Disable browser_dbg-windowless-workers.js on windows ccov, mac !debug and linux for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D25511

--HG--
extra : moz-landing-system : lando
2019-04-08 13:19:44 +00:00
Dorel Luca 762bb29429 Merge mozilla-central to autoland 2019-04-08 13:49:06 +03:00
Dorel Luca 1be446680f Merge mozilla-inbound to mozilla-central. a=merge 2019-04-08 13:45:29 +03:00
Julian Descottes b6dc05b08d Bug 1539071 - Wait for toolbox destroy to finish before reloading toolbox tab;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D26010

--HG--
extra : moz-landing-system : lando
2019-04-08 09:42:24 +00:00
Mellina Yonashiro 16ecae45e0 Bug 1538108 - Hide the computed expander and shorthand overridden list in the new rules view when the computed values are empty r=gl 2019-04-08 01:27:47 -04:00
Logan Smyth 57e7f884ac Bug 1540803 - Fix flakey test by waiting for source to fully load. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26260

--HG--
extra : moz-landing-system : lando
2019-04-07 13:18:51 +00:00
Ciure Andrei 3ff6ff6d6f Backed out changeset 5937ad352b2d (bug 1542024) for perma failing 406106-1.html CLOSED TREE 2019-04-09 00:12:32 +03:00
Razvan Maries d497a06e29 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-04-08 23:59:57 +03:00
Andrew McCreight ccc11f67db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

I did a tiny bit of cleanup in the nsIXPConnectJSObjectHolder case of
DelegatedQueryInterface().

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:44:45 +00:00
Brian Hackett 12b3f158bd Bug 1497393 Part 9 - Add test for inspector support while replaying.
--HG--
extra : rebase_source : 19577fa7a3fab74be208e6805d39fab737e88cc1
extra : histedit_source : 9daa438bf16c0e3fbfc6d3d37b322421b1b0f5b2
2019-03-09 16:46:39 -10:00
Brian Hackett 09aed40948 Bug 1497393 Part 8 - Client side changes for inspector support while replaying, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D22864

--HG--
extra : rebase_source : e553f8caf0d105c2692253cdebe8c5f2ae6402e4
extra : histedit_source : e781b3fd08134a521205c7b6ab829692ecd6a06a
2019-03-09 16:46:16 -10:00
Brian Hackett f4af857cef Bug 1497393 Part 7 - Server side changes for inspector support while replaying, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D22863

--HG--
extra : rebase_source : 1069a8534dd79e1d2cf309c9d3f3c27079077087
extra : histedit_source : 1a750a022d46da836181f913d012081ea608da7f
2019-03-09 16:45:50 -10:00
Brian Hackett c27709d468 Bug 1497393 Part 6 - Emit event when the debugger pauses or resumes, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22862

--HG--
extra : rebase_source : e3f7f651439798c139f9e89834d071be67bca493
extra : histedit_source : 8c53059c88a67a2eba76bd8a1e01b58645712d50
2019-03-09 16:42:20 -10:00
Brian Hackett eefdeac0e8 Bug 1497393 Part 5 - Add ReplayInspector module for accessing objects in a replaying process, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22861

--HG--
extra : rebase_source : 63c20073bb6e76d882ed0719e550685b2874a28e
2019-03-09 16:41:32 -10:00
Brian Hackett e96d35aa99 Bug 1497393 Part 4 - Suppress event handling at the usual times in server when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22860

--HG--
extra : rebase_source : f2daf3cf81931052e80a50d4f9057808d335328c
2019-03-09 16:40:40 -10:00
Brian Hackett 7d26be7959 Bug 1497393 Part 3 - Remove ReplayDebuggerObject.global, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22859

--HG--
extra : rebase_source : e5e63bf1da796a3131ed1948c5b9f38f316bc2df
2019-03-09 16:39:02 -10:00
Brian Hackett f5672e6b59 Bug 1497393 Part 2 - Tweak definition of target.isReplayEnabled(), r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22858

--HG--
extra : rebase_source : a8d0aeaf08920454dd27084c3e1663719d0116bf
2019-03-09 16:38:34 -10:00
Brian Hackett 0e51aaf966 Bug 1497393 Part 1 - Add isReplaying global to server bindings, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22857

--HG--
extra : rebase_source : 14b0daad9f6ef4f372b44e0081bd5ff9b1d270cf
2019-03-09 16:37:20 -10:00
Brian Hackett a278b7606d Bug 1535362 - Add a Context object for rejecting out of date client operations, r=loganfsmyth.
--HG--
extra : rebase_source : 157eceedb2ff8df3b4217d3821d98ed2a9f6dc3f
2019-04-05 16:49:33 -10:00
Andreea Pavel 4146c75e78 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-06 13:58:33 +03:00
shindli bd30279387 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-06 00:53:02 +03:00
Ehsan Akhgari 9d957462b6 Bug 1533584 - Part 2: Make sure browser_storage_listings.js does not depend on the value of the privacy.documentCookies.maxage pref
Landed on a CLOSED TREE

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

--HG--
extra : moz-landing-system : lando
2019-04-05 18:16:06 +00:00
Logan Smyth a3ee4f41cb Bug 1541258 - Handle the generated source not being found to avoid flakiness. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26342

--HG--
extra : moz-landing-system : lando
2019-04-05 18:35:45 +00:00
David Walsh 76f00e70d7 Bug 1541563 - Sync 131 - Align watch expressions and scopes pane r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25995

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:29 +00:00
David Walsh 1578579b3e Bug 1541563 - Sync 131 - Fix string linkification greediness r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25994

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:22 +00:00
David Walsh c8835a2c67 Bug 1541563 - Sync 131 - Render href attribute in String rep URLs. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25993

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:20 +00:00
David Walsh 32b408dd23 Bug 1541563 - Sync 131 - Upgrade launchpad r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25992

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:13 +00:00
David Walsh 2574a8e5dc Bug 1541563 - Sync 131 - Fix sourcemaps test click position after SVG update r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25991

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:08 +00:00
David Walsh 00394217bb Bug 1541563 - Sync 131 - Use SVG files for breakpoints directly r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25990

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:04 +00:00
David Walsh c2880f865d Bug 1541563 - Sync 131 - refactor: specialize svg to breakpointsvg r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25989

--HG--
extra : moz-landing-system : lando
2019-04-05 17:33:02 +00:00
David Walsh 2405ab5a37 Bug 1541563 - Sync 131 - Display Date object using `toString` instead of `toISOString` r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25988

--HG--
extra : moz-landing-system : lando
2019-04-05 17:31:11 +00:00
David Walsh 648f497a12 Bug 1541563 - Sync 131 - Upgrade eslint-mozilla r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25987

--HG--
extra : moz-landing-system : lando
2019-04-05 17:30:43 +00:00
David Walsh 499adcfc41 Bug 1541563 - Sync 131 - Aligned breakpoints and XHR breakpoints panes r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25986

--HG--
extra : moz-landing-system : lando
2019-04-05 17:30:36 +00:00
Brian Hackett 9d0a86d61e Bug 1540848 - Fix various problems with breakpoint syncing, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26264

--HG--
extra : rebase_source : 58e1604a3a215a94707dba7003b0343bffa2ee0e
extra : histedit_source : 590d81e10722ed8c88a8764e68f8a8e3c6d79374%2Ccef866d1a5dacb7eb0e021db3cf52f6f3e97e965
2019-04-04 14:41:48 -10:00
Carolina Jimenez Gomez 930c75ee4b Bug 1480925 - Removes anti-patterns related with Ci.nsIWhatever. r=keeler,yzen
Differential Revision: https://phabricator.services.mozilla.com/D25686

--HG--
extra : moz-landing-system : lando
2019-04-05 16:51:16 +00:00
Brad Werth f244327b14 Bug 1541158 Part 2: Add a test that only RDM content is affected by full zoom changes. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26041

--HG--
extra : moz-landing-system : lando
2019-04-05 07:37:55 +00:00
Brad Werth 78a001a38a Bug 1541158 Part 1: Passthrough zoom to RDM document. r=pbro
This ensures that any changes to zoom level, when RDM is active,
happen on the content document and not on the RDM interface.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 16:52:12 +00:00
Nicolas Chevobbe 998fff76b7 Bug 1541352 - Debounce autocompletion action in JSTerm. r=ochameau.
Debouncing the autocomplete action allow us to not do too many
requests as the user is typing, which should make typing in the
console faster, especially on slow machine or on debug builds.

The tests shouldn't be impacted as we listen for a specific event
in them.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 13:27:33 +00:00
Jason Laster bd97e0f18a Bug 1542230 Editor breakpoint should fill the gutter. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26299

--HG--
extra : moz-landing-system : lando
2019-04-05 14:02:54 +00:00
Nicolas Chevobbe f90be1933c Bug 919711 - Add a CodeMirror inputStyle to make it accessible; r=bgrins.
This copies what's done in Chrome DevTools to make codeMirror more accessible.
A new input mode is added which overrides the default `textarea` one.

This makes the "Edit as HTML" feature usable for people relying on screen readers.
This may be used in the future in the console, where we could remove the legacy
console input and serve the CodeMirror instance for everyone.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 13:43:10 +00:00
Paul Adenot 914aa0bd2a Bug 1541097 - Fix test by waiting for each steps. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D26302

--HG--
extra : moz-landing-system : lando
2019-04-05 13:31:00 +00:00
David Walsh 742034f638 Bug 1542008 - Update flow config so flow runs locally r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D26220

--HG--
extra : moz-landing-system : lando
2019-04-04 23:45:07 +00:00
Carolina Jimenez Gomez 8093499470 Bug 1512505 - Log a message in web console when a site is only supporting TLS 1.0 or 1.1. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D25660

--HG--
extra : moz-landing-system : lando
2019-04-04 23:37:20 +00:00
David Walsh cb2da09956 Bug 1540792 - Show element highlighter when hovering an element in Scopes/Watch Expression/Popup r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D25635

--HG--
extra : moz-landing-system : lando
2019-04-04 15:03:22 +00:00
Laphets 62b3b67137 Bug 1442249 - Add Copy context menu to PropertiesView. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D23770

--HG--
extra : moz-landing-system : lando
2019-04-04 16:57:22 +00:00
Nicolas Chevobbe 59d2fffc4a Bug 1541413 - Fix Error rep parseStackString function. r=davidwalsh.
If the stacktrace wasn't similar to SpiderMonkey structure,
we could end up calling the match function on a null variable,
which would throw (and ultimately display the safenet Invalid Object
element).
The fix is simple, we guard on the variable before calling match
on it.
Test cases are added to ensure we can deal with different kind
of stacktraces.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 15:15:35 +00:00
Yura Zenevich 663f9a19bc Bug 1538281 - make tree view row keyboard navigation consistent with other shared components. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D24538

--HG--
extra : moz-landing-system : lando
2019-04-04 14:12:37 +00:00
Noemi Erli 3b9d1e0855 Backed out changeset 04537ce859c9 (bug 1540741) for causing debugger failure CLOSED TREE
--HG--
extra : amend_source : 08ac5a92c9de1e63f52ccf079df71f4d9d7729db
2019-04-04 17:18:00 +03:00
Jan Odvarko 42178a3779 Bug 1540741 - Warning: Each child in an array or iterator should have a unique "key" prop. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D25743

--HG--
extra : moz-landing-system : lando
2019-04-03 16:08:07 +00:00
Cosmin Sabou 4b11d72042 Backed out changeset b147830dc59e (bug 1505368) for devtools node failures. CLOSED TREE 2019-04-04 14:24:41 +03:00
lloan 24668051a3 Bug 1537616 - File column shows full URL. r=Honza
The File column in Network monitor regressed to show the full URL while it should just show the parts after the domain.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 10:54:23 +00:00
Belén Albeza c61cfda3a0 Bug 1505368 - Show error page in about:devtools-toolbox when target is destroyed r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D20315

--HG--
extra : moz-landing-system : lando
2019-04-04 10:39:31 +00:00
Tom Glowka 63616d31d5 Bug 1085481 - Fix generating curl commands with multipart payload r=Honza
Fix main bug. Refine output of curl with multipart data payload.
Add missing units tests, including regression tests.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 09:21:20 +00:00
Barret Rennie 163ec0ba8b Bug 1510569 - Port onProgressChange notifications inside WebProgressChild.jsm to C++ r=baku
We do not need to handle onProgressChange64 notifications since the TabChild's
web progress events are filtered through an nsBrowserStatusFilter, which
truncates onProgresChange64 event values to 32-bit integers and then calls
onProgressChange.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:41 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 611cae7854 Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24811

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:40 +00:00
Mellina Yonashiro d86639abde Bug 1536937 - On hover classes and functions variations outline panel r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24253

--HG--
extra : moz-landing-system : lando
2019-04-03 20:48:19 +00:00
Ehsan Akhgari b63138b85d Bug 1541248 - Make sure browser_storage_values.js does not depend on the value of the privacy.documentCookies.maxage pref; r=baku on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D25878

--HG--
extra : source : cc704998fa1500bc170cba068d1731aab64057c7
extra : histedit_source : 033596cba01318aad1a61454d9ad1d4b7b64f87b
2019-04-03 05:17:52 +00:00
Andreea Pavel fc8cdc560c Backed out changeset cc704998fa15 (bug 1541248) for browser_storage_listings.js on a CLOSED TREE 2019-04-03 23:35:26 +03:00
Ehsan Akhgari d68918fbd2 Bug 1541248 - Make sure browser_storage_values.js does not depend on the value of the privacy.documentCookies.maxage pref; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25878

--HG--
extra : moz-landing-system : lando
2019-04-03 05:17:52 +00:00
Jan-Erik Rediger 6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Dorel Luca 1d1a8d9b10 Backed out changeset 29af6bb009d2 (bug 1538281) for Devtools failures in devtools/client/jsonview/test/browser_json_refresh.js. CLOSED TREE 2019-04-03 19:47:57 +03:00
Yura Zenevich b0899e3156 Bug 1538281 - make tree view row keyboard navigation consistent with other shared components. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D24538

--HG--
extra : moz-landing-system : lando
2019-04-03 14:36:42 +00:00
Dhyey Thakore ce20e0f1c1 Bug 1003153 - Add keyboard shortcut to hide sidebar. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D22129

--HG--
extra : moz-landing-system : lando
2019-04-03 12:51:53 +00:00
Coroiu Cristina e77251af23 Backed out changeset d124ebd3b9eb (bug 1538281) for mochitest failures e.g. devtools/client/inspector/extensions/test/browser_inspector_extension_sidebar.js on a CLOSED TREE 2019-04-03 14:32:00 +03:00
Yura Zenevich 177f4b2913 Bug 1538281 - make tree view row keyboard navigation consistent with other shared components. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D24538

--HG--
extra : moz-landing-system : lando
2019-04-03 00:36:03 +00:00
Jason Laster 9260de38e4 Bug 1474609 - Improve exception logging during Debugger main module loading. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D25215

--HG--
extra : moz-landing-system : lando
2019-04-02 17:32:34 +00:00
Jason Laster f1c9b634c0 Bug 1539493 - memoize setSymbols call. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25307

--HG--
extra : moz-landing-system : lando
2019-04-02 16:02:34 +00:00
Razvan Caliman f8ea28c7d6 Bug 1536237 - Refactor unit conversion in Font Editor. r=pbro
Depends on D25087
Simplified the convertUnits() method by externalizing the logic to get the reference node, reference box and reference font size value used when converting between units.

The result is easier to read, but more importantly it reduces the cyclomatic complexity which trips the ESlint "complexity" rule and triggers a backout.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 17:49:49 +00:00
Razvan Caliman 39477782f7 Bug 1536237 - Add support for letter spacing in Font Editor. r=gl
- Reads the value for the letter-spacing CSS property and shows it in the Font Editor. When it is default, show the "normal" identifier. As soon as the user tries to edit it using the value slider, switch to an em-based value.

- Tweaks the unit conversion method to support letter-spacing: using correct reference node for em units, returning high-precision results even for pixels (allow sub-pixel precision)

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

--HG--
extra : moz-landing-system : lando
2019-04-02 17:51:50 +00:00
Gerald Squelart e1bd1f5588 Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24891

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:55 +00:00
Gerald Squelart e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from `match` to `operator()` - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Nicolas Chevobbe 0911e4e600 Bug 1540108 - Fix Alt+Arrow{Left/Right} key when autocomplete is open. r=Honza.
Navigating with Alt + arrow keys on OSX when the autocomplete popup
was open wasn't closing the popup, which could lead to weird behavior.

The test asserting arrow keys behavior is modified to ensure
this works as expected on all the different platforms.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 14:51:37 +00:00
Nicolas Chevobbe 824f236f79 Bug 1540546 - Fix browser_webconsole_warning_groups.js beta permafail. r=aryx.
Differential Revision: https://phabricator.services.mozilla.com/D25748

--HG--
extra : moz-landing-system : lando
2019-04-02 14:35:32 +00:00
Patrick Brosset e351fb03ae Bug 1539989 - Add a background on :hover of font names; r=rcaliman
Depends on D25598

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

--HG--
extra : moz-landing-system : lando
2019-04-02 14:00:18 +00:00
Patrick Brosset 3bf2a3501d Bug 1539989 - Change the font highlighter's background color to match other highlighters; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D25598

--HG--
extra : moz-landing-system : lando
2019-04-02 13:59:29 +00:00
Paul Adenot 2ca28a05ed Bug 1375562 - Test the interaction of AudioContext::Suspend and breakpoints. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24916

--HG--
extra : moz-landing-system : lando
2019-04-02 11:09:32 +00:00
Bisola Omisore 360f8973bc Bug 1506540 - Conforming style tweaks to Custom Request Panel in net monitor (button states, header title behaviour). r=Honza
Increase the minimum width of the custom method value to make all options appear comfortably.
Fix Custom Request Panel header title wrap bug.
Style & position Custom Requeset Panel buttons properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:22:30 +00:00
Hemakshi Sachdev 39cc87d692 Bug 1434848 - StatusBar tries to updates on every state update and its render is slow. r=Honza
Converted StatusBar to a Component and added a `shouldComponentUpdate` method to prevent unnecessary updates.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:09:30 +00:00
Nicolas Chevobbe ad4932c97a Bug 1540625 - Fix isInWarningGroup invalid PropTypes. r=Honza.
The propType is changed to *not* required as the function is
only passed when the grouping pref is true.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:51:30 +00:00
Dhyey Thakore cb61e41e7a Bug 1258809 - fix and re-enable netmonitor devtools details UI test, r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24003

--HG--
extra : moz-landing-system : lando
2019-04-02 11:17:00 +00:00
Ian Moody da57ddce6d Bug 1539265 - Make ::marker pseudo-elements always visible in the markup view. r=jdescottes,mbalfanz,pbro
Instead of only when setting devtools.inspector.showAllAnonymousContent.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:36:27 +00:00
Ian Moody 8bceae1489 Bug 1539265 - Handle ::marker pseudo-elements in reps. r=jdescottes,nchevobbe
Only place reps can display a ::marker currently is in the animation panel.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:36:20 +00:00
Ian Moody fdb2b8f412 Bug 1539265 - Add ::marker to the list of suggested pseudo selectors. r=jdescottes
For autocompletion of : in selector contexts, like the Style Editor.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:46:09 +00:00
Ian Moody 65872bf468 Bug 1539265 - Add ::marker pseudo-element handling to WalkerIndex. r=jdescottes
So ::marker pseudo elements can be found via searching for "::marker" in the
markup view.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:46:02 +00:00
Ian Moody adf896c1ab Bug 1539265 - Don't represent ::marker pseudo-elements with the internal _moz_generated_content_marker tagName in the markup view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25108

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:55 +00:00
Ian Moody 85f74da0e4 Bug 1539265 - Add a few optimisations for ::marker pseudos. r=jdescottes
Where there is existing for ::before and ::after.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:53 +00:00
Ian Moody 7e5567449a Bug 1539265 - Handle ::marker pseudos during drag & drop of nodes in the markup view. r=jdescottes
Prior to this the tab would crash with signature [@ nsINode::InsertChildBefore ]
if trying to insert before the ::marker.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:45 +00:00
Ian Moody 53e960c394 Bug 1539265 - Add isMarkerPseudoElement function to layout/utils.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25105

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:38 +00:00
Ian Moody 71b7e1fa5d Bug 1539265 - Handle ::marker pseudo-elements in css-logic.js, so their rules show in the rule view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25071

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:31 +00:00
Ian Moody 00591e61ad Bug 1539265 - Add a test for ::marker displaying in the markup view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25070

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:23 +00:00
Ian Moody 34c44989b0 Bug 1539265 - Handle ::marker pseudo-elements on shadow roots in walker.js. r=jdescottes
At the moment when devtools.inspector.showAllAnonymousContent is true shadow
hosts with ::marker and ::before pseudos will stop showing the ::before and
won't show the ::marker either.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:16 +00:00
Dhyey Thakore 091278a83c Bug 1539423 - Netmonitor docs: http/2 response headers are in small case r=Honza
Add comment in HeadersPanel

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:39:55 +00:00
Daisuke Akatsuka 6e1f56419f Bug 1505131: Add a test for connection state on sidebar. r=jdescottes
Depends on D25033

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

--HG--
extra : moz-landing-system : lando
2019-04-02 06:44:32 +00:00
Daisuke Akatsuka 9439d08d5c Bug 1505131: Show warning when the connecting is taking time. r=jdescottes,flod
Depends on D25033

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

--HG--
extra : moz-landing-system : lando
2019-04-02 06:22:33 +00:00
Daisuke Akatsuka 5783c1a339 Bug 1505131: Show error message when the connecting was failed. r=jdescottes,flod
Depends on D25032

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

--HG--
extra : moz-landing-system : lando
2019-04-02 06:44:34 +00:00
Daisuke Akatsuka cde6cfbbf8 Bug 1505131: Change the label and status of connection button when start to connect. r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D25032

--HG--
extra : moz-landing-system : lando
2019-04-02 06:21:23 +00:00
David Walsh 901af55a55 Bug 1540172 - Align close button at top for expressions r=nchevobbe
Corrects the vertical alignment of the close button for watch expressions.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 06:16:25 +00:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
arthur.iakab cf3b3f1eb5 Backed out 11 changesets (bug 1539265) for causing debugger failures CLOSED TREE
Backed out changeset 8206b880f9ec (bug 1539265)
Backed out changeset be9f5f73bdfe (bug 1539265)
Backed out changeset f78146b8aa17 (bug 1539265)
Backed out changeset 18fa7e971a0d (bug 1539265)
Backed out changeset 6eaf5bdd945c (bug 1539265)
Backed out changeset 3add7d4d4853 (bug 1539265)
Backed out changeset 8015aeb5279d (bug 1539265)
Backed out changeset 19c8e404ac5f (bug 1539265)
Backed out changeset 637a9d6af0f3 (bug 1539265)
Backed out changeset 72bbb4b28932 (bug 1539265)
Backed out changeset 931e98129878 (bug 1539265)
2019-04-02 02:44:43 +03:00
Ian Moody f49fd7257c Bug 1539265 - Make ::marker pseudo-elements always visible in the markup view. r=jdescottes,mbalfanz,pbro
Instead of only when setting devtools.inspector.showAllAnonymousContent.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:46:11 +00:00
Ian Moody 1ab46df9b0 Bug 1539265 - Handle ::marker pseudo-elements in reps. r=jdescottes,nchevobbe
Only place reps can display a ::marker currently is in the animation panel.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:47:16 +00:00
Ian Moody c7a42da3f6 Bug 1539265 - Add ::marker to the list of suggested pseudo selectors. r=jdescottes
For autocompletion of : in selector contexts, like the Style Editor.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:59 +00:00
Ian Moody ecf9944c5a Bug 1539265 - Add ::marker pseudo-element handling to WalkerIndex. r=jdescottes
So ::marker pseudo elements can be found via searching for "::marker" in the
markup view.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:54 +00:00
Ian Moody efc53df901 Bug 1539265 - Don't represent ::marker pseudo-elements with the internal _moz_generated_content_marker tagName in the markup view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25108

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:49 +00:00
Ian Moody 76dd66e399 Bug 1539265 - Add a few optimisations for ::marker pseudos. r=jdescottes
Where there is existing for ::before and ::after.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:44 +00:00
Ian Moody d246bee618 Bug 1539265 - Handle ::marker pseudos during drag & drop of nodes in the markup view. r=jdescottes
Prior to this the tab would crash with signature [@ nsINode::InsertChildBefore ]
if trying to insert before the ::marker.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:46 +00:00
Ian Moody addac983bb Bug 1539265 - Add isMarkerPseudoElement function to layout/utils.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25105

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:33 +00:00
Ian Moody 8e985aa314 Bug 1539265 - Handle ::marker pseudo-elements in css-logic.js, so their rules show in the rule view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25071

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:28 +00:00
Ian Moody a46ab4825b Bug 1539265 - Add a test for ::marker displaying in the markup view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25070

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:23 +00:00
Ian Moody 979334b420 Bug 1539265 - Handle ::marker pseudo-elements on shadow roots in walker.js. r=jdescottes
At the moment when devtools.inspector.showAllAnonymousContent is true shadow
hosts with ::marker and ::before pseudos will stop showing the ::before and
won't show the ::marker either.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:23 +00:00
Cosmin Sabou 6f67a6f9e5 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-02 00:55:55 +03:00
Brian Hackett 33ca510058 Bug 1529867 - Wait for worker source, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D25612

--HG--
extra : rebase_source : 940a415ade4c80a9fa884375749e2f4c9cc2cbf0
2019-04-01 07:48:39 -06:00
Oana Pop Rus 201450283c Merge inbound to mozilla-central. a=merge 2019-04-01 12:48:18 +03:00
Nicolas Chevobbe 1dcf4bfd19 Bug 1312823 - Run console mocha tests on TRY. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D25045

--HG--
extra : moz-landing-system : lando
2019-04-01 07:19:18 +00:00
Nicolas Chevobbe 088541bb3a Bug 1312823 - Fix console mocha tests. r=jdescottes.
This adds missing preferences to mocha-test-setup.js, and
add URLSearchParams to the global object if it's not
defined there (e.g. in Node < v.10.0.0).

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

--HG--
extra : moz-landing-system : lando
2019-04-01 07:18:48 +00:00
Sebastian Hengst c23936fcc6 Bug 1539131 - Only test bigInt propertypes in test_objectgrips-08.js if bigInt is enabled r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D25508

--HG--
extra : moz-landing-system : lando
2019-04-01 05:39:57 +00:00
Philip Chimento 7262bcdffb Bug 1506324 - Use DefaultGlobalClassOps in existing code. r=tcampbell
Reviewers: tcampbell

Subscribers: jandem

Bug #: 1506324

Differential Revision: https://phabricator.services.mozilla.com/D11571
2019-03-31 15:30:45 -07:00
Brian Hackett feba11acf4 Bug 1539506 - Ensure reducer breakpoints and installed breakpoints are in sync, r=loganfsmyth.
--HG--
extra : histedit_source : b09b60352936d209874d13a4de019aba885dcfc1%2Cfb7aa4914c85d479ebef5fa7e0aa9fc8ddfb9f27
2019-03-31 13:44:14 -06:00
Daniel Varga dd6c317f56 Backed out changeset bdc95cb69849 (bug 1539506) for debugger FAIL src/actions/sources/tests/loadSource.spec.js 2019-03-31 22:32:39 +03:00
Nicolas Chevobbe c94181f930 Bug 1540149 - Don't use `Array.map` in `prepareConsoleMessageForRemote`. r=bgrins.
`Array.map` triggers a deprecation warnings, and it
turns out we can use `.map`  directly on the objects
we were calling `Array.map` on.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 20:06:44 +00:00
Paul Bone f99907635a Bug 1518138 - Try to work-around OOMs during tests r=ochameau
I'm not sure if this'll work, I'll check the crash rates in one week.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 09:56:47 +00:00
Nicolas Chevobbe 77d707b079 Bug 1524276 - Group content blocking messages. r=bgrins,Honza.
If there's at least 2 content blocking messages displayed
for a given page navigation, we display a warning group
containing the messages, collapsed by default.
This means we need to move or insert those warning messages
at the right position in visibleMessages, either when they're
added, or when we expand a group.
Two mochitest are added to make sure this works as expected,
one for generic warningGroup features (expanding, group per
navigation session, …), and another one specifically for
content blocking warning group, where we check that every
type of content blocking message can be grouped.

The grouping won't occur unless the groupWarnings preferences
is on.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:09:21 +00:00
Nicolas Chevobbe 7b6e74c208 Bug 1524276 - Add WarningGroup message component. r=bgrins.
This component will be used to render warning groups messages.
We also add a `inWarningGroup` prop to the `Message` component
so warnings that will be displayed in such warningGroup can
be styled differently (no warning icon, a different color for
the indent).
Add some utils functions and constants to check if a message
should be a warning group.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:08:56 +00:00
Nicolas Chevobbe cc5fae5bf3 Bug 1524276 - Add groupWarnings preference in console redux state. r=bgrins.
This will be used to enable groups of warning messages (Tracking Protection,
CSP, CORS, …).

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:08:26 +00:00
Nicolas Chevobbe 4a7ea2cf9d Bug 1524276 - Expose `category` and `innerWindowID` properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:07:56 +00:00
Mellina Yonashiro a647f7852d Bug 1534400 - Gutter hover shouldn't display if source is blackboxed r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D23229

--HG--
extra : moz-landing-system : lando
2019-03-29 22:30:47 +00:00
Brian Hackett 783ec7dcfd Bug 1539506 - Ensure reducer breakpoints and installed breakpoints are in sync, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D25275

--HG--
extra : rebase_source : 2cc769e6f032bf30e1f5761160338ef1cd5343dc
2019-03-28 12:33:27 -06:00
Jason Laster 52ffc8ce81 Bug 1540239 Update module-manifest. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D25466

--HG--
extra : moz-landing-system : lando
2019-03-29 21:02:24 +00:00
David Walsh c28222aaf1 Bug 1537988 - Improve spacing and icons for workers r=jlast
Improves spacing and alignment for workers in the right pane and sources tree.  Also changes the Main thread icon to be document in the worker pane.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:05:40 +00:00
David Walsh a3681b9588 Bug 1540151 - Sync dictionary and development config from GitHub r=jlast
I keep needing to reset these during commits so we should update MC

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:02:44 +00:00
Jason Laster 2dc9aa5a90 Bug 1539493 - Remove source metadata. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25122

--HG--
extra : moz-landing-system : lando
2019-04-01 12:49:18 +00:00
shindli ebbe440e94 Backed out changeset e78a1f8b81db (bug 1536237) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/inspector/fonts/fonts.js CLOSED TREE 2019-04-01 14:38:48 +03:00
Razvan Caliman bc55f8ae1c Bug 1536237 - Add support for letter spacing in Font Editor. r=gl
- Reads the value for the letter-spacing CSS property and shows it in the Font Editor. When it is default, show the "normal" identifier. As soon as the user tries to edit it using the value slider, switch to an em-based value.

- Tweaks the unit conversion method to support letter-spacing: using correct reference node for em units, returning high-precision results even for pixels (allow sub-pixel precision)

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

--HG--
extra : moz-landing-system : lando
2019-04-01 09:45:11 +00:00
Julian Descottes dac606a5ca Bug 1518469 - Redirect old about:debugging routes to This Firefox;r=ladybenko
Depends on D25061
Two motivations to support the old routes:
- we have some links inside Firefox (application panel, about:addons, Developer Menu) that link to about:debugging. With this fix we avoid updating the links with code that depends on the value of the preference. We will fully update the links once the old aboutdebugging codebase is removed.
- there are some external pages that refer to about:debugging#workers or about:debugging#addons (did a quick google search). not a lot of them but this will also allow to keep supporting them

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

--HG--
extra : moz-landing-system : lando
2019-03-29 17:48:21 +00:00
Julian Descottes 0ee8134ffe Bug 1518469 - Enable new about:debugging by default;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D25061

--HG--
extra : moz-landing-system : lando
2019-03-29 17:48:19 +00:00
Daniel Varga baeeb7c24b Backed out 4 changesets (bug 1524276) for mochitest-devtools at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 78fb95dc20e3 (bug 1524276)
Backed out changeset 30570673a894 (bug 1524276)
Backed out changeset 9476f9253c9c (bug 1524276)
Backed out changeset 6f1c417146be (bug 1524276)
2019-03-29 17:48:19 +02:00
Brian d8eb046cd9 Bug 1523763 - Move tab context menu strings to FTL file loaded on-demand. r=Gijs,flod
Moved tab context menu out of browser.dtd to browser.xul except for sendPageToDevice, sendLinkToDevice, moveTabOptions, moveSelectedTabOptions, undoCloseTab. Not sure if tabbrowser.js and tabbrowser.xul are working as intended.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:55:12 +00:00
Nicolas Chevobbe d45c05f470 Bug 1524276 - Group content blocking messages. r=bgrins,Honza.
If there's at least 2 content blocking messages displayed
for a given page navigation, we display a warning group
containing the messages, collapsed by default.
This means we need to move or insert those warning messages
at the right position in visibleMessages, either when they're
added, or when we expand a group.
Two mochitest are added to make sure this works as expected,
one for generic warningGroup features (expanding, group per
navigation session, …), and another one specifically for
content blocking warning group, where we check that every
type of content blocking message can be grouped.

The grouping won't occur unless the groupWarnings preferences
is on.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:19:50 +00:00
Nicolas Chevobbe 10c0d470ac Bug 1524276 - Add WarningGroup message component. r=bgrins.
This component will be used to render warning groups messages.
We also add a `inWarningGroup` prop to the `Message` component
so warnings that will be displayed in such warningGroup can
be styled differently (no warning icon, a different color for
the indent).
Add some utils functions and constants to check if a message
should be a warning group.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:18:18 +00:00
Nicolas Chevobbe ece7da37a9 Bug 1524276 - Add groupWarnings preference in console redux state. r=bgrins.
This will be used to enable groups of warning messages (Tracking Protection,
CSP, CORS, …).

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:17:32 +00:00
Nicolas Chevobbe 9539eccd33 Bug 1524276 - Expose `category` and `innerWindowID` properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:17:03 +00:00
Belén Albeza df8a6860a4 Bug 1538678 - Fix react 'unique key prop' error in ConnectSteps. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25227

--HG--
extra : moz-landing-system : lando
2019-03-28 15:56:32 +00:00
Daniel Varga 1380d5ef8d Backed out 4 changesets (bug 1524276) for mochitest-devtools failure at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 47363a80ef6d (bug 1524276)
Backed out changeset 1fee0c357772 (bug 1524276)
Backed out changeset 8bbe3e4f5a54 (bug 1524276)
Backed out changeset d21159afd969 (bug 1524276)
2019-03-29 13:47:46 +02:00
Patrick Brosset bcfd6cd961 Bug 1409085 - Tell RDM when picking to stop simulating touch; r=mtigley,gl
Differential Revision: https://phabricator.services.mozilla.com/D25231

--HG--
extra : moz-landing-system : lando
2019-03-29 09:47:35 +00:00
Nicolas Chevobbe 8e2534c46c Bug 1538700 - Fix NotificationBox proptype. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D25358

--HG--
extra : moz-landing-system : lando
2019-03-29 09:17:08 +00:00
Nicolas Chevobbe 8997da599c Bug 1524276 - Group content blocking messages. r=bgrins,Honza.
If there's at least 2 content blocking messages displayed
for a given page navigation, we display a warning group
containing the messages, collapsed by default.
This means we need to move or insert those warning messages
at the right position in visibleMessages, either when they're
added, or when we expand a group.
Two mochitest are added to make sure this works as expected,
one for generic warningGroup features (expanding, group per
navigation session, …), and another one specifically for
content blocking warning group, where we check that every
type of content blocking message can be grouped.

The grouping won't occur unless the groupWarnings preferences
is on.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:04:24 +00:00
Nicolas Chevobbe 48e44d1ff1 Bug 1524276 - Add WarningGroup message component. r=bgrins.
This component will be used to render warning groups messages.
We also add a `inWarningGroup` prop to the `Message` component
so warnings that will be displayed in such warningGroup can
be styled differently (no warning icon, a different color for
the indent).
Add some utils functions and constants to check if a message
should be a warning group.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:59 +00:00
Nicolas Chevobbe b2556ed8a4 Bug 1524276 - Add groupWarnings preference in console redux state. r=bgrins.
This will be used to enable groups of warning messages (Tracking Protection,
CSP, CORS, …).

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:34 +00:00
Nicolas Chevobbe 6685c3a7a7 Bug 1524276 - Expose `category` and `innerWindowID` properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:15 +00:00
Mellina Yonashiro 23924e188c Bug 1536043 - Box shadow around cards is cut on the sides r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D24661

--HG--
extra : moz-landing-system : lando
2019-03-28 17:36:33 +00:00
Mellina Yonashiro bd5eb1b373 Bug 1537772 - Change wording in UI from `runtime` to `browser` r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D24664

--HG--
extra : moz-landing-system : lando
2019-03-28 19:21:09 +00:00
David Walsh 89d52ec831 Bug 1539889 - Fix postcss issue in debugger launchpad r=jlast
I agree that we should remove PostCSS but since we have contributors moving to MC, I want to get this fixed ASAP.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 19:44:28 +00:00
David Walsh 09f42f8e66 Bug 1532359 - Remove Node from library options r=nchevobbe
Removes Node.js as an option for library detection to prevent issues in console.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 16:51:26 +00:00
Oana Pop Rus 6450336590 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-28 19:41:57 +02:00
Brian Hackett 199bb297a6 Bug 1538397 - Don't use source actor for event listeners with mapped sources, r=ochameau.
--HG--
extra : histedit_source : ff5792d263f849c3a8255371e5570cd842f02a05%2C2fba09ffff23dd9d0901aaabad74c6a1708a30da
2019-03-28 06:50:41 -06:00
Noemi Erli 27004cd495 Backed out changeset e855e9c6b125 (bug 1537772) for devtools failures in browser_aboutdebugging_process_main.js CLOSED TREE 2019-03-27 23:34:14 +02:00
Julian Descottes b3ffc1fee6 Bug 1538708 - Stop storing sockets in adb-client.js;r=ochameau
The client close() method is not used anywhere. Individual callers should be responsible for closing opened sockets if needed.
Removing this method and the _sockets array, we no longer leak strings when calling adb.updateRuntimes()

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

--HG--
extra : moz-landing-system : lando
2019-03-28 15:21:21 +00:00
Mellina Yonashiro 99cb87981e Bug 1532295 - Webconsole's onViewSourceInDebugger doesn't pass column number to debugger panel when opening a source. .
Pass on column from props.onViewSourceInDebugger (///devtools/client/shared/components/reps/reps.js:6844//) to
//devtools/client/webconsole/webconsole-wrapper.js:267// as **frame.column**

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

--HG--
extra : moz-landing-system : lando
2019-03-28 13:52:28 +00:00
Jason Laster acbbab537b Bug 1537757 - Breakpoint line marker is misaligned. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24906

--HG--
extra : moz-landing-system : lando
2019-03-27 22:29:35 +00:00
Jason Laster ae258d7199 Bug 1537597 - Unexpectedly getting the second breakpoint enabled on line. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24987

--HG--
extra : moz-landing-system : lando
2019-03-27 21:42:38 +00:00
Noemi Erli f72eb23efe Backed out changeset fde4dfc0464a (bug 1536043) for failures in browser_aboutdebugging_debug-target-pane_collapsibilities_interaction.js CLOSED TREE 2019-03-27 22:07:34 +02:00
Mellina Yonashiro 01153338f3 Bug 1537772 - Change wording in UI from `runtime` to `browser` r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D24664

--HG--
extra : moz-landing-system : lando
2019-03-27 05:13:01 +00:00
Mellina Yonashiro 8d5360a8fa Bug 1536043 - Box shadow around cards is cut on the sides r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D24661

--HG--
extra : moz-landing-system : lando
2019-03-27 19:18:50 +00:00
David Walsh 212b0e8353 Bug 1538774 - Part 1 - Fix clasName bug r=jlast
Fixes a typo for className.  Only part 1, doesn't address actual issue.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 17:22:40 +00:00
Christoph Kerschbaumer 64005a8818 Bug 1524970: Update more frontend code to explicitly pass a csp. r=Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24959

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:01 +00:00
Geoff Brown 2907bf1405 Bug 1536253 - Skip browser_dbg-sourcemapped-scopes.js on debug; r=jmaher
Skip test on debug, where this long test runs very slow (over 20 minutes).

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

--HG--
extra : moz-landing-system : lando
2019-03-27 16:22:52 +00:00
David Walsh d605b47da3 Bug 1535103 - Improve Debugger CSS DX. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24254

--HG--
extra : moz-landing-system : lando
2019-03-27 14:35:16 +00:00
Jason Laster af9ee4bcf8 No bug - add getDocument for dbg helper. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D22555

--HG--
extra : moz-landing-system : lando
2019-03-27 14:31:59 +00:00
Julian Descottes 6316f05eaf Bug 1539209 - Skip aboutdebugging tests for sw warning on sw-e10s platforms r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D24928

--HG--
extra : moz-landing-system : lando
2019-03-27 09:40:08 +00:00
Daisuke Akatsuka 09face1fa5 Bug 1505813: Refactor debug-target. r=jdescottes
Depends on D24860

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

--HG--
extra : moz-landing-system : lando
2019-03-27 06:21:56 +00:00
Daisuke Akatsuka e442aec718 Bug 1505813: Open process debugger at a tab. r=jdescottes
Depends on D24859

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

--HG--
extra : moz-landing-system : lando
2019-03-27 05:06:43 +00:00
Daisuke Akatsuka e04d562a79 Bug 1505813: Open worker debugger at a tab. r=jdescottes
Depends on D24858

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

--HG--
extra : moz-landing-system : lando
2019-03-27 06:23:36 +00:00
Daisuke Akatsuka 71cd0a1028 Bug 1505813: Open extension debugger at a tab. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24858

--HG--
extra : moz-landing-system : lando
2019-03-27 05:00:22 +00:00
Logan Smyth 3b56cb4de4 Bug 1535246 - Part 2: Handle new actors appearing in HTML files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24444

--HG--
extra : moz-landing-system : lando
2019-03-27 05:13:24 +00:00
Logan Smyth 9f513698e0 Bug 1535246 - Part 1: Ensure that changes to emptyLines are handled for both additions and removals. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24443

--HG--
extra : moz-landing-system : lando
2019-03-27 05:12:54 +00:00
Cosmin Sabou 224fe6cff2 Merge mozilla-central to autoland. 2019-03-27 06:51:51 +02:00
Cosmin Sabou 3d469329a4 Merge mozilla-inbound to mozilla-central. a=merge 2019-03-27 06:45:13 +02:00
André Bargull 3b306926a8 Bug 1526394: Treat self-hosted functions the same as non-interpreted functions in Debugger code. r=jorendorff 2019-03-26 12:27:54 -07:00
Yoshi Cheng-Hao Huang 7f012345b7 Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco
s/AutoObjectVector/RootedObjectVector/g

Depends on D23185

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

--HG--
extra : moz-landing-system : lando
2019-03-26 14:00:51 +00:00
Yoshi Cheng-Hao Huang edbc333422 Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco
s/AutoValueVector/RootedValueVector/g

Depends on D23183

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:58:20 +00:00
Logan Smyth c2150bafe9 Bug 1534328 - Update breakpoint text snippets when files load. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24827

--HG--
extra : moz-landing-system : lando
2019-03-26 19:28:15 +00:00
David Walsh 3a59aa6b79 Bug 1538164 - [release 130] Final updates to debugger CSS. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24776

--HG--
extra : moz-landing-system : lando
2019-03-26 18:17:53 +00:00
Anthony X 4629d8c4dd Bug 1538164 - [release 130] [Log Point] Fix log point context menu accelerator (#8115).
Differential Revision: https://phabricator.services.mozilla.com/D24775

--HG--
extra : moz-landing-system : lando
2019-03-26 15:24:55 +00:00
Tyler Wendlandt 062fce54c0 Bug 1538164 - [release 130] 8118/fix quick open modal nan bug (#8136).
Differential Revision: https://phabricator.services.mozilla.com/D24774

--HG--
extra : moz-landing-system : lando
2019-03-26 15:24:35 +00:00
chujunlu 83fa0aa6cc Bug 1538164 - [release 130] Switch watch expression's delete button (#8114).
Differential Revision: https://phabricator.services.mozilla.com/D24773

--HG--
extra : moz-landing-system : lando
2019-03-26 19:05:09 +00:00
derek-li b22dcf6663 Bug 1538164 - [release 130] Always render footer (#8039).
Differential Revision: https://phabricator.services.mozilla.com/D24770

--HG--
extra : moz-landing-system : lando
2019-03-26 19:05:11 +00:00
renovate[bot] e5363fdf0a Bug 1538164 - [release 130] Update dependency eslint-plugin-mozilla to v1.1.2 (#8131).
Differential Revision: https://phabricator.services.mozilla.com/D24769

--HG--
extra : moz-landing-system : lando
2019-03-26 15:23:39 +00:00
harshlele 099167ff95 Bug 1538164 - [release 130] added no sources message in Sources Pane (#7978).
Differential Revision: https://phabricator.services.mozilla.com/D24768

--HG--
extra : moz-landing-system : lando
2019-03-26 15:23:30 +00:00
Florens Verschelde ab017673bb Bug 1538164 - [release 130] Fix #8017 - Work around unsupported inset-inline-start|end in Chrome (#8083).
Differential Revision: https://phabricator.services.mozilla.com/D24767

--HG--
extra : moz-landing-system : lando
2019-03-26 15:23:15 +00:00
Florens Verschelde 6a79c0f523 Bug 1538164 - [release 130] Use stylelint-prettier instead of stylelint formatting rules (#8098).
Differential Revision: https://phabricator.services.mozilla.com/D24766

--HG--
extra : moz-landing-system : lando
2019-03-26 15:23:01 +00:00
Florens Verschelde 773f87acef Bug 1538164 - [release 130] Fix eslint warnings in XHRBreakpoints.spec.js (#8099).
Differential Revision: https://phabricator.services.mozilla.com/D24765

--HG--
extra : moz-landing-system : lando
2019-03-26 15:22:46 +00:00
wartmanm fed7cdaa89 Bug 1538164 - [release 130] [Sources] Improve SourcesTreeItem.mapStateToProps performance by storing plain urls (#8024).
Differential Revision: https://phabricator.services.mozilla.com/D24763

--HG--
extra : moz-landing-system : lando
2019-03-26 19:02:04 +00:00
Jonas Allmann 1db9db7604 Bug 1529231, Remove all occurences of ondialogaccept and ondialogcancel, r=Gijs
Removed all occurences of ondialogaccept.
Removed all occurences of ondialogcancel.
Replaced all removed attributes with event handlers.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 18:34:02 +00:00
Julian Descottes 84e0af7fe4 Bug 1521752 - Create jest test for aboutdebugging-new Message component;r=ladybenko
Depends on D24146
Example of a try run with tests running:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cca3978c6e3eb042c59e62b25b1946219cf3d74a&selectedJob=235873038

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

--HG--
rename : devtools/client/framework/test/jest/.eslintrc.js => devtools/client/aboutdebugging-new/test/jest/.eslintrc.js
rename : devtools/client/framework/test/jest/README.md => devtools/client/aboutdebugging-new/test/jest/README.md
rename : devtools/client/framework/test/jest/jest.config.js => devtools/client/aboutdebugging-new/test/jest/jest.config.js
rename : devtools/client/framework/test/jest/package.json => devtools/client/aboutdebugging-new/test/jest/package.json
extra : moz-landing-system : lando
2019-03-26 17:16:41 +00:00
Julian Descottes 344ba632d2 Bug 1521752 - Add jest test for framework component DebugTargetInfo;r=ladybenko
This is more of a feedback request, I have not really written component unit tests before.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 16:38:48 +00:00
Jason Laster 25d855c4ff Bug 1534368 - breakpoint positions should be filtered by source. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24289

--HG--
extra : moz-landing-system : lando
2019-03-26 15:12:22 +00:00
Yura Zenevich 5d401f1d28 Bug 1538306 - ensure highlighter bounds overlay does not interfere with the accessible audit. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24546

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:37 +00:00
Yura Zenevich 3d4f6877ca Bug 1538306 - ensure that only one audit can run at a given time for an Accessible actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24545

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:29 +00:00
Mellina Yonashiro 2fbf0a347e Bug 1536005 - Merge Tabs.css and TabBar.css into Tabs.css r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D24663

--HG--
extra : moz-landing-system : lando
2019-03-26 13:19:35 +00:00
Belén Albeza c3820a59f4 Bug 1505125 - UX implementation of the Sidebar. r=jdescottes,daisuke,Ola,flod
Differential Revision: https://phabricator.services.mozilla.com/D24419

--HG--
extra : moz-landing-system : lando
2019-03-26 12:38:48 +00:00
Dhruvi Butti 805db1b032 Bug 1512400 - Make console autocomplete optional. r=nchevobbe.
Add a preference to make the console input autocomplete automatic.
If set to false, the autocomplete popup will only appear on Ctrl+Space.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 07:13:15 +00:00
Julian Descottes aa6b2752d1 Bug 1528781 - Hide tabs for This Firefox behind a preference;r=Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D24378

--HG--
extra : moz-landing-system : lando
2019-03-25 16:09:57 +00:00
Brindusan Cristian 8d646b09cd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-26 02:28:46 +02:00
Brindusan Cristian c4f15a4dae Merge inbound to mozilla-central. a=merge 2019-03-26 02:26:12 +02:00
Noemi Erli 676cfa3d56 Backed out changeset d0b9b3883584 (bug 1534786) for failures in browser_dbg-old-breakpoint.js 2019-03-25 19:25:13 +02:00
arthur.iakab 35c8a01713 Merge mozilla-central to autoland 2019-03-25 17:54:29 +02:00
arthur.iakab ee02cd6515 Merge inbound to mozilla-central a=merge 2019-03-25 17:53:27 +02:00
Nicolas Chevobbe c0f87f9ae6 Bug 1527867 - Add support for BigInt in devtools; r=davidwalsh.
We add a new `BigInt` grip type that can be consumed by reps.
A few test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:33:30 +00:00
Patrick Brosset d6270ca25d Bug 1538676 - Hide the auto-expanded overridden longhands when value is empty; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D24690

--HG--
extra : moz-landing-system : lando
2019-03-25 13:56:20 +00:00
Florens Verschelde 9d9c19e064 Bug 1537724 - Make text selection visible in TreeView inputs; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24375

--HG--
extra : moz-landing-system : lando
2019-03-25 12:24:54 +00:00
Julian Descottes 9fc4dd6f7a Bug 1528912 - Do not stop ADB when closing aboutdebugging or webide;r=daisuke
It looks like we don't need to stop ADB. Most of the logic can stay, in order to start and stop the devices polling.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 08:05:18 +00:00
Botond Ballo c1ca1c7e5f Bug 1536755 - Fix eslint trailing-comma failures. r=apavel
Differential Revision: https://phabricator.services.mozilla.com/D24660

--HG--
extra : moz-landing-system : lando
2019-03-25 03:37:00 +00:00
Daisuke Akatsuka aee3333051 Bug 1536682: Add a test for special CSS color. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24127

--HG--
extra : moz-landing-system : lando
2019-03-25 03:03:34 +00:00
Daisuke Akatsuka 2d87871070 Bug 1536682: Handle special CSS color within animation inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24125

--HG--
extra : moz-landing-system : lando
2019-03-25 03:06:43 +00:00
Brad Werth 65d87a00fb Bug 1536755 Part 2: Add a test of meta viewport fixed width and zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24456

--HG--
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing.js => devtools/client/responsive.html/test/browser/browser_viewport_resizing_fixed_width.js
extra : moz-landing-system : lando
2019-03-22 21:01:48 +00:00
sakshaat d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Michael Ratcliffe 639bed7bb2 Bug 1509620 - Computed style inspector CSS cascade calculation is wrong r=ladybenko
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1bad5e5282812225da95c0ea9e2ef173640b5da

### Summary

!!Comparing numerous complex websites such as github, facebook, cnn etc. the cascade now matchers that of Chrome so we are in a much better place.!!

According to https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading we should now be doing this (descending order):

  - Transition declarations
  - User-Agent & !important
  - User & !important
  - Author & !important
  - CSS Animations, @keyframes
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

We are only dealing with CSS selectors here so we can safely drop Transition declarations and CSS Animations because their presence here is irrelevant when it comes to the CSS cascade information we display in the computed view.

This leaves us with:

  - User-Agent & !important
  - User & !important
  - Author & !important
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

### Changes

- References to content stylesheets have been changed to author stylesheet to closely match the technical terms author, user and agent stylesheets.
- Simplified and modernized a bunch of for loops to make the code easier to understand.
- Previous to these changes all matching parent rules were classed as equal e.g. color on the body tag was equal to color on a node's immediate container. We now use the `distance` variable to tell how close a rule is to the current node. This is the highest qualifier in our cascade calculation.
- The `_agentSheet`, `_authorSheet` and `_userSheet` properties are now used to obtain a sheets origin.
- `elementStyle` was renamed to `inlineStyle` in order to correctly identify the rule's origin.
- We used to sort the matchedSelectors to move rules with `STATUS.MATCHED` above `STATUS.PARENT_MATCH` but this is unnecessary now that we have the `distance` property so we no longer do this.
- The `compareTo()` method has been updated to match https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading. It has also been simplified and made far less prone to error.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:32:19 +00:00
arthur.iakab 1ab45e3251 Merge mozilla-central to mozilla-inbound 2019-03-25 17:57:57 +02:00
Philipp Kewisch 52aa5b978e Bug 1507709 - Move WebExtensions geckoProfiler API to toolkit. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12100

--HG--
rename : browser/components/extensions/ProfilerGetSymbols-worker.js => toolkit/components/extensions/ProfilerGetSymbols-worker.js
rename : browser/components/extensions/ProfilerGetSymbols.jsm => toolkit/components/extensions/ProfilerGetSymbols.jsm
rename : browser/components/extensions/parent/ext-geckoProfiler.js => toolkit/components/extensions/parent/ext-geckoProfiler.js
rename : browser/components/extensions/profiler_get_symbols.js => toolkit/components/extensions/profiler_get_symbols.js
rename : browser/components/extensions/schemas/geckoProfiler.json => toolkit/components/extensions/schemas/geckoProfiler.json
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js
extra : moz-landing-system : lando
2019-03-22 13:18:01 +00:00
Helena Moreno 0274f5667c Bug 1538153 - Fix RTL alignment in RequestList headers and align Storage table headers with Netmonitor r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D24508

--HG--
extra : moz-landing-system : lando
2019-03-22 18:55:02 +00:00
shindli b3ac60ff06 Merge inbound to mozilla-central. a=merge 2019-03-23 11:47:34 +02:00
Brian Hackett 1bc179f724 Bug 1536618 Part 2 - Tolerate sources from any debugger in getOrCreateSourceActor, r=loganfsmyth.
--HG--
extra : rebase_source : cc2a3155162c4bdc87fcbb91b3bc6bcedf38bd46
2019-03-22 12:08:19 -06:00
Cosmin Sabou 520c7a9423 Backed out 2 changesets (bug 1535246) for devtools failures on devtools/client/debugger/new/test/mochitest/browser_dbg-html-breakpoints.js. CLOSED TREE
Backed out changeset 5860aac31563 (bug 1535246)
Backed out changeset 5929d34ee923 (bug 1535246)

--HG--
extra : rebase_source : 3aac58ce35404488259bd778b4a9d78bca706ae8
2019-03-23 03:28:05 +02:00
Logan Smyth 505e03b918 Bug 1535246 - Part 2: Handle new actors appearing in HTML files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24444

--HG--
extra : moz-landing-system : lando
2019-03-22 21:04:47 +00:00