| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…l-esm-consumption
Cases where the same java classname would result causing a name collision.
…pha testing largely
…l-esm-consumption
…l-esm-consumption
There was a problem hiding this comment.
This pull request refactors the ES module test system and adds HTTP-based ESM loading support with HMR (Hot Module Replacement) capabilities. The changes improve test result parsing, add support for loading ES modules from HTTP(S) URLs, and implement import.meta.hot for development-time module reloading.
Key changes:
Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file| File | Description |
|---|---|
| test-app/tools/check_console_test_results.js | Refactored test result parsing to extract structured ES module test summaries, removed tail command from logcat pipeline, improved test status tracking |
| test-app/runtime/src/main/cpp/ModuleInternalCallbacks.cpp | Added HTTP ESM loading, relative URL resolution, HMR support, and diagnostic logging for compile errors |
| test-app/runtime/src/main/cpp/HMRSupport.h | New header defining import.meta.hot API and HTTP fetch utilities |
| test-app/runtime/src/main/cpp/HMRSupport.cpp | Implements HMR callback registration, HTTP fetching via JNI, and URL canonicalization |
| test-app/runtime/src/main/cpp/DevFlags.h | New header for cached script loading log flag |
| test-app/runtime/src/main/cpp/DevFlags.cpp | Implements cached flag for script loading diagnostics |
| test-app/runtime/CMakeLists.txt | Added HMRSupport.cpp and DevFlags.cpp to build |
| test-app/app/src/main/assets/app/tests/testRuntimeImplementedAPIs.js | Improved __time test with better tolerance handling |
| test-app/app/src/main/assets/app/tests/testESModules.mjs | Rewrote tests as async ESM with improved error reporting |
| test-app/app/src/main/assets/app/tests/testESModules.js | Removed old CommonJS test file |
| test-app/app/src/main/assets/app/mainpage.js | Updated to require .mjs test file instead of .js |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
This pull request introduces several improvements and refactors related to ES module testing, runtime diagnostics, and internal development flags.
Runtime Diagnostics and Development Flags