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

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

Issue 2148643002: [Presentation API] Adds DOMString[] constructor to PresentationRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix LayoutTests Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/presentation/presentation-navigation-multipleurls.html
diff --git a/third_party/WebKit/LayoutTests/presentation/presentation-navigation.html b/third_party/WebKit/LayoutTests/presentation/presentation-navigation-multipleurls.html
similarity index 73%
copy from third_party/WebKit/LayoutTests/presentation/presentation-navigation.html
copy to third_party/WebKit/LayoutTests/presentation/presentation-navigation-multipleurls.html
index aca9aeddec2c364212b3d0921d635360edbcd430..12af7d08a0092b1a10fd5c236bf89c5dc5bbafcc 100644
--- a/third_party/WebKit/LayoutTests/presentation/presentation-navigation.html
+++ b/third_party/WebKit/LayoutTests/presentation/presentation-navigation-multipleurls.html
@@ -8,9 +8,9 @@
if (location.href.endsWith('#after-reload')) {
test(function() {
assert_equals(navigator.presentation.defaultRequest, null);
- }, "Test that navigator.defaultRequest isn't kept alive after reload.")
+ }, "Test that navigator.defaultRequest with multiple URLs isn't kept alive after reload.")
} else {
- navigator.presentation.defaultRequest = new PresentationRequest("https://example.org");
+ navigator.presentation.defaultRequest = new PresentationRequest(["https://example.org", "cast://google.com/app_id=deadbeef"]);
location.href += '#after-reload';
location.reload();

Powered by Google App Engine
This is Rietveld 408576698