aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen/test/test_interfaceToString.html
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2014-08-28 09:34:23 -0600
committerJack Moffitt <jack@metajack.im>2014-09-08 20:21:42 -0600
commitc6ab60dbfc6da7b4f800c9e40893c8b58413960c (patch)
treed1d74076cf7fa20e4f77ec7cb82cae98b67362cb /src/components/script/dom/bindings/codegen/test/test_interfaceToString.html
parentdb2f642c32fc5bed445bb6f2e45b0f6f0b4342cf (diff)
downloadservo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.tar.gz
servo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.zip
Cargoify servo
Diffstat (limited to 'src/components/script/dom/bindings/codegen/test/test_interfaceToString.html')
-rw-r--r--src/components/script/dom/bindings/codegen/test/test_interfaceToString.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/components/script/dom/bindings/codegen/test/test_interfaceToString.html b/src/components/script/dom/bindings/codegen/test/test_interfaceToString.html
deleted file mode 100644
index cf670bf2d54..00000000000
--- a/src/components/script/dom/bindings/codegen/test/test_interfaceToString.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=742156
--->
-<head>
- <meta charset="utf-8">
- <title>Test for Bug 742156</title>
- <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
- <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=742156">Mozilla Bug 742156</a>
-<p id="display"></p>
-<div id="content" style="display: none">
-
-</div>
-<pre id="test">
-<script type="application/javascript">
-
-/** Test for Bug 742156 **/
-
-var nativeToString = ("" + String.replace).replace("replace", "EventTarget");
-try {
- var eventTargetToString = "" + EventTarget;
- is(eventTargetToString, nativeToString,
- "Stringifying a DOM interface object should return the same string" +
- "as stringifying a native function.");
-}
-catch (e) {
- ok(false, "Stringifying a DOM interface object shouldn't throw.");
-}
-
-
-</script>
-</pre>
-</body>
-</html>