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

Unified Diff: LayoutTests/presentation/presentation-api.html

Issue 1222623003: Presentation API: implement .getAvalability() (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests Created 5 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: LayoutTests/presentation/presentation-api.html
diff --git a/LayoutTests/presentation/presentation-api.html b/LayoutTests/presentation/presentation-api.html
index 663844295dfd3c7ee0fc593510ac283b67dad1e3..c3cbcd22ef968d0c77dc25084dccdc8078955c27 100644
--- a/LayoutTests/presentation/presentation-api.html
+++ b/LayoutTests/presentation/presentation-api.html
@@ -10,8 +10,8 @@ test(function() {
assert_true('session' in navigator.presentation);
assert_true('startSession' in navigator.presentation);
assert_true('joinSession' in navigator.presentation);
- assert_true('onavailablechange' in navigator.presentation);
assert_true('ondefaultsessionstart' in navigator.presentation);
+ assert_true('getAvailability' in navigator.presentation);
}, "Test that the Presentation API is present.")
test(function() {
@@ -19,8 +19,8 @@ test(function() {
assert_equals(typeof(navigator.presentation.session), "object");
assert_equals(typeof(navigator.presentation.startSession), "function");
assert_equals(typeof(navigator.presentation.joinSession), "function");
- assert_equals(typeof(navigator.presentation.onavailablechange), "object");
assert_equals(typeof(navigator.presentation.ondefaultsessionstart), "object");
+ assert_equals(typeof(navigator.presentation.getAvailability), "function");
}, "Test the Presentation API property types.");
test(function() {
@@ -30,4 +30,3 @@ test(function() {
</script>
</body>
</html>
-

Powered by Google App Engine
This is Rietveld 408576698