Commit Graph

20178 Commits

Author SHA1 Message Date
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
Julian Descottes
9a1ee3807c Bug 1632227 - Record the size of vendored modules in the devtools metrics tests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D72006
2020-04-23 09:33:58 +00:00
Zac Svoboda
94b3905b7f Bug 1631474 - Change about:profiling radio description color; r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D72252
2020-04-24 07:45:35 +00:00
Cosmin Sabou
c7b157939a Backed out 6 changesets (bug 1470768, bug 1607639) for causing xpc failures on xpcshell/test_objectgrips-13.js. CLOSED TREE
Backed out changeset 15642af7fdbd (bug 1607639)
Backed out changeset 53565f45e275 (bug 1607639)
Backed out changeset 9f1749c622fe (bug 1607639)
Backed out changeset 747efa62d7d6 (bug 1607639)
Backed out changeset 10d0aed39069 (bug 1607639)
Backed out changeset 70aa92ce25b7 (bug 1470768)
2020-04-24 10:27:28 +03:00
Logan Smyth
da68440b0d Bug 1607639 - Part 5: Resolve sourcemaps relative to their execution environment. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72116
2020-04-24 06:15:15 +00:00
Logan Smyth
2cdc9b1bbb Bug 1607639 - Part 4: Convert introductionUrl into sourceMapBaseURL to match actual usage. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72115
2020-04-24 06:15:13 +00:00
Logan Smyth
01eef174fc 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-24 06:13:24 +00:00
Logan Smyth
1b301205ab Bug 1607639 - Part 2: Remove the unused 'introductionUrl' value from Source objects. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72106
2020-04-24 06:13:11 +00:00
Logan Smyth
1f5bf8805c Bug 1607639 - Part 1: Remove the unused 'introductionType' value from Source objects. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72105
2020-04-24 06:12:13 +00:00