Run ModuleRecordTest also with top-level await enabled
As ModuleRecord::Evaluate() returns a successful result (with a promise rejected with an exception) for a module script throwing an exception when kTopLevelAwait is enabled, this CL fixes the expectation of ModuleRecordTest accordingly. This also fixes ModuleRecordResolverImplTest to call ParametrizedModuleTest::TearDown() appropriately. Bug: 1111134, 1129743 Change-Id: I7f8267bd7966df58158f4cf70597276d2a0acd5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419055 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#810085}
Showing
Please register or sign in to comment