Open
Bug 1478024
Opened 8 years ago
Updated 3 years ago
Error in Browser Console after granting temporary autoplay permission to websites
Categories
(Firefox :: Site Permissions, defect, P3)
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | affected |
People
(Reporter: gpalko, Unassigned)
Details
[Environment:]
Windows 10, Mac OSX 10.13
Nightly 63.0a1 BuildId 20180724100052
[Steps:]
1. Open the Browser Console
2. Open any site triggering the block autoplay doorhanger (e.g. www.arcticmonkeys.com/
3. Uncheck "Remember this decision" and click Allow
[Actual Result:]
The following error is displayed in console:
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIContentPermissionRequest.element]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/PermissionUI.jsm :: get browser :: line 409" data: no]
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIContentPermissionRequest.element] at PermissionUI.jsm:409
[Expected Result:]
No error should be logged after granting permissions to websites
Comment 1•8 years ago
|
||
Chris, do you know which code is causing the error message in the description?
Rank: 15
Flags: needinfo?(cpearce)
Priority: -- → P2
Comment 2•8 years ago
|
||
I believe this is benign. I looked into this a while back and IIRC the front end code has multiple code paths that lead to reporting a permission request response to Gecko, those code paths touch nsIContentPermissionRequest.element, and after the first response is reported the connection between the front end and Gecko is severed [1], leading to this error being reported [2] upon responses after than the first.
[1] https://searchfox.org/mozilla-central/rev/bdfd20ef30d521b57d5b6feeda71325e8b4cad66/dom/base/nsContentPermissionHelper.cpp#686
[2] https://searchfox.org/mozilla-central/rev/bdfd20ef30d521b57d5b6feeda71325e8b4cad66/dom/base/nsContentPermissionHelper.cpp#651
Component: Audio/Video: Playback → Site Identity and Permission Panels
Flags: needinfo?(cpearce)
Product: Core → Firefox
Updated•8 years ago
|
No longer blocks: block-autoplay-frontend
Updated•7 years ago
|
Component: Site Identity → Site Permissions
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•