Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81ff731cd920538a22ce601def50f29f404eb5b3
      
https://github.com/WebKit/WebKit/commit/81ff731cd920538a22ce601def50f29f404eb5b3
  Author: Shu-yu Guo <[email protected]>
  Date:   2025-10-02 (Thu, 02 Oct 2025)

  Changed paths:
    A JSTests/wasm/stress/large-string-constants.js
    M Source/JavaScriptCore/wasm/WasmLimits.h
    M Source/JavaScriptCore/wasm/WasmParser.h

  Log Message:
  -----------
  [JSC] Remove Wasm string size limit

https://bugs.webkit.org/show_bug.cgi?id=299393
rdar://161683389

Reviewed by Yusuke Suzuki.

Wasm limits were copied from V8 in 2017 for compat. The string size limit seems
to have never been used in V8, and now we _are_ running into compat problems
with V8, so we should remove it.

Test: JSTests/wasm/stress/large-string-constants.js

* JSTests/wasm/stress/large-string-constants.js: Added.
(from.string_appeared_here.import.as.assert.from.string_appeared_here.generateRandomAlphanumericString):
(async test):
* Source/JavaScriptCore/wasm/WasmLimits.h:
* Source/JavaScriptCore/wasm/WasmParser.h:
(JSC::Wasm::ParserBase::consumeUTF8String):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to