-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of validation errors for enqueued scripts
* Eliminate enqueued_script validation error in favor of merging sources into invalid_element errors * Add source information for inline scripts attached to enqueued scripts. * Account for enqueueing script bundles (where src is false). * Capture inline script contents in validation errors. Fixes #1031.
- Loading branch information
1 parent
5f067bc
commit 9365a6b
Showing
1 changed file
with
77 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters