Commit Graph

17787 Commits

Author SHA1 Message Date
championshuttler
e14ec25254 Bug 1584580 - Remove white background from Disabled XHR Breakpoint items. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D47463

--HG--
extra : moz-landing-system : lando
2019-09-27 20:54:35 +00:00
Miriam
b52f6bd330 Bug 1581447 - Fix event breakpoints ignoring blackboxed files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D47120

--HG--
extra : moz-landing-system : lando
2019-09-27 20:40:41 +00:00
David Walsh
69ddf4a3e7 Bug 1582734 - Fix context menu accelerator text r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47473

--HG--
extra : moz-landing-system : lando
2019-09-27 19:23:26 +00:00
David Walsh
03260fc20b Bug 1584576 - Prevent error in inline preview action r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47457

--HG--
extra : moz-landing-system : lando
2019-09-27 17:14:44 +00:00
Michael Ratcliffe
b483d7e76a Bug 1581339 - Inactive CSS: Tooltip wording updates r=flod,fluent-reviewers,pbro
Differential Revision: https://phabricator.services.mozilla.com/D47119

--HG--
extra : moz-landing-system : lando
2019-09-26 12:53:28 +00:00
David Walsh
5e1d5d1da0 Bug 1580624 - Fix XHR breakpoints label for paused overlay r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47122

--HG--
extra : moz-landing-system : lando
2019-09-26 22:01:17 +00:00
Julian Descottes
24ba8b95f4 Bug 1584528 - Use openDocLink to open deprecation links in DevTools settings r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D47434

--HG--
extra : moz-landing-system : lando
2019-09-27 14:31:16 +00:00
Anny Gakhokidze
f1c694e18f Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347

--HG--
extra : moz-landing-system : lando
2019-09-27 14:25:10 +00:00
Sorin Davidoi
b44e43d6a5 Bug 1403051 - Server Timings. r=Honza
Implements visualization for Server Timings.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 14:19:35 +00:00
Nicolas Chevobbe
0dc6765801 Bug 1582866 - Make the inspector extension sidebar overflow. r=rpl.
Differential Revision: https://phabricator.services.mozilla.com/D47273

--HG--
extra : moz-landing-system : lando
2019-09-27 10:25:31 +00:00
Nicolas Chevobbe
d65db3d1af Bug 1582865 - Add test case in inspector extension sidebar test. r=rpl.
In the existing test, we also check expanding a node, as well as navigating
with the keyboard.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:07:00 +00:00
Nicolas Chevobbe
1b332b68a5 Bug 1582865 - Remove actors from ObjectInspector state once they're released. r=rpl.
The actors weren't ever removed from the state,
which could lead to increased memory consumption
as well as attempt to release the actors a
second time in some cases.
We fix this by dispatching a new actions once
the actors are released, so we can remove them
from the state.

Depends on D47271

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:06:20 +00:00
Nicolas Chevobbe
97ff4e89aa Bug 1582865 - Don't use document/window in tree component. r=yzen.
When using the ObjectInspector in an inspector extension sidebar,
document is not an HTMLDocument but a Sandbox, which means we
don't have access to the same properties than in a document.
Since the Tree and the ObjectInspector components do use `document`
and `window`, this means some interaction would lead to the sidebar
crashing.
To prevent this, we retrieve the document and/or the window from
a node reference instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:06:20 +00:00
Julian Descottes
6703ecb952 Bug 1583749 - Stop exposing deprecated connect() api on the webextension descriptor front r=yulia,rpl
Depends on D47053

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:53:55 +00:00
Julian Descottes
367847b999 Bug 1583749 - Add isDescriptor trait to webextension descriptor actor r=yulia
Depends on D47051.

Without the trait, we keep calling the connect() wrapper on the actor, which is supposed to be deprecated

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:52:44 +00:00
Julian Descottes
0af833bc23 Bug 1583749 - Remove unnecessary trait webExtensionAddonConnect r=ochameau
Depends on D47050. Trait was added in 2017, all servers should now have support this by default

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

--HG--
extra : moz-landing-system : lando
2019-09-25 14:54:16 +00:00
Martin Thomson
506fbc6493 Bug 1579270 - Disable TLS 1.0 and TLS 1.1 in Nightly, r=jcj
This flips the default for security.tls.version.min to 3 (TLS 1.2) for the
Nightly channel.

Having had this pref at this level for the last year, I can confirm that this
does break the occasional site, but it is quite rare.  The intent of this change
is to start making it more obvious when sites don't support TLS 1.2.

I'm asking for wider review because this is a disruptive change.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 04:01:17 +00:00
Coroiu Cristina
484c4b54b5 Backed out changeset aa0e617660f2 (bug 1583424) for devtools failures at devtools/client/debugger/test/mochitest/browser_dbg-worker-kill.js on a CLOSED TREE 2019-09-27 00:17:50 +03:00
Brian Hackett
22cc20d810 Bug 1583424 - Watch for missing threads in source tree, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47289

--HG--
extra : moz-landing-system : lando
2019-09-26 20:21:29 +00:00
Sean Feng
660aac23aa Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43135

--HG--
extra : moz-landing-system : lando
2019-09-14 00:09:44 +00:00
Nicolas Chevobbe
fd8ec279f4 Bug 1584074 - Fix CodeMirror token color issue due to update to v5.49.0. r=gl.
The last update of the CodeMirror library introduced new
CSS selectors in the css file with a greater specificity than
they used to, which means the color property we set in our
themes css files weren't applied.
We change the selectors in our theme files so they are more
specific than the ones in codemirror's css file.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 16:14:00 +00:00
Christoph Kerschbaumer
30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00
arthur.iakab
b61f7995be Backed out 2 changesets (bug 1403051) for causing devtools failures on browser_parsable_css.js CLOSED TREE
Backed out changeset d93010798ea5 (bug 1403051)
Backed out changeset 0c049e82eb05 (bug 1403051)
2019-09-26 16:32:12 +03:00
Luca Greco
bf6f8c67db Bug 1578447 - Fix storage panel ui not refreshing on changes to items with string keys parsable as JSON. r=miker
In /devtools/client/storage/ui.js, handleChangedItems and handleDeletedItems should only JSON.parse string keys related to the indexedDB and Cache actors.

The string keys used by all the other storage actors are expected to be a simple string keys, and their valid values include strings that can be successfully parsed as JSON (e.g. "123" or "null" are both valid keys for the storage items related to the localStorage, extensionStorage etc.).

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

--HG--
extra : moz-landing-system : lando
2019-09-26 12:28:06 +00:00
yulia
3d12fc3a88 Bug 1584107 - add targetFront and parentFront to target fronts r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D45366

--HG--
extra : moz-landing-system : lando
2019-09-26 11:49:37 +00:00
Noemi Erli
62876bf286 Bug 1403051 - Fix ES lint failure 2019-09-26 14:27:48 +03:00
Sorin Davidoi
ee8bfc0e23 Bug 1403051 - Server Timings. r=Honza
Implements visualization for Server Timings.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:38:54 +00:00
Nicolas Chevobbe
86819a8369 Bug 1583972 - Fix deprecation link opening in Scratchpad window. r=jdescottes.
Bug 1553804 made opening a content page from a Chrome
document a no-op, which broke the deprecation warning
in the Scratchpad window.
We switch to a JS solution using openDocLink on link
click.
I tried playing with rel=noopener, but the opened link
was about:blank for some reason I can't explain.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 09:18:54 +00:00
Florens Verschelde
c766ebcbcd Bug 1512513 - Set the short toolbar height to 24px (25px with border) instead of 23px; r=Honza,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D43961

--HG--
extra : moz-landing-system : lando
2019-09-25 20:16:33 +00:00
Julian Descottes
6a1c4bd7b2 Bug 1581536 - Remove unused addon target front and spec r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D47050

--HG--
extra : moz-landing-system : lando
2019-09-26 09:16:17 +00:00
Julian Descottes
6f9ca653c3 Bug 1578979 - Fix fullpage screenshot test when devtools run in a content frame r=nchevobbe
Depends on D46584

The initial issue seems caused by inserting a test image in the top document of the browser.
This forces the toolbox to move upwards and shrinks the content page. Since one of the tests relies on taking full page screenshots and comparing their size with the size of the content page, this can lead to test failures.

To fix the issue, we will insert the image in the content page instead of inserting it in the browser's document.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 08:49:41 +00:00
Julian Descottes
d1f601ae62 Bug 1578979 - Wait after createHost to fix tests failing with devtools running in a content frame r=ochameau
Even though we still need to fix those awaits, this removes the need to use the pref in 3 tests.
We should ultimately investigate why our switchHost/createHost can sometimes resolve too early and make the tests fail.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 08:49:13 +00:00
Julian Descottes
823d14335d Bug 1583457 - Remove unused MONITOR_LOCATION_CHANGE option from ConsoleProgress r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D46936

--HG--
extra : moz-landing-system : lando
2019-09-26 07:22:37 +00:00
abowler2
4983603498 Bug 1583387 - prevent default Cmd-Shift-F shortcut from opening fullscreen on OSX r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D47202

--HG--
extra : moz-landing-system : lando
2019-09-26 07:03:42 +00:00
Daisuke Akatsuka
5c8aa79ae9 Bug 1581008: Add test for :visited inactive CSS message. r=pbro
Depends on D45626

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

--HG--
extra : moz-landing-system : lando
2019-09-25 14:41:58 +00:00
Daisuke Akatsuka
fa5347f328 Bug 1581008: Add inactive CSS message for properties that are impossible to override. r=pbro,fluent-reviewers,flod
Depends on D45624

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

--HG--
extra : moz-landing-system : lando
2019-09-26 01:53:40 +00:00
David Walsh
ab6c85987d Bug 1583924 - Make pseudo-class disc brighter in Inspector r=gl
Differential Revision: https://phabricator.services.mozilla.com/D47128

--HG--
extra : moz-landing-system : lando
2019-09-25 18:35:46 +00:00
Julian Descottes
f1e794d6c5 Bug 1539462 - Remove the DevTools connect page r=ladybenko
Depends on D46704

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:50:24 +00:00
Julian Descottes
5c1a679523 Bug 1539462 - Remove WebIDE r=ochameau,jryans,janerik,fluent-reviewers,flod
Per deprecation roadmap on https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#WebIDE_and_Connect_page

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:24:58 +00:00
Brian Grinstead
3055031260 Bug 1582786 - Append the devtools theme stylesheet sheet after global.css in document.head if it exists instead of using an XML ProcessingInstruction r=nchevobbe
Otherwise, what happens in documents like the webconsole is the theme file gets loaded before
global.css, which isn't the intended behavior and makes overriding the styles from global.css
more difficult. As an example, some buttons in the webconsole became stretched after Bug 1581914
changed some default styling in global.css. This patch restores the correct behavior by loading
the theme afer global.css.

global.css is currently loaded in devtools in docs that explicitly use XUL elements (such as storage inspector
and style editor), and in docs that need to be supported as top level windows (webconsole, toolbox, and
browser toolbox). Unless if we change how things like panels and context menus are styled, the latter
group will continue to need to load global.css even as XUL/XBL usage goes away (since they are styled
with global.css).

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:16:28 +00:00
David Walsh
853a3f73c7 Bug 1580728 - Wire up backend of blocked URLs r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46671

--HG--
extra : moz-landing-system : lando
2019-09-25 16:23:38 +00:00
Brian Grinstead
b7788d49ec Bug 1581914 - Set default margins for html|input in global.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46531

--HG--
extra : moz-landing-system : lando
2019-09-25 16:20:19 +00:00
Alexandre Poirot
f7cf9fc77a Bug 1578408 - Attach content process thread actor from the toolbox. r=jlast,jdescottes,yulia
We need to attach the thread actor as soon as the toolbox start.
To:
* know when the thread is paused, even if the debugger isn't opened
* report paused state by changing the debugger icon
* switch to the debugger on pause
This will also fix some other code, like in the console, which
expect the Thread actor to be attached and already inspecting
the debugged target's globals.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 10:07:29 +00:00
Michael Ratcliffe
ec59485613 Bug 1579582 - 'grid-column' etc have an effect for abs.pos. boxes with a grid container as 'containing block' r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D45830

--HG--
extra : moz-landing-system : lando
2019-09-25 11:20:40 +00:00
Julian Descottes
e50bf68b2f Bug 1583533 - Remove unused webpack helpers from DevTools codebase r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D47037

--HG--
extra : moz-landing-system : lando
2019-09-25 09:40:44 +00:00
Julian Descottes
0fda1a24d1 Bug 1583165 - Scan modules from toolbox BrowserLoader in DevTools metrics tests r=nchevobbe
Checking this browserloader is important in particular for the inspector, which uses it to load all its own react components.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 09:25:23 +00:00
Cosmin Sabou
b9c401dc1b Backed out 2 changesets (bug 1581008) for mochitest failures on test_styles-matched.html. CLOSED TREE
Backed out changeset 1208c70dd3bd (bug 1581008)
Backed out changeset d69f8f5f9db4 (bug 1581008)
2019-09-25 11:51:11 +03:00
Florens Verschelde
83af8e000a Bug 1578097 - Add prefs to persist the open states of flexbox accordion items separately; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D44331

--HG--
extra : moz-landing-system : lando
2019-09-25 07:57:26 +00:00
Daisuke Akatsuka
87058b1a82 Bug 1581008: Add test for :visited inactive CSS message. r=pbro
Depends on D45626

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

--HG--
extra : moz-landing-system : lando
2019-09-24 08:50:18 +00:00
Daisuke Akatsuka
26d18e0ea4 Bug 1581008: Add inactive CSS message for properties that are impossible to override. r=pbro,fluent-reviewers,flod
Depends on D45624

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

--HG--
extra : moz-landing-system : lando
2019-09-25 07:45:15 +00:00