Unreviewed, rolling out r134442.
[WebKit-https.git] / Source / WebCore / dom / ScriptElement.cpp
index 4fa559e..cfdd1a4 100644 (file)
@@ -266,7 +266,6 @@ bool ScriptElement::requestScript(const String& sourceUrl)
             updateRequestForAccessControl(request.mutableResourceRequest(), m_element->document()->securityOrigin(), allowCredentials);
         }
         request.setCharset(scriptCharset());
-        request.setInitiator(element());
 
         m_cachedScript = m_element->document()->cachedResourceLoader()->requestScript(request);
         m_isExternalScript = true;