Bug 1291735 - Fix wpt lint errors, r=Ms2ger
MozReview-Commit-ID: DphQEOynVuy
--- a/testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py
+++ b/testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py
@@ -1,12 +1,10 @@
import json
def main(request, response):
content = ""
if "my-custom-header" in request.GET:
val = request.GET.first("my-custom-header")
- print "header is about to be set to '{}'".format(val)
response.headers.set("My-Custom-Header", val)
- print "header was set"
return content
--- a/testing/web-platform/tests/webaudio/the-audio-api/the-pannernode-interface/test-pannernode-automation.html
+++ b/testing/web-platform/tests/webaudio/the-audio-api/the-pannernode-interface/test-pannernode-automation.html
@@ -14,17 +14,16 @@ promise_test(function(t) {
var osc = ac.createOscillator();
osc.connect(panner);
panner.connect(ac.destination);
osc.start()
return ac.startRendering().then(function(buffer) {
var left = buffer.getChannelData(0);
var right = buffer.getChannelData(1);
for (var i = 0; i < 2048; ++i) {
- console.log(left[i], right[i]);
if (i < 1024) {
assert_true(Math.abs(left[i]) >= Math.abs(right[i]), "index " + i + " should be on the left");
} else {
assert_true(Math.abs(left[i]) < Math.abs(right[i]), "index " + i + " should be on the right");
}
}
});
}, "PannerNode AudioParam automation works properly");