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

Side by Side Diff: third_party/WebKit/LayoutTests/media/mediasession/navigator-mediasession.html

Issue 2401013002: Make MediaSession per frame as an attribute of Navigator (Closed)
Patch Set: fixed tests Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Navigator MediaSession Test</title>
2 <script src="../../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
4 <canvas>
5 <object id="f"></object>
6 </canvas>
7 <script> 5 <script>
6
8 test(function() { 7 test(function() {
9 f.focus(); 8 assert_true(window.navigator.mediaSession instanceof MediaSession);
10 }, "crbug.com/587263 focusing plugin object in canvas fallback may dereference n ullptr"); 9 });
10
11 </script> 11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698