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

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 mlamouri Created 4 years 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 if (location.href.endsWith('#after-reload')) {
9 test(function() {
10 assert_equals(navigator.presentation.defaultRequest, null);
11 }, "Test that navigator.defaultRequest with multiple URLs isn't kept alive aft er reload.")
12 } else {
13 navigator.presentation.defaultRequest = new PresentationRequest(["https://exam ple.org", "cast://google.com/app_id=deadbeef"]);
mlamouri (slow - plz ping) 2016/12/13 13:50:53 What is this testing exactly? The test name says "
zhaobin 2016/12/14 01:51:53 I think we test both navigation and mulitple urls
whywhat 2016/12/14 02:20:39 I think that just adding a ctor test in the presen
14
15 location.href += '#after-reload';
16 location.reload();
17 }
18
19 </script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698