Bug 13417 - Repro crash when the first argument to getMatchedCSSRules is not an element
Summary: Repro crash when the first argument to getMatchedCSSRules is not an element
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Major
Assignee: Nobody
URL: javascript:getMatchedCSSRules(null, "...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2007-04-20 04:04 PDT by mitz
Modified: 2007-04-21 01:33 PDT (History)
0 users

See Also:


Attachments
Add null check (2.74 KB, patch)
2007-04-20 04:05 PDT, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-04-20 04:04:17 PDT
To reproduce, open the URL. The release build crashes, the debug build fails the ASSERT in Node::document().
Comment 1 mitz 2007-04-20 04:05:12 PDT
Created attachment 14108 [details]
Add null check

Includes layout test and change log.
Comment 2 Darin Adler 2007-04-20 08:05:38 PDT
Comment on attachment 14108 [details]
Add null check

r=me
Comment 3 Mark Rowe (bdash) 2007-04-21 01:33:41 PDT
Landed in r20993.