diff options
Diffstat (limited to 'test/DOMTSHandler.pm')
-rw-r--r-- | test/DOMTSHandler.pm | 6 |
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 # |