Summary: | WebCore::Range's setStart() and setEnd() should be called with exception code variable | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sean Wang <xuewen.ok> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | rniwa, tonikitoo | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | Other | ||||||
Attachments: |
|
Description
Sean Wang
2012-02-08 18:29:36 PST
Created attachment 126225 [details]
Patch
Comment on attachment 126225 [details]
Patch
This change doesn't make sense to me. The whole reason for having a default argument is to not pass an argument explicitly.
Why is passing it explicitly needed in this particular case? Bug description says that an assertion is triggered, but ChangeLog says that no logic is changed. Does this fix an assertion failure or not? If there is an assertion sometimes, what test case triggers it?
Sorry, I misunderstood the macro ASSERT_NO_EXCEPTION. So close this bug. |