mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Auto merge of #8454 - jdm:media, r=KiChjang
Implement basic <media> infrastructure This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454) <!-- Reviewable:end -->
This commit is contained in:
commit
f9d9cd3aae
108 changed files with 1957 additions and 1265 deletions
|
@ -21,6 +21,7 @@ pub enum LoadType {
|
|||
Subframe(Url),
|
||||
Stylesheet(Url),
|
||||
PageSource(Url),
|
||||
Media(Url),
|
||||
}
|
||||
|
||||
impl LoadType {
|
||||
|
@ -30,6 +31,7 @@ impl LoadType {
|
|||
LoadType::Script(ref url) |
|
||||
LoadType::Subframe(ref url) |
|
||||
LoadType::Stylesheet(ref url) |
|
||||
LoadType::Media(ref url) |
|
||||
LoadType::PageSource(ref url) => url,
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +41,8 @@ impl LoadType {
|
|||
LoadType::Image(_) => LoadContext::Image,
|
||||
LoadType::Script(_) => LoadContext::Script,
|
||||
LoadType::Subframe(_) | LoadType::PageSource(_) => LoadContext::Browsing,
|
||||
LoadType::Stylesheet(_) => LoadContext::Style
|
||||
LoadType::Stylesheet(_) => LoadContext::Style,
|
||||
LoadType::Media(_) => LoadContext::AudioVideo,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,14 +2,182 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use document_loader::LoadType;
|
||||
use dom::attr::Attr;
|
||||
use dom::bindings::cell::DOMRefCell;
|
||||
use dom::bindings::codegen::Bindings::AttrBinding::AttrMethods;
|
||||
use dom::bindings::codegen::Bindings::HTMLMediaElementBinding::CanPlayTypeResult;
|
||||
use dom::bindings::codegen::Bindings::HTMLMediaElementBinding::HTMLMediaElementConstants::*;
|
||||
use dom::bindings::codegen::Bindings::HTMLMediaElementBinding::HTMLMediaElementMethods;
|
||||
use dom::bindings::codegen::Bindings::MediaErrorBinding::MediaErrorConstants::*;
|
||||
use dom::bindings::codegen::Bindings::MediaErrorBinding::MediaErrorMethods;
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::js::{Root, MutNullableHeap, JS};
|
||||
use dom::bindings::refcounted::Trusted;
|
||||
use dom::document::Document;
|
||||
use dom::element::{Element, AttributeMutation};
|
||||
use dom::event::{Event, EventBubbles, EventCancelable};
|
||||
use dom::htmlelement::HTMLElement;
|
||||
use dom::htmlsourceelement::HTMLSourceElement;
|
||||
use dom::mediaerror::MediaError;
|
||||
use dom::node::{window_from_node, document_from_node, Node, UnbindContext};
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
use ipc_channel::ipc;
|
||||
use ipc_channel::router::ROUTER;
|
||||
use net_traits::{AsyncResponseListener, AsyncResponseTarget, Metadata, NetworkError};
|
||||
use network_listener::{NetworkListener, PreInvoke};
|
||||
use script_runtime::ScriptChan;
|
||||
use script_thread::{Runnable, ScriptThread};
|
||||
use std::cell::Cell;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use string_cache::Atom;
|
||||
use task_source::TaskSource;
|
||||
use task_source::dom_manipulation::DOMManipulationTask;
|
||||
use time::{self, Timespec, Duration};
|
||||
use url::Url;
|
||||
use util::str::DOMString;
|
||||
|
||||
struct HTMLMediaElementContext {
|
||||
/// The element that initiated the request.
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
/// The response body received to date.
|
||||
data: Vec<u8>,
|
||||
/// The response metadata received to date.
|
||||
metadata: Option<Metadata>,
|
||||
/// The generation of the media element when this fetch started.
|
||||
generation_id: u32,
|
||||
/// Time of last progress notification.
|
||||
next_progress_event: Timespec,
|
||||
/// Url of resource requested.
|
||||
url: Url,
|
||||
/// Whether the media metadata has been completely received.
|
||||
have_metadata: bool,
|
||||
/// True if this response is invalid and should be ignored.
|
||||
ignore_response: bool,
|
||||
}
|
||||
|
||||
impl AsyncResponseListener for HTMLMediaElementContext {
|
||||
// https://html.spec.whatwg.org/multipage/#media-data-processing-steps-list
|
||||
fn headers_available(&mut self, metadata: Result<Metadata, NetworkError>) {
|
||||
self.metadata = metadata.ok();
|
||||
|
||||
// => "If the media data cannot be fetched at all..."
|
||||
let is_failure = self.metadata
|
||||
.as_ref()
|
||||
.and_then(|m| m.status
|
||||
.as_ref()
|
||||
.map(|s| s.0 < 200 || s.0 >= 300))
|
||||
.unwrap_or(false);
|
||||
if is_failure {
|
||||
// Ensure that the element doesn't receive any further notifications
|
||||
// of the aborted fetch. The dedicated failure steps will be executed
|
||||
// when response_complete runs.
|
||||
self.ignore_response = true;
|
||||
}
|
||||
}
|
||||
|
||||
fn data_available(&mut self, payload: Vec<u8>) {
|
||||
if self.ignore_response {
|
||||
return;
|
||||
}
|
||||
|
||||
let mut payload = payload;
|
||||
self.data.append(&mut payload);
|
||||
|
||||
let elem = self.elem.root();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#media-data-processing-steps-list
|
||||
// => "Once enough of the media data has been fetched to determine the duration..."
|
||||
if !self.have_metadata {
|
||||
//TODO: actually check if the payload contains the full metadata
|
||||
|
||||
// Step 6
|
||||
elem.change_ready_state(HAVE_METADATA);
|
||||
self.have_metadata = true;
|
||||
} else {
|
||||
elem.change_ready_state(HAVE_CURRENT_DATA);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#concept-media-load-resource step 4,
|
||||
// => "If mode is remote" step 2
|
||||
if time::get_time() > self.next_progress_event {
|
||||
elem.queue_fire_simple_event("progress");
|
||||
self.next_progress_event = time::get_time() + Duration::milliseconds(350);
|
||||
}
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#media-data-processing-steps-list
|
||||
fn response_complete(&mut self, status: Result<(), NetworkError>) {
|
||||
let elem = self.elem.root();
|
||||
|
||||
// => "Once the entire media resource has been fetched..."
|
||||
if status.is_ok() {
|
||||
elem.change_ready_state(HAVE_ENOUGH_DATA);
|
||||
|
||||
elem.fire_simple_event("progress");
|
||||
|
||||
elem.network_state.set(NETWORK_IDLE);
|
||||
|
||||
elem.fire_simple_event("suspend");
|
||||
}
|
||||
// => "If the connection is interrupted after some media data has been received..."
|
||||
else if elem.ready_state.get() != HAVE_NOTHING {
|
||||
// Step 2
|
||||
elem.error.set(Some(&*MediaError::new(&*window_from_node(&*elem),
|
||||
MEDIA_ERR_NETWORK)));
|
||||
|
||||
// Step 3
|
||||
elem.network_state.set(NETWORK_IDLE);
|
||||
|
||||
// TODO: Step 4 - update delay load flag
|
||||
|
||||
// Step 5
|
||||
elem.fire_simple_event("error");
|
||||
}
|
||||
// => "If the media data cannot be fetched at all..."
|
||||
else {
|
||||
elem.queue_dedicated_media_source_failure_steps();
|
||||
}
|
||||
|
||||
let document = document_from_node(&*elem);
|
||||
document.finish_load(LoadType::Media(self.url.clone()));
|
||||
}
|
||||
}
|
||||
|
||||
impl PreInvoke for HTMLMediaElementContext {
|
||||
fn should_invoke(&self) -> bool {
|
||||
//TODO: finish_load needs to run at some point if the generation changes.
|
||||
self.elem.root().generation_id.get() == self.generation_id
|
||||
}
|
||||
}
|
||||
|
||||
impl HTMLMediaElementContext {
|
||||
fn new(elem: &HTMLMediaElement, url: Url) -> HTMLMediaElementContext {
|
||||
HTMLMediaElementContext {
|
||||
elem: Trusted::new(elem),
|
||||
data: vec![],
|
||||
metadata: None,
|
||||
generation_id: elem.generation_id.get(),
|
||||
next_progress_event: time::get_time() + Duration::milliseconds(350),
|
||||
url: url,
|
||||
have_metadata: false,
|
||||
ignore_response: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[dom_struct]
|
||||
pub struct HTMLMediaElement {
|
||||
htmlelement: HTMLElement,
|
||||
network_state: Cell<u16>,
|
||||
ready_state: Cell<u16>,
|
||||
current_src: DOMRefCell<String>,
|
||||
generation_id: Cell<u32>,
|
||||
first_data_load: Cell<bool>,
|
||||
error: MutNullableHeap<JS<MediaError>>,
|
||||
paused: Cell<bool>,
|
||||
autoplaying: Cell<bool>,
|
||||
}
|
||||
|
||||
impl HTMLMediaElement {
|
||||
|
@ -18,7 +186,15 @@ impl HTMLMediaElement {
|
|||
-> HTMLMediaElement {
|
||||
HTMLMediaElement {
|
||||
htmlelement:
|
||||
HTMLElement::new_inherited(tag_name, prefix, document)
|
||||
HTMLElement::new_inherited(tag_name, prefix, document),
|
||||
network_state: Cell::new(NETWORK_EMPTY),
|
||||
ready_state: Cell::new(HAVE_NOTHING),
|
||||
current_src: DOMRefCell::new("".to_owned()),
|
||||
generation_id: Cell::new(0),
|
||||
first_data_load: Cell::new(true),
|
||||
error: Default::default(),
|
||||
paused: Cell::new(true),
|
||||
autoplaying: Cell::new(true),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,4 +202,614 @@ impl HTMLMediaElement {
|
|||
pub fn htmlelement(&self) -> &HTMLElement {
|
||||
&self.htmlelement
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#internal-pause-steps
|
||||
fn internal_pause_steps(&self) {
|
||||
// Step 1
|
||||
self.autoplaying.set(false);
|
||||
|
||||
// Step 2
|
||||
if !self.Paused() {
|
||||
// 2.1
|
||||
self.paused.set(true);
|
||||
|
||||
// 2.2
|
||||
self.queue_internal_pause_steps_task();
|
||||
|
||||
// TODO 2.3 (official playback position)
|
||||
}
|
||||
|
||||
// TODO step 3 (media controller)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#notify-about-playing
|
||||
fn notify_about_playing(&self) {
|
||||
// Step 1
|
||||
self.fire_simple_event("playing");
|
||||
// TODO Step 2
|
||||
}
|
||||
|
||||
fn queue_notify_about_playing(&self) {
|
||||
struct Task {
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
}
|
||||
|
||||
impl Runnable for Task {
|
||||
fn handler(self: Box<Task>) {
|
||||
self.elem.root().notify_about_playing();
|
||||
}
|
||||
}
|
||||
|
||||
let task = Task {
|
||||
elem: Trusted::new(self),
|
||||
};
|
||||
let win = window_from_node(self);
|
||||
let _ = win.dom_manipulation_task_source().queue(DOMManipulationTask::MediaTask(box task));
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#internal-pause-steps step 2.2
|
||||
fn queue_internal_pause_steps_task(&self) {
|
||||
struct Task {
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
}
|
||||
|
||||
impl Runnable for Task {
|
||||
fn handler(self: Box<Task>) {
|
||||
let elem = self.elem.root();
|
||||
// 2.2.1
|
||||
elem.fire_simple_event("timeupdate");
|
||||
// 2.2.2
|
||||
elem.fire_simple_event("pause");
|
||||
// TODO 2.2.3
|
||||
}
|
||||
}
|
||||
|
||||
let task = Task {
|
||||
elem: Trusted::new(self),
|
||||
};
|
||||
let win = window_from_node(self);
|
||||
let _ = win.dom_manipulation_task_source().queue(DOMManipulationTask::MediaTask(box task));
|
||||
}
|
||||
|
||||
fn queue_fire_simple_event(&self, type_: &'static str) {
|
||||
let win = window_from_node(self);
|
||||
let task = FireSimpleEventTask::new(self, type_);
|
||||
let _ = win.dom_manipulation_task_source().queue(DOMManipulationTask::MediaTask(box task));
|
||||
}
|
||||
|
||||
fn fire_simple_event(&self, type_: &str) {
|
||||
let window = window_from_node(self);
|
||||
let event = Event::new(GlobalRef::Window(&*window),
|
||||
Atom::from(type_),
|
||||
EventBubbles::DoesNotBubble,
|
||||
EventCancelable::NotCancelable);
|
||||
event.fire(self.upcast());
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#ready-states
|
||||
fn change_ready_state(&self, ready_state: u16) {
|
||||
let old_ready_state = self.ready_state.get();
|
||||
self.ready_state.set(ready_state);
|
||||
|
||||
if self.network_state.get() == NETWORK_EMPTY {
|
||||
return;
|
||||
}
|
||||
|
||||
// Step 1
|
||||
match (old_ready_state, ready_state) {
|
||||
// previous ready state was HAVE_NOTHING, and the new ready state is
|
||||
// HAVE_METADATA
|
||||
(HAVE_NOTHING, HAVE_METADATA) => {
|
||||
self.queue_fire_simple_event("loadedmetadata");
|
||||
}
|
||||
|
||||
// previous ready state was HAVE_METADATA and the new ready state is
|
||||
// HAVE_CURRENT_DATA or greater
|
||||
(HAVE_METADATA, HAVE_CURRENT_DATA) |
|
||||
(HAVE_METADATA, HAVE_FUTURE_DATA) |
|
||||
(HAVE_METADATA, HAVE_ENOUGH_DATA) => {
|
||||
if self.first_data_load.get() {
|
||||
self.first_data_load.set(false);
|
||||
self.queue_fire_simple_event("loadeddata");
|
||||
}
|
||||
}
|
||||
|
||||
// previous ready state was HAVE_FUTURE_DATA or more, and the new ready
|
||||
// state is HAVE_CURRENT_DATA or less
|
||||
(HAVE_FUTURE_DATA, HAVE_CURRENT_DATA) |
|
||||
(HAVE_ENOUGH_DATA, HAVE_CURRENT_DATA) |
|
||||
(HAVE_FUTURE_DATA, HAVE_METADATA) |
|
||||
(HAVE_ENOUGH_DATA, HAVE_METADATA) |
|
||||
(HAVE_FUTURE_DATA, HAVE_NOTHING) |
|
||||
(HAVE_ENOUGH_DATA, HAVE_NOTHING) => {
|
||||
// TODO: timeupdate event logic + waiting
|
||||
}
|
||||
|
||||
_ => (),
|
||||
}
|
||||
|
||||
// Step 1
|
||||
// If the new ready state is HAVE_FUTURE_DATA or HAVE_ENOUGH_DATA,
|
||||
// then the relevant steps below must then be run also.
|
||||
match (old_ready_state, ready_state) {
|
||||
// previous ready state was HAVE_CURRENT_DATA or less, and the new ready
|
||||
// state is HAVE_FUTURE_DATA
|
||||
(HAVE_CURRENT_DATA, HAVE_FUTURE_DATA) |
|
||||
(HAVE_METADATA, HAVE_FUTURE_DATA) |
|
||||
(HAVE_NOTHING, HAVE_FUTURE_DATA) => {
|
||||
self.queue_fire_simple_event("canplay");
|
||||
|
||||
if !self.Paused() {
|
||||
self.queue_notify_about_playing();
|
||||
}
|
||||
}
|
||||
|
||||
// new ready state is HAVE_ENOUGH_DATA
|
||||
(_, HAVE_ENOUGH_DATA) => {
|
||||
if old_ready_state <= HAVE_CURRENT_DATA {
|
||||
self.queue_fire_simple_event("canplay");
|
||||
|
||||
if !self.Paused() {
|
||||
self.queue_notify_about_playing();
|
||||
}
|
||||
}
|
||||
|
||||
//TODO: check sandboxed automatic features browsing context flag
|
||||
if self.autoplaying.get() &&
|
||||
self.Paused() &&
|
||||
self.Autoplay() {
|
||||
// Step 1
|
||||
self.paused.set(false);
|
||||
// TODO step 2: show poster
|
||||
// Step 3
|
||||
self.queue_fire_simple_event("play");
|
||||
// Step 4
|
||||
self.queue_notify_about_playing();
|
||||
// Step 5
|
||||
self.autoplaying.set(false);
|
||||
}
|
||||
|
||||
self.queue_fire_simple_event("canplaythrough");
|
||||
}
|
||||
|
||||
_ => (),
|
||||
}
|
||||
|
||||
// TODO Step 2: media controller
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#concept-media-load-algorithm
|
||||
fn invoke_resource_selection_algorithm(&self) {
|
||||
// Step 1
|
||||
self.network_state.set(NETWORK_NO_SOURCE);
|
||||
|
||||
// TODO step 2 (show poster)
|
||||
// TODO step 3 (delay load event)
|
||||
|
||||
// Step 4
|
||||
let doc = document_from_node(self);
|
||||
ScriptThread::await_stable_state(ResourceSelectionTask::new(self, doc.base_url()));
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#concept-media-load-algorithm
|
||||
fn resource_selection_algorithm_sync(&self, base_url: Url) {
|
||||
// TODO step 5 (populate pending text tracks)
|
||||
|
||||
// Step 6
|
||||
let mode = if false {
|
||||
// TODO media provider object
|
||||
ResourceSelectionMode::Object
|
||||
} else if let Some(attr) = self.upcast::<Element>().get_attribute(&ns!(), &atom!("src")) {
|
||||
ResourceSelectionMode::Attribute(attr.Value().to_string())
|
||||
} else if false {
|
||||
// TODO <source> child
|
||||
ResourceSelectionMode::Children(panic!())
|
||||
} else {
|
||||
self.network_state.set(NETWORK_EMPTY);
|
||||
return;
|
||||
};
|
||||
|
||||
// Step 7
|
||||
self.network_state.set(NETWORK_LOADING);
|
||||
|
||||
// Step 8
|
||||
self.queue_fire_simple_event("loadstart");
|
||||
|
||||
// Step 9
|
||||
match mode {
|
||||
ResourceSelectionMode::Object => {
|
||||
// Step 1
|
||||
*self.current_src.borrow_mut() = "".to_owned();
|
||||
|
||||
// Step 4
|
||||
self.resource_fetch_algorithm(Resource::Object);
|
||||
}
|
||||
|
||||
ResourceSelectionMode::Attribute(src) => {
|
||||
// Step 1
|
||||
if src.is_empty() {
|
||||
self.queue_dedicated_media_source_failure_steps();
|
||||
return;
|
||||
}
|
||||
|
||||
// Step 2
|
||||
let absolute_url = base_url.join(&src).map_err(|_| ());
|
||||
|
||||
// Step 3
|
||||
if let Ok(url) = absolute_url {
|
||||
*self.current_src.borrow_mut() = url.as_str().into();
|
||||
// Step 4
|
||||
self.resource_fetch_algorithm(Resource::Url(url));
|
||||
} else {
|
||||
self.queue_dedicated_media_source_failure_steps();
|
||||
}
|
||||
}
|
||||
|
||||
ResourceSelectionMode::Children(_child) => {
|
||||
// TODO
|
||||
self.queue_dedicated_media_source_failure_steps()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#concept-media-load-resource
|
||||
fn resource_fetch_algorithm(&self, resource: Resource) {
|
||||
// TODO step 3 (remove text tracks)
|
||||
|
||||
// Step 4
|
||||
if let Resource::Url(url) = resource {
|
||||
// 4.1
|
||||
if self.Preload() == "none" && !self.autoplaying.get() {
|
||||
// 4.1.1
|
||||
self.network_state.set(NETWORK_IDLE);
|
||||
|
||||
// 4.1.2
|
||||
self.queue_fire_simple_event("suspend");
|
||||
|
||||
// TODO 4.1.3 (delay load flag)
|
||||
|
||||
// TODO 4.1.5-7 (state for load that initiates later)
|
||||
return;
|
||||
}
|
||||
|
||||
// 4.2
|
||||
let context = Arc::new(Mutex::new(HTMLMediaElementContext::new(self, url.clone())));
|
||||
let (action_sender, action_receiver) = ipc::channel().unwrap();
|
||||
let script_chan = window_from_node(self).networking_task_source();
|
||||
let listener = box NetworkListener {
|
||||
context: context,
|
||||
script_chan: script_chan,
|
||||
};
|
||||
|
||||
let response_target = AsyncResponseTarget {
|
||||
sender: action_sender,
|
||||
};
|
||||
ROUTER.add_route(action_receiver.to_opaque(), box move |message| {
|
||||
listener.notify(message.to().unwrap());
|
||||
});
|
||||
|
||||
// FIXME: we're supposed to block the load event much earlier than now
|
||||
let doc = document_from_node(self);
|
||||
doc.load_async(LoadType::Media(url), response_target);
|
||||
} else {
|
||||
// TODO local resource fetch
|
||||
self.queue_dedicated_media_source_failure_steps();
|
||||
}
|
||||
}
|
||||
|
||||
fn queue_dedicated_media_source_failure_steps(&self) {
|
||||
let _ = window_from_node(self).dom_manipulation_task_source().queue(
|
||||
DOMManipulationTask::MediaTask(box DedicatedMediaSourceFailureTask::new(self)));
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dedicated-media-source-failure-steps
|
||||
fn dedicated_media_source_failure(&self) {
|
||||
// Step 1
|
||||
self.error.set(Some(&*MediaError::new(&*window_from_node(self),
|
||||
MEDIA_ERR_SRC_NOT_SUPPORTED)));
|
||||
|
||||
// TODO step 2 (forget resource tracks)
|
||||
|
||||
// Step 3
|
||||
self.network_state.set(NETWORK_NO_SOURCE);
|
||||
|
||||
// TODO step 4 (show poster)
|
||||
|
||||
// Step 5
|
||||
self.fire_simple_event("error");
|
||||
|
||||
// TODO step 6 (resolve pending play promises)
|
||||
// TODO step 7 (delay load event)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#media-element-load-algorithm
|
||||
fn media_element_load_algorithm(&self) {
|
||||
self.first_data_load.set(true);
|
||||
|
||||
// TODO Step 1 (abort resource selection algorithm instances)
|
||||
|
||||
// Step 2
|
||||
self.generation_id.set(self.generation_id.get() + 1);
|
||||
// TODO reject pending play promises
|
||||
|
||||
// Step 3
|
||||
let network_state = self.NetworkState();
|
||||
if network_state == NETWORK_LOADING || network_state == NETWORK_IDLE {
|
||||
self.queue_fire_simple_event("abort");
|
||||
}
|
||||
|
||||
// Step 4
|
||||
if network_state != NETWORK_EMPTY {
|
||||
// 4.1
|
||||
self.queue_fire_simple_event("emptied");
|
||||
|
||||
// TODO 4.2 (abort in-progress fetch)
|
||||
|
||||
// TODO 4.3 (detach media provider object)
|
||||
// TODO 4.4 (forget resource tracks)
|
||||
|
||||
// 4.5
|
||||
if self.ready_state.get() != HAVE_NOTHING {
|
||||
self.change_ready_state(HAVE_NOTHING);
|
||||
}
|
||||
|
||||
// 4.6
|
||||
if !self.Paused() {
|
||||
self.paused.set(true);
|
||||
}
|
||||
// TODO 4.7 (seeking)
|
||||
// TODO 4.8 (playback position)
|
||||
// TODO 4.9 (timeline offset)
|
||||
// TODO 4.10 (duration)
|
||||
}
|
||||
|
||||
// TODO step 5 (playback rate)
|
||||
// Step 6
|
||||
self.error.set(None);
|
||||
self.autoplaying.set(true);
|
||||
|
||||
// Step 7
|
||||
self.invoke_resource_selection_algorithm();
|
||||
|
||||
// TODO step 8 (stop previously playing resource)
|
||||
}
|
||||
}
|
||||
|
||||
impl HTMLMediaElementMethods for HTMLMediaElement {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-networkstate
|
||||
fn NetworkState(&self) -> u16 {
|
||||
self.network_state.get()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-readystate
|
||||
fn ReadyState(&self) -> u16 {
|
||||
self.ready_state.get()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-autoplay
|
||||
make_bool_getter!(Autoplay, "autoplay");
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-autoplay
|
||||
make_bool_setter!(SetAutoplay, "autoplay");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-src
|
||||
make_url_getter!(Src, "src");
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-src
|
||||
make_setter!(SetSrc, "src");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-media-preload
|
||||
// Missing value default is user-agent defined.
|
||||
make_enumerated_getter!(Preload, "preload", "", ("none") | ("metadata") | ("auto"));
|
||||
// https://html.spec.whatwg.org/multipage/#attr-media-preload
|
||||
make_setter!(SetPreload, "preload");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-currentsrc
|
||||
fn CurrentSrc(&self) -> DOMString {
|
||||
DOMString::from(self.current_src.borrow().clone())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-load
|
||||
fn Load(&self) {
|
||||
self.media_element_load_algorithm();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-canplaytype
|
||||
fn CanPlayType(&self, _type_: DOMString) -> CanPlayTypeResult {
|
||||
// TODO: application/octet-stream
|
||||
CanPlayTypeResult::Maybe
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-error
|
||||
fn GetError(&self) -> Option<Root<MediaError>> {
|
||||
self.error.get()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-play
|
||||
fn Play(&self) {
|
||||
// TODO step 1
|
||||
|
||||
// Step 2
|
||||
if self.error.get().map_or(false, |e| e.Code() == MEDIA_ERR_SRC_NOT_SUPPORTED) {
|
||||
// TODO return rejected promise
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO step 3
|
||||
|
||||
// Step 4
|
||||
if self.network_state.get() == NETWORK_EMPTY {
|
||||
self.invoke_resource_selection_algorithm();
|
||||
}
|
||||
|
||||
// TODO step 5 (seek backwards)
|
||||
|
||||
// TODO step 6 (media controller)
|
||||
|
||||
let state = self.ready_state.get();
|
||||
|
||||
// Step 7
|
||||
if self.Paused() {
|
||||
// 7.1
|
||||
self.paused.set(false);
|
||||
|
||||
// TODO 7.2 (show poster)
|
||||
|
||||
// 7.3
|
||||
self.queue_fire_simple_event("play");
|
||||
|
||||
// 7.4
|
||||
if state == HAVE_NOTHING ||
|
||||
state == HAVE_METADATA ||
|
||||
state == HAVE_CURRENT_DATA {
|
||||
self.queue_fire_simple_event("waiting");
|
||||
} else {
|
||||
self.queue_notify_about_playing();
|
||||
}
|
||||
}
|
||||
// Step 8
|
||||
else if state == HAVE_FUTURE_DATA || state == HAVE_ENOUGH_DATA {
|
||||
// TODO resolve pending play promises
|
||||
}
|
||||
|
||||
// Step 9
|
||||
self.autoplaying.set(false);
|
||||
|
||||
// TODO step 10 (media controller)
|
||||
|
||||
// TODO return promise
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-pause
|
||||
fn Pause(&self) {
|
||||
// Step 1
|
||||
if self.network_state.get() == NETWORK_EMPTY {
|
||||
self.invoke_resource_selection_algorithm();
|
||||
}
|
||||
|
||||
// Step 2
|
||||
self.internal_pause_steps();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-paused
|
||||
fn Paused(&self) -> bool {
|
||||
self.paused.get()
|
||||
}
|
||||
}
|
||||
|
||||
impl VirtualMethods for HTMLMediaElement {
|
||||
fn super_type(&self) -> Option<&VirtualMethods> {
|
||||
Some(self.upcast::<HTMLElement>() as &VirtualMethods)
|
||||
}
|
||||
|
||||
fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) {
|
||||
self.super_type().unwrap().attribute_mutated(attr, mutation);
|
||||
|
||||
match attr.local_name() {
|
||||
&atom!("src") => {
|
||||
if mutation.new_value(attr).is_some() {
|
||||
self.media_element_load_algorithm();
|
||||
}
|
||||
}
|
||||
_ => (),
|
||||
};
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#playing-the-media-resource:remove-an-element-from-a-document
|
||||
fn unbind_from_tree(&self, context: &UnbindContext) {
|
||||
self.super_type().unwrap().unbind_from_tree(context);
|
||||
|
||||
if context.tree_in_doc {
|
||||
ScriptThread::await_stable_state(PauseIfNotInDocumentTask::new(self));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct FireSimpleEventTask {
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
type_: &'static str,
|
||||
}
|
||||
|
||||
impl FireSimpleEventTask {
|
||||
fn new(target: &HTMLMediaElement, type_: &'static str) -> FireSimpleEventTask {
|
||||
FireSimpleEventTask {
|
||||
elem: Trusted::new(target),
|
||||
type_: type_,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Runnable for FireSimpleEventTask {
|
||||
fn handler(self: Box<FireSimpleEventTask>) {
|
||||
let elem = self.elem.root();
|
||||
elem.fire_simple_event(self.type_);
|
||||
}
|
||||
}
|
||||
|
||||
struct ResourceSelectionTask {
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
base_url: Url,
|
||||
}
|
||||
|
||||
impl ResourceSelectionTask {
|
||||
fn new(elem: &HTMLMediaElement, url: Url) -> ResourceSelectionTask {
|
||||
ResourceSelectionTask {
|
||||
elem: Trusted::new(elem),
|
||||
base_url: url,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Runnable for ResourceSelectionTask {
|
||||
fn handler(self: Box<ResourceSelectionTask>) {
|
||||
self.elem.root().resource_selection_algorithm_sync(self.base_url);
|
||||
}
|
||||
}
|
||||
|
||||
struct DedicatedMediaSourceFailureTask {
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
}
|
||||
|
||||
impl DedicatedMediaSourceFailureTask {
|
||||
fn new(elem: &HTMLMediaElement) -> DedicatedMediaSourceFailureTask {
|
||||
DedicatedMediaSourceFailureTask {
|
||||
elem: Trusted::new(elem),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Runnable for DedicatedMediaSourceFailureTask {
|
||||
fn handler(self: Box<DedicatedMediaSourceFailureTask>) {
|
||||
self.elem.root().dedicated_media_source_failure();
|
||||
}
|
||||
}
|
||||
|
||||
struct PauseIfNotInDocumentTask {
|
||||
elem: Trusted<HTMLMediaElement>,
|
||||
}
|
||||
|
||||
impl PauseIfNotInDocumentTask {
|
||||
fn new(elem: &HTMLMediaElement) -> PauseIfNotInDocumentTask {
|
||||
PauseIfNotInDocumentTask {
|
||||
elem: Trusted::new(elem),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Runnable for PauseIfNotInDocumentTask {
|
||||
fn handler(self: Box<PauseIfNotInDocumentTask>) {
|
||||
let elem = self.elem.root();
|
||||
if !elem.upcast::<Node>().is_in_doc() {
|
||||
elem.internal_pause_steps();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum ResourceSelectionMode {
|
||||
Object,
|
||||
Attribute(String),
|
||||
Children(Root<HTMLSourceElement>),
|
||||
}
|
||||
|
||||
enum Resource {
|
||||
Object,
|
||||
Url(Url),
|
||||
}
|
||||
|
|
|
@ -347,17 +347,30 @@ macro_rules! global_event_handlers(
|
|||
|
||||
);
|
||||
(NoOnload) => (
|
||||
event_handler!(abort, GetOnabort, SetOnabort);
|
||||
event_handler!(canplay, GetOncanplay, SetOncanplay);
|
||||
event_handler!(canplaythrough, GetOncanplaythrough, SetOncanplaythrough);
|
||||
event_handler!(change, GetOnchange, SetOnchange);
|
||||
event_handler!(click, GetOnclick, SetOnclick);
|
||||
event_handler!(dblclick, GetOndblclick, SetOndblclick);
|
||||
event_handler!(emptied, GetOnemptied, SetOnemptied);
|
||||
error_event_handler!(error, GetOnerror, SetOnerror);
|
||||
event_handler!(input, GetOninput, SetOninput);
|
||||
event_handler!(keydown, GetOnkeydown, SetOnkeydown);
|
||||
event_handler!(keypress, GetOnkeypress, SetOnkeypress);
|
||||
event_handler!(keyup, GetOnkeyup, SetOnkeyup);
|
||||
event_handler!(loadeddata, GetOnloadeddata, SetOnloadeddata);
|
||||
event_handler!(loadedmetata, GetOnloadedmetadata, SetOnloadedmetadata);
|
||||
event_handler!(mouseover, GetOnmouseover, SetOnmouseover);
|
||||
event_handler!(pause, GetOnpause, SetOnpause);
|
||||
event_handler!(play, GetOnplay, SetOnplay);
|
||||
event_handler!(playing, GetOnplaying, SetOnplaying);
|
||||
event_handler!(progress, GetOnprogress, SetOnprogress);
|
||||
event_handler!(reset, GetOnreset, SetOnreset);
|
||||
event_handler!(submit, GetOnsubmit, SetOnsubmit);
|
||||
event_handler!(suspend, GetOnsuspend, SetOnsuspend);
|
||||
event_handler!(timeupdate, GetOntimeupdate, SetOntimeupdate);
|
||||
event_handler!(toggle, GetOntoggle, SetOntoggle);
|
||||
event_handler!(waiting, GetOnwaiting, SetOnwaiting);
|
||||
)
|
||||
);
|
||||
|
|
37
components/script/dom/mediaerror.rs
Normal file
37
components/script/dom/mediaerror.rs
Normal file
|
@ -0,0 +1,37 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::bindings::codegen::Bindings::MediaErrorBinding::{self, MediaErrorMethods};
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::js::Root;
|
||||
use dom::bindings::reflector::{Reflector, reflect_dom_object};
|
||||
use dom::window::Window;
|
||||
|
||||
#[dom_struct]
|
||||
pub struct MediaError {
|
||||
reflector_: Reflector,
|
||||
code: u16,
|
||||
}
|
||||
|
||||
impl MediaError {
|
||||
fn new_inherited(code: u16) -> MediaError {
|
||||
MediaError {
|
||||
reflector_: Reflector::new(),
|
||||
code: code,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn new(window: &Window, code: u16) -> Root<MediaError> {
|
||||
reflect_dom_object(box MediaError::new_inherited(code),
|
||||
GlobalRef::Window(window),
|
||||
MediaErrorBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
||||
impl MediaErrorMethods for MediaError {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-mediaerror-code
|
||||
fn Code(&self) -> u16 {
|
||||
self.code
|
||||
}
|
||||
}
|
|
@ -339,6 +339,7 @@ pub mod htmlvideoelement;
|
|||
pub mod imagedata;
|
||||
pub mod keyboardevent;
|
||||
pub mod location;
|
||||
pub mod mediaerror;
|
||||
pub mod messageevent;
|
||||
pub mod mimetype;
|
||||
pub mod mimetypearray;
|
||||
|
|
|
@ -29,6 +29,7 @@ use dom::htmlimageelement::HTMLImageElement;
|
|||
use dom::htmlinputelement::HTMLInputElement;
|
||||
use dom::htmllabelelement::HTMLLabelElement;
|
||||
use dom::htmllinkelement::HTMLLinkElement;
|
||||
use dom::htmlmediaelement::HTMLMediaElement;
|
||||
use dom::htmlmetaelement::HTMLMetaElement;
|
||||
use dom::htmlobjectelement::HTMLObjectElement;
|
||||
use dom::htmloptgroupelement::HTMLOptGroupElement;
|
||||
|
@ -181,6 +182,9 @@ pub fn vtable_for(node: &Node) -> &VirtualMethods {
|
|||
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLLinkElement)) => {
|
||||
node.downcast::<HTMLLinkElement>().unwrap() as &VirtualMethods
|
||||
}
|
||||
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLMediaElement(_))) => {
|
||||
node.downcast::<HTMLMediaElement>().unwrap() as &VirtualMethods
|
||||
}
|
||||
NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLMetaElement)) => {
|
||||
node.downcast::<HTMLMetaElement>().unwrap() as &VirtualMethods
|
||||
}
|
||||
|
|
|
@ -20,26 +20,40 @@ callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional
|
|||
optional any error);
|
||||
typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#globaleventhandlers
|
||||
[NoInterfaceObject]
|
||||
interface GlobalEventHandlers {
|
||||
attribute EventHandler onabort;
|
||||
attribute EventHandler onblur;
|
||||
attribute EventHandler oncanplay;
|
||||
attribute EventHandler oncanplaythrough;
|
||||
attribute EventHandler onchange;
|
||||
attribute EventHandler onclick;
|
||||
attribute EventHandler ondblclick;
|
||||
attribute EventHandler onemptied;
|
||||
attribute OnErrorEventHandler onerror;
|
||||
attribute EventHandler oninput;
|
||||
attribute EventHandler onkeydown;
|
||||
attribute EventHandler onkeypress;
|
||||
attribute EventHandler onkeyup;
|
||||
attribute EventHandler onload;
|
||||
attribute EventHandler onloadeddata;
|
||||
attribute EventHandler onloadedmetadata;
|
||||
attribute EventHandler onmouseover;
|
||||
attribute EventHandler onpause;
|
||||
attribute EventHandler onplay;
|
||||
attribute EventHandler onplaying;
|
||||
attribute EventHandler onprogress;
|
||||
attribute EventHandler onreset;
|
||||
attribute EventHandler onresize;
|
||||
attribute EventHandler onsubmit;
|
||||
attribute EventHandler onsuspend;
|
||||
attribute EventHandler ontimeupdate;
|
||||
attribute EventHandler ontoggle;
|
||||
|
||||
attribute EventHandler onwaiting;
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#windoweventhandlers
|
||||
[NoInterfaceObject]
|
||||
interface WindowEventHandlers {
|
||||
attribute EventHandler onunload;
|
||||
|
|
|
@ -3,34 +3,34 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmediaelement
|
||||
//enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
||||
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
||||
[Abstract]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
// error state
|
||||
//readonly attribute MediaError? error;
|
||||
readonly attribute MediaError? error;
|
||||
|
||||
// network state
|
||||
// attribute DOMString src;
|
||||
//readonly attribute DOMString currentSrc;
|
||||
attribute DOMString src;
|
||||
readonly attribute DOMString currentSrc;
|
||||
// attribute DOMString crossOrigin;
|
||||
//const unsigned short NETWORK_EMPTY = 0;
|
||||
//const unsigned short NETWORK_IDLE = 1;
|
||||
//const unsigned short NETWORK_LOADING = 2;
|
||||
//const unsigned short NETWORK_NO_SOURCE = 3;
|
||||
//readonly attribute unsigned short networkState;
|
||||
// attribute DOMString preload;
|
||||
const unsigned short NETWORK_EMPTY = 0;
|
||||
const unsigned short NETWORK_IDLE = 1;
|
||||
const unsigned short NETWORK_LOADING = 2;
|
||||
const unsigned short NETWORK_NO_SOURCE = 3;
|
||||
readonly attribute unsigned short networkState;
|
||||
attribute DOMString preload;
|
||||
//readonly attribute TimeRanges buffered;
|
||||
//void load();
|
||||
//CanPlayTypeResult canPlayType(DOMString type);
|
||||
void load();
|
||||
CanPlayTypeResult canPlayType(DOMString type);
|
||||
|
||||
// ready state
|
||||
//const unsigned short HAVE_NOTHING = 0;
|
||||
//const unsigned short HAVE_METADATA = 1;
|
||||
//const unsigned short HAVE_CURRENT_DATA = 2;
|
||||
//const unsigned short HAVE_FUTURE_DATA = 3;
|
||||
//const unsigned short HAVE_ENOUGH_DATA = 4;
|
||||
//readonly attribute unsigned short readyState;
|
||||
const unsigned short HAVE_NOTHING = 0;
|
||||
const unsigned short HAVE_METADATA = 1;
|
||||
const unsigned short HAVE_CURRENT_DATA = 2;
|
||||
const unsigned short HAVE_FUTURE_DATA = 3;
|
||||
const unsigned short HAVE_ENOUGH_DATA = 4;
|
||||
readonly attribute unsigned short readyState;
|
||||
//readonly attribute boolean seeking;
|
||||
|
||||
// playback state
|
||||
|
@ -38,16 +38,16 @@ interface HTMLMediaElement : HTMLElement {
|
|||
//void fastSeek(double time);
|
||||
//readonly attribute unrestricted double duration;
|
||||
//Date getStartDate();
|
||||
//readonly attribute boolean paused;
|
||||
readonly attribute boolean paused;
|
||||
// attribute double defaultPlaybackRate;
|
||||
// attribute double playbackRate;
|
||||
//readonly attribute TimeRanges played;
|
||||
//readonly attribute TimeRanges seekable;
|
||||
//readonly attribute boolean ended;
|
||||
// attribute boolean autoplay;
|
||||
attribute boolean autoplay;
|
||||
// attribute boolean loop;
|
||||
//void play();
|
||||
//void pause();
|
||||
void play();
|
||||
void pause();
|
||||
|
||||
// media controller
|
||||
// attribute DOMString mediaGroup;
|
||||
|
|
13
components/script/dom/webidls/MediaError.webidl
Normal file
13
components/script/dom/webidls/MediaError.webidl
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#mediaerror
|
||||
|
||||
interface MediaError {
|
||||
const unsigned short MEDIA_ERR_ABORTED = 1;
|
||||
const unsigned short MEDIA_ERR_NETWORK = 2;
|
||||
const unsigned short MEDIA_ERR_DECODE = 3;
|
||||
const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
|
||||
readonly attribute unsigned short code;
|
||||
};
|
|
@ -505,6 +505,19 @@ impl ScriptThread {
|
|||
});
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#await-a-stable-state
|
||||
pub fn await_stable_state<T: Runnable + Send + 'static>(task: T) {
|
||||
//TODO use microtasks when they exist
|
||||
SCRIPT_THREAD_ROOT.with(|root| {
|
||||
if let Some(script_thread) = *root.borrow() {
|
||||
let script_thread = unsafe { &*script_thread };
|
||||
let _ = script_thread.chan.send(CommonScriptMsg::RunnableMsg(
|
||||
ScriptThreadEventCategory::DomEvent,
|
||||
box task));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/// Creates a new script thread.
|
||||
pub fn new(state: InitialScriptState,
|
||||
port: Receiver<MainThreadScriptMsg>,
|
||||
|
|
|
@ -33,6 +33,8 @@ pub enum DOMManipulationTask {
|
|||
FireSimpleEvent(Atom, Trusted<EventTarget>),
|
||||
// https://html.spec.whatwg.org/multipage/#details-notification-task-steps
|
||||
FireToggleEvent(Box<Runnable + Send>),
|
||||
// Placeholder until there's a real media element task queue implementation
|
||||
MediaTask(Box<Runnable + Send>),
|
||||
// https://html.spec.whatwg.org/multipage/#planned-navigation
|
||||
PlannedNavigation(Box<Runnable + Send>),
|
||||
// https://html.spec.whatwg.org/multipage/#send-a-storage-notification
|
||||
|
@ -54,6 +56,7 @@ impl DOMManipulationTask {
|
|||
target.fire_simple_event(&*name);
|
||||
}
|
||||
FireToggleEvent(runnable) => runnable.handler(),
|
||||
MediaTask(runnable) => runnable.handler(),
|
||||
PlannedNavigation(runnable) => runnable.handler(),
|
||||
SendStorageNotification(runnable) => runnable.handler(script_thread)
|
||||
}
|
||||
|
|
|
@ -66,9 +66,6 @@
|
|||
[Document interface: attribute all]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onabort]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onautocomplete]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -78,12 +75,6 @@
|
|||
[Document interface: attribute oncancel]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute oncanplay]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute oncanplaythrough]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onclose]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -120,9 +111,6 @@
|
|||
[Document interface: attribute ondurationchange]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onemptied]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onended]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -132,12 +120,6 @@
|
|||
[Document interface: attribute oninvalid]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onloadeddata]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onloadedmetadata]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onloadstart]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -162,18 +144,6 @@
|
|||
[Document interface: attribute onmousewheel]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onpause]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onplay]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onplaying]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onprogress]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onratechange]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -198,18 +168,9 @@
|
|||
[Document interface: attribute onstalled]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onsuspend]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute ontimeupdate]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onvolumechange]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onwaiting]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of iframe.contentDocument]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1593,9 +1554,6 @@
|
|||
[HTMLElement interface: attribute commandChecked]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onabort]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onautocomplete]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1605,12 +1563,6 @@
|
|||
[HTMLElement interface: attribute oncancel]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute oncanplay]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute oncanplaythrough]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onclose]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1647,9 +1599,6 @@
|
|||
[HTMLElement interface: attribute ondurationchange]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onemptied]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onended]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1659,12 +1608,6 @@
|
|||
[HTMLElement interface: attribute oninvalid]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onloadeddata]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onloadedmetadata]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onloadstart]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1689,18 +1632,6 @@
|
|||
[HTMLElement interface: attribute onmousewheel]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onpause]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onplay]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onplaying]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onprogress]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onratechange]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1725,18 +1656,9 @@
|
|||
[HTMLElement interface: attribute onstalled]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onsuspend]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute ontimeupdate]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onvolumechange]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onwaiting]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "translate" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1812,9 +1734,6 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "commandChecked" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onabort" with the proper type (32)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onautocomplete" with the proper type (33)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1824,12 +1743,6 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "oncancel" with the proper type (36)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "oncanplay" with the proper type (37)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "oncanplaythrough" with the proper type (38)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onclose" with the proper type (41)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1866,9 +1779,6 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "ondurationchange" with the proper type (53)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onemptied" with the proper type (54)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onended" with the proper type (55)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1878,12 +1788,6 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "oninvalid" with the proper type (59)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onloadeddata" with the proper type (64)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onloadedmetadata" with the proper type (65)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onloadstart" with the proper type (66)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1908,18 +1812,6 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "onmousewheel" with the proper type (74)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onpause" with the proper type (75)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onplay" with the proper type (76)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onplaying" with the proper type (77)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onprogress" with the proper type (78)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onratechange" with the proper type (79)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1944,18 +1836,9 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "onstalled" with the proper type (88)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onsuspend" with the proper type (90)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "ontimeupdate" with the proper type (91)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onvolumechange" with the proper type (93)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onwaiting" with the proper type (94)]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: document.createElement("noscript") must inherit property "query" with the proper type (34)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2619,66 +2502,12 @@
|
|||
[HTMLVideoElement interface: document.createElement("video") must inherit property "poster" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "error" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "src" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "currentSrc" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "crossOrigin" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_EMPTY" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_IDLE" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_LOADING" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_NO_SOURCE" with the proper type (7)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "networkState" with the proper type (8)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "preload" with the proper type (9)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "buffered" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "load" with the proper type (11)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "canPlayType" with the proper type (12)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: calling canPlayType(DOMString) on document.createElement("video") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "HAVE_NOTHING" with the proper type (13)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "HAVE_METADATA" with the proper type (14)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "HAVE_CURRENT_DATA" with the proper type (15)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "HAVE_FUTURE_DATA" with the proper type (16)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "HAVE_ENOUGH_DATA" with the proper type (17)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "readyState" with the proper type (18)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "seeking" with the proper type (19)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2697,9 +2526,6 @@
|
|||
[HTMLMediaElement interface: document.createElement("video") must inherit property "getStartDate" with the proper type (23)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "paused" with the proper type (24)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "defaultPlaybackRate" with the proper type (25)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2715,18 +2541,9 @@
|
|||
[HTMLMediaElement interface: document.createElement("video") must inherit property "ended" with the proper type (29)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "autoplay" with the proper type (30)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "loop" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "play" with the proper type (32)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "pause" with the proper type (33)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "mediaGroup" with the proper type (34)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2760,66 +2577,12 @@
|
|||
[HTMLMediaElement interface: calling addTextTrack(TextTrackKind,DOMString,DOMString) on document.createElement("video") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "error" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "src" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "currentSrc" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "crossOrigin" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_EMPTY" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_IDLE" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_LOADING" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_NO_SOURCE" with the proper type (7)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "networkState" with the proper type (8)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "preload" with the proper type (9)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "buffered" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "load" with the proper type (11)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "canPlayType" with the proper type (12)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: calling canPlayType(DOMString) on document.createElement("audio") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "HAVE_NOTHING" with the proper type (13)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "HAVE_METADATA" with the proper type (14)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "HAVE_CURRENT_DATA" with the proper type (15)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "HAVE_FUTURE_DATA" with the proper type (16)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "HAVE_ENOUGH_DATA" with the proper type (17)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "readyState" with the proper type (18)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "seeking" with the proper type (19)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2838,9 +2601,6 @@
|
|||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "getStartDate" with the proper type (23)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "paused" with the proper type (24)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "defaultPlaybackRate" with the proper type (25)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2856,18 +2616,9 @@
|
|||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "ended" with the proper type (29)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "autoplay" with the proper type (30)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "loop" with the proper type (31)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "play" with the proper type (32)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "pause" with the proper type (33)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "mediaGroup" with the proper type (34)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3156,90 +2907,12 @@
|
|||
[HTMLTrackElement interface: document.createElement("track") must inherit property "track" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute error]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute src]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute currentSrc]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute crossOrigin]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_EMPTY on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_EMPTY on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_IDLE on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_IDLE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_LOADING on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_LOADING on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_NO_SOURCE on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant NETWORK_NO_SOURCE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute networkState]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute preload]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute buffered]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: operation load()]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: operation canPlayType(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_NOTHING on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_NOTHING on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_METADATA on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_METADATA on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_CURRENT_DATA on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_CURRENT_DATA on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_FUTURE_DATA on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_FUTURE_DATA on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_ENOUGH_DATA on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: constant HAVE_ENOUGH_DATA on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute readyState]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute seeking]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3255,9 +2928,6 @@
|
|||
[HTMLMediaElement interface: operation getStartDate()]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute paused]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute defaultPlaybackRate]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3273,18 +2943,9 @@
|
|||
[HTMLMediaElement interface: attribute ended]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute autoplay]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute loop]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: operation play()]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: operation pause()]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute mediaGroup]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3315,45 +2976,6 @@
|
|||
[HTMLMediaElement interface: operation addTextTrack(TextTrackKind,DOMString,DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_ABORTED on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_ABORTED on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_NETWORK on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_NETWORK on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_DECODE on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_DECODE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_SRC_NOT_SUPPORTED on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_SRC_NOT_SUPPORTED on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: attribute code]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError must be primary interface of errorVideo.error]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8157,9 +7779,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "queryAll" with the proper type (91)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onabort" with the proper type (94)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onautocomplete" with the proper type (95)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8169,12 +7788,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "oncancel" with the proper type (98)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "oncanplay" with the proper type (99)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "oncanplaythrough" with the proper type (100)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onclose" with the proper type (103)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8211,9 +7824,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "ondurationchange" with the proper type (115)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onemptied" with the proper type (116)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onended" with the proper type (117)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8223,12 +7833,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "oninvalid" with the proper type (121)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onloadeddata" with the proper type (126)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onloadedmetadata" with the proper type (127)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onloadstart" with the proper type (128)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8253,18 +7857,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onmousewheel" with the proper type (136)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onpause" with the proper type (137)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onplay" with the proper type (138)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onplaying" with the proper type (139)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onprogress" with the proper type (140)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onratechange" with the proper type (141)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8289,18 +7881,9 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onstalled" with the proper type (150)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onsuspend" with the proper type (152)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "ontimeupdate" with the proper type (153)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onvolumechange" with the proper type (155)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onwaiting" with the proper type (156)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAnchorElement interface: attribute origin]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8403,9 +7986,6 @@
|
|||
[HTMLPictureElement interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[AudioTrackList interface object name]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8706,9 +8286,6 @@
|
|||
[Document interface: calling queryAll(DOMString) on new Document() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onabort" with the proper type (94)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onautocomplete" with the proper type (95)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8718,12 +8295,6 @@
|
|||
[Document interface: new Document() must inherit property "oncancel" with the proper type (98)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "oncanplay" with the proper type (99)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "oncanplaythrough" with the proper type (100)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onclose" with the proper type (103)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8760,9 +8331,6 @@
|
|||
[Document interface: new Document() must inherit property "ondurationchange" with the proper type (115)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onemptied" with the proper type (116)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onended" with the proper type (117)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8772,12 +8340,6 @@
|
|||
[Document interface: new Document() must inherit property "oninvalid" with the proper type (121)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onloadeddata" with the proper type (126)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onloadedmetadata" with the proper type (127)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onloadstart" with the proper type (128)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8802,18 +8364,6 @@
|
|||
[Document interface: new Document() must inherit property "onmousewheel" with the proper type (136)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onpause" with the proper type (137)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onplay" with the proper type (138)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onplaying" with the proper type (139)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onprogress" with the proper type (140)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onratechange" with the proper type (141)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8838,15 +8388,6 @@
|
|||
[Document interface: new Document() must inherit property "onstalled" with the proper type (150)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onsuspend" with the proper type (152)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "ontimeupdate" with the proper type (153)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onvolumechange" with the proper type (155)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: new Document() must inherit property "onwaiting" with the proper type (156)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -9429,168 +9429,6 @@
|
|||
[video.tabIndex: IDL set to -2147483648 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to "http://site.example/" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to "//site.example/path???@#l" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to "\\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to " foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "http://site.example/" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "//site.example/path???@#l" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "//site.example/path???@#l" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "\\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "\\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to null followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.src: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.crossOrigin: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -9807,228 +9645,6 @@
|
|||
[video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: setAttribute() to "none" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: setAttribute() to "NONE" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: setAttribute() to "metadata" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: setAttribute() to "METADATA" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: setAttribute() to "auto" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: setAttribute() to "AUTO" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to object "test-valueOf" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "none" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "xnone" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "none\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "one" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "NONE" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "NONE" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "metadata" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "xmetadata" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "metadata\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "etadata" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "METADATA" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "METADATA" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "auto" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "xauto" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "auto\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "uto" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.preload: IDL set to "AUTO" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: setAttribute() to "autoplay" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to "" followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to undefined followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to null followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to false followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to NaN followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.autoplay: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[video.loop: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -11739,168 +11355,6 @@
|
|||
[audio.tabIndex: IDL set to -2147483648 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to "http://site.example/" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to "//site.example/path???@#l" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to "\\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to " foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "http://site.example/" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "//site.example/path???@#l" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "//site.example/path???@#l" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "\\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "\\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to null followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.src: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.crossOrigin: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12117,228 +11571,6 @@
|
|||
[audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: setAttribute() to "none" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: setAttribute() to "NONE" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: setAttribute() to "metadata" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: setAttribute() to "METADATA" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: setAttribute() to "auto" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: setAttribute() to "AUTO" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to object "test-valueOf" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "none" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "xnone" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "none\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "one" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "NONE" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "NONE" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "metadata" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "xmetadata" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "metadata\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "etadata" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "METADATA" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "METADATA" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "auto" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "xauto" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "auto\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "uto" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.preload: IDL set to "AUTO" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: setAttribute() to "autoplay" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to "" followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to undefined followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to null followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to false followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to NaN followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.autoplay: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[audio.loop: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
disabled: for now
|
|
@ -0,0 +1,7 @@
|
|||
[audio_loop_base.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
disabled: extreme timeout
|
||||
[Check if audio.loop is set to true that expecting the seeking event is fired more than once]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[audio_volume_check.html]
|
||||
type: testharness
|
||||
[Check if media.volume is set to new value less than 0.0 that expecting an IndexSizeError exception is to be thrown]
|
||||
expected: FAIL
|
||||
|
||||
[Check if audio.volume is set to new value greater than 1.0 that expecting an IndexSizeError exception is to be thrown]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[event_loadeddata.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[video events - loadeddata]
|
||||
expected: FAIL
|
||||
|
||||
[setting src attribute on autoplay video should trigger loadeddata event]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[event_timeupdate.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[setting src attribute on a sufficiently long autoplay audio should trigger timeupdate event]
|
||||
expected: NOTRUN
|
||||
|
||||
[setting src attribute on a sufficiently long autoplay video should trigger timeupdate event]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[event_timeupdate_noautoplay.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[calling play() on a sufficiently long audio should trigger timeupdate event]
|
||||
expected: NOTRUN
|
||||
|
||||
[calling play() on a sufficiently long video should trigger timeupdate event]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
[event_volumechange.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[setting audio.volume fires volumechange]
|
||||
expected: FAIL
|
||||
|
||||
[setting audio.muted fires volumechange]
|
||||
expected: FAIL
|
||||
|
||||
[setting audio.volume/muted to the same value does not fire volumechange]
|
||||
expected: TIMEOUT
|
||||
|
||||
[setting audio.volume/muted repeatedly fires volumechange repeatedly]
|
||||
expected: TIMEOUT
|
||||
|
||||
[setting video.volume fires volumechange]
|
||||
expected: FAIL
|
||||
|
||||
[setting video.muted fires volumechange]
|
||||
expected: FAIL
|
||||
|
||||
[setting video.volume/muted to the same value does not fire volumechange]
|
||||
expected: TIMEOUT
|
||||
|
||||
[setting video.volume/muted repeatedly fires volumechange repeatedly]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[historical.html]
|
||||
type: testharness
|
||||
[TextTrackCue constructor should not be supported]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
[addTextTrack.html]
|
||||
type: testharness
|
||||
[HTMLMediaElement.addTextTrack subtitles first arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack captions first arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack descriptions first arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack chapters first arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack metadata first arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack undefined second and third arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack null second and third arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack foo and bar second and third arg]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement.addTextTrack foo second arg, third arg omitted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[textTracks.html]
|
||||
type: testharness
|
||||
[HTMLMediaElement.textTracks]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
[default.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.default missing value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.default empty string content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.default empty string IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.default foo in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.default foo in IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.default true in IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.default false in IDL attribute]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
[kind.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.kind missing value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind invalid value in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute uppercase]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute with uppercase turkish I (with dot)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute with lowercase turkish i (dotless)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute "subtitles"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute "captions"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute "descriptions"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute "chapters"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute "metadata"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind content attribute "captions\\u0000"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute to "subtitles"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute to "captions"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute to "descriptions"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute to "chapters"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute to "metadata"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute to "CAPTIONS"]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute with uppercase turkish I (with dot)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute with lowercase turkish I (dotless)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.kind setting IDL attribute with \\u0000]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
[label.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.label missing value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label empty string content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label empty string IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label lowercase content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label uppercase content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label\\u0000 in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label lowercase IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label uppercase IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label whitespace in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label whitespace in IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.label \\u0000 in IDL attribute]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[readyState.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.readyState default value]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
[src.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.src missing value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src empty string in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src empty string in IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src unresolvable value in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src assigning unresolvable value to IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src assigning resolvable value to IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src assigning \\u0000 to IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src \\u0000 in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.src resolvable value in content attribute]
|
||||
expected: FAIL
|
|
@ -0,0 +1,35 @@
|
|||
[srclang.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.srclang missing value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang empty string content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang empty string IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang lowercase content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang uppercase content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang \\u0000 content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang lowercase IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang uppercase IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang whitespace in content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang whitespace in IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTrackElement.srclang \\u0000 in IDL attribute]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[track.html]
|
||||
type: testharness
|
||||
[HTMLTrackElement.track]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
[activeCues.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrack.activeCues, empty list]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.activeCues, after addCue()]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.activeCues, different modes]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.activeCues, video loading]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.activeCues, video playing]
|
||||
expected: TIMEOUT
|
||||
|
||||
[TextTrack.activeCues, adding cue during playback]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
[addCue.html]
|
||||
type: testharness
|
||||
[TextTrack.addCue(), adding a cue to two different tracks]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.addCue(), adding a cue to a track twice]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.addCue(), adding a removed cue to a different track]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.addCue(), adding an associated but removed cue to the same track]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.addCue(), adding a cue associated with a track element to other track]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[constants.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrack constants]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
[cues.html]
|
||||
type: testharness
|
||||
[TextTrack.cues, empty list]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.cues, after addCue()]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.cues, different modes]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.cues, changing order]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.cues, default attribute]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
[kind.html]
|
||||
type: testharness
|
||||
[TextTrack.kind, addTextTrack]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.kind, track element]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.kind, \\u0000]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[label.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrack.label]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.label, \\u0000]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[language.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrack.language]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.language, \\u0000]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[mode.html]
|
||||
type: testharness
|
||||
[TextTrack.mode, wrong value]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.mode, correct value]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[oncuechange.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrack.oncuechange]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.addEventListener/removeEventListener]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[removeCue.html]
|
||||
type: testharness
|
||||
[TextTrack.removeCue(), two elementless tracks]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrack.removeCue(), cue from track element]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[endTime.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.endTime, script-created cue]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.endTime, parsed cue]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[id.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.id, script-created cue]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.id, parsed cue]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[onenter.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.onenter]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.addEventListener/removeEventListener]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[onexit.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.onexit]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.addEventListener/removeEventListener]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[pauseOnExit.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.pauseOnExit, script-created cue]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.pauseOnExit, parsed cue]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[startTime.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.startTime, script-created cue]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.startTime, parsed cue]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[track.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCue.track, script-created cue]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCue.track, parsed cue]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[getCueById.html]
|
||||
type: testharness
|
||||
[TextTrackCueList.getCueById, no id]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCueList.getCueById, id foo]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCueList.getCueById, no 1]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCueList.getCueById, id a\\u0000b]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[getter.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCueList getter]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCueList getter, no indexed set/create]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackCueList getter, no indexed set/create (strict)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[length.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackCueList.length]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[getTrackById.html]
|
||||
type: testharness
|
||||
[TextTrackList.getTrackById]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[getter.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackList getter]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackList getter, no indexed set/create]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackList getter, no indexed set/create (strict)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[length.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[TextTrackList.length]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[onaddtrack.html]
|
||||
type: testharness
|
||||
[TextTrackList.onaddtrack]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackList.addEventListener/removeEventListener]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[onremovetrack.html]
|
||||
type: testharness
|
||||
[TextTrackList.onremovetrack]
|
||||
expected: FAIL
|
||||
|
||||
[TextTrackList.addEventListener/removeEventListener]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[constructor.html]
|
||||
type: testharness
|
||||
[TrackEvent constructor, one arg]
|
||||
expected: FAIL
|
||||
|
||||
[TrackEvent constructor, two args]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[createEvent.html]
|
||||
type: testharness
|
||||
[TrackEvent created with createEvent]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[load-events-networkState.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[NETWORK_IDLE]
|
||||
expected: TIMEOUT
|
||||
|
||||
[NETWORK_LOADING]
|
||||
expected: TIMEOUT
|
||||
|
||||
[NETWORK_NO_SOURCE]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[load-removes-queued-error-event.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[video error event]
|
||||
expected: TIMEOUT
|
||||
|
||||
[source error event]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[resource-selection-candidate-insert-before.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[inserting another source before the candidate]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-candidate-moved.html]
|
||||
type: testharness
|
||||
[moving the candidate source]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[resource-selection-candidate-remove-addEventListener.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[removing the candidate source, addEventListener]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[resource-selection-candidate-remove-onerror.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[removing the candidate source, onerror]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-audio-constructor-no-src.html]
|
||||
type: testharness
|
||||
[NOT invoking resource selection with new Audio() sans src]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-audio-constructor.html]
|
||||
type: testharness
|
||||
[invoking resource selection with new Audio(src)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-in-sync-event.html]
|
||||
type: testharness
|
||||
[await a stable state and sync event handlers]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[resource-selection-invoke-insert-into-iframe.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[NOT invoking resource selection by inserting into other document with src set]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-insert-source-networkState.html]
|
||||
type: testharness
|
||||
[NOT invoking resource selection by inserting ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-insert-source-not-in-document.html]
|
||||
type: testharness
|
||||
[invoking resource selection by inserting ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-insert-source.html]
|
||||
type: testharness
|
||||
[invoking resource selection by inserting ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-load.html]
|
||||
type: testharness
|
||||
[invoking resource selection with load()]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-pause-networkState.html]
|
||||
type: testharness
|
||||
[NOT invoking resource selection with pause() when networkState is not NETWORK_EMPTY]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-pause.html]
|
||||
type: testharness
|
||||
[invoking resource selection with pause()]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-play.html]
|
||||
type: testharness
|
||||
[invoking resource selection with play()]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-remove-from-document-networkState.html]
|
||||
type: testharness
|
||||
[NOT invoking resource selection with implicit pause() when networkState is not NETWORK_EMPTY]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-set-src-not-in-document.html]
|
||||
type: testharness
|
||||
[invoking load by setting src on video not in a document]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-invoke-set-src.html]
|
||||
type: testharness
|
||||
[invoking load by setting src]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-control.html]
|
||||
type: testharness
|
||||
[pointer updates (control test)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-insert-br.html]
|
||||
type: testharness
|
||||
[pointer updates (adding br elements)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-insert-source.html]
|
||||
type: testharness
|
||||
[pointer updates (adding source elements)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-insert-text.html]
|
||||
type: testharness
|
||||
[pointer updates (adding text nodes)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-remove-source-after.html]
|
||||
type: testharness
|
||||
[pointer updates (removing source element after pointer)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-remove-source.html]
|
||||
type: testharness
|
||||
[pointer updates (removing source elements)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-pointer-remove-text.html]
|
||||
type: testharness
|
||||
[pointer updates (removing text nodes)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-remove-source.html]
|
||||
type: testharness
|
||||
[Changes to networkState when inserting and removing a ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-remove-src.html]
|
||||
type: testharness
|
||||
[invoking resource selection by setting src; await stable state]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[resource-selection-source-media.html]
|
||||
type: testharness
|
||||
[the ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
[currentSrc.html]
|
||||
type: testharness
|
||||
[audio.currentSrc after adding source element with src attribute "."]
|
||||
expected: FAIL
|
||||
|
||||
[audio.currentSrc after adding source element with src attribute " "]
|
||||
expected: FAIL
|
||||
|
||||
[audio.currentSrc after adding source element with src attribute "data:,"]
|
||||
expected: FAIL
|
||||
|
||||
[video.currentSrc after adding source element with src attribute "."]
|
||||
expected: FAIL
|
||||
|
||||
[video.currentSrc after adding source element with src attribute " "]
|
||||
expected: FAIL
|
||||
|
||||
[video.currentSrc after adding source element with src attribute "data:,"]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,128 @@
|
|||
[canPlayType.html]
|
||||
type: testharness
|
||||
[application/octet-stream]
|
||||
expected: FAIL
|
||||
|
||||
[video/x-new-fictional-format]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4; codecs="mp4a.40.2" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4 with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg; codecs="vorbis" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav; codecs="1" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm; codecs="vorbis" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp; codecs="samr" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp; codecs="mp4v.20.8" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="mp4a.40.2" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="avc1.42E01E" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="avc1.4D401E" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="avc1.58A01E" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="avc1.64001E" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="mp4v.20.8" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="mp4v.20.240" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg; codecs="vorbis" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg; codecs="theora" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="vorbis" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="vp8" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="vp8.0" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="vp9" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="vp9.0" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4 with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm with and without codecs]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
[currentTime.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[currentTime initial value]
|
||||
expected: FAIL
|
||||
|
||||
[setting currentTime with a media controller present]
|
||||
expected: FAIL
|
||||
|
||||
[setting currentTime when readyState is HAVE_NOTHING]
|
||||
expected: FAIL
|
||||
|
||||
[setting currentTime when readyState is greater than HAVE_NOTHING]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[pause-move-to-other-document.html]
|
||||
type: testharness
|
||||
[paused state when moving to other document]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[pause-remove-from-document.html]
|
||||
type: testharness
|
||||
[paused state when removing from a document]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[play-in-detached-document.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[play() in detached document]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[playbackRate.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[playbackRate initial value]
|
||||
expected: FAIL
|
||||
|
||||
[setting playbackRate]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[seek-to-currentTime.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[seek to currentTime]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[seek-to-max-value.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[seek to Number.MAX_VALUE]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[seek-to-negative-time.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[seek to negative time]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[task-source.html]
|
||||
type: testharness
|
||||
[MediaController events task source]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1 @@
|
|||
disabled: for now
|
|
@ -0,0 +1,65 @@
|
|||
[muted.html]
|
||||
type: testharness
|
||||
[getting audio.muted (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting audio.muted (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting audio.muted with muted="" (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting audio.muted with muted="" (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting video.muted (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted with muted="" (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting video.muted with muted="" (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted with muted="" after load (parser-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting audio.muted (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting audio.muted (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting audio.muted with muted="" (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting audio.muted with muted="" (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting audio.muted with muted="" (innerHTML-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting audio.muted with muted="" (document.write-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting video.muted (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted with muted="" (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[setting video.muted with muted="" (script-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted with muted="" (innerHTML-created)]
|
||||
expected: FAIL
|
||||
|
||||
[getting video.muted with muted="" (document.write-created)]
|
||||
expected: FAIL
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue