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

2739 Коммитов

Автор SHA1 Сообщение Дата
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
Andreea Pavel 018d43f8fb Backed out changeset 531e06bae805 (bug 1568151) for failing browser_ext_devtools_panel.js on a CLOSED TREE
--HG--
extra : amend_source : b4fbc693143810f3c7462c9d3598529627480891
2019-08-07 00:35:56 +03:00
Gabriel Luong 2365ba00a8 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-06 19:55:15 +00:00
Andreea Pavel 53820aa30c Backed out 9 changesets (bug 1564221) xpcshell failures on a CLOSED TREE
Backed out changeset 36e33a3b59f0 (bug 1564221)
Backed out changeset 12d1607c1415 (bug 1564221)
Backed out changeset 8c3157ad3ac9 (bug 1564221)
Backed out changeset ad7a644c5a8d (bug 1564221)
Backed out changeset 31f730109760 (bug 1564221)
Backed out changeset a140da3467e0 (bug 1564221)
Backed out changeset 02a324e713d6 (bug 1564221)
Backed out changeset dc76eeb3a74a (bug 1564221)
Backed out changeset bc933f236434 (bug 1564221)
2019-08-06 20:49:21 +03:00
Barret Rennie bdc312d909 Bug 1564221 - Remove QueryInterface parameter from MockSecurityInfo in devtools tests r=ochameau
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`.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:37:05 +00:00
yulia 05d661890f Bug 1566450 - replace getList process json with processDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37712

--HG--
extra : moz-landing-system : lando
2019-08-05 15:27:51 +00:00
yulia 93b10b4e80 bug 1566450 - Implement a metaclass for content processes r=ochameau,jdescottes
WIP for metaclass concept

The best place to start is the test, it outlines what the API looks like.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 15:15:46 +00:00
Csoregi Natalia 533d800d89 Backed out changeset 63ffc8b43cc3 (bug 1571221) for failures on browser_ext_devtools_inspectedWindow.js. CLOSED TREE 2019-08-05 20:13:18 +03:00
Krishnal Ciccolella ce3d0217a4 Bug 1571221 - Add a check for 'this.selection' before calling 'destroy()' on it r=gl
Added an if statement to check for `this.selection`. If it is truthy, `destroy()` will be called on it.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 15:37:16 +00:00
Boris Chiou b91b90c199 Bug 1559231 - Support offset-anchor. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39432

--HG--
extra : moz-landing-system : lando
2019-08-02 20:12:38 +00:00