Commit Graph

2748 Commits

Author SHA1 Message Date
Jason Laster
98e92a1a7b Bug 1574343 - Improve process labels and icons. r=davidwalsh,yulia
Differential Revision: https://phabricator.services.mozilla.com/D42591

--HG--
extra : moz-landing-system : lando
2019-08-22 20:03:58 +00:00
Brian Hackett
ec2a82b296 Bug 1572596 Part 3 - Resurrect any sources missing from the debuggee source URLs when attaching the debugger, r=loganfsmyth.
Depends on D41683

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

--HG--
extra : moz-landing-system : lando
2019-08-22 00:12:56 +00:00
Gijs Kruitbosch
d57966f29a Bug 1575569 - use GetSpecialSystemDirectory to avoid accessing the directory service off the main thread for worker snapshots, r=fitzgen
Differential Revision: https://phabricator.services.mozilla.com/D42947

--HG--
extra : moz-landing-system : lando
2019-08-21 22:18:44 +00:00
yulia
fae430a2e7 Bug 1575490 - move inspector browser toolbox pref from the server to the client; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D42817

--HG--
extra : moz-landing-system : lando
2019-08-21 10:49:21 +00:00
Julian Descottes
9566e4dc8a Bug 1559268 - Prevent service worker shutdown while debugging in parent-intercept mode r=ochameau,perry
Depends on D32492

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:29:34 +00:00
Barret Rennie
810526de71 Bug 1564221 - Remove QueryInterface parameter from MockSecurityInfo in devtools tests r=ochameau,nchevobbe
The `MockSecurityInfo` instances in the patched devtools tests are not actually
being used as `nsITransportSecurityInfo` instances; while `QueryInterface`
methods were generated for the them, these were never called. Additionally, the
methods they are being passed to are not XPCOM-defined and therefore do not
strictly require `nsITransportSecurityInfo`.

In addition `NetworkHelper#parseSecurityInfo` now requires its `securityInfo`
to be `QueryInterface`d to a `nsITransportSecurityInfo` before calling the
function (except in the case of `MockSecurityInfo`, which is structurally
similar).

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:38:34 +00:00
Perry Jiang
7753ae42bf Bug 1552945 - Send push events to ServiceWorkerRegistrationActor's active Service Worker r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31906

--HG--
extra : moz-landing-system : lando
2019-08-20 15:21:02 +00:00
Perry Jiang
cbf68e6857 Bug 1552945 - Merge ServiceWorkerRegistrationFronts and ServiceWorker WorkerTargetFronts on their IDs. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31905

--HG--
extra : moz-landing-system : lando
2019-08-20 15:20:54 +00:00
Perry Jiang
4d21c36f04 Bug 1552945 - Expose a ServiceWorker's WorkerPrivate's ID on its ServiceWorkerFront. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31904

--HG--
extra : moz-landing-system : lando
2019-08-20 15:20:47 +00:00
yulia
723a427a35 Bug 1573780 - add targetFront to deprecated debugger client; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42497

--HG--
extra : moz-landing-system : lando
2019-08-19 15:10:36 +00:00
Bianca Danforth
780679ebf7 Bug 1542035 - Add read-only support for extension storage.local in addon debugger r=miker,rpl
* Add a new extensionStorage actor to enable inspection of data stored by an extension using the WebExtension storage.local API in the Storage panel client.
* The actor is only listed when the developer toolbox is targeting an extension process. For multi-process Firefox (e10s), this applies to only the toolbox accessed in about:debugging.
* The actor is gated behind a preference: devtools.storage.extensionStorage.enabled. This preference is set to false by default.
* The Storage panel displays storage item values as strings. If a storage item value is not JSON-stringifiable, it will be displayed in the table as "Object".
* It should be noted that extension storage.local’s storage backend is in the process of migrating from a JSON file to IndexedDB as of Firefox 66 for performance reasons. This actor only works for extensions that have migrated to the IndexedDB storage backend.
* In-line comments referencing Bugs 1542038 and 1542039 indicate places where the implementation may differ for local storage versus the other storage areas in the actor.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 20:16:50 +00:00
Cosmin Sabou
2e5b997146 Backed out 9 changesets (bug 1564221) for devtools failures on browser_net_security-redirect.js.
Backed out changeset bcae1e55fc27 (bug 1564221)
Backed out changeset 0efeb9b1f5fa (bug 1564221)
Backed out changeset aaa8ffb687f2 (bug 1564221)
Backed out changeset a1947eef7d86 (bug 1564221)
Backed out changeset 6cd17e69d1c7 (bug 1564221)
Backed out changeset ede7219b9a9e (bug 1564221)
Backed out changeset 63d578684d29 (bug 1564221)
Backed out changeset e804c46a9541 (bug 1564221)
Backed out changeset 4cd81a6d3b25 (bug 1564221)

--HG--
extra : histedit_source : 3b34632390a828e53929751dd79fe800b08a0ecb
2019-08-19 23:59:28 +03:00
Barret Rennie
67fc7c04a4 Bug 1564221 - Remove QueryInterface parameter from MockSecurityInfo in devtools tests r=ochameau,nchevobbe
The `MockSecurityInfo` instances in the patched devtools tests are not actually
being used as `nsITransportSecurityInfo` instances; while `QueryInterface`
methods were generated for the them, these were never called. Additionally, the
methods they are being passed to are not XPCOM-defined and therefore do not
strictly require `nsITransportSecurityInfo`.

In addition `NetworkHelper#parseSecurityInfo` now requires its `securityInfo`
to be `QueryInterface`d to a `nsITransportSecurityInfo` before calling the
function (except in the case of `MockSecurityInfo`, which is structurally
similar).

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:01:56 +00:00
Julian Descottes
6c7de7d545 Bug 1574572 - Restore highlighter-ready event definition in inspector specs for backward compatibility r=gl
Differential Revision: https://phabricator.services.mozilla.com/D42477

--HG--
extra : moz-landing-system : lando
2019-08-19 14:09:21 +00:00
Luca Greco
6cb0fbe862 Bug 1572793 - Move webextension-fallback.html from devtools/client/jar.mn to devtools/shared/jar.mn. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D41937

--HG--
rename : devtools/client/shared/webextension-fallback.html => devtools/shared/webextension-fallback.html
extra : moz-landing-system : lando
2019-08-19 06:30:56 +00:00
Nicolas Chevobbe
925311bc77 Bug 1568779 - Remove editors settings comments in devtools files. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D42300

--HG--
extra : moz-landing-system : lando
2019-08-19 12:48:16 +00:00
Mark Banner
b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
jaril
1a04a471fd Bug 1452920 - Clean up WebConsoleActor events and responses. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40387

--HG--
extra : moz-landing-system : lando
2019-08-19 06:57:42 +00:00
Gijs Kruitbosch
a829e24657 Bug 1571342 - unify save paths for console and netmonitor and fix the latter to not do docshell loads, r=Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41858

--HG--
extra : moz-landing-system : lando
2019-08-16 11:13:24 +00:00
Mats Palmgren
1f1f009b71 Bug 1574060 - Implement layout for 'display: flow-root list-item'. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42087

--HG--
extra : moz-landing-system : lando
2019-08-16 06:30:24 +00:00
Patrick Brosset
b5f63e6ed7 Bug 1568825 - 2 - Moving the nodePicker singleton to the toolbox r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41597

--HG--
extra : moz-landing-system : lando
2019-08-16 04:48:27 +00:00
Patrick Brosset
ad1f96f8cf Bug 1568825 - 1 - Moving node-picker.js to the client r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41596

--HG--
rename : devtools/shared/fronts/inspector/node-picker.js => devtools/client/inspector/node-picker.js
extra : moz-landing-system : lando
2019-08-16 04:48:26 +00:00
Maliha Islam
0a8eb5c95e Bug 1568053 - Create node actor method for getting complex bg color data for text nodes and refactor existing contrast calculation methods, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D40086

--HG--
extra : moz-landing-system : lando
2019-08-16 00:55:26 +00:00
Yura Zenevich
932dfb20d8 Bug 1573362 - update a copy for some of the text label checks messages. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41750

--HG--
extra : moz-landing-system : lando
2019-08-15 15:15:40 +00:00
Charlie Marlow
ef13c54a22 Bug 1573724 followup: update devtools css db to reflect that text-underline-offset: from-font is supported. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D42008

--HG--
extra : moz-landing-system : lando
2019-08-14 18:22:10 +00:00
Charlie Marlow
4643da386c Bug 1573725 followup: update devtools css db to reflect that text-decoration-thickness: from-font is supported. r=dholbert
DONTBUILD because this will still fail xpcshell tests
until the next commit which adds `from-font` to the other
new property, `text-underline-offset`.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 18:20:40 +00:00
Charlie Marlow
adbc6584d9 Bug 1572800: Part 1: Enable text-decoration-skip-ink by default on Nightly (and early-beta and earlier) r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D41881

--HG--
extra : moz-landing-system : lando
2019-08-14 17:49:19 +00:00
Charlie Marlow
dea58fc0bb Bug 1573725: turn on the pref for text-decoration-thickness on by default (in early-beta and earlier) r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D41883

--HG--
extra : moz-landing-system : lando
2019-08-14 16:46:18 +00:00
Charlie Marlow
75ab192bc4 Bug 1573724: turn text-underline-offset pref on by default (in early-beta and earlier) r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D41882

--HG--
extra : moz-landing-system : lando
2019-08-14 16:45:14 +00:00
Mats Palmgren
aa7733da8b Bug 1557825 part 2 - Add tests and update devtools for 'display:block ruby'. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D40213

--HG--
extra : moz-landing-system : lando
2019-08-14 14:38:33 +00:00
Mats Palmgren
740cfc08a3 Bug 1105868 part 3 - Implement 'inline list-item' and 'inline flow-root list-item' values for the 'display' property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39832

--HG--
extra : moz-landing-system : lando
2019-08-14 14:37:03 +00:00
Mats Palmgren
307e0a6d66 Bug 1569825 - Hide some 'display' values in devtools auto-completion that we want to discourage authors from using. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D39810

--HG--
extra : moz-landing-system : lando
2019-08-14 14:35:56 +00:00
Belén Albeza
b554a01c44 Bug 1565973 - Part 1: Implement manifest actor in the server r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40979

--HG--
extra : moz-landing-system : lando
2019-08-13 14:43:24 +00:00
Gabriel Luong
7e6632a422 Bug 1572460 - Refactor selection out of the InspectorFront. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D41314

--HG--
extra : moz-landing-system : lando
2019-08-14 05:07:38 +00:00
Gabriel Luong
daff679f83 Bug 1569023 - Expose a helper on protocol's Front class to help retrieve the parent front. r=ochameau,yulia
Differential Revision: https://phabricator.services.mozilla.com/D39610

--HG--
extra : moz-landing-system : lando
2019-08-14 04:51:20 +00:00
Charlie Marlow
693746ef3d Bug 1558929: adding from-font support to text-underline-offset and text-decoration-thickness r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41476

--HG--
extra : moz-landing-system : lando
2019-08-13 17:43:25 +00:00
Gabriel Luong
6013759ea3 Bug 1573058 - Remove legacy highlighter-ready and highlighter-hide events from the walker. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41646

--HG--
extra : moz-landing-system : lando
2019-08-13 17:55:08 +00:00
yulia
84b0e082f1 Bug 1560200 - Implement very basic markup view support traversing remote frames via resource api. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D39525

--HG--
extra : moz-landing-system : lando
2019-08-13 11:54:06 +00:00
Sylvestre Ledru
5da36f02d4 Bug 1562642 - Part 5 - Add missing MPL2 headers in devtools/ r=jlast
Depends on D41566

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

--HG--
extra : moz-landing-system : lando
2019-08-12 15:56:26 +00:00
tanhengyeow
c91b6dc057 Bug 1565226 - Limit the payload rendered in the Preview panel. r=nchevobbe
Limit the payload rendered in the Preview panel to 100 KB

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:44:27 +00:00
Joel Olsson
aa7bc8f357 Bug 1553545 - Enable font-size:xxx-large. r=emilio
MANUAL PUSH: Manually fixed up contributor's patch stack to squash the two patches in the bug.

Differential Revision: https://phabricator.services.mozilla.com/D41240
2019-08-10 18:32:33 +02:00
Alexandre Poirot
c9c50db29f Bug 1570685 - Revert startListeners, stopListeners, autocomplete and evaluateJSAsync requests to the previous format. r=nchevobbe
Bug 1570685 changed the format of these requests,
leading to backward compatiblity issues.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 17:10:24 +00:00
Julian Descottes
3df7a88f3b Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009

--HG--
rename : devtools/server/main.js => devtools/server/debugger-server-connection.js
rename : devtools/server/main.js => devtools/server/debugger-server.js
extra : moz-landing-system : lando
2019-08-08 12:44:13 +00:00
Jason Laster
c6612d3e41 Bug 1572227 - Warp should wait for pause events. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D41085

--HG--
extra : moz-landing-system : lando
2019-08-07 21:21:53 +00:00
Charlie Marlow
be2d349416 Bug 1555865: added text-decoration-thickness to the text-decoration shorthands r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D40335

--HG--
extra : moz-landing-system : lando
2019-08-07 17:42:15 +00:00
Alexandre Poirot
abb81825ef Bug 1570604 - Rename DebuggerClient.getActor to getFrontByID. r=jdescottes,yulia
Differential Revision: https://phabricator.services.mozilla.com/D40785

--HG--
extra : moz-landing-system : lando
2019-08-07 10:35:02 +00:00
Nicolas Chevobbe
2aa7e939ab Bug 1570998 - Remove selectedObjectActor trait. r=jdescottes.
It was added in Firefox 44 and isn't checked
anywhere in the codebase, so we can safely
remove it.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:45:34 +00:00
Nicolas Chevobbe
7613e0d9ae Bug 1570999 - Remove transferredResponseSize trait. r=jdescottes.
This was added in Firefox 38 and isn't used anywhere
in the codebase. Let's remove it.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:41:36 +00:00
Nicolas Chevobbe
57a0bb08b3 Bug 1570997 - Remove fetchCacheDescriptor trait. r=jdescottes.
This was added in Firefox 61, so we can safely remove it now.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:41:18 +00:00
Gabriel Luong
de91da4b2a Bug 1568151 - Replace target.getInspector() by target.getFront("inspector"). r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39914

--HG--
extra : moz-landing-system : lando
2019-08-07 04:17:31 +00:00