The declarations of their refcounting methods already includes an owning thread, so let's just piggyback on top of that to assert their owning thread, rather than having separate fields and tests.
Created attachment 8863898 [details] [diff] [review] change ownership assertion mechanism for various DOM classes
Attachment #8863898 - Flags: review?(amarchesini)
Attachment #8863898 - Flags: review?(amarchesini) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/7688e9d66726 change ownership assertion mechanism for various DOM classes; r=baku
Status: NEW → RESOLVED
Last Resolved: 9 months ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.