New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm][wbt] Test that dotnet.js
could be run from any current directory
#69441
Merged
radical
merged 10 commits into
dotnet:main
from
yamachu:resolve-asset-path-by-locatefile
Jul 28, 2022
Merged
[wasm][wbt] Test that dotnet.js
could be run from any current directory
#69441
radical
merged 10 commits into
dotnet:main
from
yamachu:resolve-asset-path-by-locatefile
Jul 28, 2022
+106
−5
Commits on Jul 26, 2022
-
Rebase resolve-asset-path-by-locatefile onto main with reset runtime …
…changes Squashed commit of the following: commit 8dd23f8 Merge: ffe4a2a 3ac1629 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jul 12 02:13:41 2022 +0900 Merge branch 'main' into resolve-asset-path-by-locatefile commit ffe4a2a Merge: 357ca53 32d0360 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jul 5 01:50:45 2022 +0900 Merge branch 'main' into resolve-asset-path-by-locatefile commit 357ca53 Author: yamachu <yamachu.dev@gmail.com> Date: Fri Jul 1 02:24:48 2022 +0900 If an absolute path is passed to configSrc, do not use locateFile to resolve the path, but fetch the path as is. commit cf45c0d Merge: 527ad98 85223ce Author: yamachu <yamachu.dev@gmail.com> Date: Fri Jul 1 01:16:11 2022 +0900 Merge branch 'main' into resolve-asset-path-by-locatefile commit 527ad98 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 16:58:28 2022 +0900 Remove toAbsoluteUrl from test code commit c339a1a Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 16:58:10 2022 +0900 Ported toAbsoluteUrl in the web environment to pre-module commit 3b4f3f1 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 14:18:16 2022 +0900 Remove unused variable commit 2cdd2c7 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 14:14:54 2022 +0900 Unassign toAbsoluteUrl to use locateFile to correct script directory in Node and V8 environments commit e7a473a Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 14:13:05 2022 +0900 Assign a locateFile to the Module that corrects the prefix Fix that prefix argument does not indicate the location where the script exists when dotnet.wasm is loaded commit d54b143 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 14:05:06 2022 +0900 Remove flags that is only used in certain scenarios commit 71c1ff7 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 03:35:26 2022 +0900 Refactor: use already implemented attributes commit 86227f1 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 02:03:20 2022 +0900 Add notes commit bac891e Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 00:30:42 2022 +0900 test all RunHost The project format changes depending on the host, so projects with the same id cannot be used interchangeably. Therefore, the project is re-created so that the test id changes, and the cache is also discarded. commit f41fd42 Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 00:29:53 2022 +0900 Modified runtime to get the path starting from dotnet.js in shell environment and use that path in test commit 3e2476c Author: yamachu <yamachu.dev@gmail.com> Date: Tue Jun 28 00:25:02 2022 +0900 "--run" prefix is reserved, so change flag name commit ee820c5 Merge: 3076801 c9f80fd Author: yamachu <yamachu.dev@gmail.com> Date: Mon Jun 27 09:43:29 2022 +0900 Merge branch 'main' into resolve-asset-path-by-locatefile commit 3076801 Merge: 8388525 cca6bb6 Author: yamachu <yamachu.dev@gmail.com> Date: Thu Jun 9 21:38:08 2022 +0900 Merge branch 'main' into resolve-asset-path-by-locatefile commit 8388525 Author: yamachu <yamachu.dev@gmail.com> Date: Thu May 26 03:34:56 2022 +0900 Also use locateFile to resolve configFile paths commit 97b2991 Author: yamachu <yamachu.dev@gmail.com> Date: Sat May 21 22:47:57 2022 +0900 Add Unit test to run WasmApp outside of AppBundle directory V8: Could not determine scriptDirectory (always empty string). You must explicitly specify the base path within locateFile. Chrome: Failed to load dotnet.wasm commit a1c3c7a Author: yamachu <yamachu.dev@gmail.com> Date: Wed May 18 00:57:26 2022 +0900 Use localeFile to resolve path for assets outside of remoteSources Use localeFile to resolve path for assets outside of remoteSources, so that we can run from a different path than locate that dotnet.js exists ref: dotnet#69259
Configuration menu - View commit details
-
Copy full SHA for d5f10f5 - Browse repository at this point
Copy the full SHA d5f10f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db7974 - Browse repository at this point
Copy the full SHA 2db7974View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2952c7b - Browse repository at this point
Copy the full SHA 2952c7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3922e05 - Browse repository at this point
Copy the full SHA 3922e05View commit details -
Configuration menu - View commit details
-
Copy full SHA for d651c70 - Browse repository at this point
Copy the full SHA d651c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f1c9eb - Browse repository at this point
Copy the full SHA 2f1c9ebView commit details
Commits on Jul 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b6804be - Browse repository at this point
Copy the full SHA b6804beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a94685 - Browse repository at this point
Copy the full SHA 5a94685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 930c701 - Browse repository at this point
Copy the full SHA 930c701View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb07469 - Browse repository at this point
Copy the full SHA eb07469View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.