Summary: | Implement dumpProgressFinishedCallback() for Win layoutTestController | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Caio Marcelo de Oliveira Filho <cmarcelo> | ||||
Component: | Page Loading | Assignee: | Hyungwook Lee <hyungwook.lee> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bfulgham, commit-queue, gyuyoung.kim, hyungwook.lee | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 28851 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Caio Marcelo de Oliveira Filho
2011-08-23 06:17:45 PDT
Created attachment 254542 [details]
Patch
Comment on attachment 254542 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=254542&action=review > Source/WebKit/win/WebView.cpp:5260 > + if (wasObserver) One question before landing. I wonder if we need to check if wasObserver instance. Because it looks it can't be null. > Source/WebKit/win/WebView.cpp:5266 > + if (isObserver) ditto. Comment on attachment 254542 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=254542&action=review >> Source/WebKit/win/WebView.cpp:5260 >> + if (wasObserver) > > One question before landing. I wonder if we need to check if wasObserver instance. Because it looks it can't be null. We can get valid value when we implement COM QueryInterface() in FrameLoadDelegete. Now we are implement IID_IWebNotificationObserver COM QueryInterface() only for DumpRenderTree. (In reply to comment #3) > Comment on attachment 254542 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=254542&action=review > > >> Source/WebKit/win/WebView.cpp:5260 > >> + if (wasObserver) > > > > One question before landing. I wonder if we need to check if wasObserver instance. Because it looks it can't be null. > > We can get valid value when we implement COM QueryInterface() in > FrameLoadDelegete. > Now we are implement IID_IWebNotificationObserver COM QueryInterface() only > for DumpRenderTree. If we don't implement COM QueryInterface(), I understand wasObserver and isObserver can be null. Ok, I see. Thanks. Comment on attachment 254542 [details] Patch Clearing flags on attachment: 254542 Committed r185400: <http://trac.webkit.org/changeset/185400> All reviewed patches have been landed. Closing bug. |