[Webkit-unassigned] [Bug 274224] REGRESSION (276904 at main): Breaks https://www.tax.ny.gov/online/.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 15 14:01:47 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=274224

--- Comment #5 from Mark Lam <mark.lam at apple.com> ---
Honestly, I'm not sure if this is actually a bug in this PR.  From my debugging, if I make the getter not prepend "get " to its name, the issue stops reproducing.  Meanwhile, Chrome and Firefox all do not implement the spec in https://tc39.es/ecma262/#sec-function.prototype.tostring, and hence, do appear to hit this issue.  For example, on Firefox,
```
String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__proto__, "caller").get)
```
... yields:
```
"function caller() {
    [native code]
}"
```

Maybe someone needs to tell https://www.tax.ny.gov/online to fix their site, or we need more consensus support from Chrome and Firefox in order to land this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240515/52016666/attachment.htm>


More information about the webkit-unassigned mailing list