Skip to content
Browse files

imported custom_urls.patch and JSContextGetGroup.patch

  • Loading branch information...
1 parent 941fbf1 commit bd3b760c442b89e7a7fb1c59c5637a637e23f648 @marshall committed Feb 3, 2009
View
2 JavaScriptCore/API/JSContextRef.h
@@ -123,7 +123,7 @@ JS_EXPORT JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);
@param ctx The JSContext whose group you want to get.
@result ctx's group.
*/
-JS_EXPORT JSContextGroupRef JSContextGetGroup(JSContextRef ctx) AVAILABLE_AFTER_WEBKIT_VERSION_3_1;
+JS_EXPORT JSContextGroupRef JSContextGetGroup(JSContextRef ctx);
#ifdef __cplusplus
}
View
2 WebCore/platform/network/curl/ResourceHandleManager.cpp
@@ -603,7 +603,7 @@ void ResourceHandleManager::initializeHandle(ResourceHandle* job)
ResourceHandleInternal* d = job->getInternal();
String url = kurl.string();
- if (kurl.isLocalFile()) {
+ if (kurl.isLocalFile() || kurl.protocolIs("app") || kurl.protocolIs("ti") || kurl.protocolIs("app-storage")) {
String query = kurl.query();
// Remove any query part sent to a local file.
if (!query.isEmpty())
View
1 WebKit/win/WebKit.vcproj/WebKit.def
@@ -12,6 +12,7 @@ EXPORTS
JSClassRelease
JSClassRetain
JSContextGetGlobalObject
+ JSContextGetGroup
JSEvaluateScript
JSGarbageCollect
JSGlobalContextCreate

0 comments on commit bd3b760

Please sign in to comment.
Something went wrong with that request. Please try again.