Sandor Molnar
b1d213acb7
Backed out changeset 8e21fdfc60f0 (bug 1868001) for causing mochitest failures at dom/tests/mochitest/general/test_resource_timing_cross_origin.html CLOSED TREE
2024-02-20 20:36:30 +02:00
Nika Layzell
ec657d1c80
Bug 1868001 - Ignore Content-Disposition if DONT_RETARGET is set, r=smaug
...
This patch modifies the behaviour of loads when the DONT_RETARGET
nsIURILoader flag is set, making them ignore the Content-Disposition
header. This means that loads which cannot trigger downloads will
attempt to display handleable content which would otherwise be
downloaded.
This keeps overall behaviour of object/embed elements more similar to
their behaviour pre-Fission, while allowing them to load attachment PDFs
and Images as-if they were being displayed by a plugin.
This patch does not change the existing behaviour around
unknown/unhandleable resource types in object/embed elements.
In Gecko, object/embed elements are prevented from triggering downloads
or external protocol handlers during their initial load. Other browser
engines can trigger a download for an unknown resource type (or
sometimes an attachment resource).
The new pref dom.navigation.object_embed.allow_retargeting can be
enabled to instead trigger a download when loading these resources
within an object/embed element.
Differential Revision: https://phabricator.services.mozilla.com/D201645
2024-02-20 17:33:57 +00:00
Gijs Kruitbosch
ff17e7fc68
Bug 1780071 - Manual fixes/disabling of no-comparison-or-assignment-inside-ok for exceptional cases, r=Standard8,devtools-reviewers,anti-tracking-reviewers,places-reviewers,dom-storage-reviewers,pbz,asuth,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D198979
2024-02-19 23:30:40 +00:00
Iulian Moraru
3c429990cb
Backed out 2 changesets (bug 1875040) for causing performance regression - Bug 1877481
. CLOSED TREE
...
Backed out changeset 8af7503ecb57 (bug 1875040)
Backed out changeset 0e77ff8e2bfc (bug 1875040)
2024-02-15 17:40:41 +02:00
Chris H-C
73e530d7dd
Bug 1877842 - Migrate performance GVST probes r=perry.mcmanis,denispal
...
Most are brought over straightforwardly, their Telemetry callsites reworded
to use Glean, with mirroring to the Telemetry probes taken care of by the Glean
Interface For Firefox Telemetry (see the telemetry_mirror property).
There were two special cases: PERF_DOM_CONTENT_LOADED_FROM_RESPONSESTART_MS,
and PERF_DOM_CONTENT_LOADED_MS. Both were removed as they were unused.
Differential Revision: https://phabricator.services.mozilla.com/D200867
2024-02-09 21:11:05 +00:00
Emilio Cobos Álvarez
2971047c81
Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish,kaya
...
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.
Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-07 10:58:15 +00:00
Cristian Tuns
2d66624de2
Backed out changeset ecd780688279 (bug 1875100) for causing mochitest failures in test_suspend_media_by_inactive_docshell.html
2024-02-07 01:25:21 -05:00
Emilio Cobos Álvarez
e68568b511
Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish
...
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.
Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-06 21:47:37 +00:00
Gregory Pappas
6ce8dcf31c
Bug 1878530 - Run test_subframe_stop_after_parent_error.js on Android r=nika
...
It doesn't fail on try, so we should try to enable this.
Differential Revision: https://phabricator.services.mozilla.com/D200575
2024-02-05 18:42:10 +00:00
zcanceling
cd8a3ca314
Bug 1876311 - Remove TODO comment from fixed bug 1561706 r=emilio DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D200594
2024-02-04 21:30:42 +00:00
Gregory Pappas
9f654f22ea
Bug 1876942 - Run docshell/test/unit/test_subframe_stop_after_parent_error.js with E10S enabled r=nika
...
The goal of these modifications is to avoid this assertion when the test
is run with E10S enabled
https://searchfox.org/mozilla-central/rev/f5f63e51c6b91038d6d9fb0e635cad516fc403e6/netwerk/ipc/ParentProcessDocumentChannel.cpp#66-70
Differential Revision: https://phabricator.services.mozilla.com/D199805
2024-02-02 20:54:49 +00:00
Malte Juergens
bf96ecb63a
Bug 1750706 - Copy referrer info to new session history entry during fragment navigation r=freddyb
...
Differential Revision: https://phabricator.services.mozilla.com/D199746
2024-02-01 10:28:32 +00:00
Marc Seibert
9cf6a2cfc5
Bug 1841869 - entering "abc @xyz.[TLD]" in address bar opens a prompt regarding loading "xyz.[TLD]" instead of searching for "abc @xyz.[TLD]" on the default search engine.r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D198196
2024-01-31 19:07:57 +00:00
Tom Schuster
d9047629b5
Bug 1876276 - Remove dead nsIDocShell allowPlugins code. r=emilio,sessionstore-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D199491
2024-01-31 13:23:52 +00:00
Iulian Moraru
448769c125
Backed out changeset 4871c819b21e (bug 1876276) for causing multiple bc failures. CLOSED TREE
2024-01-31 14:25:42 +02:00
Tom Schuster
ab34543442
Bug 1876276 - Remove dead nsIDocShell allowPlugins code. r=emilio,sessionstore-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D199491
2024-01-31 09:36:36 +00:00
Emilio Cobos Álvarez
f26fefccfa
Bug 1877242 - Use a FunctionRef in CanonicalBrowsingContext::CallOnAllTopDescendants. r=nika
...
This should be marginally more efficient, in theory, so do it drive-by.
Differential Revision: https://phabricator.services.mozilla.com/D199902
2024-01-30 23:24:44 +00:00
Emilio Cobos Álvarez
cce5bdd802
Bug 1877242 - Avoid some unnecessary refcounting churn when accessing parent-cross-chrome-boundary. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D199901
2024-01-30 23:24:43 +00:00
Tom Marble
3c78905f47
Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D199054
2024-01-29 17:30:48 +00:00
Sandor Molnar
51bb77759a
Backed out changeset 2be67d91cf16 (bug 1868866) for causing Mn failures at toolkit/xre/test/marionette/test_exitcode.py CLOSED TREE
2024-01-27 00:15:22 +02:00
Tom Marble
2434015dc5
Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D199054
2024-01-26 20:06:56 +00:00
Joel Maher
3ad5072cf1
Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-25 00:27:05 +00:00
Daisuke Akatsuka
c051aa567d
Bug 1849866: Rename moz-anno:favicon protocol to cached-favicon r=necko-reviewers,places-reviewers,valentin,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D198130
2024-01-24 22:05:42 +00:00
Stanca Serban
221d7acc5b
Backed out changeset 54462970f797 (bug 1873732) for causing web platform tests failures.
2024-01-24 21:08:19 +02:00
Joel Maher
807575f8e1
Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-24 16:35:54 +00:00
Andreas Farre
b51bf27f13
Bug 1875040 - Use GetExtantDocument instead of GetDocument. r=smaug
...
Avoids accidentally creating a document when checking if a document's
presentation can be saved.
Differential Revision: https://phabricator.services.mozilla.com/D198781
2024-01-23 08:04:51 +00:00
Tom Schuster
40de2c94b3
Bug 1875466 - Remove nsContentUtils::ShouldHideObjectOrEmbedImageDocument. r=emilio
...
Depends on D199114
Differential Revision: https://phabricator.services.mozilla.com/D199115
2024-01-22 14:26:10 +00:00
Gregory Pappas
b3e0fd295c
Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-22 09:52:53 +00:00
Iulian Moraru
b643962356
Backed out changeset da092d881d44 (bug 1724089) for causing valgrind build bustages.
2024-01-18 22:12:44 +02:00
Gregory Pappas
c2ed911bfb
Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 16:25:47 +00:00
Noemi Erli
623ef8a876
Backed out changeset be072303feaf (bug 1724089) for causing xpc failures in test_headless.js
2024-01-18 16:44:10 +02:00
Gregory Pappas
68e8f55749
Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 11:51:13 +00:00
Emilio Cobos Álvarez
7bf069df3a
Bug 1840762 - Don't throttle postMessage for pdf.js. r=smaug
...
This should be safe to uplift.
Differential Revision: https://phabricator.services.mozilla.com/D198829
2024-01-17 21:49:34 +00:00
Emilio Cobos Álvarez
a94d5c59e6
Bug 1874701 - Convert aboutNetError to an html page. r=Gijs,valentin
...
While I'm looking at this / bug 1866884, this it probably makes sense,
wdyt?
Differential Revision: https://phabricator.services.mozilla.com/D198571
2024-01-15 15:03:19 +00:00
Emilio Cobos Álvarez
ec149cc5de
Bug 1866884 - Make browser_alternate_fixup_middle_click_link.js wait for error page properly. r=Gijs
...
Depends on D198571
Differential Revision: https://phabricator.services.mozilla.com/D198574
2024-01-15 15:01:51 +00:00
Tooru Fujisawa
da72302e92
Bug 1873330 - Part 4: Add UserActivation::Modifiers getters. r=smaug
...
In order to use the modifiers in nsGlobalWindowOuter::OpenInternal, add accessor
methods to BrowsingContext, Document, and WindowContext.
Those accessors behave in the same way as ConsumeTransientUserGestureActivation
and RevisePopupAbuseLevel, except for checking the PopupBlocker state.
Differential Revision: https://phabricator.services.mozilla.com/D197862
2024-01-11 17:24:02 +00:00
Tooru Fujisawa
1eb9eb9c1a
Bug 1873330 - Part 3: Store modifiers for user activation with input event. r=smaug
...
Depends on D197860
Differential Revision: https://phabricator.services.mozilla.com/D197861
2024-01-11 17:24:02 +00:00
Tooru Fujisawa
aeb2eac8f0
Bug 1873330 - Part 2: Add UserActivation::Modifiers and UserActivation::StateAndModifiers. r=smaug
...
Associate modifier keys to user activation, in order to use the modifiers
in `window.open` initiated by the user activation.
Depends on D197859
Differential Revision: https://phabricator.services.mozilla.com/D197860
2024-01-11 17:24:01 +00:00
Cristian Tuns
31c5852d57
Backed out changeset 1313a6a0c641 (bug 1669453) for causing wpt failures in history_pushstate_url_rewriting.html CLOSED TREE
2024-01-10 21:16:11 -05:00
David
096f34a11c
Bug 1669453 - Get user passwords after validating same-origin. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D198084
2024-01-10 23:31:03 +00:00
Emilio Cobos Álvarez
267ec889a9
Bug 1873967 - Remove DocGroup::TryToLoadIframesInBackground. r=sefeng
...
This is somewhat complex, untested, never shipped, and predates
fission.
Remove it to simplify the code.
Depends on D198183
Differential Revision: https://phabricator.services.mozilla.com/D198184
2024-01-10 22:33:17 +00:00
Emilio Cobos Álvarez
b132d83211
Bug 1873967 - Simplify dom_separate_event_queue_for_post_message_enabled checks. r=sefeng
...
Differential Revision: https://phabricator.services.mozilla.com/D198183
2024-01-10 22:33:17 +00:00
Nika Layzell
b18b3314a5
Bug 1873294 - Clean up logic for firing cross-process load events, r=smaug
...
Previously it may have been possible in some edge cases for us to send
`MaybeFireEmbedderLoadEvents` for a non-toplevel frame during docshell
tree teardown.
Differential Revision: https://phabricator.services.mozilla.com/D197825
2024-01-08 19:30:59 +00:00
Tom Schuster
346cecd51c
Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb
...
Differential Revision: https://phabricator.services.mozilla.com/D197794
2024-01-08 15:47:42 +00:00
Oliver Medhurst
465206f92c
Bug 1793560 - Remove navigate-to CSP directive r=tschuster
...
It has never shipped after being implemented years ago,
and was removed from spec in September 2022:
https://github.com/w3c/webappsec-csp/pull/564
Now skipping navigate-to WPT tests. Filed issue upstream for their future removal:
https://github.com/w3c/webappsec-csp/issues/608
Consensus seems to agree to remove, will do in follow up bug once landed.
Also removed our own tests.
Added a hack in StartDocumentLoad as just removing the navigate-to check call
breaks some inhertiance, see comment for more info.
Differential Revision: https://phabricator.services.mozilla.com/D181630
2024-01-03 16:43:12 +00:00
Tom Schuster
061fc361e2
Bug 1867628 - Fire a load event when frame-ancestors blocks an iframe (similar to X-Frame-Options). r=nika,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D196036
2023-12-19 10:05:12 +00:00
aiunusov
41283b7581
Bug 1868387 - Part 1: Make a pref, that enables origin security check for SetDocumentURI() method, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D195554
2023-12-13 15:14:35 +00:00
Jonathan Watt
da74a43f47
Bug 1430691. Add a documenting comment to the nsIDocShell interface. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D31356
2023-12-06 19:18:13 +00:00
Norisz Fay
2f59f81732
Backed out changeset 68ae10a38cdf (bug 1276918) for causing reftest failures on webcam-simulacrum.mjpg CLOSED TREE
2023-12-06 17:17:02 +02:00
Frederik Braun
911a588250
Bug 1276918 - restrict multipart/x-mixed-replace to non-document loads r=necko-reviewers,valentin,kershaw
...
Ideally, I would like to remove this for all types except images, but there
is some uncertainty wrt to other media load types and making small steps is
easier than huge strides. Especially when it's risking compatibility.
Differential Revision: https://phabricator.services.mozilla.com/D194917
2023-12-06 14:07:34 +00:00
Jonathan Watt
7dbfaa7f5d
Bug 1868023. Get rid of nsIDocShell.getSameTypeInProcessParentIgnoreBrowserBoundaries. r=aiunusov
...
Differential Revision: https://phabricator.services.mozilla.com/D195361
2023-12-06 09:45:36 +00:00
Noemi Erli
c46592ba01
Backed out changeset 9fa5c8e5fc13 (bug 1868023) for causing assertion failures in nsWindowMemoryReporter.cpp
2023-12-04 14:49:14 +02:00
Jonathan Watt
747875e612
Bug 1868023. Get rid of nsIDocShell.getSameTypeInProcessParentIgnoreBrowserBoundaries. r=aiunusov
...
Differential Revision: https://phabricator.services.mozilla.com/D195361
2023-12-04 11:53:11 +00:00
Narcis Beleuzu
721c07ce9e
Backed out changeset f768135b85f2 (bug 1746524) for causing perf regressions
2023-11-30 18:18:17 +02:00
Joel Maher
28be3ac6b4
Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D194162
2023-11-28 01:02:01 +00:00
Jonathan Watt
15c1a58822
Bug 1866011 p2. Rename nsIDocShell.contentViewer. r=emilio,credential-management-reviewers,devtools-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D194370
2023-11-24 09:10:52 +00:00
Jonathan Watt
c46d8d767c
Bug 1866011 p1. Rename nsISHEntry.contentViewer. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D194369
2023-11-24 09:10:52 +00:00
Jonathan Watt
0bbfbaac40
Bug 1866010 p3. Update aContentViewer args to reflect nsIDocumentViewer's new name. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D194359
2023-11-24 09:10:49 +00:00
Jonathan Watt
43215ef984
Bug 1865995 p6. Rename createAboutBlankContentViewer to match nsIDocumentViewer's new name. r=emilio,webdriver-reviewers,devtools-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D194340
2023-11-23 21:35:21 +00:00
Jonathan Watt
551b15d07f
Bug 1865995 p2. Rename ContentViewerType to match nsIDocumentViewer's new name. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D194336
2023-11-23 21:35:19 +00:00
Jonathan Watt
9c691c46ec
Bug 1865995 p1. Rename FindInternalContentViewer to match nsIDocumentViewer's new name. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D194335
2023-11-23 21:35:19 +00:00
Jonathan Watt
8bfef8f8d3
Bug 1865918 p6. Update nsDocShell::mContentViewer and local variables to reflect nsIDocumentViewer's new name. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D194294
2023-11-22 13:50:58 +00:00
Jonathan Watt
63ce29be2b
Bug 1865918 p5. Update NewContentViewerObj to reflect nsIDocumentViewer's new name. r=emilio
...
NewContentViewerObj
Depends on D194290
Differential Revision: https://phabricator.services.mozilla.com/D194291
2023-11-22 13:50:57 +00:00
Jonathan Watt
e9e8d285db
Bug 1865918 p4. Update CreateContentViewerForActor to reflect nsIDocumentViewer's new name. r=emilio
...
Depends on D194289
Differential Revision: https://phabricator.services.mozilla.com/D194290
2023-11-22 13:50:57 +00:00
Jonathan Watt
9ef102ce24
Bug 1865918 p3. Update CreateContentViewer to reflect nsIDocumentViewer's new name. r=emilio
...
Depends on D194288
Differential Revision: https://phabricator.services.mozilla.com/D194289
2023-11-22 13:50:57 +00:00
Jonathan Watt
cd0692dbfd
Bug 1865918 p2. Update EnsureContentViewer to reflect nsIDocumentViewer's new name. r=emilio
...
Depends on D194287
Differential Revision: https://phabricator.services.mozilla.com/D194288
2023-11-22 13:50:56 +00:00
Jonathan Watt
dd64050a07
Bug 1865918 p1. Update HasContentViewer to reflect nsIDocumentViewer's new name. r=emilio
...
(Snuck in a rename of a similarly named local variable too.)
Differential Revision: https://phabricator.services.mozilla.com/D194287
2023-11-22 13:50:56 +00:00
Jonathan Watt
5f948f350d
Bug 1865891 p13. Rename nsSHEntryShared::mContentViewer to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194285
Differential Revision: https://phabricator.services.mozilla.com/D194286
2023-11-22 08:08:17 +00:00
Jonathan Watt
621395f2f4
Bug 1865891 p12. Rename NotifyListenersContentViewerEvicted to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194284
Differential Revision: https://phabricator.services.mozilla.com/D194285
2023-11-22 08:08:16 +00:00
Jonathan Watt
1fb60aada1
Bug 1865891 p11. Rename OnContentViewerEvicted to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194283
Differential Revision: https://phabricator.services.mozilla.com/D194284
2023-11-22 08:08:16 +00:00
Jonathan Watt
d714970784
Bug 1865891 p10. Rename GloballyEvictContentViewers to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194282
Differential Revision: https://phabricator.services.mozilla.com/D194283
2023-11-22 08:08:16 +00:00
Jonathan Watt
8b6d7353ba
Bug 1865891 p9. Rename GloballyEvictAllContentViewers to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194281
Differential Revision: https://phabricator.services.mozilla.com/D194282
2023-11-22 08:08:15 +00:00
Jonathan Watt
0e8368d940
Bug 1865891 p8. Rename EvictContentViewer to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194280
Differential Revision: https://phabricator.services.mozilla.com/D194281
2023-11-22 08:08:15 +00:00
Jonathan Watt
742ed330df
Bug 1865891 p7. Rename EvictLocalContentViewers to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194279
Differential Revision: https://phabricator.services.mozilla.com/D194280
2023-11-22 08:08:14 +00:00
Jonathan Watt
7ba3a711d7
Bug 1865891 p6. Rename EvictExpiredContentViewerForEntry to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194278
Differential Revision: https://phabricator.services.mozilla.com/D194279
2023-11-22 08:08:14 +00:00
Jonathan Watt
48f38a5ac1
Bug 1865891 p5. Rename EvictContentViewerForEntry to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194277
Differential Revision: https://phabricator.services.mozilla.com/D194278
2023-11-22 08:08:13 +00:00
Jonathan Watt
4b6d3cff5f
Bug 1865891 p4. Rename EvictContentViewersOrReplaceEntry to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194276
Differential Revision: https://phabricator.services.mozilla.com/D194277
2023-11-22 08:08:13 +00:00
Jonathan Watt
9052f07248
Bug 1865891 p3. Rename EvictOutOfRangeContentViewers to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194275
Differential Revision: https://phabricator.services.mozilla.com/D194276
2023-11-22 08:08:13 +00:00
Jonathan Watt
64e95d278d
Bug 1865891 p2. Rename EvictAllContentViewers to match nsIDocumentViewer's new name. r=emilio
...
Depends on D194274
Differential Revision: https://phabricator.services.mozilla.com/D194275
2023-11-22 08:08:12 +00:00
Jonathan Watt
1288156d4b
Bug 1865891 p1. Rename EvictOutOfRangeWindowContentViewer to match nsIDocumentViewer's new name. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D194274
2023-11-22 08:08:12 +00:00
Jonathan Watt
c96a66c3de
Bug 1865480. Rename nsIContentViewer to nsIDocumentViewer. r=layout-reviewers,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D193987
2023-11-21 12:45:59 +00:00
Emilio Cobos Álvarez
10b73028a4
Bug 1863620 - Don't evict a page from legacy bfcache for DOM mutations on scrollbars. r=smaug
...
Before the animation was mutating the style attribute, and WPT on
android actually triggered the mutation before unload, and never mutated
again, because of a testing-only pref:
https://searchfox.org/mozilla-central/rev/42acdc9cd5ae89222bdceeeaed7bacac755be48f/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/firefox_android.py#142
It's possible that this improves bfcache on android given that.
Differential Revision: https://phabricator.services.mozilla.com/D194069
2023-11-20 21:47:50 +00:00
aiunusov
39e0866010
Bug 1783504 - tweak when UpdateDocumentURI can be set, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D159340
2023-11-20 16:06:00 +00:00
Malte Juergens
2bbd0c4d22
Bug 1858894 - Hide http history entries that were upgraded to https r=places-reviewers,freddyb,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D192229
2023-11-20 09:27:57 +00:00
Jonathan Watt
b460302e19
Bug 1865479. Rename nsIContentViewerEdit to nsIDocumentViewerEdit. r=layout-reviewers,tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D193986
2023-11-19 10:13:12 +00:00
Timothy Nikkel
c4f342a95f
Bug 1864255. Make sure some crashtests in dom/ cleanup any opened windows after they finish. r=dom-core,peterv
...
Minor notable behaviour changes in
dom/base/crashtests/1838484.html
dom/html/crashtests/1787671.html
where I changed |window.print();| to |SpecialPowers.wrap(self).printPreview().print()|. I did this because I do not know of a way to close the window that window.print opens (that function doesn't return anything). This should be pretty similar because window.print seems to open a print preview document and then open the print dialog, but doesn't actually trigger the printing (but non-printpreview) code.
For dom/base/crashtests/1838484.html I verified by backing out the patch for bug 1838484 that the modified crashtest still crashes.
I did not do the same verification for dom/html/crashtests/1787671.html because the code has changed significantly since then, and the test seems like it should still test the same issue based on the above.
Differential Revision: https://phabricator.services.mozilla.com/D193344
2023-11-17 01:31:21 +00:00
Sandor Molnar
bb5a11d7f2
Backed out changeset 724cb235ebec (bug 1783504) for crashes on crash stats on Android Nightly
2023-11-15 14:46:45 +02:00
Andreas Farre
edb1a0dfce
Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=smaug
...
This patch also does some cosmetic changes for when parent controlled
loads should be used, but more importantly introduces the pref
'browser.tabs.documentchannel.speculative-load' with the default value
false.
It turns out that speculatively loading in the parent when a parent
controlled load isn't possible is the cause for performance
regressions.
Differential Revision: https://phabricator.services.mozilla.com/D192489
2023-11-14 14:12:43 +00:00
aiunusov
433ce6fe63
Bug 1783504 - tweak when UpdateDocumentURI can be set, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D159340
2023-11-13 20:51:31 +00:00
Cosmin Sabou
a5f81b858e
Backed out changeset f3e41764fab0 (bug 1746524) for causing gv-junit failures on NavigationDelegateTest. CLOSED TREE
2023-11-09 09:59:58 +02:00
Andreas Farre
1cecb92a88
Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=smaug
...
This patch also does some cosmetic changes for when parent controlled
loads should be used, but more importantly introduces the pref
'browser.tabs.documentchannel.speculative-load' with the default value
false.
It turns out that speculatively loading in the parent when a parent
controlled load isn't possible is the cause for performance
regressions.
Differential Revision: https://phabricator.services.mozilla.com/D192489
2023-11-09 07:00:42 +00:00
Gijs Kruitbosch
f398697431
Bug 1855992 - remove about: specialcase from principal validation in BrowserParent, r=nika,necko-reviewers,jesup,perftest-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D189923
2023-11-07 11:34:42 +00:00
Natalia Csoregi
dad3837c47
Backed out changeset 149e69327bbb (bug 1746524) for causing gv-junit failures on bypassHTTPSOnlyError. CLOSED TREE
2023-11-07 12:13:52 +02:00
Andreas Farre
921c8ffd6c
Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=smaug
...
This patch also does some cosmetic changes for when parent controlled
loads should be used, but more importantly introduces the pref
'browser.tabs.documentchannel.speculative-load' with the default value
false.
It turns out that speculatively loading in the parent when a parent
controlled load isn't possible is the cause for performance
regressions.
Differential Revision: https://phabricator.services.mozilla.com/D192489
2023-11-07 08:32:31 +00:00
Mark Banner
a033642737
Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D190759
2023-11-04 09:29:27 +00:00
Sandor Molnar
2b95800b49
Backed out 2 changesets (bug 1855992) for causing talos failures @ mozilla::net::nsAboutProtocolHandler::NewChannel CLOSED TREE
...
Backed out changeset f287e725a845 (bug 1855992)
Backed out changeset 81236027b7dc (bug 1855992)
2023-11-03 00:02:09 +02:00
Gijs Kruitbosch
12d0193d1a
Bug 1855992 - remove about: specialcase from principal validation in BrowserParent, r=nika,necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D189923
2023-11-02 17:41:17 +00:00
M. Sirringhaus
4240388b19
Bug 1854618 - Implement about:webauthn page to display authenticator info (r=jschanck,desktop-theme-reviewers,bolsson)
...
Differential Revision: https://phabricator.services.mozilla.com/D188973
2023-11-02 16:21:48 +00:00
Iulian Moraru
fcd238e653
Backed out changeset e210c2c7d93a (bug 1746524) for causing mass crashes related to DocumentLoadListener. CLOSED TREE
2023-11-02 11:35:09 +02:00
Andreas Farre
634593f2a0
Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=smaug
...
This patch also does some cosmetic changes for when parent controlled
loads should be used, but more importantly introduces the pref
'browser.tabs.documentchannel.speculative-load' with the default value
false.
It turns out that speculatively loading in the parent when a parent
controlled load isn't possible is the cause for performance
regressions.
Differential Revision: https://phabricator.services.mozilla.com/D192489
2023-11-02 08:54:18 +00:00
Narcis Beleuzu
f078d4fd81
Backed out 3 changesets (bug 1854908, bug 1854618, bug 1854620) for build bustages. CLOSED TREE
...
Backed out changeset b87eea9fe548 (bug 1854908)
Backed out changeset 501726f36e9c (bug 1854620)
Backed out changeset 84dd48da983c (bug 1854618)
2023-11-01 00:14:29 +02:00
M. Sirringhaus
f4b1edc284
Bug 1854618 - Implement about:webauthn page to display authenticator info (r=jschanck,desktop-theme-reviewers,bolsson)
...
Differential Revision: https://phabricator.services.mozilla.com/D188973
2023-10-31 21:34:34 +00:00
Dave Townsend
201e447fd0
Bug 1855427: The DOMLinkRemoved chrome event is not used anywhere. r=emilio
...
The event isn't dispatched correctly for DOM manipulations anymore. It is
dispatched when swapping docshells but we don't actually use this event anywhere
except tests so we might as well just remove it entirely.
Differential Revision: https://phabricator.services.mozilla.com/D192333
2023-10-31 15:10:43 +00:00
Cristina Horotan
2842815eee
Backed out 2 changesets (bug 1855992) for causing assertion failures at ContentParent.cpp CLOSED TREE
...
Backed out changeset 794155e516b3 (bug 1855992)
Backed out changeset 5489de5365fe (bug 1855992)
2023-10-31 12:19:43 +02:00
Gijs Kruitbosch
ed63da3d0b
Bug 1855992 - remove about: specialcase from principal validation in BrowserParent, r=nika,necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D189923
2023-10-31 09:11:30 +00:00
Gijs Kruitbosch
6c143583b8
Bug 747301 - remove about:plugins and some other unused plugin-related code, r=mossop,handyman,fluent-reviewers,extension-reviewers,desktop-theme-reviewers,bolsson,dao,geckoview-reviewers,owlish,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D189921
2023-10-31 09:11:30 +00:00
Benjamin VanderSloot
ae1d974be7
Bug 1858143 - "has storage access" should only persist during navigations that do not change the iframe's window origin - r=anti-tracking-reviewers,smaug,pbz
...
Minor correction from https://phabricator.services.mozilla.com/D184821 .
The definition of "same-origin" used in that patch was that the iframe's origin after navigation is the same as the triggering principal.
This was incorrect.
Instead, the origin of the iframe before navigation should be the same as after navigation, which is the frame's document principal at the time this is called.
Also, I found places where I missed adding the new fields to the loadinfo: LocationBase and nsFrameLoader.
And I added the redirect tainting check and a missing nullcheck before calling SetTriggeringWindowId in nsDocShell.
Differential Revision: https://phabricator.services.mozilla.com/D190577
2023-10-26 14:24:14 +00:00
Adam Brouwers-Harries
a26eafe5c3
Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau
...
This patch removes the old docshell timeline and timeline markers codebase and replaces them with equivalent Gecko profiler marker. This patch also fixes Bug 1834143
, which is a subset of 1421651.
Differential Revision: https://phabricator.services.mozilla.com/D184217
2023-10-24 15:18:12 +00:00
Narcis Beleuzu
948c7279ee
Backed out changeset 714aaf6484fb (bug 1421651) for causing Bug 1860719. CLOSED TREE
2023-10-24 17:31:02 +03:00
Mark Banner
31a45737c0
Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D190985
2023-10-24 08:48:41 +00:00
Adam Brouwers-Harries
4cdf967b4e
Bug 1421651 - Remove obseleted timeline and TimelineMarker code r=canaltinova,webidl,devtools-reviewers,saschanaz,smaug,ochameau
...
This patch removes the old docshell timeline and timeline markers codebase and replaces them with equivalent Gecko profiler marker. This patch also fixes Bug 1834143
, which is a subset of 1421651.
Differential Revision: https://phabricator.services.mozilla.com/D184217
2023-10-23 13:55:50 +00:00
Sandor Molnar
15cde34bad
Backed out 3 changesets (bug 1854908, bug 1854620, bug 1854618) for causing bc failures at browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE
...
Backed out changeset e059b0995a2a (bug 1854908)
Backed out changeset 689737898f5b (bug 1854620)
Backed out changeset 0464e2c6681d (bug 1854618)
2023-10-19 03:53:41 +03:00
M. Sirringhaus
581d7d8e27
Bug 1854618 - Implement about:webauthn page to display authenticator info (r=jschanck,desktop-theme-reviewers,bolsson)
...
Differential Revision: https://phabricator.services.mozilla.com/D188973
2023-10-18 20:04:27 +00:00
Marc Seibert
04d7ba785a
Bug 1853418 - Prepare remaining tests.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D190557
2023-10-18 10:15:34 +00:00
Tim Huang
e2cb3b6fc1
Bug 1824222 - Add OverriddenFingerprintingSettings to WindowContext. r=nika,tjr
...
This patch adds a field called OverriddenFingerprintingSettings to
WindowContext. The OverriddenFingerprintingSettings represents the
granular overrides of fingerprinting protections due to WebCompat for
the given context. The value can be Nothing() if there is no overrides
defined for the context.
Differential Revision: https://phabricator.services.mozilla.com/D188758
2023-10-17 22:02:29 +00:00
Peter Van der Beken
a6a8df4016
Bug 1850335 - Google Advanced Search terms not remembered when navigating back after visiting a search result. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D190467
2023-10-16 08:20:17 +00:00
Sylvestre Ledru
d0f6c7fc66
Bug 1856795 - Remove redundant member init r=emilio
...
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .
https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html
Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-15 15:29:02 +00:00
Cristina Horotan
6a90f5eded
Backed out 2 changesets (bug 1856795) for causing build bustage at BasicEvents.h CLOSED TREE
...
Backed out changeset 1d98b028923a (bug 1856795)
Backed out changeset eae2ac93e17c (bug 1856795)
2023-10-14 21:42:14 +03:00
Sylvestre Ledru
cc8a0ee742
Bug 1856795 - Remove redundant member init r=emilio
...
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .
https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html
Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-14 17:34:26 +00:00
Peter Van der Beken
6df6e2ea90
Bug 1854139 - Remove unused aFireOnLocationChange argument from nsDocShell::OnNewURI. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D188728
2023-10-12 12:43:56 +00:00
Frederik Braun
b903dda85e
Bug 1812192 - Default some more tests to use HTTPS explicitly r=freddyb,mak
...
Depends on D179795
Differential Revision: https://phabricator.services.mozilla.com/D181097
2023-10-11 17:49:42 +00:00
Frederik Braun
7291dac470
Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
...
Depends on D179794
Differential Revision: https://phabricator.services.mozilla.com/D179795
2023-10-11 17:49:42 +00:00
Frederik Braun
ec7bc44fb5
Bug 1812192 - Address bar should mark navigations that were schemeless r=mak,Gijs,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D179794
2023-10-11 17:49:42 +00:00
Cristian Tuns
5fabc0ee57
Backed out 6 changesets (bug 1812192) for causing browser_schemeless.js failures. CLOSED TREE
...
Backed out changeset 3d07a92324d0 (bug 1812192)
Backed out changeset 9c2a1ff6c90d (bug 1812192)
Backed out changeset fa6784f8b0f4 (bug 1812192)
Backed out changeset 0f39aba7e4d5 (bug 1812192)
Backed out changeset ef7219327a10 (bug 1812192)
Backed out changeset 9833b559342e (bug 1812192)
2023-10-10 10:02:25 -04:00
Emilio Cobos Álvarez
25c0d10932
Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
...
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.
I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).
Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
Frederik Braun
43f9778dee
Bug 1812192 - Default some more tests to use HTTPS explicitly r=freddyb,mak
...
Depends on D179795
Differential Revision: https://phabricator.services.mozilla.com/D181097
2023-10-10 08:43:00 +00:00
Frederik Braun
aed55ecb55
Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
...
Depends on D179794
Differential Revision: https://phabricator.services.mozilla.com/D179795
2023-10-10 08:43:00 +00:00
Frederik Braun
9301710e8e
Bug 1812192 - Address bar should mark navigations that were schemeless r=mak,Gijs,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D179794
2023-10-10 08:42:59 +00:00
dylan
d5a355d241
Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-04 19:42:57 +00:00
Vinny Diehl
b30a7e19e7
Bug 1847572 - Expand home directory paths for arbitrary users r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D185999
2023-10-04 16:48:47 +00:00
Tom Marble
1ca03b1818
Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D189381
2023-10-02 17:18:28 +00:00
Norisz Fay
338171a737
Backed out 2 changesets (bug 1156659) for causing dt failures on browser_net_throttle.js CLOSED TREE
...
Backed out changeset af64e5a0109a (bug 1156659)
Backed out changeset 7e9b86bce76b (bug 1156659)
2023-10-02 16:11:21 +03:00
dylan
3b39108bc7
Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-02 04:13:43 +00:00
Jan Varga
c458754592
Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D189226
2023-09-28 20:46:07 +00:00
serge-sans-paille
e99d15cd0c
Bug 1854478 - Improve constness of array of preferences r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D188884
2023-09-28 15:04:00 +00:00
owlishDeveloper
41a85066d7
Bug 1850444 - Make the test for bug 1699721 work with isolateHighValue strategy on Fission r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D189177
2023-09-26 17:14:33 +00:00
Sandor Molnar
e22024e42c
Backed out 2 changesets (bug 1156659) for causing multiple dt failures on browser_jsterm_evaluation_context_selector_targets_update/browser_jsterm_file_load_save_keyboard_shortcut/browser_jsterm_focus_reload/etc CLOSED TREE
...
Backed out changeset 72676017aaf3 (bug 1156659)
Backed out changeset c5e205051938 (bug 1156659)
2023-09-26 19:54:00 +03:00
dylan
da3e3497c1
Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-09-26 15:33:34 +00:00
Mark Banner
adc07ece4e
Bug 1854913 - Turn off ESLint rule mozilla/use-chromeutils-generateqi for plain mochitests as it should not apply there. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D189099
2023-09-26 13:38:20 +00:00
Tom Marble
a99a113414
Bug 1853244 - convert .ini manifests to .toml: batch 6 {caps,devtools,dom}/**/browser.ini r=jmaher,media-playback-reviewers,devtools-reviewers,profiler-reviewers,alwu,nchevobbe,canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D188856
2023-09-22 20:42:14 +00:00
Benjamin VanderSloot
b7d464acd5
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-21 01:48:49 +00:00
Nika Layzell
23df3cab6b
Bug 1790666 - Propagate session storage across COOP switches without SHIP, r=smaug,asuth
...
With non-SHIP Desktop we would propagate the session storage across
process switches using session restore, so the internal propagation was
diabled. However, android's session restore has no handling for session
storage, meaning that all session storage is discarded.
This changes the logic to always use the internal propagation, even when
SHIP is disabled.
Differential Revision: https://phabricator.services.mozilla.com/D188647
2023-09-20 20:01:32 +00:00
Iulian Moraru
385fa91360
Backed out 9 changesets (bug 1848783, bug 1837168, bug 1835920) for causing multiple failures. CLOSED TREE
...
Backed out changeset ab1717421318 (bug 1848783)
Backed out changeset de5e1715c877 (bug 1848783)
Backed out changeset 1f64106e6667 (bug 1848783)
Backed out changeset e082ba20bbb2 (bug 1848783)
Backed out changeset cb56c5d713bf (bug 1848783)
Backed out changeset 735161c251e4 (bug 1848783)
Backed out changeset 3d1468ac6e84 (bug 1848783)
Backed out changeset 9ff5b92032cb (bug 1837168)
Backed out changeset 15cfb0c4f048 (bug 1835920)
2023-09-20 22:29:41 +03:00
Benjamin VanderSloot
aa4774d79e
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-20 16:14:40 +00:00
Andreas Farre
1d72861f9f
Bug 1799326 - Don't restore replaced browsing contexts from BFCache. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D188688
2023-09-20 11:50:49 +00:00
Cosmin Sabou
39c14444b7
Backed out 9 changesets (bug 1837168, bug 1835920, bug 1848783) for causing storage-access-api wpt failures. CLOSED TREE
...
Backed out changeset 3fd66f8f5d65 (bug 1848783)
Backed out changeset a96afb6d05d6 (bug 1848783)
Backed out changeset 117132b000ac (bug 1848783)
Backed out changeset 3a14281b7d72 (bug 1848783)
Backed out changeset 7dc5f794364d (bug 1848783)
Backed out changeset 84ca25a557a6 (bug 1848783)
Backed out changeset 8bb89cf9587e (bug 1848783)
Backed out changeset 15a005bef445 (bug 1837168)
Backed out changeset a97bc1fd6637 (bug 1835920)
2023-09-20 04:41:18 +03:00
Benjamin VanderSloot
4297663528
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-19 21:03:08 +00:00
Narcis Beleuzu
2990006272
Backed out 9 changesets (bug 1835920, bug 1848783, bug 1837168) for assertion failure on PermissionManager.cpp . CLOSED TREE
...
Backed out changeset 589241e4e1f6 (bug 1848783)
Backed out changeset 7446d643420d (bug 1848783)
Backed out changeset 1b5a505a9bc6 (bug 1848783)
Backed out changeset bfd4df9014d7 (bug 1848783)
Backed out changeset 01f053bbdb97 (bug 1848783)
Backed out changeset e1b829bfb8d1 (bug 1848783)
Backed out changeset f17d58a27f3c (bug 1848783)
Backed out changeset d21bdbf5baf1 (bug 1837168)
Backed out changeset a2d17b5958b8 (bug 1835920)
2023-09-19 16:15:26 +03:00
Benjamin VanderSloot
1551d09f92
Bug 1848783, part 5 - Move UsingStorageAccess onto the WindowContext to fix the storage access check for resource reuqests within subdocuments without active storage access but with permission r=timhuang,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187138
2023-09-19 11:11:19 +00:00
edgul
29f608721d
Bug 1723456 - Fixing test breakage. r=valentin,necko-reviewers,extension-reviewers,credential-management-reviewers,robwu,dimi,pbz,Gijs,places-reviewers,adw
...
Differential Revision: https://phabricator.services.mozilla.com/D181274
2023-09-15 20:38:48 +00:00
Marco Bonardo
70fdad6676
Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
...
This should make a bit clearer that it is only starting the load, not waiting
for its completion.
Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
950a3c620d
Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
...
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
61f8ecc425
Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
...
This should make a bit clearer that it is only starting the load, not waiting
for its completion.
Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Mathew Hodson
66ffe4b27e
Bug 582361 - Align scrolling to a fragment with HTML spec. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187362
2023-09-14 09:29:27 +00:00
Tom Marble
9e40a719f2
Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Cosmin Sabou
e3ddb212bd
Backed out changeset ce9c917d3e22 (bug 582361) for causing wpt failures on scroll-frag-percent-encoded.html. CLOSED TREE
2023-09-13 20:52:47 +03:00
Mathew Hodson
9b4650bb45
Bug 582361 - Align scrolling to a fragment with HTML spec. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187362
2023-09-13 16:04:59 +00:00
Malte Juergens
83723019a1
Bug 1847918 - Limit `nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` to HTTPS-First r=freddyb
...
`nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` is currently only used by HTTPS-First. It is used for fixing upgrade-downgrade loops and when loading history entries, as when we already know if HTTPS-First succeeded there or not, we have no need for trying to upgrade again and can disable HTTPS-First. With the changes introduced by Bug 1839612, `nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` also applies to HTTPS-Only, which is a problem because disabling HTTPS-Only for history entries will result in them potentially being loaded insecurely without the user setting an exception. As a solution this patch just applies `nsILoadInfo::HTTPS_ONLY_EXEMPT_NEXT_LOAD`, the flag being set when `nsDocShellLoadState::IsExemptFromHTTPSOnlyMode` is set, when HTTPS-First is enabled, and renames both flags to reflect that behavior.
Differential Revision: https://phabricator.services.mozilla.com/D185829
2023-09-11 12:14:30 +00:00
Daisuke Akatsuka
8e9e77f019
Bug 1850902: Remove browser.fixup.alternate.enabled pref and its code path r=jteow,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D187237
2023-09-10 22:33:27 +00:00
Andrew McCreight
0598531d40
Bug 1851922 - Crash faster in RemoteObjectProxyBase::GetOrCreateProxyObject(). r=peterv,dom-core
...
Differential Revision: https://phabricator.services.mozilla.com/D187628
2023-09-08 15:51:13 +00:00
Stanca Serban
04ab13cb66
Backed out changeset 65e974428cdb (bug 1847572) for causing gtest crashes. CLOSED TREE
2023-09-07 22:42:14 +03:00
Vinny Diehl
ac308994f4
Bug 1847572 - Expand home directory paths for arbitrary users r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D185999
2023-09-07 18:35:59 +00:00
owlishDeveloper
190718bd97
Bug 1850440 - Adjust the test to make assertion on remote frame only for isolateEverything Fission site isolation strategy r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D187158
2023-09-06 21:42:01 +00:00
owlishDeveloper
37db2bd2db
Bug 1850429 - Adjust the test to make assertion on remote frame only for isolateEverything Fission site isolation strategy r=nika
...
Depends on D187073
Differential Revision: https://phabricator.services.mozilla.com/D187154
2023-09-06 20:34:45 +00:00
Gregory Pappas
51c277ed92
Bug 1848896 - Remove ui.use_activity_cursor pref r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D187350
2023-09-05 21:32:32 +00:00
Cosmin Sabou
76354af98f
Bug 1781601 - Disable test_opener.html on all platforms because of frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D187493
2023-09-05 19:07:13 +00:00
Sean Feng
6721383752
Bug 1830820
- Introduce some delays to user input handling r=smaug
...
In some edge cases, we may start handling user input events that
are not supposed to be handled by the current document.
This patch introduces some delay to handle user input events.
Differential Revision: https://phabricator.services.mozilla.com/D180976
2023-09-05 18:28:52 +00:00
Emilio Cobos Álvarez
4e4cb31a7f
Bug 1847584 - Account for IsUnderHiddenEmbedderElement() for BrowserChild visibility. r=smaug
...
Test by Gijs. Note that I removed the .isActive assertion, because this doesn't
affect activeness.
We could make that change too, but that's a bigger change, and I think we want
to do this regardless.
The CAN_RUN_SCRIPT annotations are obsolete (they come from bug 1582042
which directly fired docshell activity events, but that's not true
anymore, bug 1635914 changed the setup a bit later).
Differential Revision: https://phabricator.services.mozilla.com/D185643
2023-09-05 16:13:00 +00:00
Iulian Moraru
1007c47c48
Backed out 2 changesets (bug 1830820
) for causing marionette failures on test_actions_wheel.py. CLOSED TREE
...
Backed out changeset e930161a5935 (bug 1830820
)
Backed out changeset 4df110e417d4 (bug 1830820
)
2023-08-31 20:55:06 +03:00
Sean Feng
cd954eaa9f
Bug 1830820
- Introduce some delays to user input handling r=smaug
...
In some edge cases, we may start handling user input events that
are not supposed to be handled by the current document.
This patch introduces some delay to handle user input events.
Differential Revision: https://phabricator.services.mozilla.com/D180976
2023-08-31 15:56:47 +00:00
Markus Stange
3d20b7df6c
Bug 1843484 - Use EventTarget* instead of nsISupports* for the event target parameter of the nsContentUtils::Dispatch methods. r=smaug
...
This saves a few queryInterface calls on the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D186976
2023-08-28 23:38:42 +00:00
owlishDeveloper
66a39a7760
Bug 1849389 - Enable test that has no Android Fission specific failures (known intermittent) r=nika
...
Depends on D186556
Differential Revision: https://phabricator.services.mozilla.com/D186560
2023-08-18 19:51:28 +00:00
owlishDeveloper
8dd3ca1f6f
Bug 1849389 - Enable tests that were blocked on metabugs r=nika
...
Depends on D186555
Differential Revision: https://phabricator.services.mozilla.com/D186556
2023-08-18 19:43:51 +00:00
Cristian Tuns
2117c1d899
Backed out changeset a741e0bcdca4 (bug 1847584) for causing bc failures in browser_reload_tab.js CLOSED TREE
2023-08-18 14:24:03 -04:00
Emilio Cobos Álvarez
87f67e0819
Bug 1847584 - Account for IsUnderHiddenEmbedderElement() for BrowserChild visibility. r=smaug
...
Test by Gijs. Note that I removed the .isActive assertion, because this doesn't
affect activeness.
We could make that change too, but that's a bigger change, and I think we want
to do this regardless.
The CAN_RUN_SCRIPT annotations are obsolete (they come from bug 1582042
which directly fired docshell activity events, but that's not true
anymore, bug 1635914 changed the setup a bit later).
Differential Revision: https://phabricator.services.mozilla.com/D185643
2023-08-18 16:17:31 +00:00
owlishDeveloper
5637e974b1
Bug 1673763 - Do not switch processes when loading error pages on Android r=geckoview-reviewers,nika,jonalmeida
...
Differential Revision: https://phabricator.services.mozilla.com/D186065
2023-08-15 18:43:38 +00:00
Narcis Beleuzu
0c70f2a736
Backed out 2 changesets (bug 1830820
) for reftest failure on inline-block-slice-5.html . CLOSED TREE
...
Backed out changeset 941c44881781 (bug 1830820
)
Backed out changeset da493ba4c9a6 (bug 1830820
)
2023-08-15 18:55:44 +03:00
Sean Feng
65383b4b4e
Bug 1830820
- Introduce some delays to user input handling r=smaug
...
In some edge cases, we may start handling user input events that
are not supposed to be handled by the current document.
This patch introduces some delay to handle user input events.
Differential Revision: https://phabricator.services.mozilla.com/D180976
2023-08-15 13:55:57 +00:00
Sean Feng
4379a8876c
Bug 1848409 - Tweak the UpdateDefaultPreventedOnContent call to only special case the HTMLEditorEventListener case r=masayuki,dom-core
...
Calling `UpdateDefaultPreventedOnContent` separately from
`PreventDefault()` is error-prone. This patch should make it
safer.
Differential Revision: https://phabricator.services.mozilla.com/D186052
2023-08-15 13:46:42 +00:00
Benjamin VanderSloot
8acc7b239c
Bug 1835907, part 5 - Refactor the window's mStorageAccessPermissionGranted variable and its Getters to a more accurate name: mUsingStorageAccess - r=anti-tracking-reviewers,pbz
...
This probably should have been done earlier, but became obvious with uses of Document::HasStorageAccessPermissionGrated in this stack.
Differential Revision: https://phabricator.services.mozilla.com/D184825
2023-08-15 13:04:05 +00:00
Benjamin VanderSloot
58d36f75d6
Bug 1835907, part 1 - Add has storage access bit and triggering window id to the LoadInfo - r=smaug,necko-reviewers,kershaw,pbz
...
In the Storage Access API's latest draft, a few items were added to the user-agent state. Relevant here,
the source snapshot params gained two fields that are initialized from the sourceDocument during
snapshotting source params while navigating: "has storage access" and "environment id".
https://privacycg.github.io/storage-access/#ua-state
These are used to identify self-initiated navigations that come from documents that have obtained storage access.
Combined with a same-origin check, this determines if the destination document of the navigation should start
with storage access.
This is stricter than the current behavior, where if the permission is available, all documents start with storage access.
Instead, now a document will only have storage access if it requests it explicitly or if a same-origin document that has
storage access navigates itself to that document. This is seen as a security win.
Security discussion of this change was here: https://github.com/privacycg/storage-access/issues/113
Artur at Google wrote up a great summary here: https://docs.google.com/document/d/1AsrETl-7XvnZNbG81Zy9BcZfKbqACQYBSrjM3VsIpjY/edit#
Differential Revision: https://phabricator.services.mozilla.com/D184821
2023-08-15 13:04:04 +00:00
Cosmin Sabou
4f5ef3986b
Backed out 6 changesets (bug 1835907) for causing multiple failures. CLOSED TREE
...
Backed out changeset 91ef29afec50 (bug 1835907)
Backed out changeset 989479621780 (bug 1835907)
Backed out changeset 86e3f98ceb31 (bug 1835907)
Backed out changeset 4790e44c234c (bug 1835907)
Backed out changeset bb9f48eec5bf (bug 1835907)
Backed out changeset 74f90708260a (bug 1835907)
2023-08-14 22:18:10 +03:00
Benjamin VanderSloot
d2a4578703
Bug 1835907, part 5 - Refactor the window's mStorageAccessPermissionGranted variable and its Getters to a more accurate name: mUsingStorageAccess - r=anti-tracking-reviewers,pbz
...
This probably should have been done earlier, but became obvious with uses of Document::HasStorageAccessPermissionGrated in this stack.
Differential Revision: https://phabricator.services.mozilla.com/D184825
2023-08-14 18:02:47 +00:00
Benjamin VanderSloot
06a4432ed1
Bug 1835907, part 1 - Add has storage access bit and triggering window id to the LoadInfo - r=smaug,necko-reviewers,kershaw,pbz
...
In the Storage Access API's latest draft, a few items were added to the user-agent state. Relevant here,
the source snapshot params gained two fields that are initialized from the sourceDocument during
snapshotting source params while navigating: "has storage access" and "environment id".
https://privacycg.github.io/storage-access/#ua-state
These are used to identify self-initiated navigations that come from documents that have obtained storage access.
Combined with a same-origin check, this determines if the destination document of the navigation should start
with storage access.
This is stricter than the current behavior, where if the permission is available, all documents start with storage access.
Instead, now a document will only have storage access if it requests it explicitly or if a same-origin document that has
storage access navigates itself to that document. This is seen as a security win.
Security discussion of this change was here: https://github.com/privacycg/storage-access/issues/113
Artur at Google wrote up a great summary here: https://docs.google.com/document/d/1AsrETl-7XvnZNbG81Zy9BcZfKbqACQYBSrjM3VsIpjY/edit#
Differential Revision: https://phabricator.services.mozilla.com/D184821
2023-08-14 18:02:46 +00:00
Vinny Diehl
11bd76e996
Bug 93141 - Expand `~` to home directory when fixing up file URIs r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D185562
2023-08-14 07:45:56 +00:00
Emilio Cobos Álvarez
e385adffde
Bug 1847584 - Misc BrowserChild clean-ups. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D185642
2023-08-09 13:08:59 +00:00
Natalia Csoregi
428aa75e35
Backed out 3 changesets (bug 1847584) for causing vsync failures. CLOSED TREE
...
Backed out changeset bdfc3c7388cf (bug 1847584)
Backed out changeset 54b34c76db47 (bug 1847584)
Backed out changeset 03bf43b4ae07 (bug 1847584)
2023-08-09 15:47:03 +03:00
Emilio Cobos Álvarez
3f17f5a609
Bug 1847584 - Account for IsUnderHiddenEmbedderElement() for BrowserChild visibility. r=smaug
...
Test by Gijs. Note that I removed the .isActive assertion, because this doesn't
affect activeness.
We could make that change too, but that's a bigger change, and I think we want
to do this regardless.
The CAN_RUN_SCRIPT annotations are obsolete (they come from bug 1582042
which directly fired docshell activity events, but that's not true
anymore, bug 1635914 changed the setup a bit later).
Differential Revision: https://phabricator.services.mozilla.com/D185643
2023-08-09 10:57:42 +00:00
Emilio Cobos Álvarez
0648f36a09
Bug 1847584 - Misc BrowserChild clean-ups. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D185642
2023-08-09 09:32:27 +00:00
Emilio Cobos Álvarez
47427950b9
Bug 1846500 - Inherit color scheme override from opener. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D185166
2023-08-08 11:32:03 +00:00
Olli Pettay
ae55d8bc22
Bug 1843239, optimize Location.hash, r=peterv,dom-core
...
Differential Revision: https://phabricator.services.mozilla.com/D183788
2023-08-07 12:31:25 +00:00
Peter Van der Beken
3f4ffadbe1
Bug 1846277 - Untangle nsGlobalWindow*.h includes. r=dom-core,media-playback-reviewers,sessionstore-reviewers,padenot,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D184978
2023-08-02 20:41:49 +00:00
Peter Van der Beken
9fba1d5220
Bug 1846277 - Remove nsGlobalWindow.h. r=dom-core,necko-reviewers,jesup,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D184973
2023-08-02 20:41:48 +00:00
Olli Pettay
c8d088d181
Bug 1845924, no need for DIAGNOSTIC_ASSERT, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D185040
2023-08-01 13:37:57 +00:00
Peter Van der Beken
dfce7f40b3
Bug 1843968 - Hold some strong references. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D184803
2023-08-01 12:09:36 +00:00
Emilio Cobos Álvarez
db4ed173eb
Bug 1846141 - Don't propagate zoom on replacement for site-specific zoom. r=nika
...
As otherwise it can race with the front-end setting the right zoom.
This is a bit sketchy, I'm open to other potential solutions?
But we don't have access to per-site zoom prefs in Gecko, so...
Depends on D184922
Differential Revision: https://phabricator.services.mozilla.com/D184923
2023-08-01 00:14:37 +00:00
Stanca Serban
5c30ffc25e
Backed out changeset ce4f02a4ad1e (bug 1843239) for causing multiple failures. CLOSED TREE
2023-07-31 19:06:51 +03:00
Olli Pettay
3931b88d43
Bug 1843239, [Cached] Location.hash, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D183788
2023-07-31 11:15:17 +00:00
Gregory Pappas
3eac12bbd7
Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Tim Huang
7812491622
Bug 1842030 - Part 1: Adding CanonicalBrowsingContext::IsPrivateBrowsingActive(). r=nika
...
The CanonicalBrowsingContext::IsPrivateBrowsingActive() function allows
us to know if private browsing is active. We need it to prevent setting
cookies if there is no active private browsing session.
Differential Revision: https://phabricator.services.mozilla.com/D184010
2023-07-26 10:14:37 +00:00