From e1c80e0df81cec4ccf6a9dd378942d091a0f15dd Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 26 Aug 2010 23:00:23 +0000 Subject: Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717 --- test/DOMTSHandler.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/DOMTSHandler.pm') diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm index 4e9d304..bc86369 100644 --- a/test/DOMTSHandler.pm +++ b/test/DOMTSHandler.pm @@ -363,7 +363,6 @@ sub generate_main { #include dom_implementation *doc_impl; -lwc_context *ctx; int main(int argc, char **argv) { @@ -375,7 +374,7 @@ int main(int argc, char **argv) if (exp != DOM_NO_ERR) return exp; - lerr = lwc_create_context(myrealloc, NULL, &ctx); + lerr = lwc_initialise(myrealloc, NULL, 0); if (lerr != lwc_error_ok) return -1; @@ -701,9 +700,9 @@ sub generate_method { # Add the bootstrap params if (exists $bootstrap_api{$method}) { if ($method eq "dom_implementation_create_document") { - $params = $params.", myrealloc, NULL, ctx, NULL"; + $params = $params.", myrealloc, NULL, NULL"; } else { - $params = $params.", myrealloc, NULL, ctx"; + $params = $params.", myrealloc, NULL"; } } # Deal with the situation like -- cgit v1.2.3