Fixed: <rdar://problem/
3991974> REGRESSION: www.jabra.com world location screen does not work
Reviewed by hyatt.
* kwq/KWQKJavaAppletWidget.mm:
(KJavaAppletWidget::KJavaAppletWidget): fallback to the document's base URL if there is no baseURL attribute
* kwq/WebCoreBridge.h:
* kwq/WebCoreBridge.mm:
(-[WebCoreBridge baseURL]): new
WebKit:
Fixed: <rdar://problem/
3991974> REGRESSION: www.jabra.com world location screen does not work
Reviewed by hyatt.
* WebCoreSupport.subproj/WebBridge.m:
(-[WebBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:]): use the baseURL from the bridge rather than from the response
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8528
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-02-05 Chris Blumenberg <cblu@apple.com>
+
+ Fixed: <rdar://problem/3991974> REGRESSION: www.jabra.com world location screen does not work
+
+ Reviewed by hyatt.
+
+ * kwq/KWQKJavaAppletWidget.mm:
+ (KJavaAppletWidget::KJavaAppletWidget): fallback to the document's base URL if there is no baseURL attribute
+ * kwq/WebCoreBridge.h:
+ * kwq/WebCoreBridge.mm:
+ (-[WebCoreBridge baseURL]): new
+
2005-02-04 David Harrison <harrison@apple.com>
Reviewed by Darin.
#import "KWQKJavaAppletWidget.h"
+#import "dom_docimpl.h"
#import "KHTMLView.h"
#import "KWQExceptions.h"
#import "KWQKJavaAppletContext.h"
++it;
}
- KWQKHTMLPart *part = KWQ(c->part());
+ KWQKHTMLPart *part = KWQ(c->part());
+ if (baseURLString.isEmpty()) {
+ baseURLString = part->xmlDocImpl()->baseURL();
+ }
setView([part->bridge() viewForJavaAppletWithFrame:NSMakeRect(0, 0, size.width(), size.height())
attributeNames:attributeNames
attributeValues:attributeValues
- (void)stop;
- (NSURL *)URL;
+- (NSURL *)baseURL;
- (NSString *)referrer;
- (NSString *)domain;
- (WebCoreBridge *)opener;
return _part->url().getNSURL();
}
+- (NSURL *)baseURL
+{
+ return _part->completeURL(_part->xmlDocImpl()->baseURL()).getNSURL();
+}
+
- (NSString *)referrer
{
return _part->referrer().getNSString();
+2005-02-05 Chris Blumenberg <cblu@apple.com>
+
+ Fixed: <rdar://problem/3991974> REGRESSION: www.jabra.com world location screen does not work
+
+ Reviewed by hyatt.
+
+ * WebCoreSupport.subproj/WebBridge.m:
+ (-[WebBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:]): use the baseURL from the bridge rather than from the response
+
2005-02-04 Chris Blumenberg <cblu@apple.com>
Fixed: <rdar://problem/3802781> rtf->html pasteboard conversion using xhtml
}
}
- NSURL *baseURL = [[[_frame dataSource] response] URL];
+ NSURL *baseURL = [self baseURL];
if (pluginPackage) {
if ([pluginPackage isKindOfClass:[WebPluginPackage class]]) {
view = [self pluginViewWithPackage:(WebPluginPackage *)pluginPackage