[webkit-changes] [WebKit/WebKit] 06f997: Change the value of scriptCodeLimit to placate a s...

Commit Queue noreply at github.com
Thu Nov 10 18:32:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 06f9978e52a8408ed6c2c8296afb1e7449c2f1ee
      https://github.com/WebKit/WebKit/commit/06f9978e52a8408ed6c2c8296afb1e7449c2f1ee
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2022-11-10 (Thu, 10 Nov 2022)

  Changed paths:
    M Source/WTF/wtf/URLHelpers.cpp

  Log Message:
  -----------
  Change the value of scriptCodeLimit to placate a strange Clang quirk.
https://bugs.webkit.org/show_bug.cgi?id=247770
<rdar://problem/102115540>

Reviewed by Alex Christensen.

Some versions of Clang appear to think that scriptCodeLimit should fit in a signed
9-bit integer, which is crazy.  For our purposes, a value of 255 works just as well.
So, we're changing scriptCodeLimit to be 255 instead of 256 to work around this Clang
quirk.

* Source/WTF/wtf/URLHelpers.cpp:

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




More information about the webkit-changes mailing list