Created attachment 8861000 [details] [diff] [review] Patch Proxy::get and Proxy::set call ToWindowProxyIfWindow. This patch adds the fast path we have for IsWindow also to ToWindowProxyIfWindow, so we can inline the non-global case. Having that call is still sad because JS code should never pass a Window directly, but at least the overhead is much smaller now.
Attachment #8861000 - Flags: review?(evilpies)
Attachment #8861000 - Flags: review?(evilpies) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/3e76637092bf Inline the ToWindowProxyIfWindow is-global check. r=evilpie
Status: ASSIGNED → 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.