Script Error: 'Invalid property value' after setting img.src attribute (no exception in Chrome)

Confirmed Issue #9513048 • Assigned to Kris K.

Details

Created
Oct 25, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

The following code raises ‘Invalid property value’ script error.

var img = document.createElement('img');

img.src = 'http://test:123456789';
document.body.appendChild(img);

Another browsers(Firefox 49.0.1, Chrome 54.0.2840.71 m, Safari 9) have a different behaviour: value is set without error.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Title from “Script Error: 'Invalid property value' after setting img.src attribute” to “Script Error: 'Invalid property value' after setting img.src attribute (no exception in Chrome)”

      Changed Assigned To from “Travis L.” to “Kris K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in