Josh Matthews
f76bb20c2e
Format.
2022-11-23 10:04:53 -05:00
Josh Matthews
bd77a4043c
Changes for spidermomkey upgrade.
2022-11-23 10:04:50 -05:00
yvt
afbe2fa1f2
fix(script): don't pass an unrooted slice to from_rooted_slice
2021-07-28 09:10:55 +09:00
yvt
110b3ab6bc
style(script): add underscore to unused parameter
2021-07-27 22:38:32 +09:00
yvt
c28e98ec40
refactor(script): squash CGDOMJSProxyHandler_set
...
The implementation in `crate::dom::bindings::proxyhandler::
maybe_cross_origin_set_rawcx` is now directly assigned to `ProxyTraps::
set`.
2021-07-26 01:07:29 +09:00
yvt
66a4ea0727
doc(script): fix comments
...
`History` is not a maybe-cross-origin object. I must have been very
sleepy when I wrote this.
2021-07-26 01:06:24 +09:00
yvt
690d8462a5
refactor(script): apply suggestions
2021-07-25 18:45:22 +09:00
yvt
df5e2911fd
refactor(script): apply suggestion
...
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2021-07-25 17:20:09 +09:00
yvt
d733abfca0
style(script): address test-tidy
errors
2021-07-17 17:06:05 +09:00
yvt
75242d6c4c
feat(script): implement the last step of CrossOriginOwnPropertyKeys
2021-07-17 15:26:15 +09:00
yvt
1bcbdae27b
doc(script): improve comments in proxyhandler.rs
2021-07-17 15:26:15 +09:00
yvt
4bc3453174
feat(script): Implement [[Set]]
for Location
2021-07-17 15:26:15 +09:00
yvt
722a239715
feat(script): Implement [[{Get,Set}PrototypeOf]]
for Location
2021-07-17 15:26:15 +09:00
yvt
41cce140bc
feat(script): implement some of the non-ordinary internal methods of Location
...
<https://html.spec.whatwg.org/multipage/#the-location-interface >
- `[[GetPrototypeOf]]`: not yet
- `[[SetPrototypeOf]]`: not yet
- `[[IsExtensible]]`: `proxyhandler::is_extensible`
- `[[PreventExtensions]]`: `proxyhandler::prevent_extensions`
- `[[GetOwnProperty]]`: `CGDOMJSProxyHandler_getOwnPropertyDescriptor` (updated)
- `[[DefineOwnProperty]]`: `CGDOMJSProxyHandler_defineProperty` (updated)
- `[[Get]]`: `CGDOMJSProxyHandler_get` (updated)
- `[[Set]]`: not yet
- `[[Delete]]`: `CGDOMJSProxyHandler_delete` (updated)
- `[[OwnPropertyKeys]]`: `CGDOMJSProxyHandler_ownPropertyKeys` (updated)
2021-07-16 01:26:05 +09:00
Anthony Ramine
5a4f8cf93f
Update SpiderMonkey
2020-03-06 11:13:28 +01:00
Josh Matthews
63714c90fb
Upgrade to Spidermonkey 67.
2019-06-26 18:10:46 -04:00
Jan Andre Ikenmeyer
a1a14459c1
Update MPL license to https (part 3)
2018-11-19 14:47:12 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Simon Sapin
45f7199eee
cargo fix --edition
2018-11-06 15:26:02 +01:00
chansuke
c37a345dc9
Format script component
2018-09-19 17:40:47 -04:00
Alan Jeffrey
74c1e00d81
Upgraded to SM 60
2018-08-20 18:22:29 -04:00
Marcin Mielniczuk
356c57e628
Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393
2018-03-28 21:28:30 +02:00
Simon Sapin
4d459bce32
Fix tyvar_behind_raw_pointer warnings
...
https://github.com/rust-lang/rust/issues/46906
2018-01-10 20:54:35 +01:00
Bastien Orivel
516857a15d
Remove a workaround for https://github.com/rust-lang/rfcs/issues/718
2017-11-01 13:03:35 +01:00
Ms2ger
b57abc19da
Make {get,ensure}_expando_object unsafe.
...
They trust the caller-provided raw pointers to be valid.
2017-02-07 11:44:38 +01:00
Ms2ger
bd431039b9
Properly root expando objects.
2017-02-07 11:35:55 +01:00
Ms2ger
558afe1786
Update js.
2016-11-02 13:25:49 +01:00
Ms2ger
6928fbfa31
Pass a MutableHandle to fill_property_descriptor.
2016-09-27 10:29:47 +02:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Josh Matthews
4961a513d4
Check for shadowing properties on DOM proxies. Fixes #12357 .
2016-08-25 00:11:39 -04:00
Josh Matthews
2ad293ca64
Pass real values to the proxy handler setup.
2016-08-25 00:11:38 -04: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
Anthony Ramine
eb94f1a918
Update SpiderMonkey
2016-05-03 18:36:11 +02:00
Ms2ger
6f679c124c
Update to Rust 2016-03-18.
2016-03-20 10:05:45 +01:00
Anthony Ramine
b783d96749
Make fill_property_descriptor take a flags argument
2016-02-23 17:14:27 +01:00
Ms2ger
0c61be7a57
Rustfmt some of script.
2015-11-18 11:14:05 +01:00
Michael Wu
e733a7c46a
Support the updated spidermonkey bindings
2015-10-14 15:30:52 -04:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Brandon Fairchild
de3547e401
Fix reported test-tidy errors for unmerged import blocks
...
This merges import blocks that were reported by tidy as unmerged.
2015-09-19 12:50:14 -04:00
Manish Goregaokar
e94df1ed5c
Remove needless returns
2015-09-04 09:13:48 +05:30
Corey Farwell
b11be4d253
Initial implementation of ownPropertyKeys proxy handler
...
Generates `SupportedPropertyNames` on DOM structs that should implement
it. Most of them are unimplemented now (which can be implemented in
later PRs), with the exception of `HTMLCollection`. Also added a couple
relevant WPT tests.
Closes #6390
Closes #2215
2015-08-20 11:58:42 -04:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Adrián Arroyo Calle
68f6fdd8bc
Removed unused object_to_string method
2015-08-09 11:26:15 +02:00
Michael Wu
b7301ca06c
Fix some warnings caused by the SM upgrade
2015-06-19 22:07:08 -04:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Ms2ger
009cc87b6a
Rename getOwnPropertyNames_ and enumerate_ to get_own_property_names and enumerate.
2015-01-29 17:28:07 +01:00
Ms2ger
bcd9ca6081
Rename FillPropertyDescriptor to fill_property_descriptor.
2015-01-29 17:28:07 +01:00
Ms2ger
2592045ed4
Rename EnsureExpandoObject to ensure_expando_object.
2015-01-29 17:28:07 +01:00
Ms2ger
0b9549746b
Rename GetExpandoObject to get_expando_object.
2015-01-29 17:28:07 +01:00