Bug 92458

Summary: Page object should ascertain EditorClient to be non-null
Product: WebKit Reporter: Vivek Galatage <vivekgalatage>
Component: New BugsAssignee: Vivek Galatage <vivekgalatage>
Severity: Normal CC: rniwa, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 90675    
Description Flags
Patch none

Description Vivek Galatage 2012-07-26 22:28:27 PDT
Adding NULL checks for editor client within Page object
Comment 1 Vivek Galatage 2012-07-26 22:30:11 PDT
Created attachment 154842 [details]
Comment 2 Ryosuke Niwa 2012-07-26 22:41:45 PDT
Comment on attachment 154842 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=154842&action=review

> Source/WebCore/ChangeLog:10
> +        No new tests as no change in functionality. Just addition of check to avoid crash.

That's not true. If this can never cause a crash, then we don't have to do null check.
If WebKit were to crash without these null checks, then there is a behavior change.

Please try to come up with a test. It's okay if you could not come up with a test if it's too hard to do so
but please don't say that there is no behavior change in WebKit, when there is one.
Comment 3 Vivek Galatage 2012-07-26 23:06:35 PDT
Changing the title of the bug as per the IRC discussion with rniwa.
Comment 4 Vivek Galatage 2012-07-26 23:15:48 PDT
Created attachment 154851 [details]
Comment 5 WebKit Review Bot 2012-07-27 01:34:36 PDT
Comment on attachment 154851 [details]

Clearing flags on attachment: 154851

Committed r123850: <http://trac.webkit.org/changeset/123850>
Comment 6 WebKit Review Bot 2012-07-27 01:34:39 PDT
All reviewed patches have been landed.  Closing bug.