Commit Graph

2852 Commits

Author SHA1 Message Date
Nicholas Nethercote
66a26ccca9 Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 01:44:59 +00:00
Razvan Caliman
9266f1b83d Bug 1547224 - Enable inactive CSS detection for all releases. r=gl
As discussed with @mbalfanz, we want to flip the pref so Inactive CSS is enabled and rides the trains.
This will enable the feature on Firefox 70 Beta/DevEdition allowing us to collect early user feedback and issues.

If all goes well during Beta/DevEdition, the feature will ride the trains to Release.
If there is a major blocker, we will uplift a patch to disable the pref so it doesn't proceed to Release.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:41:10 +00:00
yulia
994b5faf43 Bug 1522106 - remove target.onFront from target-mixin; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D42642

--HG--
extra : moz-landing-system : lando
2019-08-22 09:28:11 +00:00
Razvan Caliman
fcba264404 Bug 1557689 - Refresh all CSS rules matching an element after making changes to one. r=gl
This is an alternative implementation to D41996.

The main difference is that it's now a "push" approach whereby changes to one CSS rule will refresh the CSS declarations of all rules matching the element (inferred to be list of rules returned by the latest call to `PageStyleActor.getApplied()`).

If any declaration's used state has changed, an event called "declarations-changed" is triggered by the `StyleRuleActor` for that rule with all the declarations and their updated state. On the client, consumers go through the declarations with changed `isUsed` flags and update the UI accordingly.

Some optimizations done:
- do not check declarations that don't have validators for Inactive CSS conditions
- trigger the `"declarations-changed"` event only for rules which have declarations that have actually changed their `isUsed` flag

TODO [Bug 1574471](https://bugzilla.mozilla.org/show_bug.cgi?id=1574471): we should rename `declaration.isUsed` or make it a boolean and tack the other metadata (`fixId`, `msgId`, etc) onto another exposed object on the declaration. It's confusing to have it return an object given its name.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 14:58:16 +00:00
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
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
Brindusan Cristian
0b3e26149c Backed out 2 changesets (bug 1559231) for rusttests build bustages. CLOSED TREE
Backed out changeset d47d9f4bf9a9 (bug 1559231)
Backed out changeset 50f92d01c47a (bug 1559231)
2019-08-02 21:55:37 +03:00
Boris Chiou
9463547bb3 Bug 1559231 - Support offset-anchor. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39432

--HG--
extra : moz-landing-system : lando
2019-08-02 00:43:11 +00:00
jaril
60991a8f38 Bug 1452920 - Convert WebConsoleActor to protocoljs Actor. r=nchevobbe,yulia
Differential Revision: https://phabricator.services.mozilla.com/D39490

--HG--
extra : moz-landing-system : lando
2019-07-31 14:13:23 +00:00
Emilio Cobos Álvarez
73a81d9f9a Bug 1569911 - followup: Update properties database since the order some structs are loaded changed.
MANUAL PUSH: orange
2019-07-30 14:16:48 +02:00
Oriol Brufau
9f8a98e989 Bug 1544175 - Prevent devtools from accessing CPOWs. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38803

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_console.js => devtools/client/webconsole/test/mochitest/browser_console_cpow.js
extra : moz-landing-system : lando
2019-07-29 22:16:49 +00:00
Julian Descottes
c9aba0f00c Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850

--HG--
rename : devtools/shared/multi-e10s-helper.js => devtools/shared/service-workers-debug-helper.js
extra : moz-landing-system : lando
2019-07-29 12:59:25 +00:00
Brian Hackett
d62dcc9f5f Bug 1556813 Part 7 - Instrumentation based control logic, r=loganfsmyth.
--HG--
extra : rebase_source : 8d2dbd2017551651f88994de2937e0eb8832ae55
extra : histedit_source : df5a94b656f2a866315135914058ad3540c3d5be
2019-06-12 07:45:04 -10:00
Brian Hackett
35c0ee1da7 Bug 1556813 Part 5 - Server changes for instrumentation based control logic, r=loganfsmyth.
--HG--
extra : rebase_source : b678f9170a1d2250c5916d9a9dcbfe7ed82c0a0b
extra : histedit_source : 548ebf0a3570200dcf856cff249a518a568e9d5a
2019-06-12 07:42:49 -10:00
Gabriel Luong
8923476caf Bug 1539764 - Add a targetFront attribute to the Front class to retrieve the target front. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39130

--HG--
extra : moz-landing-system : lando
2019-07-26 21:40:12 +00:00
Noemi Erli
1e52c22f88 Backed out changeset 63fabd70675c (bug 1539764) for causing failures in browser_ext_addon_debugging_netmonitor.js CLOSED TREE 2019-07-26 01:29:13 +03:00
Gabriel Luong
d453abb466 Bug 1539764 - Add a targetFront attribute to the Front class to retrieve the target front. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39130

--HG--
extra : moz-landing-system : lando
2019-07-25 20:44:09 +00:00
Julian Descottes
0ab30c1e08 Bug 1568823 - Simplify parser.js and rename to parser-helper r=nchevobbe
Depends on D39335
Looking in details at get(), the implementation can also be simplified

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

--HG--
rename : devtools/shared/webconsole/parser.js => devtools/shared/webconsole/parser-helper.js
extra : moz-landing-system : lando
2019-07-25 13:21:03 +00:00
Julian Descottes
5689ca6238 Bug 1568823 - Move Parser.jsm to a regular module in devtools/shared/webconsole r=nchevobbe
Depends on D39333

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

--HG--
rename : devtools/shared/Parser.jsm => devtools/shared/webconsole/parser.js
extra : moz-landing-system : lando
2019-07-25 13:17:11 +00:00
Julian Descottes
999495e12c Bug 1568823 - Stop exporting reflectionAPI from Parser.jsm r=nchevobbe
Depends on D39332

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

--HG--
extra : moz-landing-system : lando
2019-07-25 13:15:12 +00:00
Julian Descottes
3920fcb9e9 Bug 1568823 - Remove all unused methods from Parser.jsm r=nchevobbe
Depends on D39321

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

--HG--
extra : moz-landing-system : lando
2019-07-25 14:05:41 +00:00
Julian Descottes
d55d46038c Bug 1563474 - Remove unused getScriptInfo from Parser.jsm r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39321

--HG--
extra : moz-landing-system : lando
2019-07-25 11:38:59 +00:00
Brendan Dahl
efab80cbeb Bug 1550801 - Replace expected XULDocument with HTMLDocument in devtools tests. r=nchevobbe
test_bug819670_getter_throws.html:
Previously, the document context inspected in the console was the test
harness XULDocument, but now it will be an HTMLDocument. Update the
checks to make sure the inspected object has the same own properties as
the test documents own properties.

other tests:
Simply replace the expected document type.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 06:34:05 +00:00
Alexandre Poirot
0d64e50e68 Bug 1568185 - Remove unused bindObjectActor argument from console actor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39051

--HG--
extra : moz-landing-system : lando
2019-07-24 08:35:41 +00:00
Bogdan Tara
b478ba698c Backed out 2 changesets (bug 1568203, bug 1568185) for ES lint failure on eval-with-debugger.js CLOSED TREE
Backed out changeset adc394f833f9 (bug 1568203)
Backed out changeset 46c3a1fdc706 (bug 1568185)
2019-07-24 11:24:51 +03:00
Alexandre Poirot
802d183dff Bug 1568185 - Remove unused bindObjectActor argument from console actor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39051

--HG--
extra : moz-landing-system : lando
2019-07-24 07:47:55 +00:00
yulia
1c9daf26fe Bug 1528730 - Remove ChromeDebugger and rename chromeDebugger field to threadActor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D38838

--HG--
extra : moz-landing-system : lando
2019-07-23 03:27:04 +00:00
Mihai Alexandru Michis
e637325c0e Merge mozilla-central to mozilla-inbound. a=merge
--HG--
extra : amend_source : f93ba2cbe8a0ea251a8c95dd565117a109e25a91
2019-07-20 01:23:23 +03:00
longsonr
18aba690d1 Bug 1353164 Part 2 - Bustage fix for devtools 2019-07-19 13:58:15 +01:00
Charlie Marlow
f66a867469 Bug 1567282: renamed text-decoration-width to text-decoration-thickness r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38586

--HG--
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-computed.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-computed.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-initial.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-initial.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-invalid.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-invalid.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-linethrough-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-linethrough-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-overline-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-overline-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-scroll-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-scroll-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-underline-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-underline-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-valid.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-valid.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-vertical-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-vertical-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-vertical-002.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-vertical-002.html.ini
rename : testing/web-platform/meta/css/css-typed-om/the-stylepropertymap/properties/text-decoration-width.html.ini => testing/web-platform/meta/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html.ini
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-001-notref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-001-notref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-green-rect-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-green-rect-ref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-scroll-001-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-scroll-001-ref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-vertical-green-rect-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-vertical-green-rect-ref.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-computed.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-computed.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-initial.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-initial.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-invalid.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-invalid.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-linethrough-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-linethrough-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-overline-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-overline-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-scroll-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-scroll-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-underline-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-underline-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-valid.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-valid.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-vertical-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-vertical-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-vertical-002.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-vertical-002.html
rename : testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-width.html => testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html
extra : moz-landing-system : lando
2019-07-19 16:33:08 +00:00
Anshul
2b608adeff Bug 1454827 - Rename onSource to source in source actor r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D38191

--HG--
extra : moz-landing-system : lando
2019-07-19 15:33:58 +00:00
Alexandre Poirot
438498ee47 Bug 1566457 - Remove unused provider logic from Loader.jsm. r=jdescottes
We used to have another provider which would load module via file:// URI,
directly from the disk. But the progress on artifact builds and ./mach build faster
made this obsolete and has been removed a long time ago.
We still have a lot of abstraction to support this non-existent feature.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:05 +00:00
Alexandre Poirot
c9648fef81 Bug 1566457 - Only export require, loader and DevToolsLoader from Loader.jsm r=jdescottes
The rest was legacy code to support old xul add-ons.
All mozilla-central code used to be refactored, but a few places
were still using the old codepaths.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:03 +00:00
Alexandre Poirot
47fff7b393 Bug 1566457 - Remove unused devtools-cleanup observer message. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38282

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:01 +00:00
Alexandre Poirot
8164b4a595 Bug 1566457 - Remove unused codepath in the base loader for non-shared globals. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38281

--HG--
extra : moz-landing-system : lando
2019-07-18 12:24:54 +00:00
tanhengyeow
60458cbfd4 Bug 1564105 - Enable WS Monitor in Nightly. r=Honza,jdescottes
Enable WS Monitor in Nightly

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

--HG--
extra : moz-landing-system : lando
2019-07-18 13:49:59 +00:00
Dana Keeler
18e9f3ba80 bug 1564481 - reset HSTS/HPKP state to factory settings rather than storing knockout entries for preloaded sites r=jcj r=KevinJacobs
As originally implemented, nsISiteSecurityService.removeState allowed direct
access to remove HSTS state. It also provided the implementation for when the
browser encountered an HSTS header with "max-age=0". In bug 775370, it was
updated to store an entry that would override preloaded information when
processing such headers. However, this meant that the semantics of the direct
access API had changed. Preloaded information could be overridden if a user
invoked the "forget about this site" feature. This change fixes the public API
(and renames it to "resetState") so it actually behaves as its consumers expect.

Reviewers: jcj!, KevinJacobs!

Tags: #secure-revision

Bug #: 1564481

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

--HG--
extra : rebase_source : 8dd5460d3fd3c0ce92746cc83fae220d6e2a83cf
extra : amend_source : 171ebb015e9f9ae775f0caa22e161d41970f3d51
2019-07-11 13:48:28 -07:00
Noemi Erli
af897e281a Merge inbound to mozilla-central. a=merge 2019-07-16 00:42:51 +03:00
Maliha Islam
672aefd444 Bug 1478156 - Make color picker tooltip screen reader accessible, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D35980

--HG--
extra : moz-landing-system : lando
2019-07-15 11:01:04 +00:00
Maliha Islam
a94e63b533 Bug 1478156 - Move shared code to be used by color contrast feature, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D32490

--HG--
extra : moz-landing-system : lando
2019-07-15 11:01:03 +00:00
Alexandre Poirot
2a463d6bff Bug 1388054 - Stop using Promise.jsm from devtools/shared/defer. r=jryans 2019-07-14 19:46:32 -07:00
Narcis Beleuzu
cb456cb27d Backed out 6 changesets (bug 1478156) for dt failures on browser_html_tooltip_xul-wrapper.js . CLOSED TREE
Backed out changeset 5ca694230ffa (bug 1478156)
Backed out changeset fcc9123589fd (bug 1478156)
Backed out changeset 83a10c635fe9 (bug 1478156)
Backed out changeset a363971fffb0 (bug 1478156)
Backed out changeset 314855eab887 (bug 1478156)
Backed out changeset 041f51c9d4d1 (bug 1478156)

--HG--
rename : devtools/client/inspector/rules/test/browser_rules_colorpicker-appears-on-swatch-click-or-keyboard-activation.js => devtools/client/inspector/rules/test/browser_rules_colorpicker-appears-on-swatch-click.js
2019-07-14 05:32:45 +03:00
Maliha Islam
8029f7b024 Bug 1478156 - Make color picker tooltip screen reader accessible, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D35980

--HG--
extra : moz-landing-system : lando
2019-07-13 18:37:48 +00:00
Maliha Islam
0e48d4c3b4 Bug 1478156 - Move shared code to be used by color contrast feature, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D32490

--HG--
extra : moz-landing-system : lando
2019-07-13 18:36:41 +00:00
longsonr
7cf71757bf Bug 1353164 Part 1 - Remove dominant-baseline values that no longer exist r=heycam 2019-07-13 15:35:08 +01:00
Razvan Caliman
5c78bb5b6b Bug 1554701 - Replace CssProperties.isValidOnClient() with CSS.supports() r=gl
Given that `CssProperties.isValidOnClient()` does only a client-side check for support of a CSS declaration, we can leverage the built-in `CSS.supports()` method and remove some of the inter-dependencies between the `CssProperties` object from the `CssPropertiesFront` and its consumers, `OutputParser` and `FilterWidget`.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:28:29 +00:00
Panos Astithas
4993f3303e Bug 1406915 - Convert uses of defer to DOM promises in devtools/shared/client/. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37747

--HG--
extra : moz-landing-system : lando
2019-07-12 14:37:29 +00:00
Jan de Mooij
5ea23033d2 Bug 1565175 - Fix HeapSnapshotHandler to not add nodes to |visited| until they're written to the core dump. r=fitzgen
Because ShouldIncludeEdge considers the |origin| node as well, it was possible for
the old code to 'miss' nodes and never write them to the core dump even though we
also wrote some edges with the node as referent.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 18:41:43 +00:00
Alexandre Poirot
c57a4aea23 Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes
ChromeUtils.import still support a second argument as it used to do
when it was Components.utils.import. But this is deprecated and we should
instead always use the returned value.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 17:08:20 +00:00
yulia
4e6d03ada7 Bug 1559819 - rename context to thread; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32849

--HG--
extra : moz-landing-system : lando
2019-07-11 09:45:02 +00:00
yulia
cc00bf541b Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848

--HG--
rename : devtools/client/debugger/src/actions/tests/helpers/threadClient.js => devtools/client/debugger/src/actions/tests/helpers/threadFront.js
rename : devtools/shared/client/thread-client.js => devtools/shared/fronts/thread.js
extra : moz-landing-system : lando
2019-07-11 09:45:32 +00:00
Nicolas Chevobbe
997f0e4621 Bug 1563761 - Handle comments in analyzeInput. r=ochameau.
We weren't handling comments at all, which means that having
any in the console would probably make the autocomplete not
working.
This patch handles both inline and multiline javascript comments,
and adds test cases to ensure we don't regress.

Depends on D36573

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

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

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

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

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

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

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

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

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

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

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

--HG--
extra : source : 4722b924e08478f5337ab509718bd66906bf472f
extra : amend_source : a5baa1aab21639fdba44537e3a10b179b0073cb4
2019-07-05 11:29:32 +02:00
Razvan Maries
daed363fd7 Merge mozilla-inbound to mozilla-central a=merge 2019-07-05 00:40:17 +03:00
Razvan Caliman
0bde9bbef6 Bug 724505 - Map minified CSS to prettyfied CSS. r=gl
Ensure source links for selectors in the Rules view and warning links in Web Console for minified CSS go to the right location in the Style Editor after applying automatic prettification.

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

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

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

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

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

--HG--
extra : moz-landing-system : lando
2019-07-04 17:30:00 +00:00
Csoregi Natalia
0c754625a9 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-04 12:54:22 +03:00
Oana Pop Rus
2ad74ef9f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-04 06:38:21 +03:00
Yura Zenevich
459cd85753 Bug 1562194 - update <optgroup> text label audit rules and only keep the text label for optgroup from label rule. r=nchevobbe,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36760

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

--HG--
extra : moz-landing-system : lando
2019-07-04 15:16:57 +00:00
Julian Descottes
043855ab8e Bug 1562583 - Add license headers in devtools/shared/protocol files r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36480

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:25:13 +00:00
arthur.iakab
7bc47eec9b Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Sebastian Streich
ce99ef5438 Bug 1552168 - Fix Tests that rely on data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35006

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

--HG--
rename : devtools/client/themes/images/error-small.svg => devtools/client/themes/images/webconsole/error.svg
rename : devtools/client/themes/images/info-small.svg => devtools/client/themes/images/webconsole/info.svg
2019-07-04 02:21:44 +03:00
Maliha Islam
2d69e323f1 Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257

--HG--
extra : moz-landing-system : lando
2019-07-02 15:47:34 +00:00
Kris Maglione
fd61f8b9d4 Bug 1541557: Part 7 - Convert SpecialPowers to use JSWindowActors rather than framescripts. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35057

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.jsm => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/SpecialPowers.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : f3edaf8edc918bb4291b66cb50f4de117f57b2bd
extra : source : 46ff845a7b0cdabf640bb2e3c783735ab68b7cd1
2019-06-12 10:48:29 -07:00
Gabriel Luong
1aa241f2d1 Bug 1550030 - Part 1: Implement the DOM mutation breakpoint context menu items in the markup view. r=loganfsmyth,jdescottes
This implements the context menu items for the DOM mutation breakpoint.
In addition, there were some server changes to:
- Update the mutationBreakpoints form for the NodeActor
- Expose the mutationBreakpoints form
- Moved the setMutationBreakpoints method from the Node spec to Walker spec
since the Node spec only consisted of getter methods. It made more sense
that the setter went into the Walker spec to be more consistent with how
the Walker and Node spec have been arranged.

Unit tests will be followed up in Part 2 immediately.

Differential Revision: https://phabricator.services.mozilla.com/D36074
2019-06-26 15:16:22 -04:00
Jefry Lagrange
bd7874038e Bug 1517728 - Export Console content to file. .
Add a context menu entry to export the console output to a file.
We group the 2 export entries into a submenu.

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

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

--HG--
extra : moz-landing-system : lando
2019-06-27 21:34:33 +00:00
Andreea Pavel
ea400c1438 Backed out changeset 21d365e43fec (bug 1561131) for failing test_bug1112014.html on a CLOSED TREE 2019-06-28 00:12:41 +03:00
Charlie Marlow
3f0f7ff856 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 18:09:10 +00:00
Connor Brewster
691d3c2a59 Bug 1555165 - Part 1: Parse backdrop-filter CSS property r=emilio,boris
Differential Revision: https://phabricator.services.mozilla.com/D35816

--HG--
extra : moz-landing-system : lando
2019-06-26 23:02:16 +00:00
Jason Laster
890892c4e2 Bug 1560445 - Extract classes from protocol.js. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D35502

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

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:27:16 +00:00
Brian Hackett
359882bb51 Bug 1484818 - Fix record/replay problems with protocol.js ThreadClient, r=yulia.
--HG--
extra : rebase_source : 71683eca53cc53ba03f3d356bd73c40667d44073
2019-06-20 06:31:55 -10:00
Nicolas Chevobbe
a71fef0c9c Bug 1560429 - Fix low-alpha hexa longAlphaHex getter. r=miker.
A test case is added to make sure this is fixed.
We also add the ability to not run a given test case in the color test.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:17:34 +00:00
Logan Smyth
bf92dc5ae0 Bug 1549999 - Use notification infrastructure to implement DOM event breakpoints. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31002

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

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

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

--HG--
extra : moz-landing-system : lando
2019-06-18 15:59:29 +00:00
violet
682af614dd Bug 1470695 - Implement overflow-block and overflow-inline properties r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D34738

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

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

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

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

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:59 +00:00