security error when accessing content event properties in mozTCPSocket events

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
3 years ago
2 years ago

People

(Reporter: dietrich, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Scenario: basic socket send() and listen to events.

When accessing an onerror event's properties I get:

"Security wrapper denied access to property toString on privileged Javascript object"

Also, I think onerror is firing even when there's no error, but not sure.

Josh, ni? because Fabrice said you recently converted this to webidl.
(Reporter)

Updated

3 years ago
Flags: needinfo?(josh)
Any chance you could try the patches in bug 885982 and see if you can still reproduce?
Flags: needinfo?(josh)
(Reporter)

Comment 2

3 years ago
Sorry I don't even have a build env set up at the moment. No idea when I'll get around to manually testing those patches :(
Going to resolve WFM since the WebIDL changes should have addressed it and the API in this context is moot.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.