Commit Graph

40 Commits

Author SHA1 Message Date
Daniel Silverstone 4137739b8a Tests for body onload behaviour 2015-11-22 16:53:22 +00:00
Michael Drake 396b445599 Add failing test.
1. Add "id" attribute.
2. Remove "ID" attribute.
3. Check id value.

In NetSurf it isn't removed, in Firefox it is.
There's a case sensitivity/conversion issue somewhere.

It the test works when we add/remove with the same case.
2015-10-29 16:55:42 +00:00
Michael Drake 218839d05a Fix title. 2015-10-29 16:50:36 +00:00
Michael Drake 6098646e72 Add binding for DIV element's align getter/setter, and test.
Currently the second part of the test fails.
2015-10-29 11:47:53 +00:00
Daniel Silverstone 36bf691cee Add .id and .className support to Element along with a test 2015-10-25 21:47:35 +01:00
Daniel Silverstone c752c85618 Correct some incorrect error case handling and add tests to demonstrate fix 2015-10-21 18:55:39 +02:00
Daniel Silverstone 2f52338328 Fix up Element to return null rather than undefined, add tests 2015-10-21 18:46:43 +02:00
Vincent Sanders b7eb35ef24 putforwards test on location 2015-10-05 23:09:07 +01:00
Vincent Sanders fbc3f36fb5 initial js navigator binding 2015-10-05 15:46:22 +01:00
Vincent Sanders 46945f6362 Improve location implementation to be more complete 2015-09-20 10:35:32 +01:00
Michael Drake 4b07aead3f Add Node::nodeType to test index. 2015-08-11 20:49:32 +01:00
Michael Drake 78c5ab6f9f Add Node::nodeType test. 2015-08-11 17:21:08 +01:00
Vincent Sanders e91255b409 add simple javascript test calling operation with too few arguemnts 2015-08-11 14:36:43 +01:00
Daniel Silverstone 0df3439eb2 Fix constructor injection to use new constructor type, add test 2015-08-09 18:54:37 +01:00
Daniel Silverstone db40a6439a Disambiguate references 2015-08-09 11:57:13 +01:00
Vincent Sanders 7f7ff93745 add recusion and infinite loop tests 2013-05-22 19:12:26 +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
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
Vincent Sanders 8f08f820f4 improve tests 2012-11-01 21:12:21 +00: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