Emilio Cobos Álvarez
a44b49af0b
Bug 1910698 - Add a struct to represent JS caller location and more general warning source location. r=smaug,necko-reviewers,anti-tracking-reviewers,dom-storage-reviewers,pbz,kershaw,janv
...
Use it liberally across the tree. This could be cleaned up even more in the future.
Differential Revision: https://phabricator.services.mozilla.com/D218114
2024-08-01 17:12:48 +00:00
sunil mayya
4f85bb4c74
Bug 1884208 - Remove negative probes for measuring delta between OnDataFinished and OnStopRequest in HttpChannelChild and HTML5Parser. r=jesup,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D204057
2024-03-28 09:37:25 +00:00
Sandor Molnar
4c157ddd96
Backed out changeset 72d4f33ccc36 (bug 1884208) for causing assertion failures @ parser/html/nsHtml5StreamParser.cpp
2024-03-19 16:35:37 +02:00
sunil mayya
07d6103f7d
Bug 1884208 - Remove negative probes for measuring delta between OnDataFinished and OnStopRequest in HttpChannelChild and HTML5Parser. r=jesup,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D204057
2024-03-19 12:41:10 +00:00
Emilio Cobos Álvarez
5b62de6483
Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin
...
In bug 1883435 comment 2 chutten mentions that including
nsGlobalWindowInner.h from GleanMetrics.h causes a stylo build failure.
This is because nsGlobalWindowInner.h itself brings a bunch of DOM
bindings template soup that bindgen isn't great at dealing with.
That can be fixed in various ways. However, there is a simpler fix,
which is not including GleanMetrics at all.
It's trivial to do, and given it's a massive autogenerated file, and
Document.h is a very common header, it's worth doing this if only for
build times.
Fix a bunch of unused includes while at it.
Differential Revision: https://phabricator.services.mozilla.com/D203625
2024-03-05 17:54:14 +00:00
Adam Vandolder
b9bbd3c2cc
Bug 1712140 - Part 3: Add support for parsing and building Declarative ShadowDOMs. r=dom-core,webidl,saschanaz,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D193675
2023-12-07 21:27:10 +00:00
Iulian Moraru
8d186a8450
Backed out 6 changesets (bug 1712140) for causing sanitizer failures on nsHtml5TreeBuilder.cpp. CLOSED TREE
...
Backed out changeset b374469160e9 (bug 1712140)
Backed out changeset dfc44cccff32 (bug 1712140)
Backed out changeset 3a35e1401130 (bug 1712140)
Backed out changeset a93481858c38 (bug 1712140)
Backed out changeset a861fd445f56 (bug 1712140)
Backed out changeset dc1dc389f2dc (bug 1712140)
2023-12-07 08:16:23 +02:00
Adam Vandolder
0956658e5f
Bug 1712140 - Part 3: Add support for parsing and building Declarative ShadowDOMs. r=dom-core,webidl,saschanaz,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D193675
2023-12-06 22:50:49 +00:00
Stanca Serban
34d35a19ee
Backed out 6 changesets (bug 1712140) for causing Linux related wpt failures in nsHtml5TreeBuilder.cpp. CLOSED TREE
...
Backed out changeset 3d799b386f3e (bug 1712140)
Backed out changeset 2ed53d545d6d (bug 1712140)
Backed out changeset 6f50077df42a (bug 1712140)
Backed out changeset e7c5449482f9 (bug 1712140)
Backed out changeset 5490dad148ef (bug 1712140)
Backed out changeset 50828058065e (bug 1712140)
2023-12-06 00:18:38 +02:00
Adam Vandolder
d4c62c3dcb
Bug 1712140 - Part 3: Add support for parsing and building Declarative ShadowDOMs. r=dom-core,webidl,saschanaz,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D193675
2023-12-05 18:18:16 +00:00
Iulian Moraru
80baabd575
Backed out 6 changesets (bug 1712140) for causing wpt failures on declarative-shadow-dom-opt-in.html.
...
Backed out changeset 78e3a33470ae (bug 1712140)
Backed out changeset 8601fce480ef (bug 1712140)
Backed out changeset 4d2749962c5f (bug 1712140)
Backed out changeset b65511d17150 (bug 1712140)
Backed out changeset 8ae1f766f1f9 (bug 1712140)
Backed out changeset 4ffe7a6ad366 (bug 1712140)
2023-12-04 22:30:04 +02:00
Adam Vandolder
773870d396
Bug 1712140 - Part 3: Add support for parsing and building Declarative ShadowDOMs. r=dom-core,webidl,saschanaz,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D193675
2023-12-04 17:35:49 +00:00
Stanca Serban
3fa8347485
Backed out 6 changesets (bug 1712140) for causing wpt failures in declarative-shadow-dom-opt-in.html.
...
Backed out changeset 554a46ed8046 (bug 1712140)
Backed out changeset 14ebbfca2e84 (bug 1712140)
Backed out changeset 98dd5766dd46 (bug 1712140)
Backed out changeset 4241a7241a9b (bug 1712140)
Backed out changeset 59ee434d503e (bug 1712140)
Backed out changeset ff3bb42f91d1 (bug 1712140)
2023-12-01 03:26:27 +02:00
Adam Vandolder
f03d7c3ce0
Bug 1712140 - Part 3: Add support for parsing and building Declarative ShadowDOMs. r=dom-core,webidl,saschanaz,hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D193675
2023-11-30 23:17:15 +00:00
Randell Jesup
93e389239b
Bug 1864045: Fix merge error for OnDataFinished in HTML5Parser r=edgul
...
Differential Revision: https://phabricator.services.mozilla.com/D193236
2023-11-09 21:26:40 +00:00
Randell Jesup
9199305a1d
Bug 1857615: Add Telemetry for OnStopRequest/OnDataFinished/etc r=necko-reviewers,kershaw
...
Also add OnStartRequest telemetry back
Differential Revision: https://phabricator.services.mozilla.com/D190470
2023-10-30 03:03:42 +00:00
Iulian Moraru
18a52d7226
Backed out 2 changesets (bug 1857615, bug 1857926) for causing build bustages on HttpChannelChild.cpp. CLOSED TREE
...
Backed out changeset b29044126de6 (bug 1857615)
Backed out changeset 8dcb0b3fc1f3 (bug 1857926)
2023-10-28 09:39:18 +03:00
Randell Jesup
c0d4c5df08
Bug 1857615: Add Telemetry for OnStopRequest/OnDataFinished/etc r=necko-reviewers,kershaw
...
Also add OnStartRequest telemetry back
Differential Revision: https://phabricator.services.mozilla.com/D190470
2023-10-28 06:03:48 +00:00
sunil mayya
8577e7a509
Bug 1851992 - send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D188757
2023-10-27 13:30:12 +00:00
edgul
0d6298ad5c
Bug 1851992 - moving html5 stream parser's OnStopRequest off main thread. r=necko-reviewers,edgul,jesup,valentin,hsivonen
...
Depends on D187668
Differential Revision: https://phabricator.services.mozilla.com/D187689
2023-10-27 13:30:11 +00:00
Narcis Beleuzu
a71d185ff5
Backed out 6 changesets (bug 1851992) for DT failure on browser_net_image_cache.js . CLOSED TREE
...
Backed out changeset 3ceaf46f8f55 (bug 1851992)
Backed out changeset c9d322362e22 (bug 1851992)
Backed out changeset 673df3f83249 (bug 1851992)
Backed out changeset 46e18c56dd39 (bug 1851992)
Backed out changeset f9f9143ac713 (bug 1851992)
Backed out changeset 38c40d735ab7 (bug 1851992)
2023-10-24 13:16:40 +03:00
sunil mayya
9695723af2
Bug 1851992 - send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D188757
2023-10-24 01:48:10 +00:00
edgul
f406c34104
Bug 1851992 - moving html5 stream parser's OnStopRequest off main thread. r=necko-reviewers,edgul,jesup,valentin,hsivonen
...
Depends on D187668
Differential Revision: https://phabricator.services.mozilla.com/D187689
2023-10-24 01:48:09 +00:00
Cristina Horotan
c792918ab6
Backed out 5 changesets (bug 1851992) for causing multiple failures
...
Backed out changeset d28399b3d947 (bug 1851992)
Backed out changeset 95e4df69007a (bug 1851992)
Backed out changeset fa61d4e76827 (bug 1851992)
Backed out changeset 79969d9eb5cd (bug 1851992)
Backed out changeset 03c17255f1af (bug 1851992)
2023-10-17 14:48:23 +03:00
sunil mayya
66ba1633d9
Bug 1851992 - send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D188757
2023-10-17 08:27:49 +00:00
edgul
e62b3e1faa
Bug 1851992 - moving html5 stream parser's OnStopRequest off main thread. r=necko-reviewers,edgul,jesup,valentin,hsivonen
...
Depends on D187668
Differential Revision: https://phabricator.services.mozilla.com/D187689
2023-10-17 08:27:48 +00:00
Emilio Cobos Álvarez
d02e297b2d
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
Henri Sivonen
5d0c7d7cd6
Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-09-15 07:53:16 +00:00
Norisz Fay
98abe042d7
Backed out changeset 4a4d5e64aec5 (bug 1846178) for causing mochitest failures on test_script_loader_js_cache.html/cache_module.html CLOSED TREE
2023-08-23 11:19:39 +03:00
Henri Sivonen
f77548b084
Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-08-23 07:11:47 +00:00
Florian Quèze
de6cef3975
Bug 1836191 - remove PerformanceCounter that was only used by ChromeUtils.requestPerformanceMetrics, r=smaug.
...
Differential Revision: https://phabricator.services.mozilla.com/D179697
2023-06-08 21:53:18 +00:00
Andi-Bogdan Postelnicu
18e90b4312
Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-27 07:20:25 +00:00
Sandor Molnar
a21465caf7
Backed out 2 changesets (bug 1276351) for causing build bustage in image/ClippedImage.cp CLOSED TREE
...
Backed out changeset e84598eb82c1 (bug 1276351)
Backed out changeset e940b0554484 (bug 1276351)
2023-03-25 14:16:43 +02:00
Andi-Bogdan Postelnicu
a53c65154f
Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-25 06:58:52 +00:00
Iulian Moraru
55a9a03f95
Backed out 2 changesets (bug 1276351) for causing multiple failures.
...
Backed out changeset eeaf4f1e06af (bug 1276351)
Backed out changeset d44cb5704342 (bug 1276351)
2023-03-25 00:08:24 +02:00
Andi-Bogdan Postelnicu
75ea04501c
Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-24 18:55:39 +00:00
Henri Sivonen
91301501de
Bug 1552008 - Track column number in the HTML. r=smaug,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D170579
2023-03-16 16:44:17 +00:00
Marian-Vasile Laza
a7fdd5e521
Backed out changeset 1b5481ac73dc (bug 1552008) for mochitest failures on test_bug672453.html. CLOSED TREE
2023-03-08 19:25:26 +02:00
Henri Sivonen
d88d111193
Bug 1552008 - Track column number in the HTML. r=smaug,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D170579
2023-03-08 15:32:52 +00:00
Henri Sivonen
9b7bef9569
Bug 1810896 - Adjust assertion to account for ISO-2022-JP at the start but UTF-8 at the end of HTML file. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D170928
2023-02-27 07:51:13 +00:00
Henri Sivonen
7477d05323
Bug 1801862 - Remove the pref to run the HTML parser on the main thread. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D162723
2022-12-14 11:58:02 +00:00
Olli Pettay
93347899b6
Bug 1800381 - Consider to use higher priority tasks for parser's load flusher, r=hsivonen
...
Depends on D161955
Differential Revision: https://phabricator.services.mozilla.com/D161960
2022-11-16 09:23:28 +00:00
Fabrice Desré
e29be44cb7
Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel
fc724b92fc
Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD
2022-08-03 18:55:00 +03:00
Andreea Pavel
eda47f3911
Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Andreea Pavel
c2e97d2e06
Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE
2022-08-02 04:59:08 +03:00
Fabrice Desré
d2d02e8493
Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Henri Sivonen
d913c63d78
Bug 1763076 - Avoid OOM crashes when there's a massive number of tree operations. r=edgar
...
(No test case, because testing unsuited for CI both in terms of space and time.)
Differential Revision: https://phabricator.services.mozilla.com/D143591
2022-04-27 07:24:34 +00:00
Molnar Sandor
fc629f63f4
Backed out changeset aa30bc1b369b (bug 1763076) for causing assertion failure in parser/html/nsHtml5TreeOpExecutor.cpp CLOSED TREE
2022-04-19 14:41:03 +03:00
Henri Sivonen
68cac12581
Bug 1763076 - Avoid OOM crashes when there's a massive number of tree operations. r=edgar
...
(No test case, because testing unsuited for CI both in terms of space and time.)
Differential Revision: https://phabricator.services.mozilla.com/D143591
2022-04-19 10:19:35 +00:00