From 7d46e8fe80208db3935fb061c39d5def5f177a2f Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Sun, 31 Aug 2025 19:25:17 +0800 Subject: [PATCH] Start unifying test and code Depends on https://github.com/lightpanda-io/browser/pull/993 There's currently 3 ways to execute a page: 1 - page.navigate (as used in both the 'fetch' and 'serve' commands) 2 - jsRunner as used in unit tests 3 - main_wpt as used in the WPT runner Both jsRunner and main_wpt replicate the page.navigate code, but in their own hack-ish way. main_wpt re-implements the DOM walking in order to extract and execute