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

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

Issue 2779103002: Convert context property tests to new Audit. (Closed)
Patch Set: Address review comments Created 3 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/webaudio/BaseAudioContext/baseaudiocontext-properties.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html b/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html
index ca7ba3305459e50532983175d741d39c9694ae5e..8e37046f60b613908654a54262c2e2442a31f0af 100644
--- a/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html
+++ b/third_party/WebKit/LayoutTests/webaudio/BaseAudioContext/baseaudiocontext-properties.html
@@ -5,7 +5,7 @@
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
- <script src="../resources/audio-testing.js"></script>
+ <script src="../resources/audit.js"></script>
<script src="../resources/context-properties.js"></script>
</head>
<body>
@@ -15,15 +15,15 @@
// Cross-checking two sets of properties: a programmatically generated set
// and a pre-populated set.
- audit.defineTask('crosschecking-properties', function (taskDone) {
+ audit.define('crosschecking-properties', (task, should) => {
verifyPrototypeOwnProperties(BaseAudioContext.prototype,
BaseAudioContextOwnProperties,
- Should);
- taskDone();
+ should);
+ task.done();
});
- audit.runTasks();
+ audit.run();
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698