Changes between Initial Version and Version 1 of Ticket #33765


Ignore:
Timestamp:
Jun 3, 2022, 6:08:01 AM (2 years ago)
Author:
Adam Johnson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33765 – Description

    initial v1  
    11#32383 added support for JS source map references, but the regex is incomplete. Browsers ignore trailing whitespace in source map references, but the regex we added did not allow for that. Whilst trailing whitespace is unlikely to be used, since source maps are normally generated by automated tools that shouldn't add it, we should ignore it to match browser behaviour.
    22
    3 Spotted during discussion on [this PR https://github.com/django/django/pull/15475] for a similar fix on CSS source map references.
     3Spotted during discussion on [https://github.com/django/django/pull/15475 this PR] for a similar fix on CSS source map references.
    44
    55(Also as discussed, I tested the inital space being a tab, or more than one space, and those options are not supported by Firefox.)
Back to Top