Commit Graph

86 Commits

Author SHA1 Message Date
Vincent Sanders
e36b8f6579 safely deal with NULL strings 2012-11-16 15:31:14 +00:00
Vincent Sanders
9acba6cbcc add node enumeration test 2012-11-13 23:22:10 +00:00
John-Mark Bell
617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Vincent Sanders
2810fe764d make javascript tests acessible from index and tidy them up a little 2012-11-09 18:03:02 +00:00
Vincent Sanders
16c1059723 add another javascript test 2012-11-06 18:20:41 +00:00
Vincent Sanders
478b57c5d7 working docuemnt.cookie 2012-11-04 16:37:51 +00:00
Vincent Sanders
3f1b683845 implement dom-getElementsByTagName and nodelist and htmlcollection 2012-11-03 21:37:06 +00:00
Vincent Sanders
85c973f986 add jsstring to jsval conversion macro that copes with null jsstrings 2012-11-03 17:37:59 +00:00
Daniel Silverstone
180f7ff42c Merge Vincent's Javascript work onto master 2012-11-03 15:13:43 +00:00
Michael Drake
9ab851a5a9 Fix join with rel part of " ". Add a few tests. 2012-11-02 10:54:34 +00:00
Vincent Sanders
8f08f820f4 improve tests 2012-11-01 21:12:21 +00:00
Michael Drake
d84e3fd773 Add nsurl_replace_query. Add tests. Make tester itterate remaining lwc_strings. 2012-10-11 19:23:22 +01:00
Michael Drake
5a5eab9a1e Add a test for file scheme. 2012-10-10 18:00:47 +01:00
Michael Drake
e9b207c658 Port urldb to nsurl. Won't build since rest of NS needs ported to new urldb API.
+ urldb API now takes URLs as nsurl, rather than string.
+ urldb internally stores full URLs with nsurl ref.
+ urldb internally stores schemes as lwc_string.
+ Load and save of cookies and URL file may be slower since
  we now need to create a nsurl.
+ Everything else should be faster, and there should be much
  less allocating/freeing and much less parsing of the same
  url over and over again.
+ Updated urldbtest for new urldb API.
+ urldbtest now cleans up at the end
+ Added lwc_string itterator to end of urldbtest
+ Adding some broken URLs (such as http:domain/) will now
  work, since nsurl fixes (http://domain/) them.
2012-10-08 20:22:04 +01:00
Michael Drake
120798b933 Fix urldbtest. 2012-10-05 19:30:13 +01:00
Vincent Sanders
2f1ca751d6 make the "none" javascript implmentation specifically disable the scripting option 2012-10-02 13:34:03 +01:00
Vincent Sanders
a3ef5c2c3c fixup jsapi dom interface to include correct html/dom acessor hierachy 2012-08-15 18:48:46 +01:00
Vincent Sanders
6bbae1f228 add document IDL and test for geteleemntbyid 2012-08-01 19:25:45 +01:00
Vincent Sanders
84152cd72b add another script test 2012-07-31 21:44:03 +01:00
Vincent Sanders
f207f14be1 simple script tests 2012-07-30 22:54:14 +01:00
John Mark Bell
eb122c52d2 Fix cookie expiration
svn path=/trunk/netsurf/; revision=13161
2011-11-22 00:34:06 +00:00
Michael Drake
4ad1557d27 Add some tests.
svn path=/trunk/netsurf/; revision=13114
2011-11-03 12:16:01 +00:00
Michael Drake
30ff09bd83 More test cases.
svn path=/trunk/netsurf/; revision=13109
2011-10-31 22:24:05 +00:00
Michael Drake
2db149d527 Add a couple of tests and tidy up.
svn path=/trunk/netsurf/; revision=13063
2011-10-15 14:17:09 +00:00
John Mark Bell
f933d70661 Remove unnecessary stub functions
svn path=/trunk/netsurf/; revision=13060
2011-10-15 13:12:34 +00:00
John Mark Bell
f39e150065 Stub messages_get, instead
svn path=/trunk/netsurf/; revision=13057
2011-10-15 13:06:36 +00:00
John Mark Bell
40f9143f7e Apparently, we need zlib
svn path=/trunk/netsurf/; revision=13056
2011-10-15 13:00:16 +00:00
John Mark Bell
ee930d97e4 Fix handling of no scheme
svn path=/trunk/netsurf/; revision=13055
2011-10-15 11:51:54 +00:00
John Mark Bell
cf12dca846 A bunch more tests for trivial inputs
svn path=/trunk/netsurf/; revision=13052
2011-10-14 21:31:53 +00:00
John Mark Bell
ca4dfc7f1e Move nsurl test suite into test/
Fix up llcache tester to reflect nsurl changes
Make handling of http:,http:/,http:// consistent
Fix buffer overflow when presented with an input string: "http://"

svn path=/trunk/netsurf/; revision=13051
2011-10-14 21:29:13 +00:00
John Mark Bell
27924aa38c Minor fix for path defaulting: retain rightmost / iff it's the first character in the path
svn path=/trunk/netsurf/; revision=11524
2011-01-29 15:17:42 +00:00
John Mark Bell
f9d10d83bd Add test for purely numeric subdomains (currently fails)
svn path=/trunk/netsurf/; revision=11289
2011-01-12 08:40:48 +00:00
John Mark Bell
4cd21d9934 Fix testsuite
svn path=/trunk/netsurf/; revision=11288
2011-01-12 08:40:08 +00:00
Vincent Sanders
4b329697f7 move url database test to test directory
svn path=/trunk/netsurf/; revision=10589
2010-06-29 07:20:12 +00:00
John Mark Bell
6ab058fb46 Make test compile
svn path=/trunk/netsurf/; revision=10587
2010-06-29 06:05:29 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00