Bug 1291735 - Fix wpt lint errors, r=Ms2ger draft
authorJames Graham <james@hoppipolla.co.uk>
Tue, 02 Aug 2016 17:04:15 +0100
changeset 396360 b4e634bb0ad05676beafcd1dfdb5530f9c6da295
parent 396359 d6819dab68e6c176541f723cb69185499dd7526b
child 396361 6d5db0d9516ad0fee0b99fd9caf61b63281809c0
push id24966
push userbmo:james@hoppipolla.co.uk
push dateWed, 03 Aug 2016 17:27:56 +0000
reviewersMs2ger
bugs1291735
milestone51.0a1
Bug 1291735 - Fix wpt lint errors, r=Ms2ger MozReview-Commit-ID: DphQEOynVuy
testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py
testing/web-platform/tests/webaudio/the-audio-api/the-pannernode-interface/test-pannernode-automation.html
--- 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");