diff --git a/tests/script/index.html b/tests/script/index.html
index ebd26ccc..f243821c 100644
--- a/tests/script/index.html
+++ b/tests/script/index.html
@@ -58,14 +58,14 @@
Script
@@ -82,11 +82,11 @@ Script
script.parentElement.removeChild(script);
elm.className = 'testOnLoad';
};
- jsonp = function (data) {
- elm.textContent = data.mph + 11;
+ jsonpB = function (data) {
+ elm.textContent = data.mph;
};
script.dataset.testonload = true;
- script.src = './jsonp.js';
+ script.src = './jsonp-b.js';
document.head.appendChild(script);
})();
@@ -103,10 +103,10 @@ Script
script.parentElement.removeChild(script);
elm.className = 'testAddEventListenerLoad';
});
- jsonp = function (data) {
- elm.textContent = data.mph - 11;
+ jsonpC = function (data) {
+ elm.textContent = data.mph;
};
- script.src = './jsonp.js';
+ script.src = './jsonp-c.js';
document.head.appendChild(script);
})();
diff --git a/tests/script/jsonp-a.js b/tests/script/jsonp-a.js
new file mode 100644
index 00000000..283396b5
--- /dev/null
+++ b/tests/script/jsonp-a.js
@@ -0,0 +1 @@
+jsonpA({ mph: 88 });
diff --git a/tests/script/jsonp-b.js b/tests/script/jsonp-b.js
new file mode 100644
index 00000000..9315e20d
--- /dev/null
+++ b/tests/script/jsonp-b.js
@@ -0,0 +1 @@
+jsonpB({ mph: 99 });
diff --git a/tests/script/jsonp-c.js b/tests/script/jsonp-c.js
new file mode 100644
index 00000000..42176319
--- /dev/null
+++ b/tests/script/jsonp-c.js
@@ -0,0 +1 @@
+jsonpC({ mph: 77 });
diff --git a/tests/script/jsonp.js b/tests/script/jsonp.js
deleted file mode 100644
index 872e70b8..00000000
--- a/tests/script/jsonp.js
+++ /dev/null
@@ -1 +0,0 @@
-jsonp({ mph: 88 });