| Index: third_party/WebKit/LayoutTests/presentation/presentation-receiver.html
|
| diff --git a/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html b/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html
|
| index 3f593f9aa7a489057973211d9b73415142d5fed1..31af39454ed4a82399422c4bcfe32ea9421031f7 100644
|
| --- a/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html
|
| +++ b/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html
|
| @@ -7,24 +7,14 @@
|
|
|
| test(function() {
|
| assert_true('receiver' in navigator.presentation);
|
| - assert_true('getConnection' in navigator.presentation.receiver);
|
| - assert_true('getConnections' in navigator.presentation.receiver);
|
| - assert_true('onconnectionavailable' in navigator.presentation.receiver);
|
| -
|
| - assert_true('PresentationReceiver' in window);
|
| + assert_true('connectionList' in navigator.presentation.receiver);
|
| }, "Test that the Presentation Receiver API is present.")
|
|
|
| test(function() {
|
| assert_equals(typeof(navigator.presentation.receiver), "object");
|
| - assert_equals(typeof(navigator.presentation.receiver.getConnection), "function");
|
| - assert_equals(typeof(navigator.presentation.receiver.getConnections), "function");
|
| - assert_equals(typeof(navigator.presentation.receiver.onconnectionavailable), "object");
|
| + assert_equals(typeof(navigator.presentation.receiver.connectionList), "object");
|
| }, "Test the Presentation Receiver API property types.");
|
|
|
| -test(function() {
|
| - assert_true(navigator.presentation.receiver instanceof EventTarget);
|
| -}, "Test that navigator.presentation.receiver is an EventTarget.");
|
| -
|
| </script>
|
| </body>
|
| </html>
|
|
|