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
Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git]
/
dom
/
bindings
/
parser
/
tests
/
test_legacyTreatNonObjectAsNull.py
blob
380ccdc4e72358c9d4cd9a0084a9c8243ecaad9d
1
def
WebIDLTest
(
parser
,
harness
):
2
parser
.
parse
(
3
"""
4
[LegacyTreatNonObjectAsNull] callback Function = any(any... arguments);
5
"""
6
)
7
8
results
=
parser
.
finish
()
9
10
callback
=
results
[
0
]
11
harness
.
check
(
callback
._
treatNonObjectAsNull
,
True
,
"Got the expected value"
)