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

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

Issue 685263003: The rest of the Presentation API IDL as stubs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added OWNERS file for real Created 6 years, 1 month 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 4ab8efae3c3292a8268e2f0acc19a9b98135080f..e32a8acefa29cd538c8014858aee8fac9cce1426 100644
--- a/LayoutTests/presentation/presentation-api.html
+++ b/LayoutTests/presentation/presentation-api.html
@@ -7,11 +7,17 @@
test(function() {
assert_true('presentation' in navigator);
+ assert_true('session' in navigator.presentation);
+ assert_true('startSession' in navigator.presentation);
+ assert_true('joinSession' in navigator.presentation);
assert_true('onavailablechange' in navigator.presentation);
}, "Test that the Presentation API is present.")
test(function() {
assert_equals(typeof(navigator.presentation), "object");
+ 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");
}, "Test the Presentation API property types.");

Powered by Google App Engine
This is Rietveld 408576698