Changeset 261620 in webkit
- Timestamp:
- May 13, 2020 10:03:33 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r261619 r261620 1 2020-05-13 Kate Cheney <katherine_cheney@apple.com> 2 3 Add test for non-app-bound iframe under app-bound domain 4 https://bugs.webkit.org/show_bug.cgi?id=211815 5 <rdar://problem/63159707> 6 7 Reviewed by Brent Fulgham. 8 9 * http/tests/in-app-browser-privacy/non-app-bound-iframe-under-app-bound-domain-is-app-bound-expected.txt: Added. 10 * http/tests/in-app-browser-privacy/non-app-bound-iframe-under-app-bound-domain-is-app-bound.html: Added. 11 * http/tests/in-app-browser-privacy/resources/non-app-bound-iframe.html: Added. 12 1 13 2020-05-13 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/Tools/ChangeLog
r261611 r261620 1 2020-05-13 Kate Cheney <katherine_cheney@apple.com> 2 3 Add test for non-app-bound iframe under app-bound domain 4 https://bugs.webkit.org/show_bug.cgi?id=211815 5 <rdar://problem/63159707> 6 7 Reviewed by Brent Fulgham. 8 9 Clear the main frame app-bound session before loading the iframe so 10 we can be sure the iframe uses an app-bound session. 11 12 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 13 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 14 (WTR::TestRunner::clearAppBoundSession): 15 * WebKitTestRunner/InjectedBundle/TestRunner.h: 16 * WebKitTestRunner/TestInvocation.cpp: 17 (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): 18 1 19 2020-05-13 Philippe Normand <pnormand@igalia.com> 2 20 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r261242 r261620 396 396 397 397 boolean hasAppBoundSession(); 398 void clearAppBoundSession(); 398 399 void setAppBoundDomains(object originsArray, object callback); 399 400 -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r261242 r261620 2977 2977 } 2978 2978 2979 void TestRunner::clearAppBoundSession() 2980 { 2981 auto messageName = adoptWK(WKStringCreateWithUTF8CString("ClearAppBoundSession")); 2982 WKBundlePostSynchronousMessage(InjectedBundle::singleton().bundle(), messageName.get(), nullptr, nullptr); 2983 } 2984 2979 2985 void TestRunner::setAppBoundDomains(JSValueRef originArray, JSValueRef completionHandler) 2980 2986 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r261242 r261620 503 503 504 504 bool hasAppBoundSession(); 505 void clearAppBoundSession(); 505 506 void setAppBoundDomains(JSValueRef originArray, JSValueRef callback); 506 507 void didSetAppBoundDomainsCallback(); -
trunk/Tools/WebKitTestRunner/TestInvocation.cpp
r261242 r261620 1802 1802 return nullptr; 1803 1803 } 1804 1805 if (WKStringIsEqualToUTF8CString(messageName, "ClearAppBoundSession")) { 1806 TestController::singleton().clearAppBoundSession(); 1807 return nullptr; 1808 } 1804 1809 1805 1810 if (WKStringIsEqualToUTF8CString(messageName, "SetAdClickAttributionOverrideTimerForTesting")) {
Note: See TracChangeset
for help on using the changeset viewer.