Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1c134c16
Commit
1c134c16
authored
May 17, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
May 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added parsing custom tag name tests.
parent
ae56273c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
jstest.html
dlls/mshtml/tests/jstest.html
+12
-0
No files found.
dlls/mshtml/tests/jstest.html
View file @
1c134c16
...
...
@@ -179,6 +179,17 @@ function test_forin() {
ok
(
cnt
>
100
,
"cnt = "
+
cnt
);
}
function
test_customtag
()
{
document
.
body
.
innerHTML
=
'test<unk><br>'
;
var
children
=
document
.
body
.
childNodes
;
ok
(
children
.
length
===
3
,
"children.length = "
+
children
.
length
);
ok
(
children
[
0
].
data
===
"test"
,
"children[0].data = "
+
children
[
0
].
data
);
ok
(
children
[
1
].
tagName
===
"UNK"
,
"children[1].tagName = "
+
children
[
1
].
tagName
);
ok
(
children
[
2
].
tagName
===
"BR"
,
"children[2].tagName = "
+
children
[
2
].
tagName
);
}
var
globalVar
=
false
;
function
runTests
()
{
...
...
@@ -200,6 +211,7 @@ function runTests() {
test_arg_conv
();
test_override_functions
();
test_forin
();
test_customtag
();
var
r
=
window
.
execScript
(
"globalVar = true;"
);
ok
(
r
===
undefined
,
"execScript returned "
+
r
);
...
...
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