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

Side by Side Diff: third_party/WebKit/LayoutTests/media/remoteplayback/watch-availability-throws-low-end-device.html

Issue 2475293003: [RemotePlayback] No monitoring on low-end devices (Closed)
Patch Set: Rebase on MC change Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/Internals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Test that watchAvailability() throws on low-end devices.</title>
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../media-file.js"></script>
8 </head>
9 <body>
10 <script>
11 async_test(function(t)
12 {
13 var v = document.createElement('video');
14 v.src = findMediaFile('video', 'content/test');
15 document.body.appendChild(v);
16 internals.setIsLowEndDevice(true);
mlamouri (slow - plz ping) 2016/11/15 18:18:32 Would this leak to other tests?
whywhat 2016/11/15 20:24:24 I dunno :/ If we reuse the instance of the content
17 v.remote.watchAvailability(t.unreached_func()).then(
18 t.unreached_func(),
19 t.step_func_done(function(e) {
20 assert_equals(e.name, 'NotSupportedError');
21 assert_equals(e.message,
22 'Availability monitoring is not supported on this dev ice.');
23 }));
24 }, 'Test that watchAvailability() throws on low-end devices.');
25 </script>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698