Changeset 94246 in webkit
- Timestamp:
- Aug 31, 2011 4:16:27 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Shared/cf/ArgumentCodersCF.cpp (modified) (2 diffs)
-
WebKit2.xcodeproj/project.pbxproj (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r94122 r94246 1 2011-08-31 Anders Carlsson <andersca@apple.com> 2 3 REGRESSION(r93902): Can't open external links on gmail 4 https://bugs.webkit.org/show_bug.cgi?id=67234 5 <rdar://problem/10053636> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * Shared/cf/ArgumentCodersCF.cpp: 10 (CoreIPC::decode): 11 If we encounter an empty URL string, create an empty url by using NSURL, just 12 like we do in WebCore when converting an empty KURL to an NSURL. 13 14 * WebKit2.xcodeproj/project.pbxproj: 15 Compile ArgumentCodersCF.cpp as Objective-C++ for now. 16 1 17 2011-08-30 Beth Dakin <bdakin@apple.com> 2 18 -
trunk/Source/WebKit2/Shared/cf/ArgumentCodersCF.cpp
r88870 r94246 31 31 #include "DataReference.h" 32 32 #include <wtf/Vector.h> 33 34 #if PLATFORM(MAC) 35 #import <Foundation/Foundation.h> 36 #endif 33 37 34 38 namespace CoreIPC { … … 514 518 return false; 515 519 520 #if PLATFORM(MAC) 521 // FIXME: Move this to ArgumentCodersCFMac.mm and change this file back to be C++ 522 // instead of Objective-C++. 523 if (!CFStringGetLength(string.get())) { 524 // CFURL can't hold an empty URL, unlike NSURL. 525 result = reinterpret_cast<CFURLRef>([NSURL URLWithString:@""]); 526 return true; 527 } 528 #endif 529 516 530 CFURLRef url = CFURLCreateWithString(0, string.get(), baseURL.get()); 517 531 if (!url) -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r94115 r94246 1110 1110 1AAF061312B01131008E49E2 /* PDFViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PDFViewController.mm; sourceTree = "<group>"; }; 1111 1111 1AAF0C4812B16334008E49E2 /* ArgumentCodersCF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArgumentCodersCF.h; sourceTree = "<group>"; }; 1112 1AAF0C4912B16334008E49E2 /* ArgumentCodersCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ArgumentCodersCF.cpp; sourceTree = "<group>"; };1112 1AAF0C4912B16334008E49E2 /* ArgumentCodersCF.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; path = ArgumentCodersCF.cpp; sourceTree = "<group>"; }; 1113 1113 1AB7D4C81288AAA700CFD08C /* DownloadProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DownloadProxy.h; sourceTree = "<group>"; }; 1114 1114 1AB7D4C91288AAA700CFD08C /* DownloadProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DownloadProxy.cpp; sourceTree = "<group>"; };
Note: See TracChangeset
for help on using the changeset viewer.