Closed Bug 1313510 Opened 8 years ago Closed 8 years ago

Add a parameter to a port.onMessage

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1299411

People

(Reporter: andy+bugzilla, Unassigned)

References

Details

As per bug 1309926 comment 1:

> the second parameter to a port.onMessage listener is the port that received the message

I am guessing this would be the place where the second argument, portObj, is missing:

https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/ExtensionUtils.jsm#1225

Once this is fixed, I am quite optimistic we would have a well working 1st version of webext-based uBO.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.