Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #1820 - Improve the Blob implementation
- Loading branch information
Showing
6 changed files
with
125 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<html> | ||
<head> | ||
<script src="harness.js"></script> | ||
<script> | ||
var testData = ['<a id="a"><b id="b">hey!</b></a>']; | ||
var b = new Blob(testData); // the blob | ||
is(b.size, 32); | ||
is(b.type, ""); | ||
|
||
var bs = b.slice(0, 5); | ||
is(bs.size, 5); | ||
is(b.type, ""); | ||
</script> | ||
</head> | ||
</html> |
f2885b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from jdm
at shinglyu@f2885b8
f2885b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging shinglyu/servo/blob = f2885b8 into auto
f2885b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shinglyu/servo/blob = f2885b8 merged ok, testing candidate = d2a67ab
f2885b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://build.servo.org/builders/linux1/builds/230
success: http://build.servo.org/builders/linux2/builds/230
success: http://build.servo.org/builders/android/builds/297
success: http://build.servo.org/builders/mac1/builds/447
success: http://build.servo.org/builders/mac2/builds/447
f2885b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = d2a67ab