From 26b57aa40744a6c413257fbe6e53d717d8f7aded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Fri, 7 Jul 2023 17:30:29 +0200 Subject: [PATCH] Specify precedence of header over inline annotation for source map url --- source-map.bs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source-map.bs b/source-map.bs index 8582658..2d366fe 100644 --- a/source-map.bs +++ b/source-map.bs @@ -359,6 +359,9 @@ characters outside the set permitted to appear in URIs must be percent-encoded and it maybe a data URI. Using a data URI along with [=sourcesContent=] allow for a completely self-contained source-map. +The HTTP `SourceMap` header has precedence over source annotation, and if both are present, +header URL should be used to resolve the source map file. + Regardless of the method used to retrieve the [=Source Mapping URL=] the same process is used to resolve it, which is as follows: