| Index: third_party/WebKit/LayoutTests/presentation/presentation-api.html
|
| diff --git a/third_party/WebKit/LayoutTests/presentation/presentation-api.html b/third_party/WebKit/LayoutTests/presentation/presentation-api.html
|
| index fdd274f8fcee4a24eaaba580f97da98edcbd0f15..1170aa6a30b98e40fd54d96cd1e92a103d06452f 100644
|
| --- a/third_party/WebKit/LayoutTests/presentation/presentation-api.html
|
| +++ b/third_party/WebKit/LayoutTests/presentation/presentation-api.html
|
| @@ -29,7 +29,17 @@ test(function() {
|
| assert_equals(typeof(request.onconnectionavailable), "object");
|
|
|
| assert_true(request instanceof EventTarget);
|
| -}, "Test PresentationRequest API types.");
|
| +}, "Test PresentationRequest API types for a single URL.");
|
| +
|
| +test(function() {
|
| + var request = new PresentationRequest(["http://example.com", "cast://google.com/app_id=deadbeef"]);
|
| + assert_equals(typeof(request.start), "function");
|
| + assert_equals(typeof(request.reconnect), "function");
|
| + assert_equals(typeof(request.getAvailability), "function");
|
| + assert_equals(typeof(request.onconnectionavailable), "object");
|
| +
|
| + assert_true(request instanceof EventTarget);
|
| +}, "Test PresentationRequest API types for multiple URLs.");
|
|
|
| </script>
|
| </body>
|
|
|