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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audiocontext-properties.html

Issue 2386303002: Expose BaseAudioContext prototype (Closed)
Patch Set: fixed cross-origin-objects 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/audiocontext-properties.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/audiocontext-properties.html b/third_party/WebKit/LayoutTests/webaudio/audiocontext-properties.html
new file mode 100644
index 0000000000000000000000000000000000000000..c815420f18edbbfb3e46a7278e493b4d2a1aaa24
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/webaudio/audiocontext-properties.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Testing AudioContext properties</title>
+ <script src="../resources/testharness.js"></script>
+ <script src="../resources/testharnessreport.js"></script>
+ <script src="resources/audio-testing.js"></script>
+ <script src="resources/context-properties.js"></script>
+</head>
+<body>
+ <script>
+ var audit = Audit.createTaskRunner();
+
+
+ // Cross-checking two sets of properties: a programmatically generated set
+ // and a pre-populated set.
+ audit.defineTask('crosschecking-properties', function (taskDone) {
+ verifyPrototypeOwnProperties(AudioContext.prototype,
+ AudioContextOwnProperties,
+ Should);
+ taskDone();
+ });
+
+
+ audit.runTasks();
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698