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

17151 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 62614ed9ba Bug 1561705: Follow-up: Disable leaky tests on linux debug. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42695

--HG--
extra : rebase_source : 95dd24c5b4c1807fbfa21caf675a91ded960b006
2019-08-20 12:51:19 -07:00
Kris Maglione 467bd404f5 Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42179

--HG--
extra : rebase_source : 319e389d7c38d919b2c5d474aa8417f443f94fb4
extra : source : 080ff558e41aad0cf05ca896c7f98bf4c9a2e7e9
2019-08-14 16:14:02 -07:00
tanhengyeow 7595c5da4e Bug 1574826 - WebSocket Inspector Test: Basic functionality. r=Honza
Setup base structure common to all WS inspector tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 10:47:56 +00:00
Julian Descottes 79e6048315 Bug 1539979 - Force devtools to use a chrome frame in intermittent mochitests r=ochameau
Depends on D40995

I get a 10% failure rate on try for those two tests, but I haven't managed to get
a single failure locally so I couldn't identify the root cause yet. I would like
to fix them in a follow up.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:34:57 +00:00
Julian Descottes 7a59b5f5de Bug 1539979 - Add delay in various DevTools mochitests after switching hosts r=ochameau
Depends on D40994

Switching hosts (especially going from docked to window) seems more async than before.
I would like to work on fixing those in a follow up.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:28:41 +00:00
Julian Descottes 9d6c0680c0 Bug 1539979 - Fix eyedropper tests for DevTools in content frame r=ochameau
Depends on D40993

I don't fully understand the failures in this test on Linux.
The only way I could get it to pass for now was to force a window focus when the test runs in a window host.
Other OSes are fine, but without this, Linux is permafailing this.

I don't have a good linux env right now, so I would like to proceed with this and
fix it in a follow up.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:43:59 +00:00
Julian Descottes b8fb3476e7 Bug 1539979 - Fix browser_inspector_search-filter_context-menu.js when running in content frame r=nchevobbe
Depends on D40992

In general, using `click()` seems less reliable when using a frame with type=content. I am not entirely sure why since the context menu is supposed to be created in the top window anyway

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:23:56 +00:00
Julian Descottes 8365fb1ac2 Bug 1539979 - Fix browser_toolbox_toolbar_overflow.js when running in content frame r=nchevobbe
Depends on D40991

This test had some suspicious calls to async methods without await. Properly waiting on them avoids frequent intermittents when running in a content frame.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:22:38 +00:00
Julian Descottes 8415e17411 Bug 1539979 - Fix browser_toolbox_window_title_changes for DevTools in content frame r=nchevobbe
Depends on D40990

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:21:50 +00:00
Julian Descottes 33776481fd Bug 1539979 - Fix HTML Tooltip test for content frames r=gl
Depends on D40989

I though I fixed this a few months ago, but there are still timing issues with the current test when using a frame with type=content.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:21:22 +00:00
Julian Descottes af9f2466e7 Bug 1539979 - Attach SwatchBasedEditor shortcuts to tooltip window r=gl
Depends on D40988

This is not explicitly needed in this queue but I noticed this issue
while working on eyedropper test issues.

The top window might change when switching from docked to window hosts
so we should rather attach shortcut events to the regular window.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:17:00 +00:00
Julian Descottes 9e623bb5f5 Bug 1539979 - Use a frame with type=content for DevTools frames r=ochameau
This introduces a preference to load the DevTools toolbox
in a frame with type=content instead of type=chrome.
Having a preference will allow to keep the previous behavior in a
few intermittent tests, while we collect feedback on Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:55:54 +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
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
Itiel 5efe209a73 Bug 1574847 - Fix the checkmark position on the main devtools options menu dropdown for RTL users r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D42518

--HG--
extra : moz-landing-system : lando
2019-08-20 08:12:22 +00:00
Nicolas Chevobbe 2133561d3b Bug 1574763 - Localize the WarningGroup badge title. r=jdescottes.
Sadly the badge title wasn't localized at all, so we add a new
l10n string and use it in the component.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:52:40 +00:00
Jason Laster bc574b123c Bug 1574040 - Generalize the Debugger's worker redux management. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42238

--HG--
rename : devtools/client/debugger/src/utils/workers.js => devtools/client/debugger/src/utils/threads.js
extra : moz-landing-system : lando
2019-08-20 04:41:41 +00:00
Logan Smyth 3660d8e202 Bug 1572209 - Part 3: Upgrade MC Devtools build logic to use Babel 7.x for compilation. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42573

--HG--
rename : devtools/client/debugger/.babelrc => devtools/client/debugger/babel.config.js
extra : moz-landing-system : lando
2019-08-20 00:57:18 +00:00
Logan Smyth 0cff9d331e Bug 1572209 - Part 2: Upgrade debugger source-file processing to use Babel 7. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42572

--HG--
extra : moz-landing-system : lando
2019-08-20 00:56:33 +00:00
Logan Smyth d2095a0055 Bug 1572209 - Part 1: Rebuild worker bundles to pick up some missing logic. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42571

--HG--
extra : moz-landing-system : lando
2019-08-20 00:55:49 +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
Cosmin Sabou 1426dda56b Backed out changeset b0ad994d07d0 (bug 1574040) for debugger failures.
--HG--
rename : devtools/client/debugger/src/utils/threads.js => devtools/client/debugger/src/utils/workers.js
2019-08-20 03:41:14 +03: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 f88768528b Bug 1574040 - Generalize the Debugger's worker redux management. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42238

--HG--
rename : devtools/client/debugger/src/utils/workers.js => devtools/client/debugger/src/utils/threads.js
extra : moz-landing-system : lando
2019-08-20 00:21:32 +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
Mark Banner ca74b508b7 Bug 1574915 - Fix some instances of using async functions as promise executors. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D42508

--HG--
extra : moz-landing-system : lando
2019-08-19 16:26:31 +00: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
Itiel a92ad7a9b4 Bug 1573804 - Fix dropdown tooltip arrow RTL alignment in devtools HTML documents. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D42538

--HG--
extra : moz-landing-system : lando
2019-08-19 17:31:26 +00:00
Julian Descottes 36de0b4930 Bug 1572867 - Use toolbox topWindow to prepare telemetry "open" event r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41801

--HG--
extra : moz-landing-system : lando
2019-08-19 15:21:58 +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
Jason Laster 6845094e87 Bug 1574830 - Scanning should not show an overlay. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D42443

--HG--
extra : moz-landing-system : lando
2019-08-19 14:39:14 +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 91cb50a784 Bug 1572442 - Refactor how we create Console's network data provider. r=Honza.
The DataProvider is what allows us to use the Netmonitor
components. The way it was created before was non optimal,
as it were inside an enhancer, and was then attached to
a proxy.
As we may now have multiple proxies, this could cause
some issue.
So we take this as an opportunity to create the DataProvider
in the WebConsoleWrapper (where live the actions we need for
the provider), and remove the now unused function on the
WebConsoleConnectionProxy.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 14:53:52 +00:00
Nicolas Chevobbe f07d2560ed Bug 1573100 - Remove unused WebConsole:setFilterState. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D42298

--HG--
extra : moz-landing-system : lando
2019-08-19 14:47:21 +00:00
Nicolas Chevobbe e70654f2f3 Bug 1571006 - Fix intermittent in browser_jsterm_await_paused. r=Honza.
Since we're having a setTimeout in which we call
the Promise resolve function with a local variable
for a script we're paused in, it might occur that
when resuming, the setTimeout delay would be big
enough for the local variable to not be available
anymore.
So here, we compute the results directly in the
Promise callback body so we're sure the local
variable still exists.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 14:43:08 +00:00
Ciure Andrei 8f8f28acdb Backed out changeset 3f0cde4a61e5 (bug 1572867) for causing browser_toolbox_telemetry_open_event.js to perma fail CLOSED TREE 2019-08-19 17:25:29 +03:00
Julian Descottes 3cd9f746fb Bug 1572867 - Use toolbox topWindow to prepare telemetry "open" event r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41801

--HG--
extra : moz-landing-system : lando
2019-08-19 13:18:18 +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
Belén Albeza e3e7c0ffca Bug 1573408 - Restore mock in jest tests r=Ola,sole
Differential Revision: https://phabricator.services.mozilla.com/D41982

--HG--
extra : moz-landing-system : lando
2019-08-19 08:52:41 +00:00
Belén Albeza 421c27f643 Bug 1566007 - Part 3: Add tests (jest + mochitest) r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D41975

--HG--
extra : moz-landing-system : lando
2019-08-19 08:16:57 +00:00
Belén Albeza 06f7b4f124 Bug 1566007 - Part 2 : Add ManifestLoader component r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41974

--HG--
extra : moz-landing-system : lando
2019-08-19 08:27:20 +00:00
Belén Albeza fa01c1cf25 Bug 1566007 - Part 1: Create Redux state/reducers/actions to hold manifest data r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D41973

--HG--
extra : moz-landing-system : lando
2019-08-15 08:32:25 +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
monikamaheshwari 4be649015b Bug 1553458 remove in-content-text-color r=remote-debugging-reviewers,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D40591

--HG--
extra : moz-landing-system : lando
2019-08-19 06:10:53 +00:00
Daisuke Akatsuka a8fcde43fa Bug 1571650: Add test for z-index of grids. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D41931

--HG--
extra : moz-landing-system : lando
2019-08-18 03:13:51 +00:00
Daisuke Akatsuka 016f7b5076 Bug 1571650: Change z-index by the nest. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D41929

--HG--
extra : moz-landing-system : lando
2019-08-16 07:38:57 +00:00
Noemi Erli 359e69d95a Backed out changeset 65b1715d878b (bug 1573695) for causing failures in browser_parsable_css.js CLOSED TREE 2019-08-17 09:27:31 +03:00
David Walsh b70ef6a203 Bug 1573695 - Implement skip pausing disabled effect for secondary panels r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D42174

--HG--
extra : moz-landing-system : lando
2019-08-16 20:24:57 +00:00