Index: chrome/test/data/pdf/test_util.js |
diff --git a/chrome/test/data/pdf/test_util.js b/chrome/test/data/pdf/test_util.js |
index 7fff3fa3862aabca15511bdc155f5eb3966230ac..9efead405cec920348ba1c6caf6174aef2871033 100644 |
--- a/chrome/test/data/pdf/test_util.js |
+++ b/chrome/test/data/pdf/test_util.js |
@@ -104,27 +104,3 @@ function MockDocumentDimensions(width, height) { |
this.pageDimensions = []; |
}; |
} |
- |
-function importHTML(src) { |
- var link = document.createElement('link'); |
- var promise = new Promise(function(resolve, reject) { |
- link.onload = resolve; |
- link.onerror = reject; |
- }); |
- link.rel = 'import'; |
- link.href = src; |
- document.head.appendChild(link); |
- return promise; |
-} |
- |
-/** |
- * Import iron-test-helpers into the test document. |
- * @example |
- * importTestHelpers().then(function() { |
- * chrome.test.runTests(...); |
- * }) |
- */ |
-function importTestHelpers() { |
- return importHTML('chrome://resources/polymer/v1_0/iron-test-helpers/' + |
- 'iron-test-helpers.html'); |
-} |