[webkit-changes] [WebKit/WebKit] 45b4d8: [JSC] Remove outdated FIXME in JSDOMConvertDate.h
Ian
noreply at github.com
Sun Oct 27 11:43:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 45b4d89d301b0bb5acb5a48c368625b4cd6245ce
https://github.com/WebKit/WebKit/commit/45b4d89d301b0bb5acb5a48c368625b4cd6245ce
Author: Ian Grunert <ian.grunert at gmail.com>
Date: 2024-10-27 (Sun, 27 Oct 2024)
Changed paths:
M Source/WebCore/bindings/js/JSDOMConvertDate.h
Log Message:
-----------
[JSC] Remove outdated FIXME in JSDOMConvertDate.h
https://bugs.webkit.org/show_bug.cgi?id=282067
Reviewed by Geoffrey Garen.
In JSDOMConvertDate there's a fixme that the convert function should be
taking a JSDOMGlobalObject and passing it to jsDate.
This is confusing because it's already taking a JSC::JSGlobalObject&,
and it's unclear why a JSDOMGlobalObject would be better.
The reason for the FIXME appears to be that this function used to accept
a JSC::ExecState& state - but in bug 202392 / commit
https://commits.webkit.org/216662@main we switched away from ExecState.
So it looks like we just forgot to remove the FIXME when we made the
relevant change.
* Source/WebCore/bindings/js/JSDOMConvertDate.h:
Canonical link: https://commits.webkit.org/285746@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