Summary: | ASSERT_NO_EXCEPTION should be initialized with non-zero value. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> | ||||||||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | morrita, shinyak, webkit.review.bot | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Shinya Kawanaka
2012-02-08 18:55:58 PST
Created attachment 126224 [details]
W.I.P.
Created attachment 126229 [details]
W.I.P.
Created attachment 126232 [details]
Patch
Comment on attachment 126232 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126232&action=review Thanks for taking this. Our current version is error prone... > Source/WebCore/dom/ExceptionCodePlaceholder.h:44 > + ExceptionCodePlaceholder() : m_code(defaultExceptionCode) { } Please do this for NoExceptionAssertionChecker to keep ExceptionCodePlacerHolder code-free. (In reply to comment #4) > (From update of attachment 126232 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=126232&action=review > > Thanks for taking this. Our current version is error prone... > > > Source/WebCore/dom/ExceptionCodePlaceholder.h:44 > > + ExceptionCodePlaceholder() : m_code(defaultExceptionCode) { } > > Please do this for NoExceptionAssertionChecker to keep ExceptionCodePlacerHolder code-free. Ya, this code seems wrong, because NoExceptionAssertionChecker initializes ExceptionCode with zero. We should change this value... Let me try again. I was feeling weird that no error was found by this change... Created attachment 126235 [details]
Patch
Comment on attachment 126235 [details] Patch Clearing flags on attachment: 126235 Committed r107208: <http://trac.webkit.org/changeset/107208> All reviewed patches have been landed. Closing bug. |