lgtm for what it's worth. adding reviewers, since I am not a chromium reviewer.
export const value = 42;could you add another test that has a TLA so we can make sure the eager evaluation part works?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks for the review! Looks like I'm still missing a CO to third_party/blink/web_tests/VirtualTestSuites. Do you know who I could include here?
could you add another test that has a TLA so we can make sure the eager evaluation part works?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Talked offline to Kouhei, he should be able to do a review next week.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Basically looks good.
v8::ModuleImportPhase import_phase = v8::ModuleImportPhase::kEvaluation);Could you remove the default `kEvaluation` to avoid possible import phase mismatch?
v8::ModuleImportPhase phase = v8::ModuleImportPhase::kEvaluation);ditto, Could you remove the default `kEvaluation` to avoid possible import phase mismatch?
[[nodiscard]] ScriptEvaluationResult EvaluateForImportPhase(nit: I prefer a name like `RunScriptOnScriptStateAndReturnValueWithImportPhase()`
to clarify this is mostly just adding import phase arg to `RunScriptOnScriptStateAndReturnValue()`.
(The name is long, but shouldn't be a large problem as we only have two callers)
DCHECK_EQ(execute_script_policy,Drive-by: could you use `CHECK()` here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
<!doctype html>Can we move the tests to public WPT
(under `third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/module/`)?
We can mark the tests as `tentative`
https://web-platform-tests.org/writing-tests/file-names.html#test-features
<!doctype html>Can we move the tests to public WPT
(under `third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/module/`)?We can mark the tests as `tentative`
https://web-platform-tests.org/writing-tests/file-names.html#test-features
Sure. One question that I have is that this test right now fails, because we have the flag disabled when running this test here. Should we keep the expected like that as well? Additionally, show we also move the TLA version?
Thank you very much for the reviews so far.
I see that I'm now missing owner to review the flag override between Chromium and V8. Could you help me find somebody that could review this part, please?
v8::ModuleImportPhase import_phase = v8::ModuleImportPhase::kEvaluation);Could you remove the default `kEvaluation` to avoid possible import phase mismatch?
Done
v8::ModuleImportPhase phase = v8::ModuleImportPhase::kEvaluation);ditto, Could you remove the default `kEvaluation` to avoid possible import phase mismatch?
Done
[[nodiscard]] ScriptEvaluationResult EvaluateForImportPhase(nit: I prefer a name like `RunScriptOnScriptStateAndReturnValueWithImportPhase()`
to clarify this is mostly just adding import phase arg to `RunScriptOnScriptStateAndReturnValue()`.(The name is long, but shouldn't be a large problem as we only have two callers)
Acknowledged
Drive-by: could you use `CHECK()` here?
Done
<!doctype html>Caio LimaCan we move the tests to public WPT
(under `third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/module/`)?We can mark the tests as `tentative`
https://web-platform-tests.org/writing-tests/file-names.html#test-features
Sure. One question that I have is that this test right now fails, because we have the flag disabled when running this test here. Should we keep the expected like that as well? Additionally, show we also move the TLA version?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
+Kentaro for content/renderer/render_process_impl
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |