Closed Bug 1135800 Opened 9 years ago Closed 8 years ago

default value of img.currentSrc should be an empty string not null

Categories

(DevTools :: Console, defect)

38 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1139560

People

(Reporter: alex, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150222004034

Steps to reproduce:

Run `document.createElement('img').currentSrc` in your console.


Actual results:

`document.createElement('img').currentSrc` returned `null`


Expected results:

Should have returned `""`.
Component: Untriaged → Developer Tools: Console
Reproduced in Nightly 39.0a1 2015-02-25 under Mac OSX 10.9.5.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Looks like this has been fixed by bug 1139560.
Thanks for verifying
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.