This is causing really bizarre failures: https://bugs.webkit.org/show_bug.cgi?id=69038
Craziness
Created attachment 109123 [details] the patch
All tests pass.
The patch looks okay, but wouldn't it be possible to write a test for this? Say, call a function many times with a boolean, then throw an object at it? Probably should be r- for lack of layout test.
(In reply to comment #4) > The patch looks okay, but wouldn't it be possible to write a test for this? > Say, call a function many times with a boolean, then throw an object at it? > Probably should be r- for lack of layout test. This already has test coverage; it makes fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml fail. But sure, it would be easy to write a test. I'll do it after getting some sleep.
Created attachment 109128 [details] the patch, with test
Comment on attachment 109128 [details] the patch, with test Yay!
Landed in r96306.