Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 8f53f6eb5e050100759049c533706aa62cae7951
https://github.com/WebKit/WebKit/commit/8f53f6eb5e050100759049c533706aa62cae7951
Author: Devin Rousso <[email protected]>
Date: 2025-11-19 (Wed, 19 Nov 2025)
Changed paths:
M Source/WebInspectorUI/UserInterface/Models/Recording.js
M Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js
Log Message:
-----------
Cherry-pick 303229@main (9b02b96117db).
https://bugs.webkit.org/show_bug.cgi?id=302234
Web Inspector: Uncaught Exception: TypeError: snapshot.element.toDataURL is
not a function. (In 'snapshot.element.toDataURL()',
'snapshot.element.toDataURL' is undefined)
https://bugs.webkit.org/show_bug.cgi?id=302234
Reviewed by BJ Burg.
`OffscreenCanvas` doesn't have a `toDataURL` method (nor does it have a
`toBlob`, though there is a close-but-not-identical `convertToBlob`).
Additionally, in order to preview the `OffscreenCanvas` we need to either
transfer to an `ImageBitmap` (which means we can't reuse the state of the
`OffscreenCanvas` later on) or have it be created from a `<canvas>` (which
already works).
* Source/WebInspectorUI/UserInterface/Models/Recording.js:
(WI.Recording.prototype.createContext.createCanvasContext):
(WI.Recording.prototype.createContext.createOffscreenCanvasContext):
(WI.Recording.prototype.async _process):
* Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js:
(WI.RecordingContentView.prototype._generateContentCanvas2D):
Canonical link: https://commits.webkit.org/303229@main
Canonical link: https://commits.webkit.org/298234.292@webkitglib/2.50
Commit: 69c02226376bb0676df0358f214c105936f4e5e2
https://github.com/WebKit/WebKit/commit/69c02226376bb0676df0358f214c105936f4e5e2
Author: Dan Hecht <[email protected]>
Date: 2025-11-19 (Wed, 19 Nov 2025)
Changed paths:
A JSTests/wasm/stress/catch-nested-expr-stack-and-locals.js
A JSTests/wasm/stress/catch-nested-rethrow.js
M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
Log Message:
-----------
Cherry-pick 302967@main (9b2df38070c9).
https://bugs.webkit.org/show_bug.cgi?id=300395
[JSC] Wasm: Fix OMG exceptions with nested catch
https://bugs.webkit.org/show_bug.cgi?id=300395
rdar://162211758
Reviewed by Yusuke Suzuki.
OMGIRGenerator::emitCatchImpl consumes the scratch buffer produced by
the stack map generated by OMGIRGenerator::preparePatchpointForExceptions
which has the catch exception after the expressions of a Catch block.
However, when Options::useWasmIPInt()==true, connectControlAtEntrypoint()
does not load the exception value.
Added new tests to verify nested catch rethrow exception and
expression slots (and locals) are restored correctly when entering an
inner catch handler, as well verify that this state remains correct
for the OSR loop case.
* JSTests/wasm/stress/catch-nested-expr-stack-and-locals.js: Added.
(async testExpressionStack):
(async testExpressionStackWithOSR):
* JSTests/wasm/stress/catch-nested-rethrow.js: Added.
(async testBasic):
(async testWithOSR):
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::OMGIRGenerator::connectControlAtEntrypoint):
(JSC::Wasm::OMGIRGenerator::addLoop):
(JSC::Wasm::OMGIRGenerator::emitCatchImpl):
(JSC::Wasm::OMGIRGenerator::emitCatchTableImpl):
Originally-landed-as: 297297.521@safari-7622-branch (6f9b4a803bef).
rdar://164211289
Canonical link: https://commits.webkit.org/302967@main
Canonical link: https://commits.webkit.org/298234.293@webkitglib/2.50
Compare: https://github.com/WebKit/WebKit/compare/6cc6dcb28045...69c02226376b
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications