Skip to content

wakelock errors should have error messages #44236

@jdm

Description

@jdm

Each use of Error::NotAllowed(None) in

fn Request(&self, cx: &mut CurrentRealm, _type_: WakeLockType) -> Rc<Promise> {
and
promise.reject_error(Error::NotAllowed(None), can_gc);
should pass a Some("Some descriptive error message".to_string()") insread.

Metadata

Metadata

Assignees

Labels

A-content/domInteracting with the DOM from web contentC-assignedThere is someone working on resolving the issueI-cleanupNo impact; the issue is one of maintainability or tidiness.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions