Commit b67db54
[browser_tests] Rethrow in setupLegacyFilesForTest
This is part of a 3-way change to get rid of DOMMessageQueue in
LoadLegacyFilesInFrontend [1].
"ExecJS" can await promises, so all we need is to make sure that the
async function promise is rejected when the imports fail. Once this
CL has landed we can remove the DOMMessageQueue and just call
"ExecJS" with the default "await promise" option.
The last step is to remove the try-catch alltogether in the frontend.
[1]: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/devtools/devtools_browsertest.cc;l=221-231;drc=f633fa3cf093bc8b9eb3243e7b05ff0d64e4bff9
[email protected]
Bug: 382003727
Change-Id: I7cee60082f285cf3fe0ea562424269da74f5b989
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6063120
Commit-Queue: Alex Rudenko <[email protected]>
Auto-Submit: Simon Zünd <[email protected]>
Reviewed-by: Alex Rudenko <[email protected]>
Commit-Queue: Simon Zünd <[email protected]>1 parent 63d550e commit b67db54
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
0 commit comments