While looking at the code, I found out that the type of shadowRoot() was not strictly enforced. The API should make it obvious what is expected as an argument. Patch forthcoming.
Created attachment 98281 [details] Proposed change: tighten the types, rename one variable, make a method public as it should.
Comment on attachment 98281 [details] Proposed change: tighten the types, rename one variable, make a method public as it should. Clearing flags on attachment: 98281 Committed r89521: <http://trac.webkit.org/changeset/89521>
All reviewed patches have been landed. Closing bug.