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

Unified Diff: Source/core/dom/ScriptLoader.cpp

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 years, 9 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
« no previous file with comments | « Source/core/dom/ProcessingInstruction.cpp ('k') | Source/core/events/BeforeLoadEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptLoader.cpp
diff --git a/Source/core/dom/ScriptLoader.cpp b/Source/core/dom/ScriptLoader.cpp
index faba2580cc49ac1c6799adfde3e745bf00115e92..3825fa7d68aa76b27cef0b17a7547bb3534141d1 100644
--- a/Source/core/dom/ScriptLoader.cpp
+++ b/Source/core/dom/ScriptLoader.cpp
@@ -250,8 +250,6 @@ bool ScriptLoader::fetchScript(const String& sourceUrl)
ASSERT(m_element);
RefPtr<Document> elementDocument(m_element->document());
- if (!m_element->dispatchBeforeLoadEvent(sourceUrl))
- return false;
if (!m_element->inDocument() || m_element->document() != elementDocument)
return false;
« no previous file with comments | « Source/core/dom/ProcessingInstruction.cpp ('k') | Source/core/events/BeforeLoadEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698