Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1488)

Side by Side Diff: third_party/WebKit/LayoutTests/presentation/presentation-navigation-multipleurls.html

Issue 2552343009: [Presentation API] Adds DOMString[] constructor to PresentationRequest. (Closed)
Patch Set: resolve code review comments from foolip Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../resources/testharness.js"></script>
5 <script src="../resources/testharnessreport.js"></script>
6 <script>
7
8 // TODO(crbug.com/680298): use iframe to do presentation navigation layout tests
9 if (location.href.endsWith('#after-reload')) {
10 test(function() {
11 assert_equals(navigator.presentation.defaultRequest, null);
12 }, "Test that navigator.defaultRequest with multiple URLs isn't kept alive aft er reload.")
13 } else {
14 navigator.presentation.defaultRequest = new PresentationRequest(["https://exam ple.org", "cast://google.com/app_id=deadbeef"]);
15
16 location.href += '#after-reload';
17 location.reload();
18 }
19
20 </script>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698