WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
156778
WebIDL: [StrictTypeChecking] should be the default behavior
https://bugs.webkit.org/show_bug.cgi?id=156778
Summary
WebIDL: [StrictTypeChecking] should be the default behavior
Chris Dumez
Reported
2016-04-19 19:27:30 PDT
We currently have to explicitly use [StrictTypeChecking] in order to get standard behavior. Of course, every one forget. We need to flip it so [StrictTypeChecking] becomes the default and we can use a [LegacyTreatWrongTypeAsNull] attribute for existing IDL code. Relevant spec:
http://heycam.github.io/webidl/#es-interface
http://heycam.github.io/webidl/#es-nullable-type
Attachments
WIP patch
(28.28 KB, patch)
2016-04-19 20:18 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-04-19 20:18:52 PDT
Created
attachment 276796
[details]
WIP patch
Chris Dumez
Comment 2
2016-04-19 20:21:39 PDT
Comment on
attachment 276796
[details]
WIP patch Wrong bug
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