Commit Graph

55 Commits

Author SHA1 Message Date
Michael Drake
ef6b20fe83 Update test suite for corestrings and log module changes. Update test data for rejection of hostless http(s) urls. 2014-02-11 11:34:42 +00:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders
c1e864656d add tests for new options API 2013-05-28 14:16:10 +01:00
Vincent Sanders
7f7ff93745 add recusion and infinite loop tests 2013-05-22 19:12:26 +01:00
Michael Drake
d64416774d Fix up for various core changes. 2013-04-08 17:50:55 +01:00
Michael Drake
0d7d76a6f3 Fix for http_only param change. 2013-04-08 17:25:12 +01:00
Vincent Sanders
9b568abf96 add default property handler for array indexing 2013-01-22 22:54:34 +00:00
Vincent Sanders
04825c62df implement document.URL and document.documentURI 2012-12-07 15:50:24 +00:00
Vincent Sanders
897acff532 make events work on elements 2012-12-04 18:01:11 +00:00
Vincent Sanders
3052864773 issue click events at dom 2012-12-03 17:09:44 +00:00
Vincent Sanders
c2cd36fda8 improve location interface implementation 2012-11-21 18:51:44 +00:00
Vincent Sanders
7757008433 add window enumeration test 2012-11-19 17:26:23 +00:00
Vincent Sanders
4769698d13 add enumeration test on the document node 2012-11-18 21:49:25 +00:00
Vincent Sanders
fa9046fc97 implement childElementCount 2012-11-18 17:35:52 +00:00
Vincent Sanders
99d3633e03 implement previousElementSibling and nextElementSibling 2012-11-18 12:59:10 +00:00
Vincent Sanders
bec8711528 implement lastElementChild 2012-11-18 12:38:07 +00:00
Vincent Sanders
82cae10284 more enumeration tests and update test index 2012-11-16 21:52:27 +00:00
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