| Index: third_party/WebKit/LayoutTests/ballista/share-types.html
|
| diff --git a/third_party/WebKit/LayoutTests/ballista/share-types.html b/third_party/WebKit/LayoutTests/ballista/share-types.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..77597264c9b6d1dadec2e2c29e026061d07ae291
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/ballista/share-types.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<body>
|
| +<script src="../resources/js-test.js"></script>
|
| +<script src="../resources/mojo-helpers.js"></script>
|
| +<script src="resources/mock-ballista-service.js"></script>
|
| +<script>
|
| +description('Test navigator.actions.share with the wrong types.');
|
| +
|
| +if (!window.testRunner)
|
| + debug('This test cannot be run without the TestRunner');
|
| +
|
| +// Clean-up any unused objects from previous tests.
|
| +gc();
|
| +jsTestIsAsync = true;
|
| +testRunner.waitUntilDone();
|
| +
|
| +debug('page is visible');
|
| +mockBallistaServiceReady.then(() => {
|
| + // Expect that it works by converting the objects to strings.
|
| + navigator.actions.share(384957, {}).then(shareSuccess, shareFailure);
|
| + pushMockBallistaServiceResult('384957', '[object Object]', null);
|
| +});
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|