| Summary: | Regression(r179166): Crash when accessing document.dir on a document with no elements | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||||
| Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, commit-queue, esprehn+autocc, gyuyoung.kim, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 140922 | ||||||||
| Attachments: |
|
||||||||
|
Description
Sam Weinig
2015-02-11 10:42:26 PST
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. 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. Committed r179971: <http://trac.webkit.org/changeset/179971> |