aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/data.js')
-rw-r--r--test/unit/data.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/data.js b/test/unit/data.js
index 05fc5f193..14acd427e 100644
--- a/test/unit/data.js
+++ b/test/unit/data.js
@@ -677,3 +677,9 @@ test( "JSON data- attributes can have newlines", function() {
equal( x.data("some").foo, "bar", "got a JSON data- attribute with spaces" );
x.remove();
});
+
+testIframeWithCallback( "enumerate data attrs on body (#14894)", "data/dataAttrs.html", function( result ) {
+ expect(1);
+
+ equal(result, "ok", "enumeration of data- attrs on body" );
+}); \ No newline at end of file