Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
f794f48f
Commit
f794f48f
authored
May 11, 2011
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding in test case to support #9211.
parent
391398cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
release-notes.js
build/release-notes.js
+3
-3
qunit
test/qunit
+1
-1
manipulation.js
test/unit/manipulation.js
+8
-1
No files found.
build/release-notes.js
View file @
f794f48f
...
@@ -9,9 +9,9 @@ var fs = require("fs"),
...
@@ -9,9 +9,9 @@ var fs = require("fs"),
extract
=
/<a href="
\/
ticket
\/(\d
+
)
" title="View ticket">
(
.*
?)
<
[^
"
]
+"component">
\s
*
(\S
+
)
/g
;
extract
=
/<a href="
\/
ticket
\/(\d
+
)
" title="View ticket">
(
.*
?)
<
[^
"
]
+"component">
\s
*
(\S
+
)
/g
;
var
opts
=
{
var
opts
=
{
version
:
"1.6"
,
version
:
"1.6
.1 RC 1
"
,
short_version
:
"1.6"
,
short_version
:
"1.6
rc1
"
,
final_version
:
"1.6"
,
final_version
:
"1.6
.1
"
,
categories
:
[]
categories
:
[]
};
};
...
...
qunit
@
98876633
Subproject commit
d97b37ec322136406790e75d03333559f38bbecb
Subproject commit
9887663380693009874e8c76f0bf77a921931766
test/unit/manipulation.js
View file @
f794f48f
...
@@ -1398,7 +1398,7 @@ test("jQuery.buildFragment - no plain-text caching (Bug #6779)", function() {
...
@@ -1398,7 +1398,7 @@ test("jQuery.buildFragment - no plain-text caching (Bug #6779)", function() {
});
});
test
(
"jQuery.html - execute scripts escaped with html comment or CDATA (#9221)"
,
function
()
{
test
(
"jQuery.html - execute scripts escaped with html comment or CDATA (#9221)"
,
function
()
{
expect
(
2
);
expect
(
3
);
jQuery
(
[
jQuery
(
[
'<script type="text/javascript">'
,
'<script type="text/javascript">'
,
'<!--'
,
'<!--'
,
...
@@ -1413,4 +1413,11 @@ test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)"
...
@@ -1413,4 +1413,11 @@ test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)"
'//]]>'
,
'//]]>'
,
'</script>'
'</script>'
].
join
(
"
\n
"
)
).
appendTo
(
"#qunit-fixture"
);
].
join
(
"
\n
"
)
).
appendTo
(
"#qunit-fixture"
);
jQuery
(
[
'<script type="text/javascript">'
,
'<!--//--><![CDATA[//><!--'
,
'ok( true, "<!--//--><![CDATA[//><!-- (Drupal case) handled" );'
,
'//--><!]]>'
,
'</script>'
].
join
(
"
\n
"
)
).
appendTo
(
"#qunit-fixture"
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment