Four months back we added NATIVE_TYPE_ERR for IndexedDB, as a way for the DOM 
code to raise JavaScript type error exceptions rather than DOM exceptions 
<http://trac.webkit.org/changeset/123112>. Yesterday we started using 
NATIVE_TYPE_ERR elsewhere in the DOM <http://trac.webkit.org/changeset/134345>.

Looking this over, I see some problems. I added comments to 
https://bugs.webkit.org/show_bug.cgi?id=91679 and 
https://bugs.webkit.org/show_bug.cgi?id=101604 describing the problems.

The new error code is not handled at all in bindings other than the JavaScript 
bindings. I also think the constant for it is not well named.

Using NATIVE_TYPE_ERR in its current state outside IndexedDB causes an 
immediate showstopper bug for Appleā€™s Mac version of WebKit and perhaps for 
others as well. We may want to roll back this recent change until we deal with 
that.

-- Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to