Remove DCHECK expecting at most one import assertion
We've decided to remove V8's behavior of filtering the import assertions to only those expected by the embedder. The interop guarantees provided by doing the filtering in V8 are probably not worth the added complexity. Going forward, hosts will no longer need to provide a list of supported assertions, and they will be expected to ignore unknown assertions received from V8. The Blink code is already written such that unexpected assertions are ignored, so the only thing that needs to be done on this side is to remove the DCHECK that expects at most one assertion. Once the V8-side changes are made to remove the filtering, Blink can then stop setting v8::Isolate::CreateParams::supported_import_assertions. Change-Id: I40578c40ff4c97cd64b6bb0840b72163e9c5a2f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643059Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Commit-Queue: Dan Clark <daniec@microsoft.com> Cr-Commit-Position: refs/heads/master@{#846179}
Showing
Please register or sign in to comment