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

20980 Коммитов

Автор SHA1 Сообщение Дата
Daisuke Akatsuka 1c09f71859 Bug 1591307: Localize CompatibilityApp component. r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D79804
2020-06-18 07:27:50 +00:00
Daisuke Akatsuka 1e1c4fc175 Bug 1591307: Introduce basic localization mechanism. r=jdescottes,stas
Differential Revision: https://phabricator.services.mozilla.com/D79803
2020-06-23 23:26:42 +00:00
Brad Werth 5c0d68416b Bug 1498336: Modify test browser_toolbox_rule_view_reload.js to await reflow of the Rule View, not just that its "refreshed". r=mtigley
This change forces a reflow + repaint of the Rule View before checking its
contents. Ideally, this will remove the intermittent behavior of this test.

Differential Revision: https://phabricator.services.mozilla.com/D66671
2020-06-23 15:36:58 +00:00
Julien Wajsberg dcc454abe5 Bug 1647650 - Reference the new profiler server instead of the old one r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D80613
2020-06-23 12:12:09 +00:00
Julian Descottes 426d07f236 Bug 1646636 - Disable devtools.contenttoolbox.fission in inspector tests for frames + context menu r=ochameau,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D80503
2020-06-23 13:26:06 +00:00
Julian Descottes 87467dc091 Bug 1644357 - Remove unused WebExtensionDescriptor properties isAPIExtension & type r=daisuke
Depends on D78009

Differential Revision: https://phabricator.services.mozilla.com/D78868
2020-06-09 10:09:09 +00:00
Julian Descottes d412953eea Bug 1646456 - Only call destroy on top level pools from connection onClosed r=ochameau,nchevobbe
Depends on D80060

Differential Revision: https://phabricator.services.mozilla.com/D80064
2020-06-23 11:08:30 +00:00
Julian Descottes 4006b42e26 Bug 1646456 - Remove unused noCleanup argument from removeActorPool r=nchevobbe
Depends on D80059

removeActorPool is only called from one spot, which always passes the second optional argument as true.

Differential Revision: https://phabricator.services.mozilla.com/D80060
2020-06-22 12:54:26 +00:00
Julian Descottes b1578fe35a Bug 1646456 - Add xpcshell test to check pool destruction when connection closes r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D80059
2020-06-23 10:13:59 +00:00
Coroiu Cristina 8126633a9c Bug 1644044 - disable browser_dbg-old-breakpoint.js on linux and mac for frequesnt failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D80388
2020-06-23 10:23:15 +00:00
Butkovits Atila afbfabf2f0 Backed out changeset b09c7ddea2a4 (bug 1646678) for causing leaks. CLOSED TREE 2020-06-23 11:06:54 +03:00
Nicolas Chevobbe b5493ef467 Bug 1646678 - Allow resource watcher tests to force server side support. r=ochameau.
This is done by getting the value of the `devtools.testing.enableServerWatcherSupport`
preference on the WatcherActor, and using its result to enable the traits or not.
On the browser_resources_* test that have both legacy and server listener, we
run the tests twice, without and with the pref to have some decent coverage.

Differential Revision: https://phabricator.services.mozilla.com/D79983
2020-06-22 12:15:11 +00:00
Narcis Beleuzu b894acb874 Backed out 4 changesets (bug 1646582) for mochitest failures on test_ext_tabs_create.html . CLOSED TREE
Backed out changeset ce5cdfc5d7cf (bug 1646582)
Backed out changeset 2ac69a2b6708 (bug 1646582)
Backed out changeset 74d89cb24414 (bug 1646582)
Backed out changeset 7de0ff1af560 (bug 1646582)
2020-06-23 06:30:03 +03:00
James Teh 316e5c9eca Bug 1646267: In Dev Tools autocompletes, Only rebuild the list a11y clone when the main list changes. r=nchevobbe
Previously, the list clone was completely replaced every time aria-activedescendant was set.
This caused screen readers to extraneously report this as a new list every time the user cursored to a different item, even if the items hadn't changed.

Differential Revision: https://phabricator.services.mozilla.com/D79941
2020-06-23 01:57:52 +00:00
Matt Woodrow 2ee0adfb0e Bug 1646582 - Pull the inner window id from the WindowGlobalParent, rather than passing it across PBrowser for updateForLocationChange. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80131
2020-06-23 01:24:17 +00:00
Matt Woodrow f851c6be5b Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80129
2020-06-23 01:23:59 +00:00
Sebastian Zartner e6b39abe08 Bug 1646945 - Fixed MDN URLs linked to from the storage types. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D80369
2020-06-22 18:03:57 +00:00
Julian Descottes f1c04a710c Bug 1645017 - Provide URL_ROOT variants for example.net, example.org r=ochameau
When testing fission scenarios in mochitests it can be useful to load test
documents with different TLDs.

Differential Revision: https://phabricator.services.mozilla.com/D80149
2020-06-22 17:19:05 +00:00
Nicolas Chevobbe 1e9044a708 Bug 1646633 - Fix intermittent on browser_storage_cache_error.js. r=jdescottes,ochameau.
This patch removes the browsingContextID getter in favor of creating a property
on the instance in the constructor.
The getter was an attempt to handle the fact that we can have multiple browsing
context over time, but it wasn't working that well, so we'll tackle that as
part of Bug 1625027.

Differential Revision: https://phabricator.services.mozilla.com/D80151
2020-06-22 11:36:32 +00:00
Csoregi Natalia d934cffb58 Bug 1640234 - Disabled browser_application_panel_target-switching.js on Linux and Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D80431
2020-06-22 11:24:35 +00:00
Farooq AR 0884c9f3ce Bug 1636421 - Refactor response panel styles into separate file. r=Honza,bomsy
Depends on D80336

Differential Revision: https://phabricator.services.mozilla.com/D80337
2020-06-21 15:14:29 +00:00
Farooq AR 2aa84458db Bug 1636421 - Merge Message panel with the Response panel. r=Honza,bomsy
MessagesPanel is now MessagesView and it is now rendered in Response panel instead of TabboxPanel.

Depends on D80335

Differential Revision: https://phabricator.services.mozilla.com/D80336
2020-06-21 15:16:08 +00:00
Farooq AR 65668ef1a7 Bug 1636421 - Rename MessagesPanel to MessagesView. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D80335
2020-06-19 16:07:41 +00:00
Tooru Fujisawa 74dfbb2d11 Bug 1647026 - Disallow Array.prototype.fill in eager evaluation. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D80373
2020-06-20 18:59:52 +00:00
Hubert Boma Manilla 43efe182ba Bug 1646940 - block request only when there is a reason or an extension id r=Honza
Temp fix  should land in 79,  uplift to 78, and then remove from 79

Differential Revision: https://phabricator.services.mozilla.com/D80305
2020-06-19 09:36:50 +00:00
Harald Kirschner df0102e3be Bug 1642034 - Update DevTools Whats New for 78 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D80280
2020-06-18 22:49:48 +00:00
Dorel Luca 83762a1f31 Backed out changeset 40dae06d5e4d (bug 1646678) for Devtools failures in tests/browser_resources_several_resources.js. CLOSED TREE 2020-06-18 23:21:43 +03:00
Nicolas Chevobbe 06852fdbb6 Bug 1646678 - Allow resource watcher tests to force server side support. r=ochameau.
This is done by getting the value of the `devtools.testing.enableServerWatcherSupport`
preference on the WatcherActor, and using its result to enable the traits or not.
On the browser_resources_* test that have both legacy and server listener, we
run the tests twice, without and with the pref to have some decent coverage.

Differential Revision: https://phabricator.services.mozilla.com/D79983
2020-06-18 15:20:14 +00:00
Hubert Boma Manilla 12ac6882be Bug 1644275 - Add a new Channel map r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79137
2020-06-18 14:44:12 +00:00
Hubert Boma Manilla 1718c07f68 Bug 1622925 - Wait for navigate to make sure the page title is available r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79836
2020-06-18 14:44:36 +00:00
Alexandre Poirot e5f625b56e Bug 1646143 - Use instantiable classes for resource watchers. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D79882
2020-06-18 10:34:37 +00:00
Alexandre Poirot 31a7c42e44 Bug 1644772 - Avoid an exception when we fail detaching a SW on destroy. r=jdescottes
No idea if that is the real reason why the Browser Toolbox failed opening.
It isn't clear how WorkerTarget detach is implied in toolbox opening?

Differential Revision: https://phabricator.services.mozilla.com/D79159
2020-06-18 10:12:04 +00:00
Alexandre Poirot 1a2600afe4 Bug 1646409 - Remove unecessary `gBrowser.selectedTab = BrowserTestUtils.addTab(gBrowser);` in devtools tests. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D80152
2020-06-18 09:48:11 +00:00
Nicolas Chevobbe e7f3831299 Bug 1641554 - Fix scroll to bottom issue when expanding object in console. r=bomsy.
The issue was that we were having a ResizeObserver only on the console output
node. When the output only has a few node, its height is impacted when an
element is expanded.
We fix this by observing the output parent node, which contains both the input
and the output, which prevents the issue.
In editor mode though, we still need to observe only the output element, as
the editor is on the right side.
So when the console changes from editor mode to inline, or the other way around,
we change the observed element.

A test case is added to make sure the issue is fixed. Sadly, this also means
we have to remove a test case (typing a multiline expression in input mode
won't keep the output scroll to the bottom), but it's a tradeoff I'm willing
to make as the issue isn't as annoying as the one we're fixing here.

Differential Revision: https://phabricator.services.mozilla.com/D79961
2020-06-18 07:49:47 +00:00
Emilio Cobos Álvarez 011d524740 Bug 1646336 - Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
We're converting to nscoord in some places unnecessarily, reducing the
precision of the computed value we return.

This makes some tests unnecessarily fail if we change the base of
nscoord.

Differential Revision: https://phabricator.services.mozilla.com/D79996
2020-06-18 00:42:47 +00:00
Gijs Kruitbosch 19220a3149 Bug 1644863 - fix trailing whitespace and windows line endings in locale files, r=fluent-reviewers,flod,Pike
Differential Revision: https://phabricator.services.mozilla.com/D79203
2020-06-17 22:46:22 +00:00
Gijs Kruitbosch d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Julian Descottes e52e2c32ec Bug 1644870 - Remove removeEventsTopTarget method from debugger codebase r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D79184
2020-06-17 20:01:31 +00:00
Julian Descottes eddca6ec0a Bug 1639934 - Enable devtools.contenttoolbox.fission by default but gate it behind fission.autostart r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D79849
2020-06-17 19:46:51 +00:00
Kris Maglione 3bda67deab Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
surya_b ffd4f25375 Bug 1637842 - Respect prefers-reduced-motion for animation preview in timing function editor. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D79616
2020-06-17 13:03:05 +00:00
Richard Sherman 2f209f56c9 Bug 1631545 - Add better tooltip to Reps. r=nchevobbe
This patch adds title attributes on the different Reps, alongside with a new `shouldRenderTooltip` prop.
The props is only used from the ExpressionPanel in the debugger so far.
Tests are added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D72900
2020-06-17 09:33:03 +00:00
Marco Zehe 1c1f12c84d Bug 1242856 - Add accessibility semantics to the computed styles view, r=gl
This patch does the following:

1. Adds a semantic document role to the computed styles pane. This causes screen readers to treat it as something they can use their reading commands on for better navigation and efficiency.
2. Gives the expansion twisties a button role and a label. I am reusing the labels introduced in an earlier patch.
3. Turns the name portion of each property into a heading so screen reader users can quickly skip between them, regardless of their expanded status or not.
4. Explicitly displays the status for each rule match with visually hidden text because screen readers do not pick up text from titles on simple span elements.
5. Adjusts the visually-hidden class to be more modern and less intrusive.

Differential Revision: https://phabricator.services.mozilla.com/D79673
2020-06-16 16:07:13 +00:00
Nicolas Chevobbe 76fccc6721 Bug 1625910 - Use ResourceAPI for CSS Warning messages.r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D79069
2020-06-16 18:21:22 +00:00
Narcis Beleuzu 971e6397f2 Backed out changeset 9055fd940de5 (bug 1625910) for dt failures on browser_webconsole_location_styleeditor_link.js . CLOSED TREE 2020-06-16 20:52:43 +03:00
Nicolas Chevobbe 43bd5f2873 Bug 1646083 - Fix and add JsDoc in devtools/server/actors/descriptors/watcher/watcher.js. r=ochameau,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D79847
2020-06-16 16:38:11 +00:00
Nicolas Chevobbe 0480240653 Bug 1644185 - Implement Platform Messages listening via the ResourceWatcher API on the actor side. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D79425
2020-06-16 16:37:52 +00:00
Nicolas Chevobbe 49bb11a38e Bug 1645334 - Handle parentProcessTargetActor in WatcherActor. r=jdescottes,ochameau.
In order to handle parentProcessTargetActor in the WatcherActor, we modify
TargetActorRegistry.getTargetActor to return the parent process target when
the passed browsing context id is null.

The comment explaining why we need to call getTargetActor in
WatcherActor#watchResources is modified to better summarize the situation.

We also take this as an opportunity to handle those targets in unwatchResources.

Differential Revision: https://phabricator.services.mozilla.com/D79424
2020-06-16 16:37:09 +00:00
Nicolas Chevobbe ce5630b4f5 Bug 1625910 - Use ResourceAPI for CSS Warning messages.r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D79069
2020-06-16 10:29:03 +00:00
Julian Descottes 2c4d8f2731 Bug 1641796 - Fix parent-intercept skip-if for browser_dbg-windowless-service-workers r=jlast
Depends on D79059

Differential Revision: https://phabricator.services.mozilla.com/D79060
2020-06-16 14:27:45 +00:00
Julian Descottes 265dbfbb5b Bug 1641796 - Add a debugger test for service worker sources on page reload r=jlast
Depends on D79053

Differential Revision: https://phabricator.services.mozilla.com/D79059
2020-06-16 14:27:43 +00:00
Julian Descottes f1c719abb7 Bug 1641796 - Add tests for serviceworker navigation in target list r=ochameau
Depends on D79465

Differential Revision: https://phabricator.services.mozilla.com/D79053
2020-06-16 14:26:27 +00:00
Julian Descottes 8511f289c4 Bug 1641796 - Add a flag to disable service worker target destruction on navigation r=ochameau
Depends on D77425

Differential Revision: https://phabricator.services.mozilla.com/D79465
2020-06-16 14:26:01 +00:00
Julian Descottes 0c97ccfbf2 Bug 1641796 - Emit onTargetDestroyed/Available for serviceworker targets when navigating with localTab toolbox r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77425
2020-06-16 14:06:40 +00:00
Butkovits Atila 3bea9ed088 Backed out 5 changesets (bug 1641796) for causing failure at browser_target_list_service_workers_navigation.js. CLOSED TREE
Backed out changeset 82c01676f8d5 (bug 1641796)
Backed out changeset 9c56dfb36661 (bug 1641796)
Backed out changeset 37ea8e324248 (bug 1641796)
Backed out changeset c48704eb4d3a (bug 1641796)
Backed out changeset b50762e5da7d (bug 1641796)
2020-06-16 13:09:40 +03:00
Julian Descottes f267aae5ad Bug 1641796 - Fix parent-intercept skip-if for browser_dbg-windowless-service-workers r=jlast
Depends on D79059

Differential Revision: https://phabricator.services.mozilla.com/D79060
2020-06-16 07:56:32 +00:00
Julian Descottes 30d3c6963b Bug 1641796 - Add a debugger test for service worker sources on page reload r=jlast
Depends on D79053

Differential Revision: https://phabricator.services.mozilla.com/D79059
2020-06-16 07:56:14 +00:00
Julian Descottes 072c5a72e7 Bug 1641796 - Add tests for serviceworker navigation in target list r=ochameau
Depends on D79465

Differential Revision: https://phabricator.services.mozilla.com/D79053
2020-06-16 07:55:18 +00:00
Julian Descottes 10c6ab83ff Bug 1641796 - Add a flag to disable service worker target destruction on navigation r=ochameau
Depends on D77425

Differential Revision: https://phabricator.services.mozilla.com/D79465
2020-06-16 07:54:58 +00:00
Julian Descottes f0287cc47b Bug 1641796 - Emit onTargetDestroyed/Available for serviceworker targets when navigating with localTab toolbox r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77425
2020-06-16 07:54:40 +00:00
James Teh 9d14fdc961 Bug 1645731: Don't expose the autocomplete popup panel as an alert for accessibility. r=nchevobbe
There was already code to do this, but it was acting on a div instead of the XUL panel.

Differential Revision: https://phabricator.services.mozilla.com/D79635
2020-06-16 06:58:12 +00:00
Kriyszig a39858820c Bug 1637632 - Add browser tests for the CompatibilityActor r=mtigley,daisuke
Added browser test for CompatibilityActor to check consistency and
correctness.
Thse test include:
* Test for no issue
* Test for simple issue
* Test for invalid CSS rule
* Test for aliases
* Test for browser specific issues
* Test for multiple issues for same element

Differential Revision: https://phabricator.services.mozilla.com/D78956
2020-06-15 23:21:07 +00:00
Kriyszig 0d68d9f541 Bug 1637632 - Create a compatibility actor and connect it to Inspector's Compatibility panel r=mtigley,daisuke,devtools-backward-compat-reviewers
This patch adds a `CompatibilityActor` that calls the MDNCompatibility
library from the devtool server.
This patch exposes `_declarations` from the `StyleRuleActor` and the
a new function `formDeclaration` responsible for populating the
declarations property.
As a check for correctness, the patch replaces the `pageStyle.getApplied`
call in the Compatibility Panel on the client with `compatibility.getNodeCssIssues`
fetching the array of compatibility issues directly and removing the
dependency on MDNCompatibility library for client side computation of
compatibility issues.

Differential Revision: https://phabricator.services.mozilla.com/D77060
2020-06-10 09:09:00 +00:00
Narcis Beleuzu 8b0c5c5de4 Backed out changeset 88d5337be8e0 (bug 1242856) for dt failures on browser_computed_getNodeInfo.js . CLOSED TREE 2020-06-15 19:52:41 +03:00
Andrew Halberstadt ba07c87114 Bug 1645398 - [ci] Add a SCHEDULES rule to prevent 'android' builds and tests on pushes that exclusively modify files under /devtools, r=gbrown,jlast
In a nutshell, this rule says that if a push only modifies files under "/devtools" then
only run builds and tests that are tagged with "linux", "macosx" or "windows" and skip
all others (which is just "android").

Note it may still be possible to see Android builds and tests as not all tasks use
the 'skip-unless-schedules' optimization, but this should avoid most of them.

Differential Revision: https://phabricator.services.mozilla.com/D79470
2020-06-15 13:38:46 +00:00
Razvan Caliman b648f4a716 Bug 1645448 - Remove handling code for FlexItemHighlighter which is not implemented. r=gl
While cleaning up and restructuring client-side code to manage highlighters, I discovered that FlexItemHighlighter is not implemented / landed ([Bug 1477614](https://bugzilla.mozilla.org/show_bug.cgi?id=1477614)).
To ease clean-up and review of incoming changes, I am removing this orphaned code. It will be available with this revision if we need to revert it later.

Differential Revision: https://phabricator.services.mozilla.com/D79517
2020-06-15 15:37:43 +00:00
Marco Zehe b59c6a3e54 Bug 1242856 - Add accessibility semantics to the computed styles view, r=gl
This patch does the following:

1. Adds a semantic document role to the computed styles pane. This causes screen readers to treat it as something they can use their reading commands on for better navigation and efficiency.
2. Gives the expansion twisties a button role and a label. I am reusing the labels introduced in an earlier patch.
3. Turns the name portion of each property into a heading so screen reader users can quickly skip between them, regardless of their expanded status or not.
4. Explicitly displays the status for each rule match with visually hidden text because screen readers do not pick up text from titles on simple span elements.

Differential Revision: https://phabricator.services.mozilla.com/D79673
2020-06-15 14:18:22 +00:00
Nicolas Chevobbe fe22cc7330 Bug 1632715 - Fix intermittent on devtools/client/webconsole/test/browser/browser_webconsole_navigate_to_parse_error.js . r=ckerschb.
There's no good reason for the message to be duplicated, and it turns out that
this test was actually asserting a bug that occured with CSP violation messages
(see Bug 1645745).
We change the test so it only waits for a single message, which should fix the
intermittent on windows7 (the message wasn't "repeated" but duplicated).

Differential Revision: https://phabricator.services.mozilla.com/D79651
2020-06-15 08:25:31 +00:00
Emilio Cobos Álvarez ffec6f608b Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-14 23:26:04 +00:00
Logan Smyth 25d491b792 Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug
The 'asyncStack' flag on JS execution contexts is used as a general switch
to enable async stack capture across all locations in SpiderMonkey, but
this causes problems because it can at times be too much of a performance
burden to general and track all of these stacks.

Since the introduction of this option, we have only enabled it on Nightly
and DevEdition for non-mobile builds, which has left a lot of users unable
to take advantage of this data while debugging.

This patch enables async stack traces across all of Firefox, but introduces
a new pref to toggle the scope of the actual expensive part of async stacks,
which is _capturing_ them and keeping them alive in memory. The new pref
limits the capturing of async stack traces to only debuggees, unless an
explicit pref is flipped to capture async traces for all cases.

This means that while async stacks are technically enabled, and code could
manually capture a stack and pass it back to SpiderMonkey and see that stack
reflected in later captured stacks, SpiderMonkey itself and related async
DOM APIs, among others, will not capture stacks or pass them to SpiderMonkey,
so there should be no general change in performance by enabling the broader
feature itself, unless the user is actively debugging the page.

One effect of this patch is that if you have the debugger open and then close
it, objects that have async stacks associated with them will retain those
stacks and they will continue to show up in stack traces, no _new_ stacks
will be captured. jorendorff and I have decided that this is okay because
the expectation that the debugger fully revert every possible effect that it
could have on a page is a nice goal but not a strict requirement.

Differential Revision: https://phabricator.services.mozilla.com/D68503
2020-06-14 02:41:45 +00:00
Yura Zenevich dbf76d8e3e Bug 1598026 - add OOP frame mutation tests. Re-enable oop tree expansion test. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D78596
2020-06-12 17:32:45 +00:00
Nicolas Chevobbe 087df13c27 Bug 1628898 - Fix intermittent on browser_webconsole_output_order. r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D79474
2020-06-12 16:13:11 +00:00
Jason Laster 13a9ca307f Bug 1644808 - Remove references to wasmBinarySource. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79165
2020-06-12 20:28:44 +00:00
Kris Maglione e4f51c32b7 Bug 1645237: Lazily load JSONView components via static registration. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79385
2020-06-12 18:48:47 +00:00
Narcis Beleuzu 010f052da8 Bug 1594467 - Fix lint. a=jlast . CLOSED TREE 2020-06-13 00:00:01 +03:00
Marco Zehe 1b32b90556 Bug 1644669 part 2 - Make the flex container view more accessible to screen reader users, r=yzen
This patch does the following:

1. Both the flex-direction and flex-wrap badges are being treated as illustrations, not generic containers, so screen readers immediately pick up the full meaning from the title.
2. Turns the flex item list sub heading into an actual heading for screen readers. It is level 3 because the accordeon headings are all level 2.

Differential Revision: https://phabricator.services.mozilla.com/D79129
2020-06-12 17:39:44 +00:00
Marco Zehe 760479ff25 Bug 1644669 Part 1 - Label the button to return to the flex container view for screen readers, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79128
2020-06-12 14:50:30 +00:00
Stepan Stava 7b50798bc1 Bug 1594467 - Add 'Restart frame' r=loganfsmyth
Adds 'Restart frame' context menu item to the Call stack

Differential Revision: https://phabricator.services.mozilla.com/D75620
2020-06-12 18:26:40 +00:00
Jason Laster d213ae4f61 Bug 1644813 - Remove references to autoBlackbox. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79167
2020-06-12 18:06:42 +00:00
Yura Zenevich 30512f1f1c Bug 1598026 - only reset panel state on document-ready event of the top level document. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D78595
2020-06-12 17:32:35 +00:00
Yura Zenevich af845d619c Bug 1598026 - keep track of accessibility walkers to ensure that accessibility events get handled across the whole tree, including the OOP frames. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D78552
2020-06-12 17:32:33 +00:00
Yura Zenevich ff9694b163 Bug 1643091 - simplify listening to lifecycle events. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D78197
2020-06-12 17:32:26 +00:00
Yura Zenevich d37e33ce1c Bug 1643086 - clean up reset in MainFrame component. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D78118
2020-06-12 17:32:24 +00:00
Marco Zehe 8ab506f68e Bug 1644693 - Grid accordeon: Give the section headers proper heading roles and levels for better structure, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79131
2020-06-12 15:18:40 +00:00
Nicolas Chevobbe f77c6d3593 Bug 1644966 - Change parameter of ContentProcessListener to a function. r=jdescottes.
It used to take an object with only 1 property, a function. The way it was
called in the webconsole actor made it harder to follow than it actually need.
We take that as an opportunity to convert the function to a class.

Differential Revision: https://phabricator.services.mozilla.com/D79294
2020-06-12 14:16:41 +00:00
Nicolas Chevobbe 2afd39c3b3 Bug 1644966 - Change second parameter of ConsoleAPIListener to a function. r=jdescottes.
It used to take an object with only 1 property, a function. The way it was
called in the webconsole actor made it harder to follow than it actually need.
We take that as an opportunity to convert the function to a class.

Differential Revision: https://phabricator.services.mozilla.com/D79252
2020-06-12 10:09:29 +00:00
Nicolas Chevobbe 4f8171b1e1 Bug 1644966 - Change second parameter of ConsoleServiceListener to a function. r=jdescottes.
It used to take an object with only 1 property, a function. The way it was
called in the webconsole actor made it harder to follow than it actually need.
We take that as an opportunity to convert the function to a class.

Differential Revision: https://phabricator.services.mozilla.com/D79249
2020-06-12 10:08:51 +00:00
Paul Adenot 5a606e463e Bug 1626918 - Add the native audio callback thread to the profiler. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D78503
2020-06-12 13:13:06 +00:00
Marco Zehe 99eb448a68 Bug 1644343 Part 3 - Make the box model understandable to screen reader users, r=yzen,flod
This patch adds IDs to all the box divs so they can be referenced by ARIA attributes. The actual legend spans also act as region landmarks with an associated level so the nesting is relayed.

In addition, each of those boxes gets the buttons for its dimensions rendered in-place so for assistive technologies, this all follows a logical flow. aria-owns changes the accessibility tree so the nesting and associated properties are grouped together.

The actual buttons also receive a localizable aria-label that is a combination of the button text and title, so screen reader users not only hear "0 button" without knowing immediately what that button actually belongs to. Title is secondary information.

Differential Revision: https://phabricator.services.mozilla.com/D78953
2020-06-12 12:08:09 +00:00
Marco Zehe 1fc44d0009 Bug 1644343 Part 2 - Make the dimension information in the box model more explicit for screen readers, r=yzen,flod
This patch turns the info that holds the dimensions and position info into a region. Because the visual representation is without explanatory text, an aria-label is constructed for that region to hold a more explicit version of the displayed information.

Differential Revision: https://phabricator.services.mozilla.com/D78952
2020-06-11 10:54:45 +00:00
Marco Zehe aead3a320a Bug 1644343 Part 1 - Make layout properties accessible to screen readers, r=yzen
1. Fix the twisty so it has a role and name that reflects the action the button will take when clicked (show or hide).
2. Give the section itself a heading so it can easily be found. Make it a level 3 so it is clear that this is a sub section of the box model view.
3. Order the properties themselves in a table with rows for each property, and cells for the name and value.
4. Make the property names and values, which are not editable, not clickable.

Differential Revision: https://phabricator.services.mozilla.com/D78951
2020-06-11 15:31:08 +00:00
Marco Zehe 2a88cb7b27 Bug 1596018 - Mark all presentational divs that might become scrollable, with a tabindex of -1 so they are not reached when tabbing, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79019
2020-06-12 11:11:50 +00:00
Daisuke Akatsuka f82ba87517 Bug 1625957: Add ResourceWatcher test for CSS changes. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74602
2020-06-12 02:09:42 +00:00
Daisuke Akatsuka 7f6b066b27 Bug 1625957: Use ResourceWatcher in Compatibility view. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74601
2020-06-12 06:47:19 +00:00
Daisuke Akatsuka 04bef9f4f9 Bug 1625957: Use ResourceWatcher in Changes view. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74600
2020-06-12 02:09:40 +00:00
Daisuke Akatsuka 5c4053feaa Bug 1625957: Implement ResourceWatcher for CSS changes. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74599
2020-06-12 02:09:44 +00:00
Kriyszig f0405fd72e Bug 1642076 - Add test to prevent unwanted scrollbar in the Network Details' Cookie panel r=Honza,bomsy
Added test to prevent regression with unwanted scrollbars in
Network Monitor's Network Details' Cookie panel

Differential Revision: https://phabricator.services.mozilla.com/D77610
2020-06-12 06:30:45 +00:00
Noemi Erli 279f3b6a42 Backed out changeset 550164313c4f (bug 1601179) for causing failures in test_async CLOSED TREE 2020-06-12 08:16:14 +03:00
Logan Smyth 7f4a5aeed0 Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug
The 'asyncStack' flag on JS execution contexts is used as a general switch
to enable async stack capture across all locations in SpiderMonkey, but
this causes problems because it can at times be too much of a performance
burden to general and track all of these stacks.

Since the introduction of this option, we have only enabled it on Nightly
and DevEdition for non-mobile builds, which has left a lot of users unable
to take advantage of this data while debugging.

This patch enables async stack traces across all of Firefox, but introduces
a new pref to toggle the scope of the actual expensive part of async stacks,
which is _capturing_ them and keeping them alive in memory. The new pref
limits the capturing of async stack traces to only debuggees, unless an
explicit pref is flipped to capture async traces for all cases.

This means that while async stacks are technically enabled, and code could
manually capture a stack and pass it back to SpiderMonkey and see that stack
reflected in later captured stacks, SpiderMonkey itself and related async
DOM APIs, among others, will not capture stacks or pass them to SpiderMonkey,
so there should be no general change in performance by enabling the broader
feature itself, unless the user is actively debugging the page.

One affect of this patch is that if you have the debugger open and then close
it, objects that have async stacks associated with them will retain those
stacks and they will continue to show up in stack traces, no _new_ stacks
will be captured. jorendorff and I have decided that this is okay because
the expectation that the debugger fully revert every possible effect that it
could have on a page is a nice goal but not a strict requirement.

Differential Revision: https://phabricator.services.mozilla.com/D68503
2020-06-11 21:24:16 +00:00
Razvan Maries b5faf6c48c Backed out 4 changesets (bug 1625957) for devtools failures on browser_inspector_sidebarstate.js. CLOSED TREE
Backed out changeset 6d6323e559cb (bug 1625957)
Backed out changeset 7d796f50c69f (bug 1625957)
Backed out changeset 8520caa244e1 (bug 1625957)
Backed out changeset e540c9937a31 (bug 1625957)
2020-06-12 05:04:55 +03:00
Kyle Knaggs 72e43bb2fd Bug 1601073 - Moved info icon from right side to left side of WhyPaused text r=jlast
Moved info icon from after text to before text.
Matched the spacing between the icon and text to the spacing between the icon and text in the Console.
Updated relevant WhyPaused snapshot tests.

Differential Revision: https://phabricator.services.mozilla.com/D78601
2020-06-12 00:37:22 +00:00
Daisuke Akatsuka c23349725d Bug 1625957: Add ResourceWatcher test for CSS changes. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74602
2020-06-12 00:51:40 +00:00
Daisuke Akatsuka 21f8b77140 Bug 1625957: Use ResourceWatcher in Compatibility view. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74601
2020-06-11 04:15:19 +00:00
Daisuke Akatsuka eabb991e25 Bug 1625957: Use ResourceWatcher in Changes view. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74600
2020-06-11 04:19:31 +00:00
Daisuke Akatsuka 9c6fbf21be Bug 1625957: Implement ResourceWatcher for CSS changes. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D74599
2020-06-11 04:20:26 +00:00
Kyle Knaggs 5b75e2681f Bug 1644568 - Remove WhyPaused from debugger/src/components/App.js r=jlast
Removes the instance of  `WhyPaused` in `debugger/src/components/App.js` as the mark up that it returns does not contain useful information and is never visible to the user.

Differential Revision: https://phabricator.services.mozilla.com/D79144
2020-06-12 00:20:13 +00:00
Greg Tatum 9322f4483d Bug 1642330 - Fix profiler icon in the overflow menu; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D78143
2020-06-11 21:35:07 +00:00
Emilio Cobos Álvarez 3de085b6b9 Bug 1643713 - Use nsILoadInfo.browsingContextID instead of .browsingContext.id. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D79323
2020-06-11 17:16:38 +00:00
Jason Laster 3ca8acd1fb Bug 1644820 - breakpoints map should be keyed by pending breakpoint. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79188
2020-06-11 18:13:37 +00:00
Julian Descottes be0cd9625f Bug 1644913 - Avoid exceptions if the storage actor is destroyed while processing a new window r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D79276
2020-06-11 17:22:40 +00:00
Razvan Maries 9a77df696d Backed out changeset 04b11bcd330e (bug 1596018) for perma failures on test_accessible_contrast.html. CLOSED TREE 2020-06-11 21:30:29 +03:00
Nicolas Chevobbe 4ff9d9138d Bug 1644662 - Fix accepting element access autocompletion with autoclose bracket enabled. r=bomsy.
When the autoclose bracket addon is enabled, quotes and ] are automatically
inserted, but that wasn't taken into account in the function that is in charge
of setting the input value when the user accept the autocompletion.
This patch should fix this, and add a few tests to makes sure we don't regress.

Differential Revision: https://phabricator.services.mozilla.com/D79126
2020-06-11 15:29:07 +00:00
Nicolas Chevobbe 9a848212a5 Bug 1644158 - Close autocomplete when typing a closing bracket. r=bomsy.
The console editor uses the codeMirror autoclose bracket addon,
which when the user types a closing bracket and the next char
in the input is the same char, won't insert a new char, but will
only move the cursor.
In such case, the JsTerm code wasn't capturing this key event, and
it could happen that the autocomplete would still be displayed,
which would then lead to some weirdness when the user hits Enter.
In order to fix that, we listen for the keyHandled event, which
is fired one a keypress was handled, and that appear that be fired
for the case I exposed, and isn't triggered when the character is
simply inserted.
A test case is added in one of our test to make sure this works as
expected.

Differential Revision: https://phabricator.services.mozilla.com/D78935
2020-06-11 15:30:16 +00:00
Emilio Cobos Álvarez 67ed214041 Bug 1643713 - Properly null-check loadinfo's browsingcontext before trying to get the id. r=bomsy,Honza,ochameau. CLOSED TREE
My patch from bug 1599160 changed timing in a way that makes this bug a
perma fail and I'd rather not get it backed out :)

Differential Revision: https://phabricator.services.mozilla.com/D79316
2020-06-11 16:39:46 +00:00
Marco Zehe b5812ea865 Bug 1596018 - Mark all presentational divs that might become scrollable, with a tabindex of -1 so they are not reached when tabbing, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79019
2020-06-11 14:55:24 +00:00
Marco Zehe f81a375e03 Bug 1645013 - Fix mis-typed localization reference, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D79278
2020-06-11 12:20:17 +00:00
Emilio Cobos Álvarez ef3d21048d Bug 1640623 - Use enum classes for LookAndFeel int and float IDs. r=jmathies,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D76694
2020-06-11 11:27:43 +00:00
Nicolas Chevobbe 69126eb5b2 Bug 1624531 - Refresh codeMirror instance when input is resized. r=Honza.
This patch adds a ResizeObserver to the input node, which when triggered
refreshes the codeMirror instance.
This is needed because codeMirror draws specific elements, like the cursor
and selection blocks, and they need to be re-computed if the editor size
changed (the line might have wrapped, and the cursor need to be in a new
position now).

Depends on D78649

Differential Revision: https://phabricator.services.mozilla.com/D78661
2020-06-11 10:18:12 +00:00
Nicolas Chevobbe 130c2955a0 Bug 1620569 - Reset editor selection when console input is blurred. r=Honza.
CodeMirror does not have an option to automatically remove
the selection when the editor is blurred, which means there
can be a kind-of weird visual glitch when there was a selection
and the user does another selection.
This patch listen for the blur event on the editor, and if there
was a selection, removes it.
The blur event need to be piped down from the sourceeditor.
A test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D78649
2020-06-11 10:14:30 +00:00
Farooq AR ae23f02b59 Bug 1637867 - UI support for Server side events. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D78637
2020-06-11 07:40:07 +00:00
Daisuke Akatsuka c7b8d14634 Bug 1644618: Update MDN compat data. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D79013
2020-06-10 17:16:12 +00:00
Micah Tigley ab5243a5b4 Bug 1644248 - Duplicate test for browser_navigation.js to be run against browserUI pref set to false. r=bradwerth
Depends on D78835

Differential Revision: https://phabricator.services.mozilla.com/D78843
2020-06-10 17:30:24 +00:00
Micah Tigley 7a05f4c246 Bug 1644248 - Fallback on RemoteWebNavigation's method for navigating backward/forward. r=bradwerth
Support for `goForward()` and `goBack()` has been removed for `mozbrowser` elements, which were methods that old-RDM used to handle backward/forward navigation. Since the custom implementation of the webNavigation object for old-RDM uses the `WebNavigation` actor as a fallback for APIs that are not supported by `mozbrowser`, we can also do the same for `goForward()` and `goBack()`.

Differential Revision: https://phabricator.services.mozilla.com/D78835
2020-06-10 02:04:14 +00:00
neil 6b1f254a89 Bug 1641324 Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D78400
2020-06-10 13:16:34 +00:00
Nicolas Chevobbe 595a3d5ef3 Bug 1629875 - Style blocked network messages in console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D71912
2020-06-10 08:31:42 +00:00
Marco Zehe 901ff9ac52 Bug 1644650 - Make the main developer tools window an application for assistive technologies again, r=nchevobbe
This broke when the main developer tools window was converted from XUL to XHTML. By adding the application role, the window is once again a window, not a document for the accessibility engine.

In addition, while I was here, I fixed the role of the focusable vbox because it is the first thing the user lands on when tabbing, to make it a semantic group, not an "unknown". Since this is probably supposed to be focusable for keyboard users, it is better to have an appropriate role.

Differential Revision: https://phabricator.services.mozilla.com/D79038
2020-06-10 07:38:32 +00:00
Julian Descottes 66dd40ed42 Bug 1639354 - DevTools tests should await on async checkDeclarationIsInactive r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D78460
2020-06-10 05:52:53 +00:00
Noemi Erli d9fe9eb624 Backed out 2 changesets (bug 1644248) for causing dt failures in browser_old-rdm_navigation.js
Backed out changeset 014940ce9ff5 (bug 1644248)
Backed out changeset 53433ac7ae94 (bug 1644248)
2020-06-10 04:28:37 +03:00
Micah Tigley 13b53c835c Bug 1644248 - Duplicate test for browser_navigation.js to be run against browserUI pref set to false. r=bradwerth
Depends on D78835

Differential Revision: https://phabricator.services.mozilla.com/D78843
2020-06-09 23:43:03 +00:00
Micah Tigley 4924f3a2ce Bug 1644248 - Fallback on RemoteWebNavigation's method for navigating backward/forward. r=bradwerth
Support for `goForward()` and `goBack()` has been removed for `mozbrowser` elements, which were methods that old-RDM used to handle backward/forward navigation. Since the custom implementation of the webNavigation object for old-RDM uses the `WebNavigation` actor as a fallback for APIs that are not supported by `mozbrowser`, we can also do the same for `goForward()` and `goBack()`.

Differential Revision: https://phabricator.services.mozilla.com/D78835
2020-06-09 23:44:38 +00:00
Alexandre Poirot f685402246 Bug 1638914 - Fix watchedByDevTools exceptions when debugging with Fission ON. r=jdescottes
This attribute can only be toggled on top level BrowsingContext.
These are the top level window's, or tab's BrowsingContext.
From DevTools point of view, it should only be toggled by the
Parent Process or Tab target.

Differential Revision: https://phabricator.services.mozilla.com/D78860
2020-06-09 09:50:05 +00:00
Alexandre Poirot d6c2c33b24 Bug 1620243 - Watch console messages resources from the server side. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77441
2020-06-09 18:22:45 +00:00
Alexandre Poirot 9ff9996e6a Bug 1620243 - Fix the key used for DevToolsFramesChild._connections map. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77769
2020-06-08 22:45:32 +00:00
Alexandre Poirot 4ecf485bc0 Bug 1620243 - Pass BrowsingContextTargetActor docShell via its constructor. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77066
2020-06-08 22:45:24 +00:00
David Walsh 4d5a078a43 Bug 1643990 - Set tooltip for navigation buttons r=flod,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D78690
2020-06-09 11:15:08 +00:00
Johann Hofmann 20b1b77919 Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs
Depends on D27588

Differential Revision: https://phabricator.services.mozilla.com/D31604
2020-06-09 14:51:06 +00:00
Razvan Maries f761608e79 Backed out changeset bca9f7459a16 (bug 1643656) for reftests perma failures. CLOSED TREE 2020-06-09 18:24:48 +03:00
Emilio Cobos Álvarez 6b86e22f72 Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec. Bug 1643934 updates the WPT tests.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-09 13:21:54 +00:00
Julian Descottes a24d35c9ab Bug 1583738 - Attach webextension targets from WebExtensionDescriptorFront::getTarget r=ochameau
Depends on D78008

Differential Revision: https://phabricator.services.mozilla.com/D78009
2020-06-09 09:46:35 +00:00
Julian Descottes ed439868c2 Bug 1583738 - Move webextension target caching to the descriptor front r=ochameau,daisuke
Depends on D78007

Differential Revision: https://phabricator.services.mozilla.com/D78008
2020-06-09 09:37:49 +00:00
Julian Descottes 8c0c6dcb20 Bug 1583738 - Expose proper getters for public WebExtensionDescriptor properties r=daisuke
Depends on D78006

Differential Revision: https://phabricator.services.mozilla.com/D78007
2020-06-09 09:37:37 +00:00
Julian Descottes cd847ae126 Bug 1583738 - Rename targetForm property to _form in WebExtensionDescriptorFront r=daisuke
Depends on D78005

Differential Revision: https://phabricator.services.mozilla.com/D78006
2020-06-09 09:16:23 +00:00
Julian Descottes 72952290d1 Bug 1583738 - Web extension descriptor should throw when calling getTarget for a non-webextension target r=daisuke
Depends on D78002

Differential Revision: https://phabricator.services.mozilla.com/D78005
2020-06-09 09:15:55 +00:00
Julian Descottes 64c147e23d Bug 1583738 - Remove unused isDescriptor trait from webextension descriptor r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D78002
2020-06-09 09:15:33 +00:00
Julian Descottes 67fbd88fbd Bug 1642875 - Remove getBrowsingContextDescriptor r=ochameau,nchevobbe
Depends on D77998

Differential Revision: https://phabricator.services.mozilla.com/D77999
2020-06-09 07:27:27 +00:00
Julian Descottes a2c4ad9d7e Bug 1642875 - Remove legacy-frame-watcher r=nchevobbe
Depends on D77996

Differential Revision: https://phabricator.services.mozilla.com/D77998
2020-06-09 07:26:55 +00:00
Julian Descottes d21194c5dd Bug 1642875 - Remove listRemoteFrames r=nchevobbe
Depends on D77995

Differential Revision: https://phabricator.services.mozilla.com/D77996
2020-06-09 07:26:38 +00:00
Julian Descottes 89a8d5e9e5 Bug 1642875 - Remove unused Frame Descriptor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D77995
2020-06-09 07:26:11 +00:00
Marco Zehe fac90408bc Bug 1644127 - Turn the layout side pane into a document for screen readers, r=yzen
This will make it navigable with screen reader commands.

Depends on D78674

Differential Revision: https://phabricator.services.mozilla.com/D78675
2020-06-08 16:53:03 +00:00
Marco Zehe 829c6bdfc4 Bug 977244 - Make the rules view easier to navigate with a screen reader, r=yzen
To give the whole rules view more structure:

1. Make the container a document so screen readers invoke their reading mode.
2. Give the different section headers a proper heading role.
3. Make each separate item an article so screen readers can navigate them more easily.
4. Give the expander twisty for the pseudo classes a proper label that adjusts depending on whether pseudo classes are expanded or collapsed. Also make it a button for screen readers.

This patch does not attempt to simulate any advanced navigation via the keyboard.

Differential Revision: https://phabricator.services.mozilla.com/D78674
2020-06-08 17:08:53 +00:00
Jason Laster 4b31d29b34 Bug 1643822 - getTextAtLine should not use split. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D78576
2020-06-08 18:21:52 +00:00
Jason Laster 47520447f2 Bug 1643781 - Empty debugger sources after refresh with workersListener error. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D78562
2020-06-08 15:51:04 +00:00
Nicolas Chevobbe f8a42b5329 Bug 1642730 - Fix intermittent on browser_jsterm_autocomplete_null. r=davidwalsh.
Now that network requests can be displayed as error (for 4XX and 5XX),
this test could get one of those and think we were getting an actual
js error, which makes the test fail.
Excluding network messages from the messages we are checking should
fix the intermittent.

Differential Revision: https://phabricator.services.mozilla.com/D78493
2020-06-08 15:21:15 +00:00
Brad Werth 99e3b95ef3 Bug 1630268 Part 2: Move half of the tests in browser_part1.ini into a new file, browser_part2.ini. r=ochameau
Depends on D78354

Differential Revision: https://phabricator.services.mozilla.com/D78355
2020-06-08 12:49:07 +00:00
Brad Werth 5e914edb9b Bug 1630268 Part 1: Rename devtools/client/inspector/rules/test/browser.ini. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D78354
2020-06-08 12:41:28 +00:00
Nicolas Chevobbe ef8aabcc2d Bug 1643697 - Add rel attribute to string rep links. r=bomsy,Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D78531
2020-06-08 11:37:26 +00:00
Julian Descottes d094d39cb7 Bug 1643269 - Wait for TABS update in browser_aboutdebugging_tab_zombietab r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D78476
2020-06-08 07:23:12 +00:00
Nicolas Chevobbe 35b97af64a Bug 1641590 - Fix reps css.
c5677f25eba5 only modified the generated CSS file, not the original one.

Differential Revision: https://phabricator.services.mozilla.com/D78632
2020-06-08 06:45:14 +00:00
Sonia Singla 228fa97fb8 Bug 1628599 - Fixing all links pointing to docs.firefox-dev.tools r=Honza,remote-protocol-reviewers,perftest-reviewers,maja_zf,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D77560
2020-06-01 10:58:38 +00:00
Hubert Boma Manilla 811ae5a4d8 Bug 1643270 - Isolate headers panel treeview css changes r=Honza
- Fixes Bug 1643270 with unexpandale nodes
 - Fixes  Bug 1643296 so clicking any part of the method cllapses the node

Differential Revision: https://phabricator.services.mozilla.com/D78254
2020-06-06 06:47:00 +00:00
Cameron McCormack 5e27c1bd6b Bug 1642261 - Part 2: Add telemetry for -moz-appearance usage. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77637
2020-06-05 00:39:50 +00:00
Logan Smyth 5a1f19d2c4 Bug 1643180 - Part 7: Separate url-only file handling from url/line/column handling. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78388
2020-06-05 22:20:57 +00:00
Logan Smyth 3ce268493b Bug 1643180 - Part 6: Remove unused source-map-url-service functions. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78386
2020-06-05 22:20:55 +00:00
Logan Smyth 21ff25bf86 Bug 1643180 - Part 5: Centralize viewSourceInStyleEditor's actor ID and sourcemap processing. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78384
2020-06-05 22:19:46 +00:00
Logan Smyth 7a2b4ea1bc Bug 1643180 - Part 4: Centralize viewSourceInDebugger's source ID and sourcemap processing. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78383
2020-06-05 22:19:23 +00:00
Logan Smyth f91c089b93 Bug 1643180 - Part 3: Update SmartTrace to keep original and generated positions separate. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78382
2020-06-05 22:18:50 +00:00
Logan Smyth 0b3c990251 Bug 1643180 - Part 2: Update the Frame component to always pass generated position to view source. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78381
2020-06-05 22:18:38 +00:00
Logan Smyth 4ea464c203 Bug 1643180 - Part 1: Update EventTooltipHelper to use actor ID for sourcemaps. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D78380
2020-06-04 23:49:06 +00:00
Logan Smyth cc02094920 Bug 1643540 - Split scriptElement type into three types for clarity. r=jlast,smaug
The lack of specificity for script intro type has lead the debugger to need
to make use of 'source.introductionType' and 'source.element' in order to
determine whether a given script was injected, or inline or fetched, which
is entirely unnecessary of the loader itself clearly tells us what type
of script we are working with. It also allows us to cleanly handle the case
of XUL, which previously was "scriptElement" but has no ".element" passed
in, so we were unable to know whether a given source was inline or not.

Differential Revision: https://phabricator.services.mozilla.com/D78435
2020-06-05 18:22:50 +00:00
Mitchell Hentges 673a0c6c35 Bug 1632429: GeneratePureDOMFunctions no longer throws an error when run with Python 3 on Windows r=loganfsmyth
On Windows, the IDL files were being read with the "charmap" codec, but quotes like “ were causing errors.
By specifying "utf8" instead, the read() succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D77971
2020-06-03 19:05:28 +00:00
Itiel 6fd3ca3e0c Bug 1641271 - Fix the icons for dark mode in the Service Workers in the Application panel r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D77101
2020-06-05 15:46:19 +00:00
nchevobbe b853e6c2e4 Bug 1639165 - Don't log messages forwarded from content processes when multiprocess browser toolbox is enabled. r=Honza.
We were getting duplicated nsIScriptError in the Browser Toolbox console and the Browser Console
when the multiprocess pref is enabled, because error from content processes are forwarded to
the main process.
The previous patch of this queue added a isForwardedFromContentProcess flag to nsIScriptError,
that we use in this patch to _not_ handle forwarded messages in multiprocess browser console
and browser toolbox console.

Differential Revision: https://phabricator.services.mozilla.com/D78231
2020-06-05 14:53:33 +00:00
Kershaw Chang f325bc0048 Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D77277
2020-06-04 22:56:38 +00:00
Narcis Beleuzu 2301168947 Backed out changeset cf9b81801abc (bug 1640117) for dt failures on browser_webconsole_trackingprotection_errors.js . CLOSED TREE 2020-06-05 17:14:38 +03:00
Julian Descottes f754421863 Bug 1643629 - Add the contenttoolbox preference to DevTools FIS icon-button r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D78473
2020-06-05 12:58:24 +00:00
Taegeon Lee 6b7bd763ae Bug 1640117 Change message in console for blocking contents from content blocking to enhanced tracking protection. r=nchevobbe,dimi
Differential Revision: https://phabricator.services.mozilla.com/D78470
2020-06-05 11:15:13 +00:00
Narcis Beleuzu 2f39179838 Backed out 2 changesets (bug 1639165) for dt failures on browser_webconsole_stubs_css_message.js . CLOSED TREE
Backed out changeset 6c7cd0394f8d (bug 1639165)
Backed out changeset c5cd10328f91 (bug 1639165)
2020-06-05 14:21:46 +03:00
Brindusan Cristian 895c222a03 Backed out 1 changesets (bug 1643270) for devtools failures at browser_net_params_sorted.js. CLOSED TREE
Backed out changeset 051d7f284389 (bug 1643270)
2020-06-05 13:33:43 +03:00
nchevobbe 9c7ffe54b3 Bug 1639165 - Don't log messages forwarded from content processes when multiprocess browser toolbox is enabled. r=Honza.
We were getting duplicated nsIScriptError in the Browser Toolbox console and the Browser Console
when the multiprocess pref is enabled, because error from content processes are forwarded to
the main process.
The previous patch of this queue added a isForwardedFromContentProcess flag to nsIScriptError,
that we use in this patch to _not_ handle forwarded messages in multiprocess browser console
and browser toolbox console.

Differential Revision: https://phabricator.services.mozilla.com/D78231
2020-06-05 08:11:35 +00:00
Julian Descottes 228187edbd Bug 1642907 - Use dictionary argument in RuntimePage::renderDebugTargetPane r=daisuke
Depends on D78014

Differential Revision: https://phabricator.services.mozilla.com/D78224
2020-06-05 08:49:53 +00:00
Julian Descottes c08197c9fd Bug 1642907 - Stop modifying descriptor form in aboutdebugging r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D78014
2020-06-05 08:49:30 +00:00
Hubert Boma Manilla d149a05696 Bug 1643270 - Isolate headers panel treeview css changes r=Honza
- Fixes Bug 1643270 with unexpandale nodes
 - Fixes  Bug 1643296 so clicking any part of the method cllapses the node

Differential Revision: https://phabricator.services.mozilla.com/D78254
2020-06-05 08:07:00 +00:00
James Teh c45ca37cf4 Bug 1151648: Construct accessible objects for SVG elements which have title or desc. r=MarcoZ,yzen
According to SVG Accessibility API Mappings, an SVG element which has title or desc element must be exposed.
https://w3c.github.io/svg-aam/#include_elements
Previously, we didn't expose <g> elements at all even if they had a title/desc, and we unconditionally exposed some other SVG elements even when they didn't.

This removes the Dev Tools A11y Panel code which explicitly allowed unlabelled descendants of role="img" <svg> elements, since we don't create descendants if they don't have a label now anyway.
The associated tests had to be tweaked as well, since now we don't create unlabelled descendants.

Original patch by Takeshi Kurosawa.

Differential Revision: https://phabricator.services.mozilla.com/D77763
2020-06-03 13:18:38 +00:00
Stepan Stava baf1cd4924 Bug 1581708 - Inline preview for exceptions r=jlast,nchevobbe
Underlines the expression that throws the exception and highlights the whole line in red.
Adds exception tooltip while hovering over the underlined token.

Differential Revision: https://phabricator.services.mozilla.com/D71337
2020-06-04 23:11:56 +00:00
Emilio Cobos Álvarez bcc9724c16 Bug 1638118 - Ignore redundant calls to enterResponsiveMode() / leaveResponsiveMode(). r=mtigley
We can get two calls to enterResponsiveMode() for a tab, via the two
callsites in devtools/client/responsive/ui.js.

Calling enterResponsiveMode() is not idempotent after bug 1634621, as
the second call will lose the zoom information. Prevent this from
happening by making the call a no-op if we're already in responsive
mode.

Do the same in leaveResponsiveMode() for consistency.

Differential Revision: https://phabricator.services.mozilla.com/D78294
2020-06-04 21:16:11 +00:00
Csoregi Natalia 63635ef2aa Backed out 7 changesets (bug 1641496) for failures on test_trr.js. CLOSED TREE
Backed out changeset 1c927e612dda (bug 1641496)
Backed out changeset 0f1ba77e3942 (bug 1641496)
Backed out changeset a626e86ce5c9 (bug 1641496)
Backed out changeset 196381953eac (bug 1641496)
Backed out changeset 70b0af678bfd (bug 1641496)
Backed out changeset bf41bd8ca89c (bug 1641496)
Backed out changeset 745da0e1cb80 (bug 1641496)
2020-06-05 01:39:19 +03:00
Kershaw Chang 9e895a5b1f Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D77277
2020-06-04 16:53:23 +00:00
Logan Smyth 4e72176cd7 Bug 1642371 - Part 8: Use actor IDs instead of URLs when resolving CSS sourcemaps. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77744
2020-06-04 19:52:10 +00:00
Logan Smyth f6356afa15 Bug 1642371 - Part 7: Reimplement SourceMapURLService to allow subscribing/querying by URL _and_ ID. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77743
2020-06-04 19:51:50 +00:00
Logan Smyth 49745d7412 Bug 1642371 - Part 6: Expose the original position as an object for simpler arg processing. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77742
2020-06-03 22:39:44 +00:00
Logan Smyth ecd63b959b Bug 1642371 - Part 5: Make .unsubscribe private in the source-map-url-service. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77741
2020-06-03 22:38:56 +00:00
Logan Smyth 56fa0fd410 Bug 1642371 - Part 4: Open style editor using exact front object where possible. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77740
2020-06-03 22:38:11 +00:00
Logan Smyth 6e12cd5073 Bug 1642371 - Part 3: Remove the sourceMapURLService dependency from function reps. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77739
2020-06-03 17:21:11 +00:00
Logan Smyth 22664386f1 Bug 1642371 - Part 2: Consistently differentiate sourceMapService and sourceMapURLService. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77738
2020-06-02 22:30:40 +00:00
Logan Smyth d19111057c Bug 1642371 - Part 1: Remove unnecessary duplicated source mapping. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D77737
2020-06-02 22:27:55 +00:00
Yura Zenevich 84a0dd32fb Bug 1598076 - pass audit progress number of completed audits back to the client to avoid calculating it from percentage. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77464
2020-06-04 17:11:26 +00:00
Yura Zenevich 1299ea5c93 Bug 1598076 - make "Check for issue" functionality work with fission. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77463
2020-06-04 17:07:05 +00:00
Richard Sherman 989440457b Bug 1642811 - Rename UI references of "blacklist" to "ignore" in Debugger r=jlast,flod
Removed UI references to blacklist, replaced with ignore. Also updated the shortcut key to 'I' instead of 'D' since it's no longer Blacklist. Lastly updated tests to fix failing snapshot tests and jest tests.

Differential Revision: https://phabricator.services.mozilla.com/D78071
2020-06-04 16:02:37 +00:00
Alexandre Poirot 9812cc0c61 Bug 1642470 - Use BrowsingContext ID instead of outerWindowID to filter out netmonitor requests. r=bomsy,Honza
OuterWindow ID is deprecated in a Fission world and we should rather use Browsing Context ID.
The outer window ID will change when navigating to another origin, loaded in a distinct process,
whereas Browsing Context ID will stay the same.

Differential Revision: https://phabricator.services.mozilla.com/D78253
2020-06-04 15:01:47 +00:00
Farooq AR 8b7017979f Bug 1636418 - Rename WebSockets codebase to Messages. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D76724
2020-06-04 14:12:14 +00:00
Nazım Can Altınova db93cd61e4 Bug 1642677 - Pause the profiler before capturing a profile with remote profiling. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D78036
2020-06-03 14:22:28 +00:00
Julian Descottes 10262458bb Bug 1628325 - Add test for zombie tab handling in aboutdebugging r=daisuke
Depends on D77499

Differential Revision: https://phabricator.services.mozilla.com/D77806
2020-06-03 12:33:35 +00:00
Julian Descottes bf13b71c17 Bug 1628325 - Stop updating TargetActor title from TabDescriptor r=daisuke
Depends on D77498

Differential Revision: https://phabricator.services.mozilla.com/D77499
2020-06-04 00:21:27 +00:00
Julian Descottes 60fbf0cdeb Bug 1628325 - Disable the Inspect button for zombie tabs in about:debugging r=daisuke,fluent-reviewers,flod
Depends on D77497

Differential Revision: https://phabricator.services.mozilla.com/D77498
2020-06-03 12:26:12 +00:00
Julian Descottes fbc0b647fa Bug 1628325 - Add a isZombieTab property to TabDescriptor r=daisuke
Depends on D77487

Differential Revision: https://phabricator.services.mozilla.com/D77497
2020-06-03 12:26:09 +00:00
Julian Descottes 0a99e65b27 Bug 1638420 - Read tab descriptor title from browser.contentTitle r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D77487
2020-06-04 00:21:04 +00:00
Yura Zenevich 85480a7842 Bug 1598054 - make accessible object picking functionality work with OOP frames and fission. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D74687
2020-06-04 01:38:01 +00:00
David Walsh 8863fc03cd Bug 1639425 - Add forward and back buttons to remote debugging r=daisuke,flod,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D76203
2020-06-03 22:43:56 +00:00
Daisuke Akatsuka 4d5d1517c6 Bug 1639122: Make issue item components collapsable. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D77426
2020-06-03 22:15:33 +00:00
Jason Laster 92cdefb706 Bug 1621338 - Use the TargetList for listening to and retrieving worker targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D74265
2020-06-03 02:54:33 +00:00
Nicolas Chevobbe eea229d575 Bug 1641468 - Add platform message stub test. r=ochameau.
This patch adds a mochitest that will be responsible to
generate and update platform messages stubs, which is what
we already have for all the other type of resources we handle
in the console.
This means the mocha test asserting the rendering of platform
messages can use those stubs instead of hand-written stubs we
have at the moment.

This patch also adds a `getCurrentTestFilePath` function in shared-head.js,
which we then use in the different stub generators.
We also use CHROME_URL_ROOT to require the stub-generator-helpers file.

Differential Revision: https://phabricator.services.mozilla.com/D77216
2020-06-03 09:11:56 +00:00
Bogdan Tara ffdcf42e89 Backed out 2 changesets (bug 1642261) for browser_use_counters.js failures CLOSED TREE
Backed out changeset dd4c99038ede (bug 1642261)
Backed out changeset 308d2f7a4a13 (bug 1642261)
2020-06-03 11:43:20 +03:00
Cameron McCormack 061da14b2e Bug 1642261 - Part 2: Add telemetry for -moz-appearance usage. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77637
2020-06-03 05:15:21 +00:00
Jason Laster df63f02111 Bug 1622191 - Improve performance of evals in the debugger. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D77553
2020-06-03 00:03:20 +00:00
Andrea Marchesini 6254482164 Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-02 13:50:32 +00:00
Andrea Marchesini 5ccae203ff Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 13:49:27 +00:00
alexdominguezg 6cec99e745 Bug 1599978 - Stores clientX as state.width for start-panel and the difference between clientWidth and clientX for end-panel. r=bomsy,davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D73381
2020-06-02 16:10:11 +00:00
Nicolas Chevobbe bf6bffaa21 Bug 1635460 - Show 4XX and 5XX Network requests as errors in the console. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D77465
2020-06-02 13:31:24 +00:00
Csoregi Natalia e960b9f449 Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini 8325f09f3c Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-02 09:15:31 +00:00
Andrea Marchesini b4173bc59e Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 09:13:51 +00:00
Julian Descottes 6e3249f1ba Bug 1641898 - Fix layout inconsistencies for readonly URLs in about:devtools-toolbox r=daisuke,davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D77484
2020-06-02 08:28:06 +00:00
Csoregi Natalia 5d90d1873d Backed out changeset c8a7ccb337cc (bug 1641898) for node devtools failures. CLOSED TREE 2020-06-02 10:12:22 +03:00
Nicolas Chevobbe 34d39dc550 Bug 1641494 - Don't eagerly evaluate commands. r=Honza.
Depends on D77268

Differential Revision: https://phabricator.services.mozilla.com/D77269
2020-06-01 11:20:02 +00:00
Julian Descottes cd06f002d5 Bug 1641898 - Fix layout inconsistencies for readonly URLs in about:devtools-toolbox r=daisuke,davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D77484
2020-06-01 14:18:35 +00:00
Itiel ec96908456 Bug 1641262 - Fix the info icon for dark mode in the Compatibility tab r=daisuke
Also improve the CSS a bit

Differential Revision: https://phabricator.services.mozilla.com/D77093
2020-06-02 04:04:10 +00:00
Razvan Maries 79fe28f0d6 Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Razvan Maries a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Andrea Marchesini 848f1f0043 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 17:59:13 +00:00
Kris Maglione b3fcd970ec Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Noemi Erli e40be0aa72 Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini 165022b2c4 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 11:43:19 +00:00
Dorel Luca 9574e25c80 Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini d1c11476f6 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 10:28:51 +00:00
Hubert Boma Manilla 277b091248 Bug 1642201 - Remove undefined and trim the headers for edit & resend r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D77617
2020-06-01 07:43:37 +00:00
Masatoshi Kimura b9a2ffc214 Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Yura Zenevich 9ad99052ff Bug 1598026 - separate listening for accessibility lifecycle events between parent and content. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D77466
2020-05-29 19:18:19 +00:00
Jason Laster ca9c383fa8 Bug 1641731 - Prefer pausing in original locations. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D77158
2020-05-29 15:23:30 +00:00
Daisuke Akatsuka adc56a6132 Bug 1637641: Add test for the cache mechanism in ResourceWatcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77015
2020-05-29 11:09:53 +00:00
Daisuke Akatsuka e9f265f304 Bug 1637641: Make multiple listeners can receive proper cached resources. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D76447
2020-05-29 11:36:54 +00:00
Bogdan Tara cefa97f3e1 Backed out 2 changesets (bug 1637641) for many devtools failures CLOSED TREE
Backed out changeset c8c30f4dc5e3 (bug 1637641)
Backed out changeset f3bad0efa582 (bug 1637641)
2020-05-29 14:02:18 +03:00
Paul Adenot dfcea09efd Bug 1641608 - Add "GraphRunner" to the media preset thread list. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D77299
2020-05-28 18:57:10 +00:00
Daisuke Akatsuka 6d2ac48964 Bug 1637641: Add test for the cache mechanism in ResourceWatcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77015
2020-05-29 02:42:34 +00:00
Daisuke Akatsuka 71e4f3832c Bug 1637641: Make multiple listeners can receive proper cached resources. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D76447
2020-05-29 08:30:52 +00:00
Yura Zenevich 7f990d178f Bug 1602063 - make Print to JSON functionality work with fission enabled. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D76427
2020-05-29 00:58:33 +00:00
Daisuke Akatsuka a65a1cf8c8 Bug 1641545: Enable the pref for compatibility panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D77389
2020-05-29 09:01:38 +00:00
Stepan Stava 525e6a8186 Bug 1622238 - Inconsistent variable preview r=jlast
Fixes incorrect 'expression' strings getting from the parse causing overwriting of values when hovering.

If an 'expression' string is in the form of `"foo = value"`, when hovering over 'foo', that 'expression' string is sent to 'evaluateJSAsync()' in 'webConsoleActor' which overwrites any previously set values to 'foo'.

Differential Revision: https://phabricator.services.mozilla.com/D77266
2020-05-28 20:46:19 +00:00
Julian Descottes 66564c9bcf Bug 1637687 - Catch push subscription actor errors in about:debugging r=davidwalsh,daisuke
Depends on D75905

Differential Revision: https://phabricator.services.mozilla.com/D75906
2020-05-29 06:06:58 +00:00
Julian Descottes 4c889947b8 Bug 1637687 - Remove lastPush/pushCount from PushSubscriptionActor as they are not supported on GeckoView r=davidwalsh,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D75905
2020-05-29 06:08:55 +00:00
Alexandre Poirot 8827278483 Bug 1640641 - Add `resourceType` attribute to each resource and emit list of resources. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D76672
2020-05-29 06:29:40 +00:00