aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-09-18 09:41:07 -0400
committerRichard Gibson <richard.gibson@gmail.com>2013-11-07 11:37:52 -0500
commit126d596b56924613687329b7aab4f0cdf4b593b3 (patch)
treedc919662b389ba3e1acca9b46fde33a9e4b0ce2d /test/data
parentd0b8f9fa932be3d95728a881ec63c7231887de0a (diff)
downloadjquery-126d596b56924613687329b7aab4f0cdf4b593b3.tar.gz
jquery-126d596b56924613687329b7aab4f0cdf4b593b3.zip
Fix #14074: element id="nodeName". Close gh-1389.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/core/aliased.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/data/core/aliased.html b/test/data/core/aliased.html
new file mode 100644
index 000000000..ed06606af
--- /dev/null
+++ b/test/data/core/aliased.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+ <title>alias-masked DOM properties (#14074)</title>
+ <script>
+ var errors = [];
+ window.onerror = function( errorMessage, filePath, lineNumber ) {
+ errors.push( errorMessage );
+ };
+ </script>
+ <script src="../../jquery.js"></script>
+</head>
+<body>
+ <form>
+ <input type="text" id="nodeName"/>
+ </form>
+ <script>
+ jQuery(function() {
+ window.parent.iframeCallback( errors );
+ });
+ </script>
+</body>
+</html>