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
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
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
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
Moonchild
b19fe58909
No issue - Stop supporting data: scheme in SVG <use> elements.
2023-11-14 15:34:40 +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
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
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
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
Moonchild
50ad087351
Issue #1721 - Implement GlobalPrivacyControl
...
(and get rid of failed DoNotTrack)
2023-10-18 10:17:23 +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
Moonchild
4ec7fa4f5f
Clean up dom\webidl
...
Fix CRLF line endings in some files.
2023-10-16 09:33:24 +08:00
Moonchild
9cd7fd3bf4
Issue #2340 - Return an array (actually frozen sequence) for {border|content}BoxSize
...
Resolves #2340
2023-10-16 09:31:05 +08:00
Basilisk-Dev
348f761a9b
Issue #2332 - Fix CamerasChild helper to return by value instead of out-of-scope reference
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1318132
2023-10-11 11:55:16 +08:00
Basilisk-Dev
763cdb00cb
Issue #2332 - Update most tests to skip RTCSessionDescription construction
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 6
2023-10-11 11:54:56 +08:00
Basilisk-Dev
f615587ab7
Issue #2332 - Update most tests to skip RTCIceCandidate construction
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 5
2023-10-11 11:54:40 +08:00
Basilisk-Dev
a1c22cb034
Issue #2332 - Have createOffer/Answer resolve with dictionaries
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 4
2023-10-11 11:54:20 +08:00
Basilisk-Dev
6b713575c9
Issue #2332 - Have set(Local|Remote)Description take dictionaries
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 3
2023-10-11 11:53:59 +08:00
Basilisk-Dev
80a3c49ba2
Issue #2332 - Have addIceCandidate take a dictionary
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 2
2023-10-11 11:53:31 +08:00
Basilisk-Dev
ddf29677d9
Issue #2332 - Update RTCIceCandidate to spec
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 - part 1
2023-10-11 11:53:15 +08:00
Basilisk-Dev
f2dbc4c6ce
Issue #2332 - Add deprecation warnings to writable RTCSessionDescription
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1313966
2023-10-11 11:52:59 +08:00
Basilisk-Dev
a87f8cc7f7
Issue #2332 - Use the same path for passing on missed data to video sink, as during normal operation
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 2
2023-10-11 11:52:42 +08:00
Basilisk-Dev
1ed778419f
Issue #2332 - Refactor code that feeds video stream sink when it gets added
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 1
2023-10-11 11:52:00 +08:00
Moonchild
cdb890bdc3
[DOM] Fix deprot in PerformanceMark.cpp
2023-10-06 09:15:14 +08:00
Basilisk-Dev
7528b07555
Issue #2332 - Remove unimplemented and non-spec getStreamById from RTCPeerConnection
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1318163
2023-10-06 09:14:48 +08:00
Basilisk-Dev
6fdb3ac961
No Issue - Remove deprecation errors for obsolete RTCOfferOptions
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1197021
2023-10-05 10:30:23 +08:00
Brian Smith
f21cc50c03
Issue #1442 - Part 26 - FetchStreamReader needs to cancel its reader when it encounters write errors. https://bugzilla.mozilla.org/show_bug.cgi?id=1416879 Part 5 Also same fix as in Part 24 for FetchStream but in FetchStreamReader.
2023-10-04 10:05:30 +08:00
Brian Smith
04c9d661fa
Issue #1442 - Part 25b - Second try that hopefully doesn't break Windows.
2023-10-04 10:05:07 +08:00
Brian Smith
52572d5755
Issue #1442 - Part 25 - Fix bustage on X11 platforms.
2023-10-04 10:04:45 +08:00
Brian Smith
f3991f9821
Issue #1442 - Part 24 - Prevent FetchStream from incorrectly running on the main thread. This prevents a deadlock and JSContext related crashes, however this should eventually be replaced by an EventTargetFor() call when the Dispatcher API is implemented. Also now that ReadableStream appears stable, toggle the preferences true by default.
2023-10-04 10:04:23 +08:00
Brian Smith
836d36dc6d
Issue #1442 - Part 23 - Align FetchStream with Firefox 68ESR. https://bugzilla.mozilla.org/show_bug.cgi?id=1612308 https://bugzilla.mozilla.org/show_bug.cgi?id=1445587 Partial part 2 implementing synchronization changes.
2023-10-04 10:04:05 +08:00