Bug 1278694 - Fix testharness.js path in subresources-integrity tests, r=Ms2ger draft
authorJames Graham <james@hoppipolla.co.uk>
Tue, 07 Jun 2016 23:07:20 +0100
changeset 376409 243a6c51375e93ae717db7fe7fa5c7ed4616384a
parent 376408 acc2acfacebd8f54c2d0afb22972936e16ec3dbd
child 523146 81d97f8c4a2dacbbbfd9d96293fa592c8d969786
push id20570
push userbmo:james@hoppipolla.co.uk
push dateTue, 07 Jun 2016 22:08:05 +0000
reviewersMs2ger
bugs1278694
milestone50.0a1
Bug 1278694 - Fix testharness.js path in subresources-integrity tests, r=Ms2ger MozReview-Commit-ID: GXpCHvZ427l
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/subresource-integrity/subresource-integrity.sub.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -36025,16 +36025,22 @@
           }
         ],
         "html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html": [
           {
             "path": "html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html",
             "url": "/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html"
           }
         ],
+        "subresource-integrity/subresource-integrity.sub.html": [
+          {
+            "path": "subresource-integrity/subresource-integrity.sub.html",
+            "url": "/subresource-integrity/subresource-integrity.sub.html"
+          }
+        ],
         "web-animations/timing-model/animations/current-time.html": [
           {
             "path": "web-animations/timing-model/animations/current-time.html",
             "url": "/web-animations/timing-model/animations/current-time.html"
           }
         ],
         "web-animations/timing-model/animations/set-the-timeline-of-an-animation.html": [
           {
--- a/testing/web-platform/tests/subresource-integrity/subresource-integrity.sub.html
+++ b/testing/web-platform/tests/subresource-integrity/subresource-integrity.sub.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <meta charset=utf-8>
 <title>Subresource Integrity</title>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
 
 <div id="log"></div>
 
 <div id="container"></div>
 <script>
     // This horrible hack is needed for the 'use-credentials' tests because, on
     // response, if port 80 or 443 is the current port, it will not appear to
     // the browser as part of the origin string. Since the origin *string* is