Bug 156778

Summary: WebIDL: [StrictTypeChecking] should be the default behavior
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: darin, sam, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=156961
Bug Depends on: 157321, 157467    
Bug Blocks:    
Attachments:
Description Flags
WIP patch none

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
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.