Open
Bug 1585072
Opened 6 years ago
Updated 3 years ago
new HTMLAudioElement() at console prompt gives an error; Learn More link takes me to one of two wrong pages
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(Not tracked)
NEW
People
(Reporter: sheppy, Unassigned)
References
Details
While working to update media documentation, I opened up the console in Nightly (2019-09-26) and typed the following at the console prompt:
new HTMLAudioElement()
This returned the following error:
TypeError: Illegal constructor. [Learn more]
<anonymous> debugger eval code:1
This is where it gets weird. Each time do this and then click the "Learn More" link, I am taken to a different page.
So far, I've seen:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_a_function
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Non_configurable_array_element
The text of the error in console does not match the text seen on either of these pages. Something is weird there, and should probably be investigated.
Reporter | ||
Comment 1•6 years ago
|
||
(Yes, I know that HTMLAudioElement()
is not a valid constructor -- this is just about the error message itself)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•