Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2907463003: Remove window.status plumbing, it's unused and the spec says it's a dummy (Closed)
Patch Set: Drop accidental change Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 321898d1e26c18a5f03abdbd52a378983236649a..093245a3146427ca23ef2a1c663d3a131e444877 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -1047,16 +1047,6 @@ void FrameLoader::CommitProvisionalLoad() {
Client()->TransitionToCommittedForNewPage();
frame_->GetNavigationScheduler().Cancel();
-
- // If we are still in the process of initializing an empty document then its
- // frame is not in a consistent state for rendering, so avoid
- // setJSStatusBarText since it may cause clients to attempt to render the
- // frame.
- if (!state_machine_.CreatingInitialEmptyDocument()) {
- LocalDOMWindow* window = frame_->DomWindow();
- window->setStatus(String());
- window->setDefaultStatus(String());
- }
}
bool FrameLoader::IsLoadingMainFrame() const {
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698