Worklet: Add tests for CSP directives on addModule()

Worklet module fetch should obey the script-src directives, not the worker-src
directives. This CL adds WPT tests for that.

Spec discussion: https://github.com/w3c/webappsec-csp/issues/203

Bug: 773786
Change-Id: I3b8ac7abfa0920e3b93a18b726e87871c62f8f3f
Reviewed-on: https://chromium-review.googlesource.com/763169
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516576}
5 files changed