aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/core
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:57:41 -0500
commitc66a5e70f2745048b30b7e7e8801d70ce9c640c7 (patch)
tree885c0fc898223b5e8c1c4753af85e1657b3818bf /test/data/core
parentff365d305fc22f40f4df9c4a6c7b1ca6c3c9800d (diff)
downloadjquery-c66a5e70f2745048b30b7e7e8801d70ce9c640c7.tar.gz
jquery-c66a5e70f2745048b30b7e7e8801d70ce9c640c7.zip
Fix #14074: element id="nodeName". Close gh-1389.
(cherry picked from commit 126d596b56924613687329b7aab4f0cdf4b593b3) Conflicts: src/data.js src/data/accepts.js test/unit/core.js test/unit/data.js
Diffstat (limited to 'test/data/core')
-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>