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

20386 Коммитов

Автор SHA1 Сообщение Дата
Micah Tigley 02c3543611 Bug 1617237 - Part 3: Add the keypress listener for just DevTools' tab bar r=yzen,daisuke
`_onToolbarArrowKeypress` is only concerned with moving focus between tabs in the toolbar when the right/left arrow keys are pressed. This patch ensures the listener is only added to the container of the tab elements (.devtools-tabbar).

Depends on D70279

Differential Revision: https://phabricator.services.mozilla.com/D72227
2020-05-07 17:22:12 +00:00
Micah Tigley 068bfeb48b Bug 1617237 - Part 2: Render URL input in DebugTargetInfo for USB debugging. r=jdescottes,daisuke
Depends on D70280

Differential Revision: https://phabricator.services.mozilla.com/D70279
2020-05-07 17:22:16 +00:00
Micah Tigley c2f33b7939 Bug 1617237 - Part 1: Ensure that ToolboxController updates its children when target navigates r=jdescottes,daisuke
The DebugTargetInfo component doesn't receive new target information when navigation occurs. This is because the ToolboxController doesn't seem to be aware of these changes. To trigger an update, we can force new props to be passed to DebugTargetInfo by setting the target's debug info on its local state.

Differential Revision: https://phabricator.services.mozilla.com/D70280
2020-05-07 17:22:14 +00:00
Daisuke Akatsuka 09d5046045 Bug 1620098: Avoid calling onUpdateDeviceModal twice when closing the device modal. r=mtigley
Depends on D67984

Differential Revision: https://phabricator.services.mozilla.com/D68141
2020-05-07 02:45:15 +00:00
Daisuke Akatsuka 555708ddc9 Bug 1620098: Remove unnecessary processing in RDM. r=mtigley
Depends on D67983

Differential Revision: https://phabricator.services.mozilla.com/D67984
2020-05-07 02:45:05 +00:00
Daisuke Akatsuka cca27059d5 Bug 1620098: Show HTMLTooltip in html document as XUL popup. r=bgrins,jdescottes,mtigley,yzen,bdahl,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D67983
2020-05-07 23:33:57 +00:00
Razvan Maries 3a81bebd4b Backed out 5 changesets (bug 1617237) for devtools perma failures. CLOSED TREE
Backed out changeset 3acc06a17b26 (bug 1617237)
Backed out changeset dfdf021a542c (bug 1617237)
Backed out changeset 358ce0a1518f (bug 1617237)
Backed out changeset 2e647ae9ec48 (bug 1617237)
Backed out changeset 3e340cc988c8 (bug 1617237)
2020-05-07 20:17:17 +03:00
Micah Tigley 6b68c25cdd Bug 1617237 - Part 5: Add test for changing the URL from the remote debugging UI r=daisuke
Depends on D72274

Differential Revision: https://phabricator.services.mozilla.com/D72275
2020-05-07 15:19:38 +00:00
Micah Tigley fe40cdd7f1 Bug 1617237 - Part 4: Select all text when URL input is focused r=daisuke
Depends on D72227

Differential Revision: https://phabricator.services.mozilla.com/D72274
2020-05-07 15:19:36 +00:00
Micah Tigley 65cbd5305b Bug 1617237 - Part 3: Add the keypress listener for just DevTools' tab bar r=yzen,daisuke
`_onToolbarArrowKeypress` is only concerned with moving focus between tabs in the toolbar when the right/left arrow keys are pressed. This patch ensures the listener is only added to the container of the tab elements (.devtools-tabbar).

Depends on D70279

Differential Revision: https://phabricator.services.mozilla.com/D72227
2020-05-07 15:19:29 +00:00
Micah Tigley e73acf279e Bug 1617237 - Part 2: Render URL input in DebugTargetInfo for USB debugging. r=jdescottes,daisuke
Depends on D70280

Differential Revision: https://phabricator.services.mozilla.com/D70279
2020-05-07 15:19:27 +00:00
Micah Tigley cee7e3264e Bug 1617237 - Part 1: Ensure that ToolboxController updates its children when target navigates r=jdescottes,daisuke
The DebugTargetInfo component doesn't receive new target information when navigation occurs. This is because the ToolboxController doesn't seem to be aware of these changes. To trigger an update, we can force new props to be passed to DebugTargetInfo by setting the target's debug info on its local state.

Differential Revision: https://phabricator.services.mozilla.com/D70280
2020-05-07 15:19:24 +00:00
Ian Moody 546e04f723 Bug 1635677 - Import Components in devtools so Components.Exceptions can be thrown. r=Honza
This was a regression from automated changes in bug 1536556
6936e9640d4e41b2c470a022a2e7066b72b7d906

Differential Revision: https://phabricator.services.mozilla.com/D74098
2020-05-07 05:30:43 +00:00
Cosmin Sabou 6a31abf429 Backed out 3 changesets (bug 1620098) for devtools jtest failures. CLOSED TREE
Backed out changeset a3a8244860bc (bug 1620098)
Backed out changeset 2996bd22bd97 (bug 1620098)
Backed out changeset 6b397048940f (bug 1620098)
2020-05-07 05:40:50 +03:00
Daisuke Akatsuka 7afda3c423 Bug 1620098: Avoid calling onUpdateDeviceModal twice when closing the device modal. r=mtigley
Depends on D67984

Differential Revision: https://phabricator.services.mozilla.com/D68141
2020-04-29 14:52:38 +00:00
Daisuke Akatsuka cb20d38a23 Bug 1620098: Remove unnecessary processing in RDM. r=mtigley
Depends on D67983

Differential Revision: https://phabricator.services.mozilla.com/D67984
2020-04-29 14:52:37 +00:00
Daisuke Akatsuka 26439c714e Bug 1620098: Show HTMLTooltip in html document as XUL popup. r=bgrins,jdescottes,mtigley,yzen,bdahl
Differential Revision: https://phabricator.services.mozilla.com/D67983
2020-05-07 02:04:17 +00:00
Dana Keeler e8ebc73d50 Bug 1630038 - remove HPKP entirely r=kjacobs,bbeurdouche
This removes processing of HTTP Public Key Pinning headers, remotely modifying
pinning information, and using cached pinning information, all of which was
already disabled in bug 1412438. Static pins that ship with the browser are
still enforced.

Differential Revision: https://phabricator.services.mozilla.com/D73352
2020-05-06 22:57:50 +00:00
Gijs Kruitbosch 88153109ac Bug 1633790 - pass channels to stream conversion getContentType and always allow PDF.js use for user-opened local PDF files, r=mattwoodrow,jaws
Differential Revision: https://phabricator.services.mozilla.com/D73511
2020-05-06 20:34:51 +00:00
Yura Zenevich 24444fa370 Bug 1598026 - make sure that accessible's ancestry works for remote frame accessibles. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D70291
2020-04-23 12:45:12 +00:00
Yura Zenevich d1c4117564 Bug 1635646 - do not print accessible when logging fetch children action error. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D73992
2020-05-06 17:46:59 +00:00
Yura Zenevich 8812c997a4 Bug 1635634 - do not check root document containment when calculating relations. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D73988
2020-05-06 17:46:14 +00:00
Yura Zenevich 8b5e6042f9 Bug 1635641 - check that document accessible exists before checking if it's stale. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D73990
2020-05-06 17:55:52 +00:00
Yura Zenevich 698b98c243 Bug 1635645 - check the action type before logging simulation related action errors. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D73991
2020-05-06 17:52:12 +00:00
AaryanDewan e74128e730 Bug 1621551 - Remove objectBox-string selector that was responsible for white-space: nowrap. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D74027
2020-05-06 16:48:39 +00:00
Yura Zenevich 62bc61fe41 Bug 1551574 - remove beta label for the accessibility checks toolbar. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D36441
2020-05-06 15:55:16 +00:00
Yura Zenevich d308a85705 Bug 1602075 - display enabled Inspect Accessibility Properties menu item in inspector if devtools.accessibility.auto-init.enabled pref is set to true. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D71587
2020-05-06 15:55:06 +00:00
Yura Zenevich 5b6b095fcf Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-05-06 15:54:58 +00:00
Yura Zenevich 72742f0760 Bug 1602075 - only highlight the accessibility tab when the auto init feature is not enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71585
2020-05-06 15:54:51 +00:00
Yura Zenevich 76f37b5114 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-05-05 21:14:00 +00:00
Yura Zenevich f68b4aeabd Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-05-05 21:13:45 +00:00
Yura Zenevich e8b2fc41bb Bug 1635632 - ensure that the nodeFront exists before trying to inspect it or its accessibility properties. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D73987
2020-05-06 02:19:22 +00:00
Yura Zenevich 2f39083963 Bug 1610562 - take into account multiple browsing contexts when getting a node from content DOM reference. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60545
2020-05-06 01:52:36 +00:00
Belén Albeza 1c65722b10 Bug 1633422: Enable Application panel on dev edition r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D72684
2020-04-29 11:56:14 +00:00
Nicolas Chevobbe 38d3c033ab Bug 1631728 - Test that the context selector reacts to a target being destroyed. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D71732
2020-05-06 03:26:55 +00:00
Julian Descottes e682e0e1c8 Bug 1633703 - Disable dom.ipc.processPrelaunch.enabled in debugger tests r=jlast
Depends on D73231

Differential Revision: https://phabricator.services.mozilla.com/D73246
2020-05-05 22:49:22 +00:00
Yura Zenevich afd1feade0 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-05-05 21:13:38 +00:00
Hubert Boma Manilla 98b0dbdad3 Bug 1634643 - Make sure array is passed to stacktrace r=Honza
Default set stacktrace to [] if its falsy
Added check for empty array ahead to return early

Differential Revision: https://phabricator.services.mozilla.com/D73452
2020-05-04 10:48:15 +00:00
Hubert Boma Manilla 1c37dd6cba Bug 1631302 - Quick UX refactor of the header sections r=Honza
Included in this patch
 - Reduced the size of the raw header toggles from 16px to 12px
 - The raw header toggles when the "Raw" label is clicked
 - The label has changed for "Raw headers" to "Raw" as recommende by the UX designs
 - Changed the Title text color of the headers accordion to make it lighter
 - Disabled the input boxes when property values are selected
 - Changed the color of the property values

Todo (in a different patch)
 - Show learn more and copy icons on hover
 - No warning icons

Differential Revision: https://phabricator.services.mozilla.com/D73230
2020-05-05 13:16:15 +00:00
Hubert Boma Manilla 8454cf096c Bug 1631285 - New headers panel toolbar r=Honza
Add a toolbar for the headers panel with block and resend buttons

Differential Revision: https://phabricator.services.mozilla.com/D71916
2020-05-04 10:17:54 +00:00
Ian Moody 011b59d595 Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.

This was done automatically with a new eslint rule that will be introduced in
the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS.  The rule will be disabled for that instance.

Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Julien Wajsberg 7fe841ba60 Bug 1516311 - Increase the timeout for browser-perf-01 r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D73808
2020-05-05 14:27:36 +00:00
Nicolas Chevobbe 23fc9c8ca7 Bug 1624661 - Fix race condition in console autocomplete. r=Honza.
When the completed word has character after it,
we don't display the completion text (the grey
text that indicates what will be added to the
input if you press enter), and we keep the autocomplete
popup open, even if there's only one item in it.
But in the code where we're mitigating races on
autocompletion, we were having a check on the completionText
existence, which would not cover the cases where the
popup is shown but not the completion text.
By changing the condition in the if, the issue is fixed.
A test case is added to ensure this works as expected
and that we don't regress.

Differential Revision: https://phabricator.services.mozilla.com/D73612
2020-05-05 13:14:01 +00:00
Belén Albeza a5b17eb634 Bug 1633715: Move Service Workers sidebar item to the top r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D73263
2020-04-30 13:37:27 +00:00
Farooq AR 7dcf702676 Bug 1618409 - Allow resizing on network table border. r=fvsch,Honza
Differential Revision: https://phabricator.services.mozilla.com/D73577
2020-05-05 11:26:04 +00:00
Micah Tigley 7c858a6d82 Bug 1623941 - Part 3: Fix browser_touch_event_should_bubble.js test r=bradwerth
Depends on D72905

Differential Revision: https://phabricator.services.mozilla.com/D72904
2020-05-04 15:27:52 +00:00
Micah Tigley d626b0a231 Bug 1623941 - Part 2: Remove manual firing of mouse events. r=bradwerth
We no longer need to fire fake mouse events after replacing `sendTouchEvent` with `sendNativeTouchPoint` in D69885.

Depends on D69885

Differential Revision: https://phabricator.services.mozilla.com/D72905
2020-05-04 15:27:49 +00:00
Micah Tigley 82fb204819 Bug 1623941 - Part 1: Use nsDOMWindowUtils' sendNativeTouchPoint for simulating touch events r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D69885
2020-05-04 16:30:27 +00:00
Greg Tatum d09e7cedb5 Bug 1623594 - Add recording state UI to the profiling popup; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D73332
2020-05-04 15:05:23 +00:00
Nicolas Chevobbe d20e015fa0 Bug 1634972 - Use Editor.accel to bind Cmd/Ctrl + F in JSTerm. r=bomsy.
This allow us to not have to declare both Ctrl and Cmd + F extra keys
for CodeMirror; which fixes the OSX Ctrl+F default behaviour (move
cursor one char forward).

Differential Revision: https://phabricator.services.mozilla.com/D73598
2020-05-04 12:21:44 +00:00
Ria agnes Jose 580f131b44 Bug 1633696 - Rename isVariableInUse to getVariableValue. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D73589
2020-05-04 11:06:42 +00:00
Harshil Agrawal 24b800f00d Bug 1628358 - Remove unused search.svg image in JSON viewer. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D73466
2020-05-04 09:48:19 +00:00
Sonia Singla 91d137c428 Bug 1634424 - Change "Open in sidebar" into "Inspect in sidebar". r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D73320
2020-05-01 21:05:20 +00:00
Ciure Andrei 48a808ecf8 Backed out 3 changesets (bug 1602075) for causing dt failures CLOSED TREE
Backed out changeset 2df583e25890 (bug 1602075)
Backed out changeset fa77554062c7 (bug 1602075)
Backed out changeset 595a28396874 (bug 1602075)
2020-05-02 00:21:30 +03:00
Yura Zenevich b503cad7f4 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-05-01 19:04:15 +00:00
Yura Zenevich c8683212ad Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-05-01 19:04:07 +00:00
Yura Zenevich 9de5527ad8 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-05-01 19:03:56 +00:00
Julian Descottes 92ac7d30b9 Bug 1592839 - Add new inline script in test document doc-scripts.html r=Honza
Adding this new inline scripts avoids frequent timeouts for browser_dbg-breakpoints-reloading.js

Differential Revision: https://phabricator.services.mozilla.com/D73231
2020-05-01 09:25:44 +00:00
Brad Werth 4ae0e63f68 Bug 1598145 Part 3: Add a test of changed meta viewport tags. r=hiro
This test checks several replaced meta viewport tags, exercising the code in
MobileViewportManager that changes resolution to maintain the proportional
amount of content visible in the display area as the viewport size changes.
It also checks the shrink-to-fit behavior of pages with user-scalable=no.

Differential Revision: https://phabricator.services.mozilla.com/D72762
2020-04-30 23:25:53 +00:00
Brad Werth c59bae07f0 Bug 1598145 Part 2: Make some more RDM test functions await reflow. r=mtigley,hiro
To reduce intermittents in RDM tests, setTouchAndMetaViewportSupport and
spawnViewportTask now await reflow before resolving. Additionally an awaited
reflow in setViewportSizeAndAwaitReflow was changed to use the standard
method.

Differential Revision: https://phabricator.services.mozilla.com/D72969
2020-04-30 23:25:53 +00:00
Gerald Squelart d6e98da86d Bug 1634234 - Only allow powers of 2 for buffer size in about:profiling - r=gregtatum
Display the buffer size as powers of 2, using binary-friendly units (e.g., 64MiB).
Presets have been adjusted to powers of 2.

Note that the profiler still uses this number as maximum per process, but this will change when bug 1632750 lands.

Differential Revision: https://phabricator.services.mozilla.com/D73213
2020-04-30 23:21:03 +00:00
Gerald Squelart 983fefb005 Bug 1634216 - PROFILE_ENTRY_SIZE = 8, as expected by the Gecko Profiler - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D73174
2020-04-30 23:20:43 +00:00
Alexandre Poirot 7688d1a74f Bug 1593937 - Disable browser_accessibility_tree_nagivation_oop.js as it fails intermittenly on Fission. r=yzen,jdescottes
It also triggers a C++ assertion.

Differential Revision: https://phabricator.services.mozilla.com/D72182
2020-04-30 07:59:44 +00:00
Alexandre Poirot 0df0904d08 Bug 1593937 - Remove/Deprecate listRemoteFrames. r=jdescottes
The previous changeset removed all the usages of listRemoteFrames from
the frontend code. We can start removing this method from the actor codebase,
and keep backward compat code in the client.

Differential Revision: https://phabricator.services.mozilla.com/D65522
2020-04-30 07:59:42 +00:00
Alexandre Poirot 6c2b300e88 Bug 1593937 - Prevent fetching NodeFront for already destroyed AccessibleFront. r=yzen
When navigating between process, we happen to destroy the AccessibleFront
in middle of this call to `Target.getFront("inspector")`.
Before calling updateDetails, we already check if AccessibleFront is already destroyed.
This code also checks after the call to getFront.

Differential Revision: https://phabricator.services.mozilla.com/D70842
2020-04-30 07:59:40 +00:00
Alexandre Poirot 1af9a59a48 Bug 1593937 - Fetch BrowsingContextTargets via the watcher instead of the RootFront. r=jdescottes
Now that the BrowsingContextTarget are created by the watcher,
we should redirect existing code in the frontend which was using
`RootFront.getBrowsingContextDescriptor` in order to directly fetch the target from the watcher.

We don't really need descriptors for additional targets.
I think that descriptors are mostly useful for the top level target and for about:debugging, to describe a target without debugging it yet.

This patch is a bit complex because we can't fetch the "parent BrowsingContext ID" from actors/browsing-context.js:form().
browsingContext.parent and browsingContext.embedderWindowGlobal are both null from the content process.
I have not found any way/API to get the parent browsing context ID from the content process, i.e. the ID of browser.xhtml from a tab content process.
So, I end up with this helper method on Watcher actor to get the parent ID on-demand.
We could also inject the parent ID into the browsingContextTarget's form in WindowGlobalWatcher._createTarget,
but that sounds very hacky and hard to follow.

Note that this patch address the issue of duplicated targets.
WatcherFront.getBrowsingContextTarget ensures fetching the ParentProcessTarget for browser.xhtml
instead of recreating a duplicated FrameDescriptor and BrowsingContextTarget for this document, as we do in the existing codebase.

Differential Revision: https://phabricator.services.mozilla.com/D62465
2020-04-30 07:59:38 +00:00
Alexandre Poirot 879475cfd3 Bug 1593937 - Implement watchTargets for remote frames. r=jdescottes
* Introduce a new actor "Watcher", which might in the future allow listening to anything.
Here, it only implements listening for additional remote frame's WindowGlobal
and notify about the WindowGlobalTargetActor's.
* Also, very important part here is that it instantiates the BrowsingContextTargetActor much earlier. Before anything from the page is executed.
It requires to instantiate the actor directly from the content processes, whereas before, we were doing it from a frontend request, after a notification sent from the parent process to the frontend.
* Last but not least, make the TargetList use this new watcher actor in order to
notify the frontend about the dynamically added remote frames.

Differential Revision: https://phabricator.services.mozilla.com/D63317
2020-04-30 07:59:30 +00:00
Alexandre Poirot 734e59b63d Bug 1593937 - Make the BrowsingContextTargetActor optionally follow the WindowGlobal lifecycle. r=jdescottes
The new `followWindowGlobalLifeCycle` argument and field makes the actor behaves like a WindowGlobalTargetActor and only care about the current global (and all its inner iframes, still).
But it ignores the previous/next document. We still uses the DebuggerProgressListener, but mostly for iframes.
will-navigate and navigate are irrelevant for this actor now.
The plan would be to eventually switch all codepaths to this WindowGlobalTargetActor and rename it.
For now, this would only be used for remoted iframes, only additional frame targets.
But not for top level document, nor top level target switching.

Differential Revision: https://phabricator.services.mozilla.com/D65521
2020-04-30 07:59:28 +00:00
Razvan Maries c409ec27d3 Bug 1633850 - Disabled browser_ignore_toolbox_network_requests.js on multiple platforms. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D73197
2020-04-30 08:52:32 +00:00
Nicolas Chevobbe f0b7591da9 Bug 1631799 - Fix order of command and its result message when server and client don't have the same clock time. r=jdescottes.
When remote-debugging a device, it might happen that the device clock
is not exactly at the same time as the client clock. In such case, we
may end up in cases where the result of a command as an older timestamp,
which means we could have in the console output a result that was displayed
before the command message that triggered it.
In order to fix this, we add a `startTime` property on the evaluateJSAsync
response, that we can then check on the client. If the server time is
older than the client time, then we remove the existing command message
and add a new one, with the server timestamp.

We could have waited the result of the command before displaying the
command message (so we don't have to add a message, and then remove it
when the timestamps don't match), but the UI wouldn't feel snappy, and
even worse in case of long execution times (e.g. a top-level await fetch command).

Differential Revision: https://phabricator.services.mozilla.com/D72705
2020-04-30 06:31:14 +00:00
Daisuke Akatsuka 1812f79a36 Bug 1634238: Remove CONSOLE_MESSAGES added by mistake from ResourceWatcher. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D73182
2020-04-30 06:00:29 +00:00
Emilio Cobos Álvarez 321e28ab43 Bug 1633938 - Implement RDM zoom with transform. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D72981
2020-04-30 01:37:30 +00:00
Emilio Cobos Álvarez 72d224913c Bug 1578008 - Make promiseRDMZoom more simple and reliable. r=bradwerth
Now that we no longer have the various resolution shenanigans, we really
just want to ensure that child processes observe the resize of the
<browser> element, which can happen just fine if we ensure to flush
layout.

Differential Revision: https://phabricator.services.mozilla.com/D72552
2020-04-30 01:21:23 +00:00
Emilio Cobos Álvarez 9a9ab94bc2 Bug 1578008 - Remove various hacks to restore resolution only after a full zoom change. r=bradwerth
This is no longer needed now that MVM doesn't restore the zoom.

Differential Revision: https://phabricator.services.mozilla.com/D72551
2020-04-30 01:21:26 +00:00
Dorel Luca 8e7e7136a3 Backed out 4 changesets (bug 1633938, bug 1578008, bug 1633488) for Devtool failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset e690c4cf8848 (bug 1633938)
Backed out changeset c999ecad3be8 (bug 1633488)
Backed out changeset abbc47ce1451 (bug 1578008)
Backed out changeset 9e6925ea790f (bug 1578008)
2020-04-30 04:13:42 +03:00
Emilio Cobos Álvarez 17fae10a8b Bug 1633938 - Implement RDM zoom with transform. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D72981
2020-04-29 21:44:17 +00:00
Emilio Cobos Álvarez 94e88b71b3 Bug 1578008 - Make promiseRDMZoom more simple and reliable. r=bradwerth
Now that we no longer have the various resolution shenanigans, we really
just want to ensure that child processes observe the resize of the
<browser> element, which can happen just fine if we ensure to flush
layout.

Differential Revision: https://phabricator.services.mozilla.com/D72552
2020-04-29 21:44:05 +00:00
Emilio Cobos Álvarez 0169492da2 Bug 1578008 - Remove various hacks to restore resolution only after a full zoom change. r=bradwerth
This is no longer needed now that MVM doesn't restore the zoom.

Differential Revision: https://phabricator.services.mozilla.com/D72551
2020-04-29 21:44:01 +00:00
Julian Descottes 7e8291c458 Bug 1630228 - Add tests for the F12 disabled experiment r=nchevobbe
Depends on D71988

Note: might remote the "devtools_user" test if we decide to drop D71037

Differential Revision: https://phabricator.services.mozilla.com/D72313
2020-04-29 19:27:06 +00:00
Julian Descottes 3478091004 Bug 1630228 - Add telemetry events for OFF 12 devtools experiment r=nchevobbe,janerik
Depends on D71037

Differential Revision: https://phabricator.services.mozilla.com/D71988
2020-04-29 16:19:11 +00:00
Julian Descottes 9dd88b59f5 Bug 1630228 - Enable F12 for all users with selfxss pref > 0 r=Harald,nchevobbe
Depends on D71036

Differential Revision: https://phabricator.services.mozilla.com/D71037
2020-04-29 16:17:57 +00:00
Julian Descottes bdabf1705b Bug 1630228 - Show a doorhanger when using F12 r=fluent-reviewers,nchevobbe,Gijs,victoria
Depends on D71035

When F12 is disabled, if the user presses this key we show a notification hanging below the Firefox Hamburger menu.
This anchor was chosen because this is where the users can normally find the Web Developer menu.
Note that they could also open DevTools via another keyboard shortcut, even if it's not mentioned in the message.

Pressing on F12 again hides the message. The message will be displayed again if the user presses F12 again (ie, F12 is a toggle and the message is not just a one shot)

{F2136447}

Differential Revision: https://phabricator.services.mozilla.com/D71036
2020-04-29 16:17:47 +00:00
Julian Descottes 6bd74b87a0 Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-29 06:34:22 +00:00
Dorel Luca 7a84a62b7f Backed out changeset 6feb116adffe (bug 1631799) for devtools/client/webconsole/test/browser/browser_webconsole_telemetry_reverse_search.js. CLOSED TREE 2020-04-29 22:33:05 +03:00
Dorel Luca 4d9e086d8a Backed out 3 changesets (bug 1602075) for Devtools failures in devtools/client/accessibility/test/browser/browser_accessibility. CLOSED TREE
Backed out changeset d6c51e1b3fb3 (bug 1602075)
Backed out changeset f9017a10e8df (bug 1602075)
Backed out changeset 69d5ff6275a9 (bug 1602075)
2020-04-29 21:35:47 +03:00
David Walsh fe6cfda83a Bug 1630957 - Provide settings menu for debugger UI to allow disabling JavaScript r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D71365
2020-04-29 15:00:43 +00:00
Nicolas Chevobbe f74554002b Bug 1631799 - Fix order of command and its result message when server and client don't have the same clock time. r=jdescottes.
When remote-debugging a device, it might happen that the device clock
is not exactly at the same time as the client clock. In such case, we
may end up in cases where the result of a command as an older timestamp,
which means we could have in the console output a result that was displayed
before the command message that triggered it.
In order to fix this, we add a `startTime` property on the evaluateJSAsync
response, that we can then check on the client. If the server time is
older than the client time, then we remove the existing command message
and add a new one, with the server timestamp.

We could have waited the result of the command before displaying the
command message (so we don't have to add a message, and then remove it
when the timestamps don't match), but the UI wouldn't feel snappy, and
even worse in case of long execution times (e.g. a top-level await fetch command).

Differential Revision: https://phabricator.services.mozilla.com/D72705
2020-04-29 17:12:32 +00:00
Yura Zenevich 5b77e1ed09 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-04-29 17:14:42 +00:00
Yura Zenevich e4233d8a2e Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-04-29 17:14:33 +00:00
Yura Zenevich ade7f7c571 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-04-29 17:14:25 +00:00
Julien Wajsberg 8a64dfa089 Bug 1629109 - Change the popup to 'custom' when changing it in about:profiling r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D72682
2020-04-29 15:32:19 +00:00
Julien Wajsberg 5a57f750eb Bug 1629109 - Loop over all presets to display in about:profiling r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D72681
2020-04-29 15:32:17 +00:00
Daisuke Akatsuka 876007c921 Bug 1628635: Update MDN compatibility data. r=rcaliman
Depends on D72606

Differential Revision: https://phabricator.services.mozilla.com/D72607
2020-04-29 13:58:28 +00:00
Julian Descottes a9ef06b786 Bug 1594402 - Add comments about the supported activeSwatch markup in SwatchColorPickerTooltip.js r=ladybenko,rcaliman
Depends on D68971

Until have a shared component to build to color swatch, some additional comments.

Differential Revision: https://phabricator.services.mozilla.com/D71315
2020-04-29 10:05:49 +00:00
Julian Descottes a97d7642d9 Bug 1594402 - Support setting the data-color attribute on the swatch directly r=ladybenko,rcaliman
Depends on D68849

Differential Revision: https://phabricator.services.mozilla.com/D68971
2020-04-29 10:05:37 +00:00
Julian Descottes 816f890d48 Bug 1594402 - Test that switching color format in DevTools works with the color picker r=ladybenko,rcaliman
Depends on D61063

I broke this feature while working experimenting for this patch and it was not caught by any test.

Adding a test to avoid regressions.

Differential Revision: https://phabricator.services.mozilla.com/D68849
2020-04-29 10:03:40 +00:00
Julian Descottes d13658bff7 Bug 1594402 - Display a color swatch for CSS variables in CSS autocomplete r=ladybenko,rcaliman
Depends on D68963

Differential Revision: https://phabricator.services.mozilla.com/D61063
2020-04-29 10:03:31 +00:00
Julian Descottes ef20d9d88f Bug 1594402 - Store the swatchcolorpicker color in a data attribute instead of textcontent r=ladybenko,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D68963
2020-04-29 10:03:24 +00:00
Daisuke Akatsuka 55938be3e0 Bug 1618385: Use 'dom-complete' event instead to not miss 'navigate' event. r=ochameau,Honza
Differential Revision: https://phabricator.services.mozilla.com/D71881
2020-04-23 23:53:32 +00:00
Narcis Beleuzu c6a90c4273 Backed out 5 changesets (bug 1630228) for bc failures on browser_startup_images.js . CLOSED TREE
Backed out changeset 92172b9cef6b (bug 1630228)
Backed out changeset 8a9c30923847 (bug 1630228)
Backed out changeset 11f6beab6bdf (bug 1630228)
Backed out changeset f9e6d07f3a90 (bug 1630228)
Backed out changeset ae64b5ffc3b5 (bug 1630228)
2020-04-29 02:20:52 +03:00
Julian Descottes 411056375a Bug 1630228 - Add tests for the F12 disabled experiment r=nchevobbe
Depends on D71988

Note: might remote the "devtools_user" test if we decide to drop D71037

Differential Revision: https://phabricator.services.mozilla.com/D72313
2020-04-28 20:24:01 +00:00
Julian Descottes 0c53e2927a Bug 1630228 - Add telemetry events for OFF 12 devtools experiment r=nchevobbe,janerik
Depends on D71037

Differential Revision: https://phabricator.services.mozilla.com/D71988
2020-04-28 20:22:16 +00:00
Julian Descottes 6e79d3a9f3 Bug 1630228 - Enable F12 for all users with selfxss pref > 0 r=Harald,nchevobbe
Depends on D71036

Differential Revision: https://phabricator.services.mozilla.com/D71037
2020-04-28 20:11:20 +00:00
Julian Descottes cd23320b30 Bug 1630228 - Show a doorhanger when using F12 r=fluent-reviewers,nchevobbe,Gijs,victoria
Depends on D71035

When F12 is disabled, if the user presses this key we show a notification hanging below the Firefox Hamburger menu.
This anchor was chosen because this is where the users can normally find the Web Developer menu.
Note that they could also open DevTools via another keyboard shortcut, even if it's not mentioned in the message.

Pressing on F12 again hides the message. The message will be displayed again if the user presses F12 again (ie, F12 is a toggle and the message is not just a one shot)

{F2136447}

Differential Revision: https://phabricator.services.mozilla.com/D71036
2020-04-28 20:09:17 +00:00
Julian Descottes 7642daff2c Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-28 20:09:15 +00:00
Greg Tatum 46fc6e8cf6 Bug 1607801 - Create a TypeScript friendly lazy loading mechanism; r=ochameau
This patch changes the lazy loading mechanism to explicitly create a "lazy" object
that can be used to load modules. It makes it so that TypeScript can understand what
is going on with the lazy loading. I couldn't find a solution to make the Object.define
mechanism work for the global object.

I briefly considered using the Object.define() method on the returned "lazy" object,
as this could be typed correctly, but I felt magically accessing properties was less
clear compared to calling a function that has the side effect of maybe loading a
module for the first time.

Differential Revision: https://phabricator.services.mozilla.com/D59208
2020-04-28 17:51:09 +00:00
Greg Tatum 02e0ad2908 Bug 1607801 - Pre-define ChromeUtils.import paths; r=julienw
This patch takes the approach from mossop on pre-defining ChromeUtils.import
paths, so that they don't need to be defined where they are used. Perhaps in
the future we could automate this more, but for now this will make the current
approach more ergonomic for consumers of the types.

Differential Revision: https://phabricator.services.mozilla.com/D59206
2020-04-28 17:49:59 +00:00
Greg Tatum 6d3e71a39a Bug 1607801 - Upgrade TypeScript to v3.8.3; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D70439
2020-04-28 17:48:53 +00:00
Daisuke Akatsuka bec0621315 Bug 1625942: Add a browser test for document events ResourceWatcher. r=ochameau
Depends on D69329

Differential Revision: https://phabricator.services.mozilla.com/D71007
2020-04-28 17:26:56 +00:00
Daisuke Akatsuka d816588542 Bug 1625942: Introduce dom-loading event. r=ochameau,Honza
Depends on D69329

Differential Revision: https://phabricator.services.mozilla.com/D71505
2020-04-28 15:58:35 +00:00
Daisuke Akatsuka 6a7c1299b0 Bug 1625942: Introduce ResourceWatcher into network monitor to fetch DocumentEvents. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D69329
2020-04-28 17:26:56 +00:00
Nika Layzell 62cc378f74 Bug 1580565 - Part 8: Re-enable disabled tests, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D72763
2020-04-28 15:33:20 +00:00
David Walsh ebafd74216 Bug 1633624 - Clean up debugger mochitests r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72785
2020-04-28 15:18:30 +00:00
Christoph Kerschbaumer 62378d5b0b Bug 1632250: Add MDN links for Sec-Fetch-* Headers. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72698
2020-04-28 14:12:35 +00:00
Mats Palmgren 32769d9cf6 Bug 1607954 part 3 - [css-grid][css-align] Add tentative tests and update devtools support files for Masonry layout. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D67063
2020-04-28 01:24:37 +00:00
David Walsh 44457e4de6 Bug 1632678 - Avoid promise shutdown failures in test r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72707
2020-04-27 18:04:42 +00:00
Jean-Yves Avenard 071771cdc7 Bug 1633319 - Wait for load before resolving promise. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D72593
2020-04-27 22:42:25 +00:00
Andreea Pavel 26c02e4ad0 Backed out 7 changesets (bug 1602075, bug 1551574) for failing multiple dt e.g. browser_accessibility_context_menu_inspector.js on a CLOSED TREE
Backed out changeset d878be5e1884 (bug 1551574)
Backed out changeset 2b11feb2473d (bug 1602075)
Backed out changeset 1406b19b25e9 (bug 1602075)
Backed out changeset 0aa8307788b6 (bug 1602075)
Backed out changeset 418dbded9752 (bug 1602075)
Backed out changeset 2c19213df4d7 (bug 1602075)
Backed out changeset 98a4b4e8fda3 (bug 1602075)
2020-04-27 20:23:42 +03:00
Patrick Brosset 8f3092b436 Bug 766661 - Attempt to prevent screenshot failures and warn user on errors r=nchevobbe
The changes made here are meant to make the screenshot code in DevTools
closer to how the Firefox Screenshots addon works.

1. It cuts off large images to 10000x10000
2. It reduces drp to 1 for fullpage images

When those things happen, a warning is logged in the content console so
the user is aware that they did happen.

Finally, because there are still cases when taking a screenshot could fail,
an error is logged in the content console when this happens.

Differential Revision: https://phabricator.services.mozilla.com/D62945
2020-04-27 15:38:05 +00:00
Nicolas Chevobbe a2b2871573 Bug 1625905 - Use the ResourceWatcher API to fetch JS Errors. r=ochameau.
In this patch we add a new resource type for page errors.
We don't do anything specific for CSS Warnings yet, as they're going
to be handled as part of Bug 1625910.

A test is added (following devtools/shared/webconsole/test/chrome/test_page_errors.html
as an example).
A couple function that were used for the console-messages test
are moved into head.js as they're also used in the error-message test.

Differential Revision: https://phabricator.services.mozilla.com/D71955
2020-04-27 15:35:59 +00:00
Yura Zenevich 9ed4cf5a9f Bug 1551574 - remove beta label for the accessibility checks toolbar. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D36441
2020-04-27 14:42:56 +00:00
Yura Zenevich 8657f0c3ac Bug 1602075 - display enabled Inspect Accessibility Properties menu item in inspector if devtools.accessibility.auto-init.enabled pref is set to true. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D71587
2020-04-27 14:16:03 +00:00
Yura Zenevich f25cf1bb96 Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-04-27 14:00:18 +00:00
Yura Zenevich bc95831e38 Bug 1602075 - only highlight the accessibility tab when the auto init feature is not enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71585
2020-04-23 16:40:00 +00:00
Yura Zenevich 115e889225 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-04-27 14:00:16 +00:00
Yura Zenevich 9c6a583a5a Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-04-27 14:00:12 +00:00
Yura Zenevich df33e68981 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-04-24 00:38:55 +00:00
David Walsh ad477212e6 Bug 1588076 - Add context menu to request blocking list to enable, disable, and remove all r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72061
2020-04-27 14:18:04 +00:00
Nicolas Chevobbe df9fffea5c Bug 1622141 - Fix intermittent on browser_jsterm_autocomplete_return_key.js. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D72597
2020-04-27 10:35:10 +00:00
Florens Verschelde 0b497b71de Bug 1627663 - Add separate devtools-tabbar-button style for toolbox buttons; r=Honza
This patch trades a bit of CSS code duplication for the sake of making styles more independent and less prone to break.
- Remove usage of `devtools-button` in the toolbox's toolbar.
- Create a ad-hoc `devtools-tabbar-button` style specifically for the toolbox icon buttons.

Differential Revision: https://phabricator.services.mozilla.com/D72488
2020-04-27 10:39:19 +00:00
Andreas Farre 6adf2b375d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-27 05:41:40 +00:00
Logan Smyth 158bac3df3 Bug 1607639 - Part 5: Resolve sourcemaps relative to their execution environment. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72116
2020-04-27 02:17:15 +00:00
Logan Smyth bfe7013db8 Bug 1607639 - Part 4: Convert introductionUrl into sourceMapBaseURL to match actual usage. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72115
2020-04-27 02:17:02 +00:00
Logan Smyth 6af9e5261a Bug 1607639 - Part 3: Remove unnecessary falsy checks for _source in source actor. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72107
2020-04-27 02:16:00 +00:00
Logan Smyth 1c5e2e3489 Bug 1607639 - Part 2: Remove the unused 'introductionUrl' value from Source objects. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72106
2020-04-27 02:15:47 +00:00
Logan Smyth 63446c94da Bug 1607639 - Part 1: Remove the unused 'introductionType' value from Source objects. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72105
2020-04-27 02:15:23 +00:00
Logan Smyth fa172288ef Bug 1470768 - Allow sourceURL to apply generally across all types of scripts. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72104
2020-04-27 02:13:54 +00:00
Stefan Hindli 35cc4ea7d9 Bug 1578008 - Disabled browser_window_sizing.js on linux x64 and macos r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72520
2020-04-25 08:46:41 +00:00
Andreea Pavel 6bebdc0ae6 Bug 1559033 - disable browser_computed_getNodeInfo.js on mac shippable opt r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72071
2020-04-25 05:43:37 +00:00
Dorel Luca c2d429f9a0 Backed out 2 changesets (bug 1576188) for Build bustage in docshell/base/BrowsingContext.cpp. CLOSED TREE
Backed out changeset 7e5e86986811 (bug 1576188)
Backed out changeset b731cbad59a8 (bug 1576188)
2020-04-24 23:02:11 +03:00
Andreas Farre 55a186014d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-24 15:47:26 +00:00
Belén Albeza 0097bc30e1 Bug 1459962 - Part 5: Add Jest tests for Worker and Registration components r=jdescottes
And this should be the last commit of the stack - just Jest tests

Differential Revision: https://phabricator.services.mozilla.com/D72372
2020-04-24 15:47:17 +00:00
Belén Albeza a52ad7e7d0 Bug 1459962 - Part 4: Add mochitest r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D72174
2020-04-24 16:10:30 +00:00
Belén Albeza d1fbc0273a Bug 1459962 - Part 3: Split workers into separate Registration and Worker components r=jdescottes
In this patch we actually have separate `Worker` and `Registration` components. All workers belonging to the same registration appear together under it.

{F2134654}

Note: I left the `Debug` button shown for every worker because sometimes we do have a target even though the worker might be waiting. I'm not sure when/how this happens, but I was able to debug it as well.

{F2134655}

BTW I found a quick –and more reliable? I seems I don't need to reload- way of testing this. **STR**:

- Start a local HTTP server at `mozilla-central/devtools/client/application/test/browser/resources/service-workers`
- Open `localhost:8080/simple.html` (or whatever the port) and open devtools there
- Open `localhost:8080/debug.html` (or whatever the port) and open devtools there

You should be able to see both workers under the same registration scope.

Differential Revision: https://phabricator.services.mozilla.com/D72173
2020-04-24 16:56:01 +00:00
Belén Albeza ca298f3d11 Bug 1459962 - Part 2: rename WorkerList* components to RegistrationList* r=jdescottes
As a result of the first part review and some testing, there were some issues re: repeating things among workers that actually belonged to the registration (the ID's for React keys, `Unregister` button, `Last updated` time…).

Initially I wanted to do the "grouping" of all the workers belonging to the same registration, but I think this is less confusing to use and test.

This patch initiates that work by renaming our `WorkerList` and `WorkerListEmpty` components to `Registration*`.

Differential Revision: https://phabricator.services.mozilla.com/D72172
2020-04-24 15:49:01 +00:00
Belén Albeza e5cbda98ef Bug 1459962 - Part 1: return all service workers for a given registration r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D70365
2020-04-24 11:14:58 +00:00
Jason Laster c10b37a3ad Bug 1630657 - The React callstack group should include react-dom-dev. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D71192
2020-04-23 21:44:09 +00:00
GranjonAntoine da09334a02 Bug 1632413 - Remove webConsoleCommands trait. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D72299
2020-04-24 14:23:42 +00:00
Bogdan Tara bf26c739ee Backed out changeset 9e586758fa63 (bug 1625905) for browser_resources_error_messages.js failures CLOSED TREE 2020-04-24 12:55:17 +03:00
Nicolas Chevobbe 7c61100d6e Bug 1625905 - Use the ResourceWatcher API to fetch JS Errors. r=ochameau.
In this patch we add a new resource type for page errors.
We don't do anything specific for CSS Warnings yet, as they're going
to be handled as part of Bug 1625910.

A test is added (following devtools/shared/webconsole/test/chrome/test_page_errors.html
as an example).
A couple function that were used for the console-messages test
are moved into head.js as they're also used in the error-message test.

Differential Revision: https://phabricator.services.mozilla.com/D71955
2020-04-24 07:32:42 +00:00