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

updated Blob constructor to use optional #10795

Merged
merged 1 commit into from Apr 23, 2016
Merged

Conversation

@yoava333
Copy link
Contributor

yoava333 commented Apr 21, 2016

fixes #10779


This change is Reviewable

@highfive
Copy link

highfive commented Apr 21, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/blob.rs, components/script/dom/webidls/Blob.webidl
pub fn Constructor_(global: GlobalRef,
blobParts: Vec<BlobOrString>,
pub fn Constructor(global: GlobalRef,
blobParts: Option<Vec<BlobOrString>>,

This comment has been minimized.

Copy link
@KiChjang

KiChjang Apr 21, 2016

Member

nit: Incorrect indentation.

.collect();
let bytes: Vec<u8> = match blobParts {
None => Vec::new(),
Some(blobs) => blobs.iter().flat_map(|bPart| {

This comment has been minimized.

Copy link
@Ms2ger

Ms2ger Apr 21, 2016

Contributor

Nit: wrap this into {}

@yoava333 yoava333 force-pushed the yoava333:master branch from c1ab356 to 03b9a0e Apr 21, 2016
@yoava333 yoava333 force-pushed the yoava333:master branch from 03b9a0e to 711c23a Apr 21, 2016
@Ms2ger
Copy link
Contributor

Ms2ger commented Apr 22, 2016

Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Apr 22, 2016

📌 Commit 711c23a has been approved by Ms2ger

@bors-servo
Copy link
Contributor

bors-servo commented Apr 23, 2016

Testing commit 711c23a with merge 9d88c32...

@bors-servo
Copy link
Contributor

bors-servo commented Apr 23, 2016

💔 Test failed - mac-dev-unit

@jdm
Copy link
Member

jdm commented Apr 23, 2016

@bors-servo: retry

  • git failure
@bors-servo
Copy link
Contributor

bors-servo commented Apr 23, 2016

Testing commit 711c23a with merge 1b13ddc...

bors-servo added a commit that referenced this pull request Apr 23, 2016
updated Blob constructor to use optional

fixes #10779

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10795)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 23, 2016

@bors-servo bors-servo merged commit 711c23a into servo:master Apr 23, 2016
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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.

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