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

3088 Коммитов

Автор SHA1 Сообщение Дата
Maliha Islam deacf348f4 Bug 1564993 - Create simulator actor and front, r=yzen,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38884

--HG--
extra : moz-landing-system : lando
2019-08-29 04:55:45 +00:00
Florens Verschelde ac9c3d58a3 Bug 1575786 - Use unprefixed user-select property in devtools CSS; r=ladybenko,jlast
Differential Revision: https://phabricator.services.mozilla.com/D43217

--HG--
extra : moz-landing-system : lando
2019-08-29 10:12:25 +00:00
Yura Zenevich f025c6403a Bug 1564968 - add highlighting support for keyboard issues. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D43443

--HG--
rename : devtools/server/tests/browser/browser_accessibility_infobar_audit_text_label.js => devtools/server/tests/browser/browser_accessibility_infobar_audit_keyboard.js
extra : moz-landing-system : lando
2019-08-28 13:09:23 +00:00
Yura Zenevich 511b056b80 Bug 1564968 - adding keyboard audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D43442

--HG--
extra : moz-landing-system : lando
2019-08-28 13:09:24 +00:00
Gabriel Luong 8a3245ac6c Bug 1568157 - Part 4: Replace `toolbox.walker` with the contextual WalkerFront. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D40317

--HG--
extra : moz-landing-system : lando
2019-08-28 11:54:42 +00:00
Julian Descottes 2646ae9c6d Bug 1577092 - Remove connectTo* helpers in debugger-server and use connectors directly r=nchevobbe
Depends on D43728

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:07:56 +00:00
Julian Descottes e12432f70d Bug 1577092 - Change devtools server connectors to expose connectTo functions r=nchevobbe
Depends on D43618

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:07:40 +00:00
Bogdan Tara 02e806d54a Backed out 6 changesets (bug 1564968) by yzen's request CLOSED TREE
Backed out changeset 4b7516635108 (bug 1564968)
Backed out changeset c3227d4ff4b3 (bug 1564968)
Backed out changeset 868dbd59c79e (bug 1564968)
Backed out changeset db1a396ab58e (bug 1564968)
Backed out changeset e69163dc4683 (bug 1564968)
Backed out changeset c12857bc6980 (bug 1564968)
2019-08-28 16:06:23 +03:00
Yura Zenevich 14f3ce0a9b Bug 1564968 - add highlighting support for keyboard issues. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D43443

--HG--
rename : devtools/server/tests/browser/browser_accessibility_infobar_audit_text_label.js => devtools/server/tests/browser/browser_accessibility_infobar_audit_keyboard.js
extra : moz-landing-system : lando
2019-08-27 18:06:41 +00:00
Yura Zenevich 07581454e5 Bug 1564968 - adding keyboard audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D43442

--HG--
extra : moz-landing-system : lando
2019-08-28 12:12:59 +00:00
yulia 91d20d2982 Bug 1575557 - rename webExtension to webExtensionDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42867

--HG--
rename : devtools/server/actors/addon/webextension.js => devtools/server/actors/descriptors/webextension.js
rename : devtools/shared/fronts/addon/webextension.js => devtools/shared/fronts/descriptors/webextension.js
rename : devtools/shared/specs/addon/webextension.js => devtools/shared/specs/descriptors/webextension.js
extra : moz-landing-system : lando
2019-08-28 10:02:57 +00:00
yulia 207370a55c Bug 1575557 - merge webextension-proxy with webextension; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42866

--HG--
extra : moz-landing-system : lando
2019-08-28 10:06:27 +00:00
yulia e7dd37593b Bug 1522571 - Unify addonTargetFront with webExtensionSpec; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42833

--HG--
extra : moz-landing-system : lando
2019-08-28 10:01:43 +00:00
Julian Descottes 8a65fc4677 Bug 1557170 - Add isParentInterceptEnabled trait to ServiceWorkerRegistration actor r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D43598

--HG--
extra : moz-landing-system : lando
2019-08-28 06:38:47 +00:00
Nicolas Chevobbe 451bc0629c Bug 1572671 - Don't load content process server startup script if it was already loaded. r=ochameau.
Previously, we were simply having a flag on the ContentProcessConnector
that we would flip once we loaded the content process server startup script.
This was working fine until multi-proxy browser console.
Each time we open the Browser Console, we create a new loader in a new
compartment. Which means in the end we'll have a new ContentProcessConnector
instance, and the flag would be resetted, and thus we would load a new
content process server startup script, which finally, would emit some
packet twice, and thus would break how we manage new packet in the client.

This patch fixes that by replacing the flag by checking if the script
was already loaded.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 06:37:18 +00:00
Paul Bone 08bc01ab37 Bug 1576814 - Skip tests that timeout r=kmag
Depends on D43572

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

--HG--
extra : moz-landing-system : lando
2019-08-27 19:07:43 +00:00
Paul Bone 22abd7da9b Bug 1576814 - Remove fail-if tests that are now passing r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D43571

--HG--
extra : moz-landing-system : lando
2019-08-27 19:05:41 +00:00
yulia 9bbc3376d9 Bug 1574159 - implement listRemoteFrames for browsingContextTarget and listRemoteTab for content process; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42327

--HG--
extra : moz-landing-system : lando
2019-08-27 09:07:46 +00:00
yulia 7ad7d8e5c0 Bug 1574156 - implement FrameDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42305

--HG--
extra : moz-landing-system : lando
2019-08-27 09:07:45 +00:00
Miriam 00d77f3385 Bug 1574190 - Add server support for watchpoints. r=jlast
Lint and add test.

Add server support for watchpoints.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 22:33:08 +00:00
Brian Hackett 8d4c428010 Bug 1575058 - Fix assorted bugs with showing errors in the console while replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42704

--HG--
extra : moz-landing-system : lando
2019-08-24 23:54:33 +00:00
Brian Hackett 611fa8b9db Bug 1575056 - Control record/replay logging with preference, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42556

--HG--
extra : moz-landing-system : lando
2019-08-24 23:34:11 +00:00
Csoregi Natalia 31eced3689 Merge mozilla-central to autoland. CLOSED TREE 2019-08-23 18:41:20 +03:00
Jorg K 239c40f903 Bug 1575183 - Skip two subtests of test_extension_storage_actor.js when run in non-oop extension mode. r=rpl 2019-08-23 09:37:03 +02: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
Logan Smyth 66e57fe122 Bug 1562708 - Allow disabling of the mutation event warning for system-group event listeners. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43147

--HG--
extra : moz-landing-system : lando
2019-08-23 14:35:05 +00:00
Jason Laster b3a761c407 Bug 1575917 - findSourceURLs dos not exist. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D43103

--HG--
extra : moz-landing-system : lando
2019-08-22 20:13:48 +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
Jason Laster e2930d8d52 Bug 1575594 - Add logPoint support for displayName. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D42903

--HG--
extra : moz-landing-system : lando
2019-08-22 00:25:45 +00:00
Brian Hackett 85deb303e4 Bug 1572280 Part 3 - Reparse sources with GC'ed scripts to get all breakpoint positions, r=loganfsmyth.
Depends on D41127

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

--HG--
extra : moz-landing-system : lando
2019-08-22 00:05:23 +00:00
Brian Hackett 49c5b44026 Bug 1559583 Part 2 - Pad source contents with blank lines when they don't start at line 1, r=loganfsmyth.
Depends on D40911

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

--HG--
extra : moz-landing-system : lando
2019-08-21 23:58:32 +00:00
Thomas Nguyen cf20303f06 Bug 1528697 - Remove ReferrerPolicy.h and add utils to ReferrerInfo r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D41956

--HG--
extra : moz-landing-system : lando
2019-08-21 12:09:06 +00:00
Belén Albeza 3cef31d467 Bug 1573786 Part 2: Add mochitest to the Manifest actor r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42638

--HG--
extra : moz-landing-system : lando
2019-08-21 07:38:13 +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
Brian Hackett a7817c43e7 Bug 1574952 - Support calls to CGPathApply after diverging from the recording, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42576

--HG--
extra : moz-landing-system : lando
2019-08-21 03:16:35 +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 4d1b5b9a5c Bug 1552945 - Start Service Workers in the parent process with parent-intercept. r=asuth,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32492

--HG--
extra : moz-landing-system : lando
2019-08-20 15:21:11 +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
Brian Hackett 3281985555 Bug 1573970 - Pause on debugger statements when using web replay, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42243

--HG--
extra : moz-landing-system : lando
2019-08-20 15:16:18 +00:00
Razvan Caliman 2df504c779 Bug 1575186 - Ensure Shape Path Editor can be toggled for basic shapes with default values. r=pbro
The patch for [Bug 1559796](https://bugzilla.mozilla.org/show_bug.cgi?id=1559796) has changed the computed value for the default `circle()` basic shape (no coordinates). It now reflects the approach used with default `ellipse()` basic shape (no coordinates), thus addressing the issue with inconsistency raised in Bug 1521508.

The change means the Shape Path Editor's parsing of `circle()` and `ellipse()` need to account for the missing "closest-side" default radius. This patch addresses this need and introduces a test to check whether the Shape Path Editor successfully triggers for basic shapes with default values.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 13:59:07 +00:00
Nicolas Chevobbe 4707300839 Bug 1572414 - Fix hasNativeConsoleAPI when dealing with Sandboxes. r=yulia.
When the console parent actor is a ContentProcessTargetActor, we don't have
a reference to a `nsIDOMWindow`, but only to a Sandbox.
The code in `hasNativeConsoleAPI` would then silently fail when trying to
access `window.wrappedJSObject`, and keep `isNative` as `false`.
For now, we work around this by always returning true if we don't have
access to a `nsIDOMWindow`.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 08:29:07 +00:00
Logan Smyth 12ea9cfff0 Bug 1575096 - Disable beforeunload/unload event-breakpoint UI until fixed. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42577

--HG--
extra : moz-landing-system : lando
2019-08-20 00:37:58 +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
Jason Laster e2e22e8792 Bug 1575007 - Update pause messages while replaying. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D42542

--HG--
extra : moz-landing-system : lando
2019-08-19 18:25:42 +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