diff --git a/web-bundle/resources/generate-test-wbns.sh b/web-bundle/resources/generate-test-wbns.sh
index 86413179cf9cacf..6c9a75f9c366545 100755
--- a/web-bundle/resources/generate-test-wbns.sh
+++ b/web-bundle/resources/generate-test-wbns.sh
@@ -158,3 +158,8 @@ gen-bundle \
-version b2 \
-har cross-origin-no-cors.har \
-o wbn/no-cors/cross-origin-b2.wbn
+
+gen-bundle \
+ -version b2 \
+ -har uuid-in-package.har \
+ -o wbn/uuid-in-package.wbn
diff --git a/web-bundle/resources/uuid-in-package.har b/web-bundle/resources/uuid-in-package.har
new file mode 100644
index 000000000000000..8dedc951d53e09f
--- /dev/null
+++ b/web-bundle/resources/uuid-in-package.har
@@ -0,0 +1,44 @@
+{
+ "log": {
+ "entries": [
+ {
+ "request": {
+ "method": "GET",
+ "url": "uuid-in-package:020111b3-437a-4c5c-ae07-adb6bbffb720",
+ "headers": []
+ },
+ "response": {
+ "status": 200,
+ "headers": [
+ {
+ "name": "Content-type",
+ "value": "application/javascript"
+ }
+ ],
+ "content": {
+ "text": "window.report_result('OK');"
+ }
+ }
+ },
+ {
+ "request": {
+ "method": "GET",
+ "url": "uuid-in-package:429fcc4e-0696-4bad-b099-ee9175f023ae",
+ "headers": []
+ },
+ "response": {
+ "status": 200,
+ "headers": [
+ {
+ "name": "Content-type",
+ "value": "text/html"
+ }
+ ],
+ "content": {
+ "text": ""
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/web-bundle/resources/wbn/uuid-in-package.wbn b/web-bundle/resources/wbn/uuid-in-package.wbn
new file mode 100644
index 000000000000000..d4d100d121a111e
Binary files /dev/null and b/web-bundle/resources/wbn/uuid-in-package.wbn differ
diff --git a/web-bundle/subresource-loading/link-csp-allowed.https.tentative.html b/web-bundle/subresource-loading/link-csp-allowed.https.tentative.html
index 1e2daa404fb3341..d0034b22eefb197 100644
--- a/web-bundle/subresource-loading/link-csp-allowed.https.tentative.html
+++ b/web-bundle/subresource-loading/link-csp-allowed.https.tentative.html
@@ -9,13 +9,15 @@
content="
script-src
https://web-platform.test:8444/web-bundle/resources/wbn/urn-uuid.wbn
+ https://web-platform.test:8444/web-bundle/resources/wbn/uuid-in-package.wbn
https://web-platform.test:8444/resources/testharness.js
https://web-platform.test:8444/resources/testharnessreport.js
'unsafe-inline';
img-src
https://web-platform.test:8444/web-bundle/resources/wbn/pass.png;
frame-src
- https://web-platform.test:8444/web-bundle/resources/wbn/urn-uuid.wbn"
+ https://web-platform.test:8444/web-bundle/resources/wbn/urn-uuid.wbn
+ https://web-platform.test:8444/web-bundle/resources/wbn/uuid-in-package.wbn"
>
@@ -25,6 +27,9 @@
+