diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-08-26 23:00:23 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-08-26 23:00:23 +0000 |
commit | 229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd (patch) | |
tree | 78100a859a1bf8fbb9d2166dd0843c49c98c53c3 /test/DOMTSHandler.pm | |
parent | 5c109b370a014e49387320fa23bb589e4d4e36f1 (diff) | |
download | libdom-229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd.tar.gz libdom-229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd.tar.bz2 |
Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite failures. Most importantly, it actually compiles now.
svn path=/trunk/dom/; revision=10717
Diffstat (limited to 'test/DOMTSHandler.pm')
-rw-r--r-- | test/DOMTSHandler.pm | 7 |
1 files changed, 3 insertions, 4 deletions
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 <domts.h> 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 |