[webkit-changes] [WebKit/WebKit] 78f270: Primitives (number, string, null, etc.) thrown fro...

Yusuke Suzuki noreply at github.com
Tue Sep 10 01:28:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 78f27049a0ff46bbe87c0fe3a74db758eaffa43a
      https://github.com/WebKit/WebKit/commit/78f27049a0ff46bbe87c0fe3a74db758eaffa43a
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    A JSTests/wasm/stress/exception-thrown-from-js-to-wasm-catchall-primitive.js
    M Source/JavaScriptCore/interpreter/Interpreter.cpp

  Log Message:
  -----------
  Primitives (number, string, null, etc.) thrown from JS pass through catch_all in wasm
https://bugs.webkit.org/show_bug.cgi?id=277546
rdar://133534600

Reviewed by Yijia Huang.

Wasm catch_all should accept primitive values. We should mark
m_catchableFromWasm to true when it is not a specific type of error
object.

* JSTests/wasm/stress/exception-thrown-from-js-to-wasm-catchall-primitive.js: Added.
(import.Builder.from.string_appeared_here.import.as.assert.from.string_appeared_here.callback):
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::UnwindFunctor::UnwindFunctor):

Canonical link: https://commits.webkit.org/283404@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list