mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00:00
Update wpt-tests metadata
This commit is contained in:
parent
4c637e0601
commit
9b0b03a432
16 changed files with 62 additions and 60 deletions
|
@ -60,7 +60,6 @@ impl Blob {
|
|||
blobParts: Option<Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>>,
|
||||
blobPropertyBag: &BlobBinding::BlobPropertyBag,
|
||||
) -> Fallible<DomRoot<Blob>> {
|
||||
// TODO: accept other blobParts types - ArrayBuffer or ArrayBufferView
|
||||
let bytes: Vec<u8> = match blobParts {
|
||||
None => Vec::new(),
|
||||
Some(blobparts) => match blob_parts_to_bytes(blobparts) {
|
||||
|
|
|
@ -586,7 +586,6 @@ impl Document {
|
|||
if document_url.as_str() == "about:srcdoc" && container_base_url.is_some() {
|
||||
return container_base_url.unwrap();
|
||||
}
|
||||
|
||||
// Step 2: If document's URL is about:blank, and document's browsing
|
||||
// context's creator base URL is non-null, then return that creator base URL.
|
||||
if document_url.as_str() == "about:blank" && browsing_context.has_creator_base_url() {
|
||||
|
|
|
@ -155,7 +155,7 @@ impl URL {
|
|||
result.push('/');
|
||||
|
||||
// Step 5
|
||||
result.push_str(&id.to_simple().to_string());
|
||||
result.push_str(&id.to_string());
|
||||
|
||||
result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue