Closed
Bug 1649738
Opened 4 years ago
Closed 4 years ago
Log an error when calling targetFront.actorHasMethod() for an unknown or uninitialized actor
Categories
(DevTools :: Framework, task)
DevTools
Framework
Tracking
(firefox80 fixed)
RESOLVED
FIXED
Firefox 80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: rcaliman, Assigned: rcaliman)
Details
Attachments
(1 file)
UPDATE
TargetFront.actorHasMethod()
does work against all types of actors. The actor needs to have been initialized prior to querying for its description.
TargetFront.actorHasMethod()
works only against target-scoped actors.
If it is passed another actor, it fails silently and returns false.
The method should log an error when that happens to draw attention to improper use.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → rcaliman
Status: NEW → ASSIGNED
Updated•4 years ago
|
Attachment #9160643 -
Attachment description: Bug 1649738 - Log an error when calling targetFront.actorHasMethod() for an actor that is not target-scoped. r=jdescottes → Bug 1649738 - Log an error when calling targetFront.actorHasMethod() for an unknown or uninitialized actor. r=jdescottes
Assignee | ||
Updated•4 years ago
|
Summary: Log an error when calling targetFront.actorHasMethod() for an actor that is not target-scoped → Log an error when calling targetFront.actorHasMethod() for an unknown or uninitialized actor
Pushed by rcaliman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d47950d36ee Log an error when calling targetFront.actorHasMethod() for an unknown or uninitialized actor. r=jdescottes
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
You need to log in
before you can comment on or make changes to this bug.
Description
•