diff options
Diffstat (limited to 'components/script/dom/bindings/proxyhandler.rs')
-rw-r--r-- | components/script/dom/bindings/proxyhandler.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/bindings/proxyhandler.rs b/components/script/dom/bindings/proxyhandler.rs index 12e4f04d68b..fb05f17611e 100644 --- a/components/script/dom/bindings/proxyhandler.rs +++ b/components/script/dom/bindings/proxyhandler.rs @@ -321,9 +321,9 @@ pub unsafe extern "C" fn maybe_cross_origin_get_prototype_if_ordinary_rawcx( true } -/// Implementation of `[[GetPrototypeOf]]` for [`History`]. +/// Implementation of `[[GetPrototypeOf]]` for [`Location`]. /// -/// [`History`]: https://html.spec.whatwg.org/multipage/#location-getprototypeof +/// [`Location`]: https://html.spec.whatwg.org/multipage/#location-getprototypeof pub unsafe fn maybe_cross_origin_get_prototype( cx: SafeJSContext, proxy: RawHandleObject, @@ -347,9 +347,9 @@ pub unsafe fn maybe_cross_origin_get_prototype( true } -/// Implementation of `[[SetPrototypeOf]]` for [`History`] and [`WindowProxy`]. +/// Implementation of `[[SetPrototypeOf]]` for [`Location`] and [`WindowProxy`]. /// -/// [`History`]: https://html.spec.whatwg.org/multipage/#location-setprototypeof +/// [`Location`]: https://html.spec.whatwg.org/multipage/#location-setprototypeof /// [`WindowProxy`]: https://html.spec.whatwg.org/multipage/#windowproxy-setprototypeof pub unsafe extern "C" fn maybe_cross_origin_set_prototype_rawcx( cx: *mut JSContext, |