Summary: | Web Inspector: Wrap Database into ScriptObject in v8 bindings. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dglazkov | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Pavel Feldman
2009-10-07 09:52:51 PDT
Created attachment 40801 [details]
patch
Comment on attachment 40801 [details]
patch
Test?
+ Frame* frame = database->document()->frame();
This line has a tab.
What if frame() is null?
+ // FIXME: What if context.IsEmpty()?
You need to handle this case!
+ ScriptState* scriptState = frame->page()->inspectorController()->frontendScriptState();
What if page() is null?
Created attachment 40809 [details]
patch with comments addressed
Comment on attachment 40809 [details]
patch with comments addressed
r=me.
Pls add a line to ChangeLog entry explaining that there's no way to test this atm.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/bindings/v8/ScriptObjectQuarantine.cpp Committed r49393 |