Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b087f504ebc101dc55d6c1d508f52a69227f54da
https://github.com/WebKit/WebKit/commit/b087f504ebc101dc55d6c1d508f52a69227f54da
Author: Daniel Liu <[email protected]>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
A JSTests/stress/private-identifier-syntax-error.js
M Source/JavaScriptCore/parser/Parser.h
Log Message:
-----------
Remove overly restrictive assertion when parsing private identifiers
https://bugs.webkit.org/show_bug.cgi?id=293728
rdar://152632963
Reviewed by Yusuke Suzuki.
When creating a private identifier, we assert that we can create it
in its current environment. However, there are some cases where the
assertion triggers too aggressively. We should remove it, as syntax
checking later will handle incorrect usage of private identifiers.
* JSTests/stress/private-identifier-syntax-error.js: Added.
(catch):
* Source/JavaScriptCore/parser/Parser.h:
(JSC::Scope::usePrivateName):
Canonical link: https://commits.webkit.org/296052@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