Bug 44480 - Add test for a NodeFilter throwing
Summary: Add test for a NodeFilter throwing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 18:50 PDT by Simon Fraser (smfr)
Modified: 2010-08-24 13:23 PDT (History)
0 users

See Also:


Attachments
Patch (3.14 KB, patch)
2010-08-23 18:51 PDT, Simon Fraser (smfr)
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2010-08-23 18:50:33 PDT
The TreeWalker DOM spec says that an exception thrown inside the NodeFilter should propagate out to the caller. We should add a test for this.
Comment 1 Simon Fraser (smfr) 2010-08-23 18:51:36 PDT
Created attachment 65200 [details]
Patch
Comment 2 Sam Weinig 2010-08-24 10:50:10 PDT
Comment on attachment 65200 [details]
Patch

r=me, you could also test the raw function case for completeness.
Comment 3 Simon Fraser (smfr) 2010-08-24 13:23:10 PDT
http://trac.webkit.org/changeset/65928