Enable strict type checking for operations' nullable parameters of wrapper types to comply with the Web IDL specification: - http://heycam.github.io/webidl/#es-nullable-type - http://heycam.github.io/webidl/#es-interface For such parameters, if the JS passes a value that is not null / undefined and does not have the expected wrapper type, then we now throw a TypeError instead of silently converting the value to null. This behavior is consistent with Chrome and Firefox. It also helps identify bugs in JavaScript code.
Created attachment 284932 [details] Patch
Comment on attachment 284932 [details] Patch r=me
Comment on attachment 284932 [details] Patch Clearing flags on attachment: 284932 Committed r203941: <http://trac.webkit.org/changeset/203941>
All reviewed patches have been landed. Closing bug.
<rdar://problem/30637643>