summaryrefslogtreecommitdiff
path: root/test/DOMTSHandler.pm
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-08-13 09:33:24 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-08-13 09:33:24 +0000
commit13fadb12fb400818e0ccb4c38b3bfce70ccfdad2 (patch)
tree19c55b39d97567a37b88b49aaaac13b21b9f24ee /test/DOMTSHandler.pm
parentbf6bc398bd40e39a016725550f5b8446a01ee2d1 (diff)
downloadlibdom-13fadb12fb400818e0ccb4c38b3bfce70ccfdad2.tar.gz
libdom-13fadb12fb400818e0ccb4c38b3bfce70ccfdad2.tar.bz2
Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :)
svn path=/trunk/dom/; revision=9236
Diffstat (limited to 'test/DOMTSHandler.pm')
-rw-r--r--test/DOMTSHandler.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm
index c7dd61d..5f36d53 100644
--- a/test/DOMTSHandler.pm
+++ b/test/DOMTSHandler.pm
@@ -694,7 +694,11 @@ sub generate_method {
if (exists $ats{'var'}) {
# Add the bootstrap params
if (exists $bootstrap_api{$method}) {
- $params = $params.", myrealloc, NULL, ctx";
+ if ($method eq "dom_implementation_create_document") {
+ $params = $params.", myrealloc, NULL, ctx, NULL";
+ } else {
+ $params = $params.", myrealloc, NULL, ctx";
+ }
}
# Deal with the situation like
#