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

Treat url(<string>) as a normal functions, per spec change. #90

Merged
merged 2 commits into from
Nov 5, 2015

Conversation

SimonSapin
Copy link
Member

Only unquoted URLs are special tokens now. Use Parser::expect_url.

This is a [breaking-change]. The version number was incremented accordingly.

This change will help with servo/servo#7767

This triggers rust-lang/rust#28934 and fails to build in the current Rust nightly, but works fine in the Rust version that Servo currently use. Hopefully that rustc bug will be fixed before we need to upgrade Rust in Servo.

r? @mbrubeck

Review on Reviewable

Only unquoted URLs are special tokens now. Use `Parser::expect_url`.

This is a [breaking-change]. The version number was incremented accordingly.

This change will help with servo/servo#7767
@mbrubeck mbrubeck self-assigned this Oct 9, 2015
@mbrubeck
Copy link
Contributor

mbrubeck commented Oct 9, 2015

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from the review on Reviewable.io

@mbrubeck
Copy link
Contributor

mbrubeck commented Oct 9, 2015

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 3e2e0b5 has been approved by mbrubeck

@bors-servo
Copy link
Contributor

⌛ Testing commit 3e2e0b5 with merge ec47650...

bors-servo pushed a commit that referenced this pull request Oct 9, 2015
Treat url(<string>) as a normal functions, per spec change.

Only unquoted URLs are special tokens now. Use `Parser::expect_url`.

This is a [breaking-change]. The version number was incremented accordingly.

This change will help with servo/servo#7767

This triggers rust-lang/rust#28934 and fails to build in the current Rust nightly, but works fine in the Rust version that Servo currently use. Hopefully that rustc bug will be fixed before we need to upgrade Rust in Servo.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/90)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - travis

@mbrubeck
Copy link
Contributor

We'll need to disable the nightly channel in Travis temporarily, or pin it to a specific nightly.

@SimonSapin
Copy link
Member Author

Let’s wait and see if I want to land the corresponding Servo change before the rustc bug is fixed.

@SimonSapin
Copy link
Member Author

@bors-servo r=mbrubeck

@SimonSapin
Copy link
Member Author

The Rust bug is fixed in nightly, but beta shipped with it: rust-lang/rust#29188 (comment)

@mbrubeck
Copy link
Contributor

mbrubeck commented Nov 2, 2015

@bors-servo retry

@jdm
Copy link
Member

jdm commented Nov 2, 2015

@bors-servo: r=mbrubeck

1 similar comment
@jdm
Copy link
Member

jdm commented Nov 2, 2015

@bors-servo: r=mbrubeck

@bors-servo
Copy link
Contributor

📌 Commit fa477fd has been approved by mbrubeck

@bors-servo
Copy link
Contributor

⌛ Testing commit fa477fd with merge 71fd372...

bors-servo pushed a commit that referenced this pull request Nov 2, 2015
Treat url(<string>) as a normal functions, per spec change.

Only unquoted URLs are special tokens now. Use `Parser::expect_url`.

This is a [breaking-change]. The version number was incremented accordingly.

This change will help with servo/servo#7767

This triggers rust-lang/rust#28934 and fails to build in the current Rust nightly, but works fine in the Rust version that Servo currently use. Hopefully that rustc bug will be fixed before we need to upgrade Rust in Servo.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/90)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - travis

@jdm
Copy link
Member

jdm commented Nov 2, 2015

Failed on the beta compiler as expected.

@SimonSapin
Copy link
Member Author

@bors-servo retry

rust-lang/rust#29188 has been backported to 1.5.0-beta.3: rust-lang/rust#29592

@bors-servo
Copy link
Contributor

⌛ Testing commit fa477fd with merge af09656...

bors-servo pushed a commit that referenced this pull request Nov 5, 2015
Treat url(<string>) as a normal functions, per spec change.

Only unquoted URLs are special tokens now. Use `Parser::expect_url`.

This is a [breaking-change]. The version number was incremented accordingly.

This change will help with servo/servo#7767

This triggers rust-lang/rust#28934 and fails to build in the current Rust nightly, but works fine in the Rust version that Servo currently use. Hopefully that rustc bug will be fixed before we need to upgrade Rust in Servo.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/90)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - travis

@bors-servo bors-servo merged commit fa477fd into master Nov 5, 2015
@SimonSapin SimonSapin deleted the url-functions branch November 5, 2015 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants