Commit Graph

1135 Commits

Author SHA1 Message Date
Nicolas Chevobbe
20921d6819 Bug 1841265 - Add InspectorUtils.getCSSRegisteredProperties. r=emilio,zrhoffman.
Differential Revision: https://phabricator.services.mozilla.com/D188215
2023-09-25 15:02:51 +00:00
Chris H-C
ce9f11eb18 Bug 1848708 - Move Glean and GleanPings to plain webidl r=nika,janerik,perry.mcmanis
Since we're exposing Glean types in not-chrome-only contexts like privileged
"about:" pages, we can't live in chrome-webidl/ any longer.

Differential Revision: https://phabricator.services.mozilla.com/D186266
2023-09-19 17:39:09 +00:00
Narcis Beleuzu
5e99494bdd Backed out 7 changesets (bug 1848708) for bustages on TimingDistribution.cpp
Backed out changeset e63a855c0acf (bug 1848708)
Backed out changeset 242478709593 (bug 1848708)
Backed out changeset f1a77753fa0c (bug 1848708)
Backed out changeset d230a932c850 (bug 1848708)
Backed out changeset 1261ba650483 (bug 1848708)
Backed out changeset 06061d509ab5 (bug 1848708)
Backed out changeset 726d5138b1d2 (bug 1848708)
2023-09-19 19:18:00 +03:00
Chris H-C
5adb393eeb Bug 1848708 - Move Glean and GleanPings to plain webidl r=nika,janerik,perry.mcmanis
Since we're exposing Glean types in not-chrome-only contexts like privileged
"about:" pages, we can't live in chrome-webidl/ any longer.

Differential Revision: https://phabricator.services.mozilla.com/D186266
2023-09-19 15:03:56 +00:00
Iulian Moraru
87c1675542 Backed out 10 changesets (bug 1837079) for causing build bustages on UtilityProcessManager.cpp. CLOSED TREE
Backed out changeset b36fd9deb165 (bug 1837079)
Backed out changeset 0253a50d16a9 (bug 1837079)
Backed out changeset 799ea189e748 (bug 1837079)
Backed out changeset 70eab0533b00 (bug 1837079)
Backed out changeset 488707a84723 (bug 1837079)
Backed out changeset d56484304ec3 (bug 1837079)
Backed out changeset 36d3afd881b4 (bug 1837079)
Backed out changeset 3f2fd4d7a511 (bug 1837079)
Backed out changeset 078b848cd09e (bug 1837079)
Backed out changeset 64390c163748 (bug 1837079)
2023-09-15 22:17:21 +03:00
Ray Kraesig
17f411796e Bug 1837079 - [4/10] Create WINDOWS_FILE_DIALOG utility process type r=gerard-majax,ipc-reviewers,fluent-reviewers,bobowen,handyman,nika
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.

We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.

Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)

Differential Revision: https://phabricator.services.mozilla.com/D180341
2023-09-15 18:10:00 +00:00
Nicolas Chevobbe
3296d02897 Bug 1840872 - Add InspectorUtils.getRegisteredCssHighlights method. r=jjaschke.
This will be used by DevTools to retrieve the name of registered, active, highlights,
in order to display the CSS rules for the `::highlight` pseudo element rules.

Differential Revision: https://phabricator.services.mozilla.com/D186006
2023-08-16 09:56:43 +00:00
Nicolas Chevobbe
f086602a6f Bug 1771113 - Add chromeOnly StyleSheetRemoved event, emitted when a stylesheet is removed. r=emilio.
This new event will be consumed by DevTools to update style information.

As for `StyleSheetApplicableStateChanged`, this event is emitted from the document.
It's only enabled when `document.styleSheetChangeEventsEnabled` is set to true.

The existing test around the `StyleSheetApplicableStateChanged` is renamed and
modified to assert both events when stylesheets are added, modified and removed.

Differential Revision: https://phabricator.services.mozilla.com/D147271
2023-08-10 14:36:03 +00:00
Emilio Cobos Álvarez
595328df6d Bug 1846745 - Remove nsColorNames.h. r=tlouw
Use the CSS parser to parse named colors.

Differential Revision: https://phabricator.services.mozilla.com/D185156
2023-08-03 10:52:14 +00:00
Daisuke Akatsuka
183751b8fe Bug 1829580: Remove nsNavHistory::VisitIdToResultNode() r=mak
Differential Revision: https://phabricator.services.mozilla.com/D183337
2023-07-25 22:47:59 +00:00
Tooru Fujisawa
d1c62e7a6e Bug 1844956 - Part 1: Use fluent-rs to collect TextElement in browser_misused_characters_in_strings.js. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D184329
2023-07-25 15:35:12 +00:00
Hannah Peuckmann
d7d426984f Bug 1836248 - Integrate the extended stripOnShare feature into the URLQueryStringStripper. r=pbz,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181462
2023-07-13 11:29:17 +00:00
Barret Rennie
3efc235517 Bug 1786885 - Add ChromeUtils::GetLibcConstants r=nika
ChromeUtils::GetLibcConstants() is a replacement for
nsIOSFileConstantsService providing OS.Consts.LIBC. The constants from
OS.Consts.Win have been inlined into subprocess_shared_win.js, since it was
already defining several other constants and it was the only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D180358
2023-07-11 16:32:14 +00:00
Iulian Moraru
0b9b4fc806 Backed out changeset 910d59989abb (bug 1786885) for causing multiple failures. CLOSED TREE 2023-07-11 11:20:39 +03:00
Barret Rennie
e8fa16ce58 Bug 1786885 - Add ChromeUtils::GetLibcConstants r=nika
ChromeUtils::GetLibcConstants() is a replacement for
nsIOSFileConstantsService providing OS.Consts.LIBC. The constants from
OS.Consts.Win have been inlined into subprocess_shared_win.js, since it was
already defining several other constants and it was the only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D180358
2023-07-11 03:10:37 +00:00
Marco Bonardo
6a84473eaa Bug 1840207 - The bookmarked-moved event needs all the details to do a remove+insert operation. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D182595
2023-07-03 08:55:51 +00:00
Tom Schuster
171386539f Bug 1837976 - Check RFPTarget::SiteSpecificZoom from JS. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181869
2023-06-28 17:02:40 +00:00
Tom Schuster
29385079aa Bug 1837976 - Expose ShouldResistFingerprinting to JS via ChromeUtils. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181614
2023-06-28 17:02:39 +00:00
Adam Vandolder
e0fc545cbc Bug 1556358 - Part 3: Restore FACE state in SessionStore. r=edgar,farre
Depends on D174115

Differential Revision: https://phabricator.services.mozilla.com/D179278
2023-06-28 16:28:27 +00:00
Stanca Serban
3f23020c5c Backed out changeset 714fb5e0c999 (bug 1786885) for causing bustages in ChromeUtils.webidl. CLOSED TREE 2023-06-24 02:32:30 +03:00
Barret Rennie
0a1d9d2ac4 Bug 1786885 - Add ChromeUtils::GetLibcConstants r=nika
ChromeUtils::GetLibcConstants() is a replacement for
nsIOSFileConstantsService providing OS.Consts.LIBC. The constants from
OS.Consts.Win have been inlined into subprocess_shared_win.js, since it was
already defining several other constants and it was the only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D180358
2023-06-23 23:14:37 +00:00
Tomislav Jovanovic
5f95feff5a Bug 1838232 - Propagate QD ignore pref to each extension and child process r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D181471
2023-06-22 00:17:01 +00:00
Nicolas Chevobbe
b15d728a25 Bug 1839168 - [devtools] Add InspectorUtils.getAllStyleSheetCSSStyleRules method. r=emilio.
This method returns a flat list of all the rules in a given stylesheet.
This will be helpful for DevTools so we don't have to recursively walk through
all the children rules (which is slow on the JS DevTools server).

Differential Revision: https://phabricator.services.mozilla.com/D181505
2023-06-21 18:48:39 +00:00
Emilio Cobos Álvarez
3a086ed3a7 Bug 1838627 - Refactor InspectorUtils APIs that just forward to CSSStyleRule, and expose desugared selectors on them. r=nchevobbe,webidl,firefox-style-system-reviewers,smaug,devtools-reviewers,boris
Differential Revision: https://phabricator.services.mozilla.com/D181109
2023-06-21 07:14:57 +00:00
Daisuke Akatsuka
730af5487d Bug 1829579: Remove nsNavHistory::BookmarkIdToResultNode() r=mak
Differential Revision: https://phabricator.services.mozilla.com/D177706
2023-06-20 12:44:03 +00:00
Natalia Csoregi
a21b6e76fb Backed out changeset 1d7787405985 (bug 1829579) for causing sanitizer failures on nsNavHistoryResult.cpp. CLOSED TREE 2023-06-20 02:02:46 +03:00
Daisuke Akatsuka
c5f88879a2 Bug 1829579: Remove nsNavHistory::BookmarkIdToResultNode() r=mak
Differential Revision: https://phabricator.services.mozilla.com/D177706
2023-06-19 21:46:16 +00:00
Stanca Serban
cb33cee97e Backed out 3 changesets (bug 1556358) for causing Bb build bustages in ElementInternals.cpp. CLOSED TREE
Backed out changeset f7e94ea82252 (bug 1556358)
Backed out changeset c80f29a9cefc (bug 1556358)
Backed out changeset 413225d91666 (bug 1556358)
2023-06-16 19:46:02 +03:00
Adam Vandolder
61ab1463b6 Bug 1556358 - Part 3: Restore FACE state in SessionStore. r=edgar,farre
Depends on D174115

Differential Revision: https://phabricator.services.mozilla.com/D179278
2023-06-16 15:02:11 +00:00
Tomislav Jovanovic
da6d3f082a Bug 1838230 - Exposee read/write property WebExtensionPolicy::ignoreQuarantine r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D180872
2023-06-15 01:41:54 +00:00
Noemi Erli
c9a78e6659 Backed out 3 changesets (bug 1556358) for causing bustages in ElementInternals.cpp CLOSED TREE
Backed out changeset 0ebda393786b (bug 1556358)
Backed out changeset c41794eef66a (bug 1556358)
Backed out changeset a07e3e226569 (bug 1556358)
2023-06-15 01:32:38 +03:00
Adam Vandolder
8149717b64 Bug 1556358 - Part 3: Restore FACE state in SessionStore. r=edgar,farre
Depends on D174115

Differential Revision: https://phabricator.services.mozilla.com/D179278
2023-06-14 20:59:29 +00:00
Barret Rennie
52c9c26281 Bug 1836973 - Skip BOM in IOUtils.read{UTF8,JSON} by default r=nika
Differential Revision: https://phabricator.services.mozilla.com/D180136
2023-06-09 15:42:18 +00:00
Norisz Fay
ff8485be61 Backed out 2 changesets (bug 1836973) for causing mochitest failures on test_ioutils_read_write_utf8.html CLOSED TREE
Backed out changeset 2d06f6a33a6a (bug 1836973)
Backed out changeset 2eabe81260f7 (bug 1836973)
2023-06-09 08:22:03 +03:00
Barret Rennie
3ddc06d9fc Bug 1836973 - Skip BOM in IOUtils.read{UTF8,JSON} by default r=nika
Differential Revision: https://phabricator.services.mozilla.com/D180136
2023-06-09 04:36:55 +00:00
Florian Quèze
58ce18a1c9 Bug 1836191 - remove ChromeUtils.requestPerformanceMetrics that was only used by about:performance, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D179696
2023-06-08 21:53:18 +00:00
Peter Van der Beken
c00606a3ff Bug 1828264 - Assertion from creating a OffscreenCanvas on a media track graph thread. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D178173
2023-06-06 06:51:34 +00:00
Neil Deakin
18f5e1220a Bug 1776339, add a browsing context field that syncs the isUnderHiddenEmbedderElement state, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D168440
2023-05-31 19:46:49 +00:00
Cosmin Sabou
1f2010dee4 Backed out 2 changesets (bug 1828264) for causing xpcshell failures on test_upgrade_add_index.js. CLOSED TREE
Backed out changeset 8c256ebacc5a (bug 1828264)
Backed out changeset 81e8bc2a7253 (bug 1828264)
2023-05-31 21:50:21 +03:00
Peter Van der Beken
e0aec88fdf Bug 1828264 - Assertion from creating a OffscreenCanvas on a media track graph thread. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D178173
2023-05-31 16:00:31 +00:00
Tomislav Jovanovic
ac05dd52f5 Bug 1834825 - Implement Quarantined Domains list, r=willdurand,rpl
Differential Revision: https://phabricator.services.mozilla.com/D178967
2023-05-25 18:45:38 +00:00
Kris Maglione
f9100d622c Bug 1769763: Part 2 - Add debug names to StructuredCloneHolder objects for about:memory. r=mccr8,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162251
2023-05-23 23:13:36 +00:00
Dan Robertson
79468295a2 Bug 1821733 - Add chrome-only method for ending a wheel event group. r=smaug
Add a chrome-only method for ending a wheel event group. This can then
be used by the webdriver to ensure that the wheel event group does not
live longer than the action chain.

Differential Revision: https://phabricator.services.mozilla.com/D177923
2023-05-22 19:50:10 +00:00
Butkovits Atila
21a077393f Backed out changeset ab9f3266184b (bug 1815186) for causing failures at test_color_to.html. 2023-05-22 23:29:17 +03:00
Tiaan Louw
fc8e61b225 Bug 1815186 - Add ColorTo to InspectorUtils to convert color to other color spaces. r=emilio,layout-reviewers,supply-chain-reviewers
This will allow calling `InspectorUtils.ColorTo("red", "lab")` and
receive `{color: "lab(54.3 80.8 69.9)", components: [54.3, 80.8, 69.9, 1.0], adjusted: false}`.

The adjusted value is always "false", because gamut checking and mapping
is not supported at the moment. See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1823363

Differential Revision: https://phabricator.services.mozilla.com/D169942
2023-05-22 17:19:14 +00:00
Barret Rennie
bfacd40af5 Bug 1830388 - Update BUG_COMPONENT for PathUtils.webidl r=Gijs
This one got missed in the last patch.

Differential Revision: https://phabricator.services.mozilla.com/D178365
2023-05-18 13:49:16 +00:00
Barret Rennie
e2af784b02 Bug 1830388 - Change bug component for IOUtils files r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D176707
2023-05-13 00:47:25 +00:00
Kagami Sascha Rosylight
1925d5477f Bug 1831065 - Part 1: Remove unused ErrorResult in dom/{abort,base} r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D177007
2023-05-03 13:24:53 +00:00
Daisuke Akatsuka
73dc3820cc Bug 1824040: Make the loading URL opened in _blank target to be the target of Session Restore r=mak,smaug,farre,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D173790
2023-04-14 01:59:44 +00:00
Emilio Cobos Álvarez
feebcb3f8a Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe
The tree devtools uses is the light dom + pseudo-elements + NAC, but sometimes
it wants to know stuff about the flat tree like assigned nodes. Previously it
was using a weird mix of the anonymous vs. non-anonymous walkers to get what it
wants, but that's needlessly complicated.

Instead, make InspectorUtils.getChildrenForNode do the right thing, and add
assigned nodes explicitly.

While _getChildren using a walker might seem like a good idea for performance,
realistically it was using InspectorUtils under the hood, and this is much
simpler.

Differential Revision: https://phabricator.services.mozilla.com/D174491
2023-04-10 11:18:38 +00:00