Changeset 163173 in webkit
- Timestamp:
- Jan 31, 2014 9:26:46 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163172 r163173 1 2014-01-31 Anders Carlsson <andersca@apple.com> 2 3 REGRESSION: WebKit2.PageLoadBasic API test is failing 4 https://bugs.webkit.org/show_bug.cgi?id=127892 5 6 Reviewed by Dan Bernstein. 7 8 On Mountain Lion, URLs returned by -[NSBundle URLForResource:withExtension:subdirectory] include 9 localhost as the hostname, but WebCore::URL normalizes those URLs and removes the host name. 10 11 Because of this, URLs created by WKURLCreateWithCFURL won't be equal to urls passed through 12 the WebCore::URL constructor. Change WKURLIsEqual to compare the normalized URLs. 13 14 * Shared/API/c/WKURL.cpp: 15 (WKURLIsEqual): 16 * Shared/APIURL.h: 17 (API::URL::equals): 18 (API::URL::url): 19 1 20 2014-01-31 Brady Eidson <beidson@apple.com> 2 21 -
trunk/Source/WebKit2/Shared/API/c/WKURL.cpp
r160969 r163173 53 53 bool WKURLIsEqual(WKURLRef a, WKURLRef b) 54 54 { 55 return toImpl(a)->string() == toImpl(b)->string();55 return API::URL::equals(*toImpl(a), *toImpl(b)); 56 56 } 57 57 -
trunk/Source/WebKit2/Shared/APIURL.h
r160969 r163173 59 59 const WTF::String& string() const { return m_string; } 60 60 61 static bool equals(const URL& a, const URL& b) 62 { 63 return a.url() == b.url(); 64 } 65 61 66 WTF::String host() const 62 67 { … … 110 115 } 111 116 117 const WebCore::URL& url() const 118 { 119 parseURLIfNecessary(); 120 return *m_parsedURL; 121 } 122 112 123 void parseURLIfNecessary() const 113 124 { -
trunk/Tools/ChangeLog
r163167 r163173 1 2014-01-31 Anders Carlsson <andersca@apple.com> 2 3 REGRESSION: WebKit2.PageLoadBasic API test is failing 4 https://bugs.webkit.org/show_bug.cgi?id=127892 5 6 Reviewed by Dan Bernstein. 7 8 Re-enable test. 9 10 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp: 11 1 12 2014-01-31 Csaba Osztrogonác <ossy@webkit.org> 2 13 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp
r163100 r163173 110 110 111 111 // FIXME: http://webkit.org/b/127934 REGRESSION (r163037): WebKit2.PageLoadBasic API test failing on Mountain Lion 112 #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED == 1080113 TEST(WebKit2, DISABLED_PageLoadBasic)114 #else115 112 TEST(WebKit2, PageLoadBasic) 116 #endif117 113 { 118 114 State state;
Note: See TracChangeset
for help on using the changeset viewer.