Skip to content

Fall back to page URL if no script tags present#1

Open
themightychris wants to merge 1 commit intomasterfrom
bugs/boot-assumes-scripts
Open

Fall back to page URL if no script tags present#1
themightychris wants to merge 1 commit intomasterfrom
bugs/boot-assumes-scripts

Conversation

@themightychris
Copy link
Copy Markdown
Member

The previous code assumed that at least one script tag exists on a page and crashes if this is not true. Further, it does not make use of the len variable that is available.

When used to build browser extensions, it is possible for the page an application is loaded onto to contain no script tags

The previous code assumed that at least one script tag exists on a page and crashes if this is not true. Further, it does not make use of the `len` variable that is available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant