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

1126 Коммитов

Автор SHA1 Сообщение Дата
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
Alexandre Poirot 4f2561f730 Bug 1819767 - [devtools] Expose ChromeUtils.isDevToolsOpened to know if DevTools are debugging something in the current process. r=smaug,devtools-reviewers,jdescottes
This doesn't help know what particular resource DevTools is currently inspecting,
but at least it helps know if it debugs something:
* one or many BrowsingContext(s) for regular DevTools (you can use BrowsingContext.watchedByDevTools instead)
* the whole process for the Browser Console/Toolbox

Differential Revision: https://phabricator.services.mozilla.com/D173295
2023-04-03 12:35:53 +00:00
Csoregi Natalia 7b914d56e5 Backed out 2 changesets (bug 1819767) for causing bustage on ChromeUtils.cpp. CLOSED TREE
Backed out changeset f67a63d151f5 (bug 1819767)
Backed out changeset 91e577f436e9 (bug 1819767)
2023-03-31 02:23:14 +03:00
Alexandre Poirot 61c0a76c2d Bug 1819767 - [devtools] Expose ChromeUtils.isDevToolsOpened to know if DevTools are debugging something in the current process. r=smaug,devtools-reviewers,jdescottes
This doesn't help know what particular resource DevTools is currently inspecting,
but at least it helps know if it debugs something:
* one or many BrowsingContext(s) for regular DevTools (you can use BrowsingContext.watchedByDevTools instead)
* the whole process for the Browser Console/Toolbox

Differential Revision: https://phabricator.services.mozilla.com/D173295
2023-03-30 21:25:08 +00:00
Rob Wu 4dffd715a6 Bug 1821303 - Add getter for activeSessionHistoryEntry to BC r=peterv
Add activeSessionHistoryEntry attribute to CanonicalBrowsingContext to
expose the existing implementation of
CanonicalBrowsingContext::GetActiveSessionHistoryEntry.

Differential Revision: https://phabricator.services.mozilla.com/D173235
2023-03-30 14:05:08 +00:00
Iulian Moraru f0ccf10c64 Backed out 3 changesets (bug 1821303) for causing xpcshell failures on test_ext_dnr_allowAllRequests.js. CLOSED TREE
Backed out changeset f474edf390d1 (bug 1821303)
Backed out changeset 90c73fb01441 (bug 1821303)
Backed out changeset 84cd09689228 (bug 1821303)
2023-03-29 20:53:32 +03:00
Rob Wu b4a2a0a4d0 Bug 1821303 - Add getter for activeSessionHistoryEntry to BC r=peterv
Add activeSessionHistoryEntry attribute to CanonicalBrowsingContext to
expose the existing implementation of
CanonicalBrowsingContext::GetActiveSessionHistoryEntry.

Differential Revision: https://phabricator.services.mozilla.com/D173235
2023-03-29 15:50:44 +00:00
Tom Schuster 2536630f8b Bug 1818250 - Add ShouldResistFingerprinting to WindowContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D172271
2023-03-20 18:52:25 +00:00
Nika Layzell d564908035 Bug 1810619 - Part 1: Be more precise in named lookup code, r=smaug,geckoview-reviewers,m_kato
This makes various changes to the named lookup/navigation code to make
them more precise, and avoid issues which could happen if a window is
closed while script is still executing.

This also should improve handling for inactive windows in some cases, by
more frequently working off of the WindowContext tree rather than the
BrowsingContext tree.

As part of these changes, some behaviour was changed around e.g. the
file URI exception to avoid the deprecated nsIPrincipal::GetURI method.
I don't believe the behaviour should have changed in a meaningful way.

Differential Revision: https://phabricator.services.mozilla.com/D171755
2023-03-15 21:57:03 +00:00
Gijs Kruitbosch 9e0531a790 Bug 1718082 - move hasSiblings from BrowserChild to BC and update as a synced field, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D171645
2023-03-13 17:32:08 +00:00