Index: chrome/test/webdriver/test/bad_native_funcs.html |
diff --git a/chrome/test/webdriver/test/bad_native_funcs.html b/chrome/test/webdriver/test/bad_native_funcs.html |
deleted file mode 100644 |
index 5feb2ea3aa56e16078484908cdb8a9929d0b3f52..0000000000000000000000000000000000000000 |
--- a/chrome/test/webdriver/test/bad_native_funcs.html |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-<html> |
-<script> |
- // JavaScript built-in types aren't enumerable. |
- var arrayFuncs = [ |
- 'concat', |
- 'every', |
- 'filter', |
- 'forEach', |
- 'indexOf', |
- 'join', |
- 'lastIndexOf', |
- 'length', |
- 'map', |
- 'pop', |
- 'push', |
- 'reduce', |
- 'reduceRight', |
- 'reverse', |
- 'shift', |
- 'slice', |
- 'some', |
- 'sort', |
- 'splice', |
- 'unshift']; |
- for (var prop in arrayFuncs) { |
- Array.prototype[prop] = function() { |
- throw new Error('Array.prototype.' + prop + ' should not be called'); |
- } |
- } |
- JSON.stringify = function() { |
- throw new Error('JSON.stringify should not be called'); |
- } |
- JSON.parse = function() { |
- throw new Error('JSON.parse should not be called'); |
- } |
-</script> |
-<body> |
-<div> |
- Tests that no native functions are called by ChromeDriver. |
-</div> |
-</body> |
-</html> |