More unreviewed fixing API tests.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Apr 2015 23:37:13 +0000 (23:37 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Apr 2015 23:37:13 +0000 (23:37 +0000)
* contentextensions/ContentExtensionsBackend.cpp:
(WebCore::ContentExtensions::ContentExtensionsBackend::actionsForResourceLoad):
Don't check for javascript protocol.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/contentextensions/ContentExtensionsBackend.cpp

index 320b898..d1aef44 100644 (file)
@@ -1,3 +1,11 @@
+2015-04-07  Alex Christensen  <achristensen@webkit.org>
+
+        More unreviewed fixing API tests.
+
+        * contentextensions/ContentExtensionsBackend.cpp:
+        (WebCore::ContentExtensions::ContentExtensionsBackend::actionsForResourceLoad):
+        Don't check for javascript protocol.
+
 2015-04-07  Eric Carlson  <eric.carlson@apple.com>
 
         [Mac] never update caption user style sheet during parsing
index 11d7423..1d833b8 100644 (file)
@@ -76,8 +76,7 @@ Vector<Action> ContentExtensionsBackend::actionsForResourceLoad(const ResourceLo
 #if CONTENT_EXTENSIONS_PERFORMANCE_REPORTING
     double addedTimeStart = monotonicallyIncreasingTime();
 #endif
-    if (resourceLoadInfo.resourceURL.protocolIsData()
-        || resourceLoadInfo.resourceURL.protocolIs("javascript"))
+    if (resourceLoadInfo.resourceURL.protocolIsData())
         return Vector<Action>();
 
     const String& urlString = resourceLoadInfo.resourceURL.string();