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

Unified Diff: third_party/WebKit/LayoutTests/ballista/share-arity.html

Issue 1924753002: Revert of Added navigator.actions.share experimental web API (stub). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/ballista/share-arity.html
diff --git a/third_party/WebKit/LayoutTests/ballista/share-arity.html b/third_party/WebKit/LayoutTests/ballista/share-arity.html
deleted file mode 100644
index 79bf80f6395a089c49f8b4b02974069c15786ebb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/ballista/share-arity.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/mojo-helpers.js"></script>
-<script src="resources/mock-ballista-service.js"></script>
-<script>
-
-ballista_test((t, mock) => {
- return promise_rejects(t, new TypeError(), navigator.actions.share());
-}, '0 arguments (promise rejection)');
-
-ballista_test((t, mock) => {
- return promise_rejects(t, new TypeError(), navigator.actions.share('the title'));
-}, '1 argument (promise rejection)');
-
-ballista_test((t, mock) => {
- mock.pushShareResult('the title', 'the message', null);
- return navigator.actions.share('the title', 'the message',
- 'more than required');
-}, '3 arguments (extra argument ignored)');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698