Anthony Ramine
27f100b1d4
Introduce GlobalScope::pipeline_id
2016-10-06 20:59:13 +02:00
Alan Jeffrey
99fd08f832
Removed the session history from BrowsingContext.
2016-10-05 13:18:35 -05:00
Ms2ger
6928fbfa31
Pass a MutableHandle to fill_property_descriptor.
2016-09-27 10:29:47 +02:00
Aneesh Agrawal
56fbfd46a4
Excise SubpageId and use only PipelineIds
...
SubpageId was originally introduced in 2013 to help iframes keep track of
their associated (children) pipelines. However, since each pipeline
already has a PipelineId, and those are unique, those are sufficient
to keep track of children.
2016-09-13 15:37:38 -04:00
Aneesh Agrawal
9d097e7d15
Use fn pipeline_id consistently, not fn pipeline
...
Consistently use the name 'pipeline_id' to refer to a function that
returns an (optional) PipelineId.
This was prompted by discovering both fn pipeline and fn pipeline_id
doing the same job in htmliframeelement.rs.
Note that there is fn pipeline in components/compositing/compositor.rs,
but that actually returns an Option<&CompositionPipeline>, not any kind
of PipelineId.
2016-09-13 15:17:40 -04:00
Josh Matthews
8653450b6e
Extract mutability out of Reflectable trait.
2016-09-07 10:40:13 +02:00
Tetsuharu OHZEKI
0277cf9174
Make DOMJSClass use JSClass instead of Class ( fixes #13031 )
2016-08-26 22:31:09 +02:00
Ms2ger
89efccc426
Update SpiderMonkey to m-c bcf4ff0c3eef.
...
This currently breaks Servo on Android, because there are a number of
interdependent changes that cannot easily land serially in a way that
keeps it working throughout. We expect to fix this in the near future.
2016-07-28 13:05:56 +02:00
Eduard Burtescu
0db1faf876
Switch to using the new rooted!/RootedGuard API for rooting.
2016-07-04 20:59:01 +03:00
Ms2ger
7455dc4a50
Avoid an index-out-of-bounds error in ScriptMemoryFailsafe.
...
Fixes #11059 .
Fixes #11400 .
Fixes #11481 .
Fixes #11671 .
Fixes #11682 .
2016-06-09 14:51:10 +02:00
Ms2ger
e7eee3b067
Remove the IterableContext trait.
...
It serves no purpose.
2016-05-24 16:01:33 +02:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Ms2ger
735480c184
Stop using JSAutoRequest.
2016-05-13 15:34:38 +02:00
Connor Brewster
e50eb2a4d6
Addressed comment
2016-05-11 15:01:43 -06:00
Connor Brewster
cbc5ca65a8
remove page and move functionality to browing context
...
Allow for adding history items
Fixed nested iframe test failure
Cleanup and small refactors
fixup
2016-05-11 12:46:59 -06:00
Josh Matthews
a85e659b29
Ensure that the fields of BrowsingContext are traced and the Rust object is freed when the reflector is finalized.
2016-05-11 08:34:50 -04:00
Anthony Ramine
eb94f1a918
Update SpiderMonkey
2016-05-03 18:36:11 +02:00
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