Crash when accessing document.dir on a document with no elements
Created attachment 246397 [details] Test case
Are you going to work on this? Otherwise, I am happy to take it since I caused the regression it seems.
https://bugs.webkit.org/show_bug.cgi?id=140922#c5
Created attachment 246412 [details] Patch
Comment on attachment 246412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246412&action=review r=me % nit, thanks for fixing. > LayoutTests/fast/dom/document-dir-empty-document-crash.html:16 > +shouldBe('doc.dir', '""'); nit: shouldBeEmptyString()
Comment on attachment 246412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246412&action=review > Source/WebCore/ChangeLog:3 > + Crash when accessing document.dir on a document with no elements Outdated bug title.
<rdar://problem/19804351>
Committed r179971: <http://trac.webkit.org/changeset/179971>