[wasm][libs] Fix `WasmAppHost`, and `AppBundle` for library tests (#77719)
* Removed fixed path separator + duplicated `browser-wasm`.
* Working fix.
* Fix for different `OutputPath` conventions.
* Fixing the url printed on the console.
* `ProcessQueryArguments` in test-main.js forces debug to be the 1st arg.
* Removing special case for WBT.
* We cannot skip checking for missing browser-wasm.
* Both runArgs and queryArgs are important when running tests.
* Revert changes in the shipped targets and move them to tests targets.
* Update src/mono/wasm/host/BrowserArguments.cs
Co-authored-by: Ankit Jain <radical@gmail.com>
* Fetch does not work for node<18 => get rid of json.
* Separated runtime args from app args for both hosts.
* Revert 7.0 file.
* Focusing on enabling libs debugging for browser.
* Should have been reverted with
dae5d7460c3a23b108e1d141e72c3b0bcdc9d730.
* Fix CI lib tests: avoid referencing undefined properties.
* In all the cases runArgs should be first populated by defaults that can be later overwritten.
* Update src/mono/wasm/test-main.js
Co-authored-by: Ankit Jain <radical@gmail.com>
---------
Co-authored-by: Ankit Jain <radical@gmail.com>