Daisuke Akatsuka
cb8195519b
Bug 1659589: Get media-rules-changed event via resource watcher. r=ochameau
...
Depends on D87042
Differential Revision: https://phabricator.services.mozilla.com/D87043
2020-08-27 06:42:09 +00:00
Daisuke Akatsuka
a936229ca0
Bug 1659589: Get property-change event via resource watcher. r=ochameau
...
Depends on D87041
Differential Revision: https://phabricator.services.mozilla.com/D87042
2020-08-26 08:37:18 +00:00
Daisuke Akatsuka
b74df1cade
Bug 1659589: Get style-applied event via resource watcher. r=ochameau,bomsy
...
Depends on D87040
Differential Revision: https://phabricator.services.mozilla.com/D87041
2020-08-27 22:31:52 +00:00
Daisuke Akatsuka
0adc3db50a
Bug 1659589: Handle importing stylesheet from file using resource watcher mechanism to keep consistency. r=ochameau,devtools-backward-compat-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D87040
2020-08-27 22:31:52 +00:00
Hubert Boma Manilla
ad94cbe2d8
Bug 1661186 - Show the extension name for the blocked request r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D88253
2020-08-26 14:26:48 +00:00
manas
071d9177e5
Bug 1657680 - Make the scrollable badge clickable and add click handler. r=gl,jdescottes,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D86245
2020-08-22 09:12:12 +00:00
Narcis Beleuzu
4751b29785
Backed out changeset ed74d4e4b273 (bug 1657680) for dt failure on browser_markup_overflow_badge.js
2020-08-22 04:42:50 +03:00
manas
88e461c163
Bug 1657680 - Make the scrollable badge clickable and add click handler. r=gl,jdescottes,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D86245
2020-08-21 22:27:18 +00:00
Nicolas Chevobbe
f09694c73f
Bug 1657310 - Attach target and thread from TargetList. r=jdescottes,ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D85398
2020-08-21 09:22:48 +00:00
Julian Descottes
b34da59978
Bug 1642295 - Stop and start resource listening when switching targets r=ochameau
...
Depends on D86964
Differential Revision: https://phabricator.services.mozilla.com/D86965
2020-08-19 15:27:22 +00:00
Julian Descottes
8aecb1e6df
Bug 1642295 - Enable server side resource watching by default r=ochameau
...
Depends on D86963
Just for reference for now, since this is incompatible with target switching.
Differential Revision: https://phabricator.services.mozilla.com/D86964
2020-08-19 14:08:40 +00:00
Nicolas Chevobbe
4024f7b515
Bug 1659407 - Remove newCacheStructure webconsole trait. r=ladybenko.
...
Differential Revision: https://phabricator.services.mozilla.com/D87234
2020-08-18 15:11:59 +00:00
Julian Descottes
1ecab54df3
Bug 1658888 - Remove old backward compat code for ArrayBuffer marshalling r=ochameau,devtools-backward-compat-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86947
2020-08-17 18:35:18 +00:00
Daisuke Akatsuka
fca6e1a13d
Bug 1659364: Update MDN compat data. r=rcaliman
...
Differential Revision: https://phabricator.services.mozilla.com/D87202
2020-08-17 21:21:02 +00:00
Kris Maglione
3af8c4138c
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Shinichi Morimoto
bc916f4b16
Bug 1659265 - remove layout.css.offset-logical-properties.enabled. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D87297
2020-08-17 17:51:31 +00:00
Daisuke Akatsuka
35bbacb047
Bug 1605743: Update target front when starting to listen. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D87225
2020-08-17 11:52:45 +00:00
Julian Descottes
f05829aa08
Bug 1629890 - Use Front/Actor::isDestroyed to replace actorID checks r=nchevobbe
...
Depends on D86325
Differential Revision: https://phabricator.services.mozilla.com/D86356
2020-08-12 11:33:44 +00:00
Julian Descottes
da1f00acb5
Bug 1629890 - Add isDestroyed helper on DevTools Actor base class r=nchevobbe
...
Depends on D86323
Differential Revision: https://phabricator.services.mozilla.com/D86324
2020-08-07 13:21:40 +00:00
Julian Descottes
8b34b0fb01
Bug 1629890 - Add isDestroyed helper on DevTools Front base class r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D86323
2020-08-07 13:24:00 +00:00
Daisuke Akatsuka
1d6b40b174
Bug 1644194: Add a test for CSS change watcher. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D85240
2020-08-03 02:16:54 +00:00
Daisuke Akatsuka
d9acff03ab
Bug 1644194: Implement CSS change watcher. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D85239
2020-08-10 23:32:28 +00:00
Nicolas Chevobbe
ab02d889fb
Bug 1657378 - Fix intermittent failure on browser_target_list_tab_workers.js . r=jdescottes.
...
Don't rely on the order of execution of onTargetDestroyed.
Differential Revision: https://phabricator.services.mozilla.com/D86515
2020-08-10 08:45:41 +00:00
Julian Descottes
06dea32c55
Bug 1657899 - Do not assume any resource order in browser_resources_stylesheets.js - part 2 r=daisuke
...
Differential Revision: https://phabricator.services.mozilla.com/D86360
2020-08-08 00:42:21 +00:00
Julian Descottes
6e5145a87c
Bug 1652445 - Use root node resource to detect navigation for all frames r=rcaliman,ochameau
...
Depends on D85599
The WalkerActor is currently responsible for watching navigations and exposes them to the client.
However, this is communicated to the client differently depending on what kind of frame navigates.
If the top frame of the target navigates, this will be exposed via the watchRootNode API (onDestroyed/onAvailable callbacks will be triggered)
If an inner frame navigates, mutations will be emitted: "frameLoad"/"documentUnload" + a fake "childList" mutation.
On the client side, we have to handle both very similarly which leads to some duplication.
Also "frameLoad"/"documentUnload" are one of the last "immediateMutations" which usually means they should not have been mutations in the first place.
The goal here is to use the watchRootNode API for all frames.
Differential Revision: https://phabricator.services.mozilla.com/D84973
2020-08-07 12:16:51 +00:00
Julian Descottes
e57c2589f9
Bug 1655016 - Do not assume any resource order in browser_resources_stylesheets.js r=daisuke
...
Differential Revision: https://phabricator.services.mozilla.com/D86254
2020-08-07 06:08:27 +00:00
manas
89eed33401
Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D84333
2020-08-06 16:14:23 +00:00
Hubert Boma Manilla
fac59c1636
Bug 1657153 - Use the resource id for updating and deleting a resource r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D85987
2020-08-06 11:24:54 +00:00
Nicolas Chevobbe
e38391a4ab
Bug 1656888
- Add test cases for TargetList worker support. r=jdescottes.
...
The existing browser_target_list_workers.js is split in two tests, one for testing
browser workers (i.e. Browser Toolbox case), and another one for testing workers
in a tab.
Numerous test cases are added to check behaviour of the targetList when workers:
- already exists
- are spawned
- are terminated
in the main document or in remote iframe.
The test is tagged as fail-if when fission is enabled since we don't get the
workers for remote iframes.
Differential Revision: https://phabricator.services.mozilla.com/D85813
2020-08-05 12:13:44 +00:00
Nicolas Chevobbe
d056b8ad0f
Bug 1656888
- Make the iframe in fission_document.html a remote iframe. r=jdescottes.
...
fission_document.html's iframe was on example.com while the top document
is always on example.com as well, so we weren't exercising fission in it.
This patch puts the iframe on example.org, which highlighted some TargetList
test failures that this patch addresses.
Differential Revision: https://phabricator.services.mozilla.com/D85812
2020-08-05 08:27:23 +00:00
Julian Descottes
9208b6c499
Bug 1657104 - Support onResourceUpdated for server resources r=ochameau,devtools-backward-compat-reviewers,nchevobbe
...
Depends on D85881
Differential Revision: https://phabricator.services.mozilla.com/D85882
2020-08-05 08:59:42 +00:00
Julian Descottes
de9f625f0f
Bug 1657104 - Homogeneize APIs for destroyed/updated resources in DevTools ResourceWatcher r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D85879
2020-08-05 06:42:25 +00:00
Neil Deakin
827e22ea0b
Bug 1656095, remove frame script from browser_saveHeapSnapshot_e10s_01.js, r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D85344
2020-07-31 07:51:06 +00:00
Bogdan Tara
91572b9250
Backed out changeset 2d126d9f7ef8 (bug 1653290) for /browser_markup_overflow_badge.js failures CLOSED TREE
2020-08-04 22:36:58 +03:00
manas
95bf33558a
Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D84333
2020-08-04 17:17:26 +00:00
Mihai Alexandru Michis
911fad88f8
Bug 1655183 - Disable browser_resources_network_events.js on linux r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D85667
2020-08-03 15:24:46 +00:00
Julian Descottes
3af62a1e27
Bug 1472821 - Support array of String for lazyRequireGetter r=nchevobbe,rcaliman
...
Differential Revision: https://phabricator.services.mozilla.com/D85268
2020-08-03 05:43:59 +00:00
Dorel Luca
419e9ccc2c
Backed out 2 changesets (bug 1644194) for Devtools failures in /browser_browser_toolbox_fission_contentframe_inspector.js
...
Backed out changeset 5786eef0515a (bug 1644194)
Backed out changeset a5147f70d344 (bug 1644194)
2020-08-03 05:13:04 +03:00
Daisuke Akatsuka
a6ec7957c6
Bug 1644194: Add a test for CSS change watcher. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D85240
2020-07-31 08:17:25 +00:00
Sylvestre Ledru
843f943758
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D85678
2020-08-02 15:29:15 +00:00
Jeremy Ir
20235b390f
Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D73716
2020-08-01 01:56:58 +00:00
Butkovits Atila
cc95b93cba
Backed out 3 changesets (bug 1635473, bug 1531609) for reftest failures. CLOSED TREE
...
Backed out changeset 1e7b32808be8 (bug 1531609)
Backed out changeset e64a61869cdb (bug 1531609)
Backed out changeset 6da37d7f6dd3 (bug 1635473)
2020-07-31 23:56:54 +03:00
Yura Zenevich
46631a3015
Bug 1655053 - updating color vision deficiency simulation in accessibility panel. r=jdescottes
...
* removing simulations for protanomaly, deuteranomaly and tritanomaly
* updating (fixing) the color matrices for protanopia, deuteranopia and tritanopia
* adding a matrix to simulate achromatopsia
Co-authored-by: Matthew Petroff <mozilla@mpetroff.net>
Differential Revision: https://phabricator.services.mozilla.com/D85508
2020-07-31 16:58:01 +00:00
Jeremy Ir
92b8f0f77a
Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D73716
2020-07-31 16:40:48 +00:00
Hubert Boma Manilla
74ccbad5fb
Bug 1656388 - Send the waiting time to the UI r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D85501
2020-07-31 13:03:53 +00:00
Geoff Brown
600ac99bbe
Bug 1647187 - Update test browser_resources_network_events.js; r=bomsy
...
Minor test change to keep browser_resources_network_events.js passing with Object.is
comparisons.
Differential Revision: https://phabricator.services.mozilla.com/D85401
2020-07-30 18:50:26 +00:00
Bogdan Tara
7bb955b1ad
Backed out 3 changesets (bug 1647187) for browser_resources_network_events.js failures CLOSED TREE
...
Backed out changeset 8aec19091f93 (bug 1647187)
Backed out changeset 61f435541932 (bug 1647187)
Backed out changeset 50edc5736947 (bug 1647187)
2020-07-30 21:46:17 +03:00
Geoff Brown
e7a179ce13
Bug 1647187 - Update test browser_resources_network_events.js; r=bomsy
...
Minor test change to keep browser_resources_network_events.js passing with Object.is
comparisons.
Differential Revision: https://phabricator.services.mozilla.com/D85401
2020-07-30 17:19:32 +00:00
Nathan Froyd
e3ebda1914
Bug 1223932 - delete guard object uses from the tree; r=jwalden
...
CLOSED TREE
We don't need these macros anymore, for two reasons:
1. We have static analysis to provide the same sort of checks via `MOZ_RAII`
and friends.
2. clang now warns for the "temporary that should have been a declaration" case.
The extra requirements on class construction also show up during debug tests
as performance problems.
This change was automated by using the following sed script:
```
# Remove declarations in classes.
/MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER/d
/MOZ_GUARD_OBJECT_NOTIFIER_INIT/d
# Remove individual macros, carefully.
{
# We don't have to worry about substrings here because the closing
# parenthesis "anchors" the match.
s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM)/)/g;
s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_TO_PARENT)/)/g;
s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)/)/g;
s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_IN_IMPL)/)/g;
# Remove the longer identifier first.
s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT//g;
s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM//g;
}
# Remove the actual include.
\@# *include "mozilla/GuardObjects.h"@d
```
and running:
```
find . -name \*.cpp -o -name \*.h | grep -v 'GuardObjects.h' |xargs sed -i -f script 2>/dev/null
mach clang-format
```
Differential Revision: https://phabricator.services.mozilla.com/D85168
2020-07-30 14:22:38 +00:00
Mihai Alexandru Michis
a911a108d0
Backed out changeset ac9c811bc427 (bug 1223932) for causing spidermonkey rust failures.
...
CLOSED TREE
2020-07-30 18:23:21 +03:00