Commit Graph
492 Commits
Author SHA1 Message Date
Pierre Tachoire 5ee1bbd68e browser: html document load next 2024-01-17 18:21:50 +01:00
Pierre Tachoire a470a7eaef browser: add som steps comments 2024-01-17 18:21:49 +01:00
Pierre Tachoire 7d226a43b6 browser: window must survive between 2 pages
So window is moved to session
2024-01-17 18:21:49 +01:00
Pierre Tachoire cc5280460e browser: add TODO for fragment URL 2024-01-17 18:21:49 +01:00
Pierre Tachoire bd9c63f22f browser: update window injection TODO 2024-01-17 18:21:48 +01:00
Pierre Tachoire 0d32fc62ba browser: inject window global object 2024-01-17 18:21:48 +01:00
Pierre Tachoire 6ff121334f browser: refactor session and page
Now session owns the js env and the loader.
page start and stop the js session.
2024-01-17 18:21:48 +01:00
Pierre Tachoire 228f44a57d browser: add initVM/deinitVM in main 2024-01-17 18:21:48 +01:00
Pierre Tachoire df2e6dcfc0 get: start work on get command 2024-01-17 18:21:47 +01:00
Pierre Tachoire 1642741027 browser: start browser API 2024-01-17 18:21:47 +01:00
Pierre Tachoire b53d4a149c add nav web api 2024-01-17 18:21:47 +01:00
Pierre Tachoire edadc92ec8 Merge pull request #155 from lightpanda-io/upgrade-jsruntime
upgrade jsruntime-lib
2024-01-16 16:04:49 +01:00
Pierre Tachoire 1573848775 upgrade jsruntime-lib 2024-01-16 15:53:44 +01:00
Pierre Tachoire a461ecd7df Merge pull request #129 from lightpanda-io/html-collection-arraylike
dom: html collection: implement array like
2024-01-16 15:50:40 +01:00
Pierre Tachoire 93db41ff10 html_collection: update iterator values 2024-01-15 14:25:20 +01:00
Pierre Tachoire b5d3f220f6 Merge pull request #74 from lightpanda-io/hmtlcollection-iterator
dom: add HTMLCollectionIterator
2024-01-15 11:27:50 +01:00
Francis Bouvier 5734b903ec Adapt HTMLCollectionIterator to HTMLCollection._item changes
And update jsruntime to fix the build

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-13 15:14:43 +01:00
Pierre Tachoire 7cef1bb550 Merge pull request #152 from lightpanda-io/bug-parse-4
Parsing crash due to encoding change
2024-01-12 15:53:20 +01:00
Pierre Tachoire 2981703b7f netsurf: add TODO on encoding change error code 2024-01-12 15:40:43 +01:00
Pierre Tachoire 0f24660707 netsurf: fix parser error values 2024-01-12 15:22:30 +01:00
Pierre Tachoire 028cd2331f netsurf: pass encoding to the parser 2024-01-12 15:22:30 +01:00
Pierre Tachoire 1a03412635 netsurf: add a test case for html parsing bug
https://github.com/lightpanda-io/libdom/issues/4
2024-01-11 16:50:21 +01:00
Pierre Tachoire b83f3b5f5b Merge pull request #151 from lightpanda-io/fix-run-test
test: run classic test func
2024-01-11 16:27:26 +01:00
Pierre Tachoire 408482470b test: run classic test func 2024-01-11 16:13:07 +01:00
Pierre Tachoire f59f36422c html_collection: free generated array like keys 2024-01-11 10:49:17 +01:00
Pierre Tachoire 39afb6593d dom: hmtl collection: wip postAttach 2024-01-11 10:00:00 +01:00
Pierre Tachoire d92c121ecf Merge pull request #149 from lightpanda-io/fix-parse-chunk
netsurf: fix document html parse reader loop
2024-01-10 17:41:47 +01:00
Pierre Tachoire 2011e0b642 Merge pull request #147 from lightpanda-io/fix-attr-crash
dom: attr: fix crash w/o parent
2024-01-10 17:34:03 +01:00
Pierre Tachoire c1b4026fa3 Merge pull request #144 from lightpanda-io/html-doc
dom: DocumentHTML getters
2024-01-10 17:33:43 +01:00
Pierre Tachoire 390f9f408c netsurf: fix document html parse reader loop 2024-01-10 17:31:52 +01:00
Francis Bouvier 9df3e4182d Merge pull request #148 from lightpanda-io/global_api
Adopt global Types changes in jsruntime
2024-01-10 16:27:35 +01:00
Francis Bouvier 1e4ddf580d Forgot test_runner
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-10 16:20:19 +01:00
Francis Bouvier a5dfa6cb44 Adopt global Types changes in jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-10 11:56:53 +01:00
Pierre Tachoire cb3abe58c2 dom: attr: fix crash w/o parent 2024-01-09 17:45:14 +01:00
Pierre Tachoire ca6bb577c6 Document: use document cast to node 2024-01-09 14:24:55 +01:00
Pierre Tachoire be1e55272a DocumentHTML: cast directly document to node 2024-01-09 14:13:52 +01:00
Pierre Tachoire a25169c9e8 documentHTML: replace NotSupported with NotImplemented 2024-01-09 14:13:52 +01:00
Pierre Tachoire c73ecb5e0d HTMLDocument: implement all getter 2024-01-09 14:13:51 +01:00
Pierre Tachoire fce9e44407 HTMLDocument: add noop legacy functions 2024-01-09 14:13:51 +01:00
Pierre Tachoire 91d1f539d4 HTMLDocument: implements anchors 2024-01-09 14:13:51 +01:00
Pierre Tachoire 552bf4224c HTMLDocument: pseudo designMode 2024-01-09 14:13:50 +01:00
Pierre Tachoire 584b254c08 HTMLDocument: applets return empty collection 2024-01-09 14:13:50 +01:00
Pierre Tachoire d07717cd10 HTMLDocument: add currentScript getter 2024-01-09 14:13:50 +01:00
Pierre Tachoire 8f18fda54f HTMLDocument: add head getter 2024-01-09 14:13:49 +01:00
Pierre Tachoire 8c121ce7b8 upgrade tests/wpt 2024-01-09 14:13:49 +01:00
Pierre Tachoire 9de23d76d2 HTMLDocument: add body setter 2024-01-09 14:13:49 +01:00
Pierre Tachoire 7a4de724e3 HTMLDocument: add images/scripts/forms/links/embed getters 2024-01-09 14:13:48 +01:00
Pierre Tachoire db8031f965 HTMLCollection: add match by links 2024-01-09 14:13:48 +01:00
Pierre Tachoire 6bc44cbe75 dom: add DocumentHTML getElementsByName 2024-01-09 14:13:48 +01:00
Pierre Tachoire 2b681c8353 nodelist: add comment about liveness 2024-01-09 14:13:47 +01:00