WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
123416
Dictionary bindings should check for Date and RegExp objects
https://bugs.webkit.org/show_bug.cgi?id=123416
Summary
Dictionary bindings should check for Date and RegExp objects
Alexey Proskuryakov
Reported
2013-10-28 13:38:59 PDT
From WebIDL paragraph 4.2.20 Dictionary types: 2. If V is a native Date object or a native RegExp object, then throw a TypeError. We don't have this check. I don't know what the rationale behind this requirement was.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-03 04:52:58 PDT
ap@webkit.org
- Is something needed here? If I am understanding right, "RegEx" special casing were removed later on?
Bug 164410
Alexey Proskuryakov
Comment 2
2022-09-04 13:24:03 PDT
The spec at the time of filing the bug is at
https://github.com/whatwg/webidl/blob/ff92fdfb5c44c6a18347c8c9f2df3e87c74efabc/Overview.html
The latest spec doesn't contain "RegEx" or "Date" at all, so I suppose that there is nothing to do here. But I haven't been following any of this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug