Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: third_party/WebKit/LayoutTests/resources/testharnessreport.js

Issue 2129453002: Revert of Add the rest of web platform pointerevent tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/resources/testharnessreport.js
diff --git a/third_party/WebKit/LayoutTests/resources/testharnessreport.js b/third_party/WebKit/LayoutTests/resources/testharnessreport.js
index 0dba6f206509b4ec011452b8b5f3a6cfddc03b87..64c08a922e7b4a1fa004960fd22c6aeeb80ac7b3 100644
--- a/third_party/WebKit/LayoutTests/resources/testharnessreport.js
+++ b/third_party/WebKit/LayoutTests/resources/testharnessreport.js
@@ -66,19 +66,9 @@
return !!document.querySelector('script[src*="/resources/testharness"]');
}
-
function injectSyntheticInput() {
var path = window.location.pathname;
if (path.match(/imported\/wpt\/.*\.html$/)) {
- // Set a global variable for the address of automated input script if they need to use it.
- var automated_input_scripts_folder = path.replace(/imported\/wpt\/(.*)\.html$/, 'imported/wpt_automation');
-
- importAutomationScript = function(relativePath) {
- var common_script = document.createElement('script');
- common_script.setAttribute('src', automated_input_scripts_folder + relativePath);
- document.head.appendChild(common_script);
- }
-
path = path.replace(/imported\/wpt\/(.*)\.html$/, "imported/wpt_automation/$1-input.js");
var input_script = document.createElement('script');
input_script.setAttribute('src', path);
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-input.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698