Moonchild
f1f9dde29e
Issue #2405 - Add a pref to disable CSP reporting.
...
Resolves #2405
2023-12-21 10:15:17 +08:00
roytam1
5a362aa15b
Merge remote-tracking branch 'origin/tracking' into custom
2023-12-15 10:29:04 +08:00
Moonchild
eba87b03fd
[DOM] Fix double-free crash in MessagePort.cpp
2023-12-15 09:07:10 +08:00
roytam1
774822105f
Merge remote-tracking branch 'origin/tracking' into custom
2023-12-06 15:14:19 +08:00
Moonchild
dc253ce953
Issue #2362 - Fix click handling according to the spec.
...
This removes some hackery surrounding preventing content clicks, and in
general handles auxclick as it should, firing that event on secondary
buttons (wheel/right on default setup for right-handed mouse).
2023-12-06 14:50:08 +08:00
roytam1
c889903081
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-30 10:05:11 +08:00
Moonchild
73bf6f95f8
Revert "No issue - Stop supporting data: scheme in SVG <use> elements."
...
This reverts commit 7e60482d8090a43e00957f3d6fc87f31d7ea65a1.
Of course it's not that simple. In Mozilla land they are also running
into issues but of a different variety and it was backed out there also.
2023-11-30 10:04:21 +08:00
trav90
6807675123
Issue #2393 - Part 4 - Reduce VideoQueue size for GPU based images
2023-11-30 09:53:36 +08:00
trav90
b09b3771c6
Issue #2393 - Part 3 - Remove extra copy of YUV buffer on Windows
2023-11-30 09:53:08 +08:00
Brian Smith
3e9fd21a38
Issue #2387 - Remove a missed AddRef() which could cause leaks. Update comments explaining how the reference counting works.
2023-11-30 09:52:07 +08:00
Brian Smith
eef37b2cd5
Issue #2387 - Collection of fixes related to a crash while canceling a dynamic import. Add AddRef/Release hooks for embedding's script or module private value and set this script source object where appropriate. https://bugzilla.mozilla.org/show_bug.cgi?id=1519140 Partial, no Value passing changes. Clear the list of dynamic import requests after cancelling them in ScriptLoader::ParsingComplete as we do for other requests. https://bugzilla.mozilla.org/show_bug.cgi?id=1291535 ScriptLoader::OnStreamComplete never returns a failure. https://bugzilla.mozilla.org/show_bug.cgi?id=1627275 Also cancel the correct kind of parser for Modules.
2023-11-30 09:51:50 +08:00
roytam1
b47d46219f
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-24 17:07:26 +08:00
Moonchild
114daae894
[DOM] Improve MessagePort state machine.
2023-11-24 17:05:57 +08:00
Moonchild
71ce058b03
[DOM] Check if rootDoc is secure context for web compat
2023-11-24 17:04:52 +08:00
Moonchild
acd204e85e
[WebGL] Turn on more validation/error checking in webgl (when not on Win)
2023-11-24 17:04:07 +08:00
Moonchild
e0a7c35dcc
Issue #2361 - Remove clipboard-read code
...
Web content should never read the clipboard; extensions have other APIs
they can use through XPCOM so do not need to go through
Navigator.Clipboard, removing the only reason why it would even be here.
2023-11-24 17:02:32 +08:00
Moonchild
3478c01fc8
Issue #2361 - Base implementation of Navigator.Clipboard
...
This hard-refuses any reads from clipboard with a promise rejection.
2023-11-24 17:01:55 +08:00
roytam1
a1608dd4c7
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-18 07:08:31 +08:00
Moonchild
b004af07d0
Revert "No Issue - add mutex in EventSource"
...
This reverts commit e4643f5bed2cdc600fc29900fe3b4d22e25763bc.
Apparently causes deadlocks in Linux.
2023-11-16 10:21:01 +08:00
roytam1
5f85f202a4
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-14 15:35:06 +08:00
Moonchild
b19fe58909
No issue - Stop supporting data: scheme in SVG <use> elements.
2023-11-14 15:34:40 +08:00
roytam1
dd337fad41
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-10 15:33:35 +08:00
Moonchild
6c37943e1c
No Issue - add mutex in EventSource
...
Potentially avoids a gc crash when load is high.
2023-11-10 15:33:13 +08:00
Basilisk-Dev
ae5bfc9ff2
No Issue - StructuredClone serialize and deserialize should treat back reference consistently
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1538622
2023-11-10 15:31:51 +08:00
roytam1
f08dd1422d
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-04 11:42:50 +08:00
Moonchild
8d42309580
[DOM] For now, use C++11 static_asserts only.
...
Single-param static_assert is C++17 or later.
Follow-up to 3d92b8212595769c40da7ccfbafb3898cfaaf7bd
2023-11-04 11:39:19 +08:00
roytam1
db8e04921c
dom/media: follow-up rev eb44f633, add reference symbol `&' to prevent unneeded AddRef()ing
...
mozilla wrote in same style in bd2c9f62b3/dom/locks/LockManagerParent.cpp (L49)
2023-10-26 22:41:34 +08:00
roytam1
941902c878
Crypto: follow-up rev 9e6a0c08, don't use c++17 feature here.
2023-10-26 11:49:47 +08:00
roytam1
bac9ec9a84
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-26 10:55:31 +08:00
Basilisk-Dev
9e6a0c089f
No Issue - Implement crypto.randomUUID
...
We already have code in the platform to generate random UUIDs. This simply exposes that functionality via the crypto.UUID function
2023-10-26 10:55:10 +08:00
Moonchild
aae5866390
[DOM] Drop mWrappedRunnable early in workers.
...
This should prevent some intermittent crashes.
2023-10-26 10:53:41 +08:00
Moonchild
e4d635f889
[WebGL] Add preffed limit to WebGL vertCount
...
Defaults to 30M, working around driver bugs (looking at you, Mesa)
2023-10-26 10:53:11 +08:00
Moonchild
fe37319996
[DOM] Ignore status 206 and vary header checking for opaque responses in the Cache API.
2023-10-26 10:51:17 +08:00
Moonchild
eb44f633ee
[media] Use RefPtr<TrackBuffersManager> instead of raw pointers
2023-10-26 10:50:47 +08:00
Jeremy Andrews
490df49307
Issue #2357 - WebM w/alpha renders black if WMF decoder is enabled.
...
Mozilla forgot to force use of VPXDecoder on Windows in their initial implementation, this is pretty much what they did for Android as well. Straight port of the Firefox 67 fix.
Ref: BZ 1528652
2023-10-26 10:50:02 +08:00
Jeremy Andrews
c0ba3a8d2e
Issue #2357 - VPXDecoder does not decode alpha frames.
...
Another requirement to have transparency in videos. Straight port of Firefox 53 implementation, save for some oddities relating to needing to put uint8_t instead of uint8 in yuv_convert to get this to compile.
Ref: BZ 1321076, 1329104
2023-10-26 10:49:23 +08:00
Jeremy Andrews
71cc0ef940
Issue #2357 - WebM demuxer can't tell when a video wants to be transparent.
...
Required to have an alpha channel (which in the strange world of graphics seems to refer to transparency, and not experimental code) in WebM videos. Straight port of Firefox 53 implementation, adapted slightly for a couple of patches previously taken without this.
Ref: BZ 1320829
2023-10-26 10:49:04 +08:00
Basilisk-Dev
ef54fc458c
PR #2356 - Treat all GLSL versions >=450 as 450
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1446548
2023-10-25 09:59:41 +08:00
roytam1
e7c5600d7d
ported from mozilla: Bug 1538622 - StructuredClone serialize and deserialize should treat back reference consistently r=jorendorff (aca6f427e0)
2023-10-23 07:10:46 +08:00
roytam1
8183d7b70c
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-21 11:53:44 +08:00
roytam1
ce8751185f
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-21 11:22:34 +08:00
Brian Smith
bb656856b6
Issue #2282 - Part 2 - Re-add some timer clamping that got clobber erroneously.
2023-10-21 11:04:56 +08:00
Brian Smith
373fb9ae07
Issue #2282 - Align the Performance Observer navigation and resource with the spec. This now passes the conformance tests. https://bugzilla.mozilla.org/show_bug.cgi?id=1425458 Resource timing entries Workers - part 2 - PerformanceTimingData. https://bugzilla.mozilla.org/show_bug.cgi?id=1462605 PerformanceNavigationTiming.name must be the value of the address of the current document. https://bugzilla.mozilla.org/show_bug.cgi?id=1462883 Update PerformanceTimingData::mReportCrossOriginRedirect in SetPropertiesFromHttpChannel. https://bugzilla.mozilla.org/show_bug.cgi?id=1462879 PerformanceNavigationTiming must be notified correctly - part 1 - notify.
2023-10-21 11:04:41 +08:00
Basilisk-Dev
9f63203a43
Issue #2332 - Hyphenate rtc stats type as per spec
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1322503
2023-10-21 11:03:07 +08:00
roytam1
ecd3cd8676
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-18 11:48:06 +08:00
Moonchild
50ad087351
Issue #1721 - Implement GlobalPrivacyControl
...
(and get rid of failed DoNotTrack)
2023-10-18 10:17:23 +08:00
roytam1
ca9d8d3960
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-18 10:03:32 +08:00
Brian Smith
46024cd872
Issue #1442 Follow-up: Stop pretending proxies have a JSNative call/construct hook. https://bugzilla.mozilla.org/show_bug.cgi?id=1471924 Part 1 Also remove an erroneous debug assert and guard against future issues. This fixes crashes on vk.com but still does not behave correctly.
2023-10-18 09:48:01 +08:00
roytam1
dabe363572
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-16 09:33:55 +08:00
Moonchild
4ec7fa4f5f
Clean up dom\webidl
...
Fix CRLF line endings in some files.
2023-10-16 09:33:24 +08:00