Bug 1278694 - Fix testharness.js path in subresources-integrity tests, r=Ms2ger
MozReview-Commit-ID: GXpCHvZ427l
--- 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