Open Bug 1196097 Opened 9 years ago Updated 2 years ago

Use SameObject for source attribute of ServiceWorkerMessageEvent interface

Categories

(Core :: DOM: Service Workers, defect, P3)

All
Unspecified
defect

Tracking

()

Tracking Status
firefox43 --- affected

People

(Reporter: dimi, Unassigned)

References

(Blocks 1 open bug)

Details

https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#serviceworkermessage-event-section
the |source| attribute of ServiceWorkerMessageEvent interface defined in spec is:
[SameObject] readonly attribute (ServiceWorker or MessagePort)? source;

But for now if we try to use |SameObject| over union type attribute, it will show "An attribute with [SameObject] must have an interface type as its type" build error.
We should use |SameObject| once IDL spec is changed.
Depends on: 1143717
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.