Changeset 253431 in webkit
- Timestamp:
- Dec 12, 2019 9:51:29 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r253429 r253431 1 2019-12-12 Patrick Griffis <pgriffis@igalia.com> 2 3 [SOUP] Use new API for strict secure cookies 4 https://bugs.webkit.org/show_bug.cgi?id=169356 5 6 Reviewed by Michael Catanzaro. 7 8 Remove expected failures for secure cookie tests 9 10 * platform/gtk/TestExpectations: 11 * platform/wpe/TestExpectations: 12 1 13 2019-12-12 Truitt Savell <tsavell@apple.com> 2 14 -
trunk/LayoutTests/platform/gtk/TestExpectations
r253372 r253431 3979 3979 webkit.org/b/204675 imported/w3c/web-platform-tests/offscreen-canvas/filter/offscreencanvas.filter.w.html [ Missing ] 3980 3980 3981 webkit.org/b/169356 imported/w3c/web-platform-tests/cookies/secure/set-from-dom.sub.html [ Failure ]3982 3983 3981 #//////////////////////////////////////////////////////////////////////////////////////// 3984 3982 # End of non-crashing, non-flaky tests failing -
trunk/LayoutTests/platform/wpe/TestExpectations
r253368 r253431 500 500 webkit.org/b/200165 imported/w3c/web-platform-tests/websockets/cookies/007.html [ Failure ] 501 501 webkit.org/b/200165 imported/w3c/web-platform-tests/websockets/cookies/004.html [ Failure ] 502 503 webkit.org/b/169356 imported/w3c/web-platform-tests/cookies/secure/set-from-dom.sub.html [ Failure ]504 502 505 503 #//////////////////////////////////////////////////////////////////////////////////////// -
trunk/Source/WebCore/ChangeLog
r253430 r253431 1 2019-12-12 Patrick Griffis <pgriffis@igalia.com> 2 3 [SOUP] Use new API for strict secure cookies 4 https://bugs.webkit.org/show_bug.cgi?id=169356 5 6 Reviewed by Michael Catanzaro. 7 8 The new soup API implements this spec: 9 10 https://tools.ietf.org/html/draft-ietf-httpbis-cookie-alone-01 11 12 * platform/network/soup/NetworkStorageSessionSoup.cpp: 13 (WebCore::NetworkStorageSession::setCookiesFromDOM const): 14 (WebCore::NetworkStorageSession::setCookies): 15 1 16 2019-12-12 Don Olmstead <don.olmstead@sony.com> 2 17 -
trunk/Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp
r250589 r253431 292 292 continue; 293 293 294 #if SOUP_CHECK_VERSION(2, 67, 1) 295 soup_cookie_jar_add_cookie_full(jar, cookie.release(), origin.get(), firstPartyURI.get()); 296 #else 294 297 soup_cookie_jar_add_cookie_with_first_party(jar, firstPartyURI.get(), cookie.release()); 298 #endif 295 299 } 296 300 … … 298 302 } 299 303 300 void NetworkStorageSession::setCookies(const Vector<Cookie>& cookies, const URL&, const URL&) 301 { 302 for (auto cookie : cookies) 304 void NetworkStorageSession::setCookies(const Vector<Cookie>& cookies, const URL& url, const URL& firstParty) 305 { 306 for (auto cookie : cookies) { 307 #if SOUP_CHECK_VERSION(2, 67, 1) 308 GUniquePtr<SoupURI> origin = urlToSoupURI(url); 309 GUniquePtr<SoupURI> firstPartyURI = urlToSoupURI(firstParty); 310 311 soup_cookie_jar_add_cookie_full(cookieStorage(), cookie.toSoupCookie(), origin.get(), firstPartyURI.get()); 312 #else 303 313 soup_cookie_jar_add_cookie(cookieStorage(), cookie.toSoupCookie()); 314 #endif 315 } 304 316 } 305 317 -
trunk/Tools/ChangeLog
r253410 r253431 1 2019-12-12 Patrick Griffis <pgriffis@igalia.com> 2 3 [SOUP] Use new API for strict secure cookies 4 https://bugs.webkit.org/show_bug.cgi?id=169356 5 6 Reviewed by Michael Catanzaro. 7 8 Update libsoup to fix a secure cookie test 9 10 * gtk/jhbuild.modules: 11 * wpe/jhbuild.modules: 12 1 13 2019-12-11 Jonathan Bedard <jbedard@apple.com> 2 14 -
trunk/Tools/gtk/jhbuild.modules
r252860 r253431 231 231 </autotools> 232 232 233 <meson id="libsoup" mesonargs="-Dintrospection= false -Dgssapi=false -Dvapi=false">233 <meson id="libsoup" mesonargs="-Dintrospection=disabled -Dgssapi=disabled -Dvapi=disabled"> 234 234 <if condition-set="macos"> 235 235 <mesonargs value="-Dtls_check=false"/> … … 239 239 <dep package="libpsl"/> 240 240 </dependencies> 241 <branch module="/pub/GNOME/sources/libsoup/2.6 7/libsoup-${version}.tar.xz" version="2.67.91"242 repo="ftp.gnome.org" 243 hash="sha256: 390b5b28263d3bdf9866fa694346caa5e4bcb986e014e3383e9b6130b706f3da">241 <branch module="/pub/GNOME/sources/libsoup/2.68/libsoup-${version}.tar.xz" version="2.68.3" 242 repo="ftp.gnome.org" 243 hash="sha256:534bb08e35b0ff3702f3adfde87d3441e27c12f9f5ec351f056fe04cba02bafb"> 244 244 </branch> 245 245 </meson> -
trunk/Tools/wpe/jhbuild.modules
r252845 r253431 96 96 </autotools> 97 97 98 <meson id="libsoup" mesonargs="-Dintrospection= false -Dgssapi=false -Dvapi=false">98 <meson id="libsoup" mesonargs="-Dintrospection=disabled -Dgssapi=disabled -Dvapi=disabled"> 99 99 <dependencies> 100 100 <dep package="glib-networking"/> 101 101 <dep package="libpsl"/> 102 102 </dependencies> 103 <branch module="/pub/GNOME/sources/libsoup/2.6 7/libsoup-${version}.tar.xz" version="2.67.91"104 repo="ftp.gnome.org" 105 hash="sha256: 390b5b28263d3bdf9866fa694346caa5e4bcb986e014e3383e9b6130b706f3da">103 <branch module="/pub/GNOME/sources/libsoup/2.68/libsoup-${version}.tar.xz" version="2.68.3" 104 repo="ftp.gnome.org" 105 hash="sha256:534bb08e35b0ff3702f3adfde87d3441e27c12f9f5ec351f056fe04cba02bafb"> 106 106 </branch> 107 107 </meson>
Note: See TracChangeset
for help on using the changeset viewer.