Closed Bug 616248 Opened 14 years ago Closed 14 years ago

Fire error event for scripts with an empty src

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 608809

People

(Reporter: Ms2ger, Unassigned)

References

()

Details

(Keywords: html5)

<http://www.whatwg.org/html/#running-a-script>, currently in step 12:

> If the src attribute's value is the empty string or if it could not be
> resolved, then the user agent must queue a task to fire a simple event
> named error at the element, and abort these steps.

Based on $URL, we don't special case the empty string here.

Script execution code scares me, so ccing hsivonen. I probably could fix, but I have no idea where in the code I should stick the check.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.