Title: [129454] trunk/Source/WebKit2
Revision
129454
Author
[email protected]
Date
2012-09-24 21:33:25 -0700 (Mon, 24 Sep 2012)

Log Message

WKProcessGroup can't load injected bundle with file URL
<rdar://problem/12322774>
https://bugs.webkit.org/show_bug.cgi?id=97520

Reviewed by Anders Carlsson.

* UIProcess/API/mac/WKProcessGroup.mm:
(-[WKProcessGroup initWithInjectedBundleURL:]):
Fix typo. We need to pass the string as path, not as a URL.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (129453 => 129454)


--- trunk/Source/WebKit2/ChangeLog	2012-09-25 04:30:20 UTC (rev 129453)
+++ trunk/Source/WebKit2/ChangeLog	2012-09-25 04:33:25 UTC (rev 129454)
@@ -1,5 +1,17 @@
 2012-09-24  Sam Weinig  <[email protected]>
 
+        WKProcessGroup can't load injected bundle with file URL
+        <rdar://problem/12322774>
+        https://bugs.webkit.org/show_bug.cgi?id=97520
+
+        Reviewed by Anders Carlsson.
+
+        * UIProcess/API/mac/WKProcessGroup.mm:
+        (-[WKProcessGroup initWithInjectedBundleURL:]):
+        Fix typo. We need to pass the string as path, not as a URL.
+
+2012-09-24  Sam Weinig  <[email protected]>
+
         Use NSUserDefaults rather than an environment variable to control whether to use an XPC Service for the WebProcess
         https://bugs.webkit.org/show_bug.cgi?id=97514
 

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKProcessGroup.mm (129453 => 129454)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKProcessGroup.mm	2012-09-25 04:30:20 UTC (rev 129453)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKProcessGroup.mm	2012-09-25 04:33:25 UTC (rev 129454)
@@ -83,7 +83,7 @@
     _data = [[WKProcessGroupData alloc] init];
     
     if (bundleURL)
-        _data->_contextRef = adoptWK(WKContextCreateWithInjectedBundlePath(adoptWK(WKStringCreateWithCFString((CFStringRef)[bundleURL absoluteString])).get()));
+        _data->_contextRef = adoptWK(WKContextCreateWithInjectedBundlePath(adoptWK(WKStringCreateWithCFString((CFStringRef)[bundleURL path])).get()));
     else
         _data->_contextRef = adoptWK(WKContextCreate());
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to