Anthony Ramine
b783d96749
Make fill_property_descriptor take a flags argument
2016-02-23 17:14:27 +01:00
Anthony Ramine
144e215548
Don't use the hasOwn hook anymore in browsingcontext
...
There is no [[HasOwnProperty]] hook in the ES spec, we should just define
the has proxy trap.
https://bugzilla.mozilla.org/show_bug.cgi?id=980565
2016-02-23 15:42:43 +01:00
Anthony Ramine
a734b8fa21
Reorder js imports in browsingcontext
2016-02-23 15:42:42 +01:00
bors-servo
ee158cc65f
Auto merge of #9603 - Ms2ger:document-bc, r=jdm
...
Store a pointer to the browsing context in the Document.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9603 )
<!-- Reviewable:end -->
2016-02-19 12:49:35 +05:30
Daniel Robertson
7a35ef1555
Implement RootedReference<T> for Option<JS<T>>
...
An implementation of RootedReference for Option<JS<T>> based off of
other implementations of RootedReference for Option wrapped types.
2016-02-16 22:40:03 +00:00
Ms2ger
152cec69eb
Store a pointer to the browsing context in the Document.
2016-02-11 13:08:11 +01:00
Brandon Fairchild
6bb61afa7c
Use JS_GetOwnPropertyDescriptorById in BrowserContext ( fixes #6984 ).
2016-02-11 12:35:06 +01:00
Ms2ger
d79660e989
Give WindowProxy objects an innerObject hook.
...
This ensures that UncheckedUnwrap(obj, /* stopAtOuter = */ true) will indeed
stop at the WindowProxy ("outer window", in older SpiderMonkey jargon), which
is necessary to prevent raw Window ("inner window") objects becoming visible
to JavaScript code, or tripping assertions that we don't do that.
2016-02-09 16:46:48 +01:00
Ms2ger
b7b5c79787
Rename the browsercontext module.
2015-12-11 15:27:27 -05:00