Alexandre Poirot
fad9e1690b
Bug 1663649 - [devtools] Enable target switching by default. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D91020
2020-09-23 17:50:20 +00:00
Daisuke Akatsuka
aa9f77e93e
Bug 1644193: Make walker.getStyleSheetOwnerNode() to reflect resource watcher. r=ochameau
...
Depends on D89282
Differential Revision: https://phabricator.services.mozilla.com/D89283
2020-09-14 23:37:39 +00:00
Daisuke Akatsuka
3908e7a6d9
Bug 1644193: Implement basic server-side stylesheets watcher. r=ochameau
...
Depends on D88531
Differential Revision: https://phabricator.services.mozilla.com/D88540
2020-09-14 21:29:47 +00:00
Daisuke Akatsuka
1b9df15f05
Bug 1644193: Make media rules to be resource based. r=ochameau
...
Depends on D88759
Differential Revision: https://phabricator.services.mozilla.com/D89106
2020-09-09 03:57:49 +00:00
Alexandre Poirot
8dd8e4b254
Bug 1660268 - Pass list of resources instead of unique resource from ResourceWatcher. r=nchevobbe
...
Here, I've tried to be especially careful about replacing `return` by `continue` in the added for..loops.
Differential Revision: https://phabricator.services.mozilla.com/D87768
2020-09-07 21:13:02 +00:00
Daisuke Akatsuka
5ee0f8ed93
Bug 1661625: Get stylesheets traits if needed. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D89339
2020-09-07 21:05:41 +00:00
Csoregi Natalia
3034124827
Backed out 3 changesets (bug 1660268) for failures on browser_ext_devtools_network_targetSwitch.js. CLOSED TREE
...
Backed out changeset 749fda4e5eb1 (bug 1660268)
Backed out changeset 9d4c305f6b88 (bug 1660268)
Backed out changeset 7ec118209790 (bug 1660268)
2020-09-07 21:24:26 +03:00
Alexandre Poirot
ecf3f1c8bc
Bug 1660268 - Pass list of resources instead of unique resource from ResourceWatcher. r=nchevobbe
...
Here, I've tried to be especially careful about replacing `return` by `continue` in the added for..loops.
Differential Revision: https://phabricator.services.mozilla.com/D87768
2020-09-07 13:35:31 +00:00
Daisuke Akatsuka
a16d25d9f6
Bug 1659589: Remove error event listener that set to stylesheet actor. r=ochameau
...
Depends on D87047
Differential Revision: https://phabricator.services.mozilla.com/D88531
2020-09-01 01:44:28 +00:00
Daisuke Akatsuka
b9e65b07d6
Bug 1659589: Implement update method in stylesheets actor. r=ochameau,devtools-backward-compat-reviewers
...
Depends on D87046
Differential Revision: https://phabricator.services.mozilla.com/D87047
2020-08-28 06:27:53 +00:00
Daisuke Akatsuka
e9b12ccb1d
Bug 1659589: Implement getText in stylesheets actor. r=ochameau,devtools-backward-compat-reviewers
...
Depends on D87044
Differential Revision: https://phabricator.services.mozilla.com/D87045
2020-08-28 06:07:33 +00:00
Daisuke Akatsuka
f8c36ace27
Bug 1659589: Implement toggleDisabled in stylesheets actor. r=ochameau,devtools-backward-compat-reviewers
...
Depends on D87043
Differential Revision: https://phabricator.services.mozilla.com/D87044
2020-08-20 08:27:47 +00:00
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
Brad Werth
627581e215
Bug 1621655: Make browser_styleeditor_media_sidebar_links.js test await RDM content reflow. r=rcaliman
...
Differential Revision: https://phabricator.services.mozilla.com/D85793
2020-08-04 15:08:19 +00:00
Daisuke Akatsuka
68aa4aa0fa
Bug 1478688: Revert browser_styleeditor_fetch-from-netmonitor test. r=ochameau
...
Depends on D85370
Differential Revision: https://phabricator.services.mozilla.com/D85371
2020-07-31 01:33:44 +00:00
Sebastian Hengst
88a75bda99
Bug 1576459 - Set browser_styleeditor_bug_740541_iframes.js as passing with fission. r=gl DONTBUILD
...
Permanent passes got tracked in bug 1652659.
Differential Revision: https://phabricator.services.mozilla.com/D83622
2020-07-15 14:18:57 +00:00
Frederik Braun
a7153982e8
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Daisuke Akatsuka
6e9455cf79
Bug 1478688: Remove test codes that does not use anymore. r=Honza
...
Depends on D83288
Differential Revision: https://phabricator.services.mozilla.com/D83289
2020-07-13 10:38:55 +00:00
Daisuke Akatsuka
90dd432408
Bug 1478688: Avoid getting cached content from console actor. r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D83287
2020-07-13 10:05:40 +00:00
Daisuke Akatsuka
d1f58c00a9
Bug 1625930: Apply ResourceWatcher to StyleEditor. r=ochameau
...
Depends on D78239
Differential Revision: https://phabricator.services.mozilla.com/D78240
2020-07-09 04:37:54 +00:00
Dorel Luca
3e4da6b273
Backed out changeset 00e12ae2d596 (bug 1649910) for Browser-chrome failures in browser/browser_ext_devtools_inspectedWindow_targetSwitch.js. CLOSED TREE
2020-07-09 03:58:43 +03:00
Alexandre Poirot
6c430374e4
Bug 1649910 - Emit "switched-target" only after we fully attached to the new target. r=jdescottes
...
The previous code, emitting the event from Toolbox.onTargetAvailable,
wasn't waiting for the call to TargetList.startListening which is done
from TargetList.onTargetAvailable.
Differential Revision: https://phabricator.services.mozilla.com/D82664
2020-07-08 22:57:36 +00:00
Bogdan Tara
75881e8400
Backed out 6 changesets (bug 1625930) for test_eventemitter_basic.js failures CLOSED TREE
...
Backed out changeset 30a3da9f613c (bug 1625930)
Backed out changeset d4e4c3ddcc43 (bug 1625930)
Backed out changeset 0133d9c58323 (bug 1625930)
Backed out changeset 1c9cf53f2a89 (bug 1625930)
Backed out changeset f63839eff636 (bug 1625930)
Backed out changeset a6bef105a2c2 (bug 1625930)
2020-07-08 18:08:27 +03:00
Daisuke Akatsuka
899ed9d38e
Bug 1625930: Apply ResourceWatcher to StyleEditor. r=ochameau
...
Depends on D78239
Differential Revision: https://phabricator.services.mozilla.com/D78240
2020-07-08 14:05:42 +00:00
Daisuke Akatsuka
de90f65570
Bug 1646974: Add a test for the stylesheet which is loaded as internal. r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D80807
2020-06-26 09:21:58 +00:00
Gijs Kruitbosch
d523471eac
Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Logan Smyth
21ff25bf86
Bug 1643180 - Part 5: Centralize viewSourceInStyleEditor's actor ID and sourcemap processing. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D78384
2020-06-05 22:19:46 +00:00
Logan Smyth
56fa0fd410
Bug 1642371 - Part 4: Open style editor using exact front object where possible. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D77740
2020-06-03 22:38:11 +00:00
Nicolas Chevobbe
2834d00a38
Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau.
...
Since targetFronts now have isTopLevel and targetType properties, we can directly use
those, as the targetFront is included in the callback parameter.
This patch remove those properties and refactor consumer code.
Differential Revision: https://phabricator.services.mozilla.com/D74651
2020-05-15 16:03:32 +00:00
Razvan Maries
f5f48cab39
Backed out changeset 3c239920e8fb (bug 1636924) for perma failures on browser_ext_devtools_inspectedWindow.js CLOSED TREE
2020-05-15 15:33:15 +03:00
Nicolas Chevobbe
8140fccf69
Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau.
...
Since targetFronts now have isTopLevel and targetType properties, we can directly use
those, as the targetFront is included in the callback parameter.
This patch remove those properties and refactor consumer code.
Differential Revision: https://phabricator.services.mozilla.com/D74651
2020-05-15 09:09:28 +00:00
Florens Verschelde
2f778385e8
Bug 1634380 - Part 2: Split devtools-button and legacy devtools-toolbarbutton styles; r=ladybenko
...
Differential Revision: https://phabricator.services.mozilla.com/D73495
2020-05-12 13:22:28 +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
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
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
Razvan Caliman
17fd76e771
Bug 1628044 - Remove obsolete initCssProperties() helper and cleanup tests; r=jdescottes
...
Depends on D70071
After changes in D70071, the `CSSProperties` object is retrieved from the `CSSPropertiesFront`. The `initCssProperties()` method is no longer required. It is only used in tests.
This patch removes the leftover callsites for `initCssProperties()` from tests and the method implementation itself.
Differential Revision: https://phabricator.services.mozilla.com/D71560
2020-04-21 13:49:11 +00:00
Razvan Caliman
5041fb4bbd
Bug 1628044 - Get CSSProperties directly from CSSPropertiesFront r=jdescottes
...
The `initCssProperties()` helper is used to augment the CSS database of properties received from the server with additional local data. The returned `CSSProperties` object is cached by DevToolsClient instance so it can be returned quickly on subsequent requests.
Requesting the database from the server and its augmentation can be done in the `CSSPropertiesFront`'s [Front.initialize()](https://searchfox.org/mozilla-central/rev/a707541ff423ade0d81cef6488e6ecfa09273886/devtools/shared/protocol/Front.js#115-117 ) which is already async. This ensures that by the time the `CSSPropertiesFront` is returned, the `CSSProperties` object is ready to use with data reconciled.
Fronts are already [cached per target](https://searchfox.org/mozilla-central/rev/a707541ff423ade0d81cef6488e6ecfa09273886/devtools/client/fronts/targets/target-mixin.js#185-192 ). A duplicate `target.getFront("cssProperties")` will return the previously instantiated `CSSPropertiesFront` with the augmented database.
Getting the `CSSProperties` object is something done only for the top-level target in the Inspector and the Style Editor. Thanks to the behavior of `target.getFront()`, this already acts as a cache, thus negating both tasks done by the `initCssProperties()` helper.
Differential Revision: https://phabricator.services.mozilla.com/D70071
2020-04-21 13:42:02 +00:00
Micah Tigley
73d553cf00
Bug 1621655 - Re-enable browser_styleeditor_media_sidebar_links.js on debug/asan builds r=bradwerth
...
D68234 modified the browser_styleeditor_media_sidebar_links.js test file to make sure new-RDM is opened before waiting on the content to resize. This also fixed the frequent intermittent failures for asan/debug builds on Linux.
Differential Revision: https://phabricator.services.mozilla.com/D68462
--HG--
extra : moz-landing-system : lando
2020-03-26 21:51:37 +00:00
Micah Tigley
64943317ef
Bug 1624889 - Ensure RDM sets the viewport width and height when opened from the Style Editor r=bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D68234
--HG--
extra : moz-landing-system : lando
2020-03-25 21:14:56 +00:00
Razvan Maries
a792e870dc
Bug 1621655 - Disabled browser_styleeditor_media_sidebar_links.js on debug/asan for frequent failures. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D67730
--HG--
extra : moz-landing-system : lando
2020-03-22 11:04:32 +00:00
Julian Descottes
cfab47ff53
Bug 1604539 - Rename shared/fronts to client/fronts in the devtools codebase r=nchevobbe
...
Depends on D67603
This patch is an automated string replace of shared/fronts/ to client/fronts/ in devtools.
Differential Revision: https://phabricator.services.mozilla.com/D67604
--HG--
extra : moz-landing-system : lando
2020-03-20 13:58:56 +00:00
Bogdan Tara
b03ab7d69b
Backed out 5 changesets (bug 1604539) for xpc failures complanining about test_encryption.js CLOSED TREE
...
Backed out changeset 8455e50002a9 (bug 1604539)
Backed out changeset fb410a1bf9aa (bug 1604539)
Backed out changeset da94f7d503a1 (bug 1604539)
Backed out changeset b4b54335ee2d (bug 1604539)
Backed out changeset 866d6794bbba (bug 1604539)
--HG--
rename : devtools/client/fronts/accessibility.js => devtools/shared/fronts/accessibility.js
rename : devtools/client/fronts/addon/addons.js => devtools/shared/fronts/addon/addons.js
rename : devtools/client/fronts/addon/moz.build => devtools/shared/fronts/addon/moz.build
rename : devtools/client/fronts/addon/webextension-inspected-window.js => devtools/shared/fronts/addon/webextension-inspected-window.js
rename : devtools/client/fronts/animation.js => devtools/shared/fronts/animation.js
rename : devtools/client/fronts/array-buffer.js => devtools/shared/fronts/array-buffer.js
rename : devtools/client/fronts/changes.js => devtools/shared/fronts/changes.js
rename : devtools/client/fronts/content-viewer.js => devtools/shared/fronts/content-viewer.js
rename : devtools/client/fronts/css-properties.js => devtools/shared/fronts/css-properties.js
rename : devtools/client/fronts/descriptors/frame.js => devtools/shared/fronts/descriptors/frame.js
rename : devtools/client/fronts/descriptors/moz.build => devtools/shared/fronts/descriptors/moz.build
rename : devtools/client/fronts/descriptors/process.js => devtools/shared/fronts/descriptors/process.js
rename : devtools/client/fronts/descriptors/tab.js => devtools/shared/fronts/descriptors/tab.js
rename : devtools/client/fronts/descriptors/webextension.js => devtools/shared/fronts/descriptors/webextension.js
rename : devtools/client/fronts/device.js => devtools/shared/fronts/device.js
rename : devtools/client/fronts/environment.js => devtools/shared/fronts/environment.js
rename : devtools/client/fronts/frame.js => devtools/shared/fronts/frame.js
rename : devtools/client/fronts/framerate.js => devtools/shared/fronts/framerate.js
rename : devtools/client/fronts/highlighters.js => devtools/shared/fronts/highlighters.js
rename : devtools/client/fronts/inspector.js => devtools/shared/fronts/inspector.js
rename : devtools/client/fronts/inspector/moz.build => devtools/shared/fronts/inspector/moz.build
rename : devtools/client/fronts/inspector/rule-rewriter.js => devtools/shared/fronts/inspector/rule-rewriter.js
rename : devtools/client/fronts/layout.js => devtools/shared/fronts/layout.js
rename : devtools/client/fronts/manifest.js => devtools/shared/fronts/manifest.js
rename : devtools/client/fronts/memory.js => devtools/shared/fronts/memory.js
rename : devtools/client/fronts/moz.build => devtools/shared/fronts/moz.build
rename : devtools/client/fronts/node.js => devtools/shared/fronts/node.js
rename : devtools/client/fronts/object.js => devtools/shared/fronts/object.js
rename : devtools/client/fronts/perf.js => devtools/shared/fronts/perf.js
rename : devtools/client/fronts/performance-recording.js => devtools/shared/fronts/performance-recording.js
rename : devtools/client/fronts/performance.js => devtools/shared/fronts/performance.js
rename : devtools/client/fronts/preference.js => devtools/shared/fronts/preference.js
rename : devtools/client/fronts/property-iterator.js => devtools/shared/fronts/property-iterator.js
rename : devtools/client/fronts/reflow.js => devtools/shared/fronts/reflow.js
rename : devtools/client/fronts/responsive.js => devtools/shared/fronts/responsive.js
rename : devtools/client/fronts/root.js => devtools/shared/fronts/root.js
rename : devtools/client/fronts/screenshot.js => devtools/shared/fronts/screenshot.js
rename : devtools/client/fronts/source.js => devtools/shared/fronts/source.js
rename : devtools/client/fronts/storage.js => devtools/shared/fronts/storage.js
rename : devtools/client/fronts/string.js => devtools/shared/fronts/string.js
rename : devtools/client/fronts/styles.js => devtools/shared/fronts/styles.js
rename : devtools/client/fronts/stylesheets.js => devtools/shared/fronts/stylesheets.js
rename : devtools/client/fronts/symbol-iterator.js => devtools/shared/fronts/symbol-iterator.js
rename : devtools/client/fronts/targets/browsing-context.js => devtools/shared/fronts/targets/browsing-context.js
rename : devtools/client/fronts/targets/content-process.js => devtools/shared/fronts/targets/content-process.js
rename : devtools/client/fronts/targets/local-tab.js => devtools/shared/fronts/targets/local-tab.js
rename : devtools/client/fronts/targets/moz.build => devtools/shared/fronts/targets/moz.build
rename : devtools/client/fronts/targets/target-mixin.js => devtools/shared/fronts/targets/target-mixin.js
rename : devtools/client/fronts/targets/worker.js => devtools/shared/fronts/targets/worker.js
rename : devtools/client/fronts/thread.js => devtools/shared/fronts/thread.js
rename : devtools/client/fronts/walker.js => devtools/shared/fronts/walker.js
rename : devtools/client/fronts/webconsole.js => devtools/shared/fronts/webconsole.js
rename : devtools/client/fronts/websocket.js => devtools/shared/fronts/websocket.js
rename : devtools/client/fronts/worker/moz.build => devtools/shared/fronts/worker/moz.build
rename : devtools/client/fronts/worker/push-subscription.js => devtools/shared/fronts/worker/push-subscription.js
rename : devtools/client/fronts/worker/service-worker-registration.js => devtools/shared/fronts/worker/service-worker-registration.js
rename : devtools/client/fronts/worker/service-worker.js => devtools/shared/fronts/worker/service-worker.js
2020-03-20 15:53:23 +02:00
Julian Descottes
ad4b5dfb37
Bug 1604539 - Rename shared/fronts to client/fronts in the devtools codebase r=nchevobbe
...
Depends on D67603
This patch is an automated string replace of shared/fronts/ to client/fronts/ in devtools.
Differential Revision: https://phabricator.services.mozilla.com/D67604
--HG--
extra : moz-landing-system : lando
2020-03-20 12:57:58 +00:00
Julian Descottes
0cf76f06a1
Bug 1620194 - Remove test-actor-registry and expose simplified helpers in shared-head.js r=ochameau
...
Depends on D65570
Differential Revision: https://phabricator.services.mozilla.com/D65575
--HG--
extra : moz-landing-system : lando
2020-03-18 09:29:58 +00:00
Andreea Pavel
c63a7a8d35
Bug 1424914 - adjust disabling condition on a CLOSED TREE r=test-only
2020-03-13 21:26:25 +02:00
Andreea Pavel
cb7f5adb3b
Bug 1424914 - Disable browser_styleeditor_bug_1405342_serviceworker_iframes.js on Win and Linux64 r=egao
...
Differential Revision: https://phabricator.services.mozilla.com/D66419
--HG--
extra : moz-landing-system : lando
2020-03-12 17:16:19 +00:00
Micah Tigley
aa2e990453
Bug 1621306 - Enable the devtools.responsive.browserUI.enabled pref in Nightly only r=bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D66246
--HG--
extra : moz-landing-system : lando
2020-03-11 11:41:48 +00:00