Bug Report
๐ Search Terms
image src dom
๐ Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about 4.3.0
โฏ Playground Link
Playground link with relevant code
๐ป Code
let image = document.createElement('img');
image.src = new URL("http://google.com");
console.log(image.src)
๐ Actual behavior
Type 'URL' is not assignable to type 'string'.(2322)
๐ Expected behavior
Compiles cleanly (confirmed supported per whatwg/html#6440)
Bug Report
๐ Search Terms
image src dom
๐ Version & Regression Information
โฏ Playground Link
Playground link with relevant code
๐ป Code
๐ Actual behavior
๐ Expected behavior
Compiles cleanly (confirmed supported per whatwg/html#6440)