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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-neuter.html

Issue 2895963003: Apply layout-test-tidy to LayoutTests/webaudio (Closed)
Patch Set: Created 3 years, 7 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/decodeAudioData/decode-audio-data-neuter.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-neuter.html b/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-neuter.html
index e112223ea1206236c88d8cc655af6f387b010ca8..e3c01ac8a67bf034a40a93bbfa6150f4650c60e1 100644
--- a/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-neuter.html
+++ b/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-neuter.html
@@ -1,14 +1,15 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
+ <title>
+ Test Neutering by decodeAudioData
+ </title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit.js"></script>
- <title>Test Neutering by decodeAudioData </title>
</head>
-
<body>
- <script>
+ <script id="layout-test-code">
// Any valid rate will do. Just need something to create an offline
// context.
let sampleRate = 44100;
@@ -26,12 +27,11 @@
context = new OfflineAudioContext(1, 1, sampleRate);
}, 'Context creation').notThrow();
- Audit.loadFileFromUrl(
- '../resources/hyper-reality/laughter.wav')
+ Audit.loadFileFromUrl('../resources/hyper-reality/laughter.wav')
.then(response => {
- encodedAudio = response;
- should(true, 'Loading of encoded audio file')
- .message('succeeded', 'failed');
+ encodedAudio = response;
+ should(true, 'Loading of encoded audio file')
+ .message('succeeded', 'failed');
})
.then(() => task.done());
});

Powered by Google App Engine
This is Rietveld 408576698