Issue 3435: LayoutTests/http/tests/navigation/??? fails when using  
--new-http
http://code.google.com/p/chromium/issues/detail?id=3435

Comment #3 by [EMAIL PROTECTED]:
> You might try putting a call to MessageLoop::current()->RunAllPending()

Good idea; tried this, but it still reproduced.


Unfortunately _now_ I can no longer reproduce the bug. Seems likely a race  
condition
in how page load stop is notified.

The specific reason for the test failure was a text-diff-mismatch, because  
of
additional error log lines:

void TestWebViewDelegate::DidStartLoading(WebView* webview) {
   if (page_is_loading_) {
     LOG(ERROR) << "DidStartLoading called while loading";
     return;
   }
   page_is_loading_ = true;
}

Since the same delegate instance is re-used across tests, an earlier load  
(either for
the current test or a previous one) may not have notified stop correctly,  
and hence
left page_is_loading_ as true.




-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to