Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SpiderMonkey #25678

Merged
merged 1 commit into from Mar 6, 2020
Merged

Update SpiderMonkey #25678

merged 1 commit into from Mar 6, 2020

Conversation

@nox
Copy link
Member

nox commented Feb 3, 2020

Do not merge.

@highfive
Copy link

highfive commented Feb 3, 2020

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/bindings/utils.rs, components/script/dom/eventtarget.rs, components/script/dom/bindings/namespace.rs, components/script/dom/bindings/error.rs, components/script/dom/bindings/codegen/CodegenRust.py and 10 more
  • @KiChjang: components/script/dom/bindings/utils.rs, components/script/dom/eventtarget.rs, components/script/dom/bindings/namespace.rs, components/script/dom/bindings/error.rs, components/script/dom/bindings/codegen/CodegenRust.py and 10 more
  • @emilio: components/style/Cargo.toml
@highfive
Copy link

highfive commented Feb 3, 2020

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify style and script code, but no tests are modified. Please consider adding a test!
@nox

This comment was marked as outdated.

@bors-servo

This comment was marked as outdated.

bors-servo added a commit that referenced this pull request Feb 3, 2020
Update SpiderMonkey (the wipest of WIPs)

Do not merge.
@bors-servo

This comment was marked as outdated.

@nox

This comment was marked as resolved.

@nox nox force-pushed the smup branch from 43e811c to 6e18c21 Feb 4, 2020
@highfive highfive removed the S-tests-failed label Feb 4, 2020
@nox

This comment was marked as outdated.

@bors-servo

This comment was marked as outdated.

bors-servo added a commit that referenced this pull request Feb 4, 2020
Update SpiderMonkey (the wipest of WIPs)

Do not merge.
@bors-servo

This comment was marked as outdated.

@nox

This comment was marked as resolved.

@nox nox force-pushed the smup branch from 6e18c21 to eca6c35 Feb 4, 2020
@highfive highfive removed the S-tests-failed label Feb 4, 2020
@nox

This comment was marked as outdated.

@nox

This comment was marked as outdated.

bors-servo added a commit that referenced this pull request Feb 4, 2020
Update SpiderMonkey (the wipest of WIPs)

Do not merge.
@bors-servo

This comment was marked as outdated.

@bors-servo

This comment was marked as outdated.

@nox

This comment was marked as outdated.

@bors-servo

This comment was marked as outdated.

@nox nox force-pushed the smup branch from a4440dc to 379bdd3 Feb 27, 2020
@nox
Copy link
Member Author

nox commented Feb 27, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 27, 2020

Trying commit 379bdd3 with merge 7305335...

bors-servo added a commit that referenced this pull request Feb 27, 2020
Update SpiderMonkey (the wipest of WIPs)

Do not merge.
@bors-servo
Copy link
Contributor

bors-servo commented Feb 27, 2020

💔 Test failed - status-taskcluster

@nox nox force-pushed the smup branch from 379bdd3 to f8e9ac5 Mar 2, 2020
@highfive highfive removed the S-tests-failed label Mar 2, 2020
@nox
Copy link
Member Author

nox commented Mar 2, 2020

@emilio I updated bindgen to 0.53, which means we may need .size_t_is_usize(true) on the Gecko side of Stylo.

@bors-servo
Copy link
Contributor

bors-servo commented Mar 5, 2020

The latest upstream changes (presumably #25863) made this pull request unmergeable. Please resolve the merge conflicts.

@nox nox changed the title Update SpiderMonkey (the wipest of WIPs) Update SpiderMonkey Mar 5, 2020
Copy link
Member

asajeffrey left a comment

LGTM. You can r=me once the other changes land.

Cargo.toml Outdated
rust-webvr-api = { git = "https://github.com/servo/rust-webvr.git", branch = "bindgen" }
[patch."https://github.com/servo/webxr"]
webxr = { git = "https://github.com/servo/webxr.git?lol", branch = "bindgen" }
webxr-api = { git = "https://github.com/servo/webxr.git?lol", branch = "bindgen" }

This comment has been minimized.

@asajeffrey

asajeffrey Mar 5, 2020

Member

Why do we need to update webvr/xr?

This comment has been minimized.

@nox

nox Mar 5, 2020

Author Member

For bindgen.

'js::jsapi::JSPropertySpec_Accessor',
'js::jsapi::JSPropertySpec_AccessorsOrValue',
'js::jsapi::JSPropertySpec_AccessorsOrValue_Accessors',
'js::jsapi::JSPropertySpec_Name',

This comment has been minimized.

@asajeffrey

asajeffrey Mar 5, 2020

Member

More yay for bindgenup!

@nox nox force-pushed the smup branch from a738442 to 5a4f8cf Mar 6, 2020
@nox
Copy link
Member Author

nox commented Mar 6, 2020

@bors-servo r=asajeffrey p=1

@bors-servo
Copy link
Contributor

bors-servo commented Mar 6, 2020

📌 Commit 5a4f8cf has been approved by asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented Mar 6, 2020

Testing commit 5a4f8cf with merge 356c4e0...

code.as_ptr() as *const _,
code.len() as libc::size_t,
&mut SourceText {
units_: code.as_ptr() as *const _,

This comment has been minimized.

@CYBAI

CYBAI Mar 6, 2020

Collaborator

This makes me notice I forgot to file an issue to expose this function from rust-mozjs 👀 Let me file one!

pub fn get_source_text(source: &[u16]) -> SourceText<u16> {
SourceText {
units_: source.as_ptr() as *const _,
length_: source.len() as u32,
ownsUnits_: false,
_phantom_0: PhantomData,
}
}

This comment has been minimized.

@CYBAI

CYBAI Mar 6, 2020

Collaborator

Ah, nah, I did file one at servo/rust-mozjs#490. Will send a PR to fix it and update here and script_module.

@bors-servo
Copy link
Contributor

bors-servo commented Mar 6, 2020

☀️ Test successful - status-taskcluster
Approved by: asajeffrey
Pushing 356c4e0 to master...

@bors-servo bors-servo merged commit 356c4e0 into master Mar 6, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
@bors-servo bors-servo deleted the smup branch Mar 6, 2020
@jdm jdm mentioned this pull request Mar 6, 2020
4 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

8 participants
You can’t perform that action at this time.