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

20149 Коммитов

Автор SHA1 Сообщение Дата
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
Logan Smyth 9d69639c41 Bug 1470768 - Allow sourceURL to apply generally across all types of scripts. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72104
2020-04-24 06:11:17 +00:00
Daisuke Akatsuka 1c0e943acf Bug 1604211: Introduce target-switching mechanism for devtools inspectedWindow. r=rpl,ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66736
2020-04-24 04:35:51 +00:00
Cosmin Sabou e40dfd85ea Backed out changeset 0c52ed0a7e04 (bug 1630957) for dt failures on browser_dbg-sourcemapped-toggle.js. CLOSED TREE 2020-04-24 07:59:06 +03:00
David Walsh 554b08a36d 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-23 21:50:02 +00:00
Daniel Holbert 7cc10f2dc5 Bug 1632388 part 2: Regenerate the devtools CSS db (to pick up a typo-fix from its template). r=gregtatum
This patch's changes were automatically generated by the following command:
  ./mach devtools-css-db

Differential Revision: https://phabricator.services.mozilla.com/D72098
2020-04-23 19:53:57 +00:00
Daniel Holbert 6e01bf3cd9 Bug 1632388 part 1: Update devtools properties-db.js.in template to correct a typo in a code-comment's reference to an in-tree directory. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D72097
2020-04-23 19:54:04 +00:00
Jason Laster 9f9472df1c Bug 1630742 - cmd+click should continue to here. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D71217
2020-04-23 16:52:58 +00:00
William Durand 4e87886f42 Bug 1631403 - Add test case to cover RDP APIs that 'web-ext run' depends on. r=rpl,ochameau,robwu
Differential Revision: https://phabricator.services.mozilla.com/D71892
2020-04-23 14:14:49 +00:00
Harald Kirschner 174a7e9b40 Bug 1621042 - Updated DevTools What's New for 76 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72183
2020-04-23 17:45:23 +00:00
Daniel Holbert b75a647b0e Bug 1626458 part 2: Regenerate devtools CSS database, now that the 'contain' property isn't pref-controlled. r=AlaskanEmily
This patch's changes were automatically generated by the following command:
  ./mach devtools-css-db

Differential Revision: https://phabricator.services.mozilla.com/D71862
2020-04-23 05:01:12 +00:00
David Walsh cd8e73dd4c Bug 1596089 - Re-enable blocked items when the user blocks them from the context menu r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72023
2020-04-23 06:37:56 +00:00
David Walsh c71361abea Bug 1632081 - Prevent key warning in netmonitor toolbar r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D71950
2020-04-23 06:40:23 +00:00
David Walsh 739e1d69be Bug 1631663 - Sort class names in debugger outline r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D71767
2020-04-22 22:10:33 +00:00
Arthur Iakab c278cf13d3 Backed out 2 changesets (bug 1576188) for causing browser-chrome failures on browser_persist_cross_origin_iframe.js
CLOSED TREE

Backed out changeset d2c102f8d898 (bug 1576188)
Backed out changeset 9ddd9a63d178 (bug 1576188)
2020-04-23 19:38:58 +03:00
Csoregi Natalia 230cef6455 Backed out 6 changesets (bug 1602075) for devtools failures caused by markup-context-menu.js. CLOSED TREE
Backed out changeset cf06e30be068 (bug 1602075)
Backed out changeset 51f01135d82f (bug 1602075)
Backed out changeset fbb30bd09d66 (bug 1602075)
Backed out changeset e1e570497527 (bug 1602075)
Backed out changeset 3aa7f4f31934 (bug 1602075)
Backed out changeset 7d568f0fa1e4 (bug 1602075)
2020-04-23 19:03:05 +03:00
Emilio Cobos Álvarez d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
Brian Hackett 9642a11373 Bug 1603190 - Enable windowless-service-workers in Nightly r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D59481
2020-04-23 15:09:56 +00:00
Nicolas Chevobbe 5434daf78f Bug 1631727 - Test the evaluation context menu structure. r=jlast.
The only test we have is split in two tests, one for
checking the interactions with the inspector, and the
other one to check webconsole actions, like selecting
context and store as global variable context menu entry.
We add test cases to ensure the menu has the expected
structure and that the expected menu item are checked
when we expect to.
We add a helper function to be able to load a URI + iframes
so the setup is terser on the tests.
The id of the meun actually had to be fixed, as it was
the same as the console settings menu.

Depends on D71729

Differential Revision: https://phabricator.services.mozilla.com/D71731
2020-04-21 15:47:05 +00:00
Nicolas Chevobbe 6a000148bd Bug 1631725 - Use TargetList TYPES instead of custom ones for targets in Toolbox redux store. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D71729
2020-04-23 15:00:18 +00:00
Yura Zenevich 218ec835e5 Bug 1602075 - display 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-23 14:40:25 +00:00
Yura Zenevich 8cbcad7381 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 14:40:10 +00:00
Yura Zenevich 3e530c3cb3 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-23 14:40:02 +00:00
Yura Zenevich 6815068906 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-23 14:39:54 +00:00
Yura Zenevich 0cd7e8c096 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-23 14:39:47 +00:00
Andreas Farre 6a4f39685d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-23 13:56:26 +00:00
Atique Ahmed Ziad 7028b6fe57 Bug 1632478 - Remove unnecessary parameter from createCopySubMenu() Method in RequestListContextMenu r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72145
2020-04-23 13:41:14 +00:00
Nicolas Chevobbe 04d59f8c45 Bug 1565010 - Fix intermittent on browser_webconsole_warn_about_replaced_api.js .r=Honza.
Log the console replaced message only after the current batch of messages are consumed.
We also enable the timestamp in the test, so in case of failure we can diagnose
what's going on better.

Differential Revision: https://phabricator.services.mozilla.com/D72121
2020-04-23 12:05:01 +00:00
Hubert Boma Manilla 5395ed5224 Bug 1630989 - Rename the params panel to request r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D71763
2020-04-23 06:40:36 +00:00
Nicolas Chevobbe 1171d13863 Bug 1620622 - Fix intermittent failure on browser_jsterm_autocomplete_helpers. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D71752
2020-04-23 07:21:28 +00:00