repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git]
/
dom
/
bindings
/
parser
/
tests
/
test_double_null.py
blob
28166020c1049a6964c411f84cf884ec1c3468b8
1
import
WebIDL
2
3
4
def
WebIDLTest
(
parser
,
harness
):
5
threw
=
False
6
try
:
7
parser
.
parse
(
8
"""
9
interface DoubleNull {
10
attribute byte?? foo;
11
};
12
"""
13
)
14
15
parser
.
finish
()
16
except
WebIDL
.
WebIDLError
:
17
threw
=
True
18
19
harness
.
ok
(
threw
,
"Should have thrown."
)