mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
doc(script): fix comments
`History` is not a maybe-cross-origin object. I must have been very sleepy when I wrote this.
This commit is contained in:
parent
e98cba1896
commit
66a4ea0727
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue