Changeset 243935 in webkit
- Timestamp:
- Apr 5, 2019, 9:30:34 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r243934 r243935 1 2019-04-05 Sihui Liu <sihui_liu@apple.com> 2 3 Test sessionStorage in PSON private browsing mode 4 https://bugs.webkit.org/show_bug.cgi?id=196561 5 6 Reviewed by Alex Christensen. 7 8 * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: 9 1 10 2019-04-05 Commit Queue <commit-queue@webkit.org> 2 11 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm
r243240 r243935 4706 4706 } 4707 4707 4708 TEST(ProcessSwap, Ephemeral LocalStorage)4708 TEST(ProcessSwap, EphemeralWebStorage) 4709 4709 { 4710 4710 auto processPoolConfiguration = psonProcessPoolConfiguration(); … … 4727 4727 done = false; 4728 4728 [webView evaluateJavaScript:@"window.localStorage.setItem('a','b')" completionHandler:^(id, NSError *) { 4729 done = true; 4730 }]; 4731 TestWebKitAPI::Util::run(&done); 4732 4733 done = false; 4734 [webView evaluateJavaScript:@"window.sessionStorage.setItem('b,'a')" completionHandler:^(id, NSError *) { 4729 4735 done = true; 4730 4736 }]; … … 4753 4759 [webView evaluateJavaScript:@"window.localStorage.getItem('a')" completionHandler:^(id result, NSError *) { 4754 4760 EXPECT_FALSE([@"b" isEqualToString:result]); 4761 done = true; 4762 }]; 4763 TestWebKitAPI::Util::run(&done); 4764 4765 done = false; 4766 [webView evaluateJavaScript:@"window.sessionStorage.getItem('b')" completionHandler:^(id result, NSError *) { 4767 EXPECT_FALSE([@"a" isEqualToString:result]); 4755 4768 done = true; 4756 4769 }];
Note:
See TracChangeset
for help on using the changeset viewer.