diff options
145 files changed, 868 insertions, 1758 deletions
diff --git a/Cargo.lock b/Cargo.lock index b628ab3bfe3..9306545c678 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -330,9 +330,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.4.23" +version = "0.4.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b37fc50485c4f3f736a4fb14199f6d5f5ba008d7f28fe710306c92780f004c07" +checksum = "d615619615a650c571269c00dca41db04b9210037fa76ed8239f70404ab56985" dependencies = [ "brotli", "flate2", @@ -1070,7 +1070,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -2117,9 +2117,9 @@ checksum = "86d4de0081402f5e88cdac65c8dcdcc73118c1a7a465e2a05f0da05843a8ea33" [[package]] name = "flate2" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" +checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" dependencies = [ "crc32fast", "miniz_oxide", @@ -3145,9 +3145,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.3" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" +checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" dependencies = [ "foldhash", "serde", @@ -3942,9 +3942,9 @@ dependencies = [ [[package]] name = "image-webp" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b77d01e822461baa8409e156015a1d91735549f0f2c17691bd2d996bef238f7f" +checksum = "14d75c7014ddab93c232bc6bb9f64790d3dfd1d605199acd4b40b6d69e691e9f" dependencies = [ "byteorder-lite", "quick-error", @@ -4313,7 +4313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -6653,7 +6653,7 @@ dependencies = [ [[package]] name = "selectors" version = "0.28.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "bitflags 2.9.1", "cssparser", @@ -6948,7 +6948,7 @@ dependencies = [ [[package]] name = "servo_arc" version = "0.4.1" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "serde", "stable_deref_trait", @@ -7215,9 +7215,9 @@ checksum = "d31d263dd118560e1a492922182ab6ca6dc1d03a3bf54e7699993f31a4150e3f" [[package]] name = "smallvec" -version = "1.15.0" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" dependencies = [ "serde", ] @@ -7409,7 +7409,7 @@ dependencies = [ [[package]] name = "stylo" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "app_units", "arrayvec", @@ -7467,7 +7467,7 @@ dependencies = [ [[package]] name = "stylo_atoms" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "string_cache", "string_cache_codegen", @@ -7476,12 +7476,12 @@ dependencies = [ [[package]] name = "stylo_config" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" [[package]] name = "stylo_derive" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "darling", "proc-macro2", @@ -7493,7 +7493,7 @@ dependencies = [ [[package]] name = "stylo_dom" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "bitflags 2.9.1", "stylo_malloc_size_of", @@ -7502,7 +7502,7 @@ dependencies = [ [[package]] name = "stylo_malloc_size_of" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "app_units", "cssparser", @@ -7519,12 +7519,12 @@ dependencies = [ [[package]] name = "stylo_static_prefs" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" [[package]] name = "stylo_traits" version = "0.3.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "app_units", "bitflags 2.9.1", @@ -7933,7 +7933,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "to_shmem" version = "0.2.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "cssparser", "servo_arc", @@ -7946,7 +7946,7 @@ dependencies = [ [[package]] name = "to_shmem_derive" version = "0.1.0" -source = "git+https://github.com/servo/stylo?branch=2025-05-01#945b70e9a1984cd44ee56b7a674c302b19a4f620" +source = "git+https://github.com/servo/stylo?branch=2025-05-01#2954cec3ae951723f9b346d8720010d30072b725" dependencies = [ "darling", "proc-macro2", @@ -8048,9 +8048,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.26" +version = "0.22.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" +checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" dependencies = [ "indexmap", "serde", @@ -8745,9 +8745,9 @@ dependencies = [ [[package]] name = "web_atoms" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9c5f0bc545ea3b20b423e33b9b457764de0b3730cd957f6c6aa6c301785f6e" +checksum = "57ffde1dc01240bdf9992e3205668b235e59421fd085e8a317ed98da0178d414" dependencies = [ "phf", "phf_codegen", @@ -9132,7 +9132,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -9866,9 +9866,9 @@ dependencies = [ [[package]] name = "zune-jpeg" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4a518c0ea2576f4da876349d7f67a7be489297cd77c2cf9e04c2e05fcd3974" +checksum = "0f6fe2e33d02a98ee64423802e16df3de99c43e5cf5ff983767e1128b394c8ac" dependencies = [ "zune-core", ] diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs index 5b4d244e746..82f55589686 100644 --- a/components/constellation/constellation.rs +++ b/components/constellation/constellation.rs @@ -4702,25 +4702,38 @@ where WebDriverCommandMsg::CloseWebView(webview_id) => { self.handle_close_top_level_browsing_context(webview_id); }, - WebDriverCommandMsg::NewWebView(webview_id, sender, load_sender) => { - let (chan, port) = match ipc::channel() { + WebDriverCommandMsg::NewWebView( + originating_webview_id, + response_sender, + load_status_sender, + ) => { + let (embedder_sender, receiver) = match ipc::channel() { Ok(result) => result, Err(error) => return warn!("Failed to create channel: {error:?}"), }; - self.embedder_proxy - .send(EmbedderMsg::AllowOpeningWebView(webview_id, chan)); - let (webview_id, viewport_details) = match port.recv() { - Ok(Some((webview_id, viewport_details))) => (webview_id, viewport_details), + self.embedder_proxy.send(EmbedderMsg::AllowOpeningWebView( + originating_webview_id, + embedder_sender, + )); + let (new_webview_id, viewport_details) = match receiver.recv() { + Ok(Some((new_webview_id, viewport_details))) => { + (new_webview_id, viewport_details) + }, Ok(None) => return warn!("Embedder refused to allow opening webview"), Err(error) => return warn!("Failed to receive webview id: {error:?}"), }; self.handle_new_top_level_browsing_context( ServoUrl::parse_with_base(None, "about:blank").expect("Infallible parse"), - webview_id, + new_webview_id, viewport_details, - Some(load_sender), + Some(load_status_sender), ); - let _ = sender.send(webview_id); + if let Err(error) = response_sender.send(new_webview_id) { + error!( + "WebDriverCommandMsg::NewWebView: IPC error when sending new_webview_id \ + to webdriver server: {error}" + ); + } }, WebDriverCommandMsg::FocusWebView(webview_id) => { self.handle_focus_web_view(webview_id); diff --git a/components/script/canvas_state.rs b/components/script/canvas_state.rs index 139579d2045..7f77daf513b 100644 --- a/components/script/canvas_state.rs +++ b/components/script/canvas_state.rs @@ -55,6 +55,7 @@ use crate::dom::element::{Element, cors_setting_for_element}; use crate::dom::globalscope::GlobalScope; use crate::dom::htmlcanvaselement::HTMLCanvasElement; use crate::dom::htmlvideoelement::HTMLVideoElement; +use crate::dom::imagebitmap::ImageBitmap; use crate::dom::imagedata::ImageData; use crate::dom::node::{Node, NodeTraits}; use crate::dom::offscreencanvas::OffscreenCanvas; @@ -319,6 +320,7 @@ impl CanvasState { }, CanvasImageSource::HTMLVideoElement(video) => video.origin_is_clean(), CanvasImageSource::HTMLCanvasElement(canvas) => canvas.origin_is_clean(), + CanvasImageSource::ImageBitmap(bitmap) => bitmap.origin_is_clean(), CanvasImageSource::OffscreenCanvas(canvas) => canvas.origin_is_clean(), CanvasImageSource::CSSStyleValue(_) => true, } @@ -459,6 +461,15 @@ impl CanvasState { self.draw_html_canvas_element(canvas, htmlcanvas, sx, sy, sw, sh, dx, dy, dw, dh) }, + CanvasImageSource::ImageBitmap(ref bitmap) => { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if bitmap.is_detached() { + return Err(Error::InvalidState); + } + + self.draw_image_bitmap(bitmap, htmlcanvas, sx, sy, sw, sh, dx, dy, dw, dh); + Ok(()) + }, CanvasImageSource::OffscreenCanvas(ref canvas) => { // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> if canvas.get_size().is_empty() { @@ -728,6 +739,52 @@ impl CanvasState { Ok(()) } + /// <https://html.spec.whatwg.org/multipage/#dom-context-2d-drawimage> + #[allow(clippy::too_many_arguments)] + fn draw_image_bitmap( + &self, + bitmap: &ImageBitmap, + canvas: Option<&HTMLCanvasElement>, + sx: f64, + sy: f64, + sw: Option<f64>, + sh: Option<f64>, + dx: f64, + dy: f64, + dw: Option<f64>, + dh: Option<f64>, + ) { + let Some(snapshot) = bitmap.bitmap_data().clone() else { + return; + }; + + // Step 4. Establish the source and destination rectangles. + let bitmap_size = snapshot.size(); + let dw = dw.unwrap_or(bitmap_size.width as f64); + let dh = dh.unwrap_or(bitmap_size.height as f64); + let sw = sw.unwrap_or(bitmap_size.width as f64); + let sh = sh.unwrap_or(bitmap_size.height as f64); + + let (source_rect, dest_rect) = + self.adjust_source_dest_rects(bitmap_size, sx, sy, sw, sh, dx, dy, dw, dh); + + // Step 5. If one of the sw or sh arguments is zero, then return. Nothing is painted. + if !is_rect_valid(source_rect) || !is_rect_valid(dest_rect) { + return; + } + + let smoothing_enabled = self.state.borrow().image_smoothing_enabled; + + self.send_canvas_2d_msg(Canvas2dMsg::DrawImage( + snapshot.as_ipc(), + dest_rect, + source_rect, + smoothing_enabled, + )); + + self.mark_as_dirty(canvas); + } + pub(crate) fn mark_as_dirty(&self, canvas: Option<&HTMLCanvasElement>) { if let Some(canvas) = canvas { canvas.mark_as_dirty(); @@ -1063,6 +1120,14 @@ impl CanvasState { canvas.get_image_data().ok_or(Error::InvalidState)? }, + CanvasImageSource::ImageBitmap(ref bitmap) => { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if bitmap.is_detached() { + return Err(Error::InvalidState); + } + + bitmap.bitmap_data().clone().ok_or(Error::InvalidState)? + }, CanvasImageSource::OffscreenCanvas(ref canvas) => { // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> if canvas.get_size().is_empty() { diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index 961fb92121d..1fe51407638 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -861,8 +861,14 @@ pub(crate) fn get_attr_for_layout<'dom>( pub(crate) trait LayoutElementHelpers<'dom> { fn attrs(self) -> &'dom [LayoutDom<'dom, Attr>]; - fn has_class_for_layout(self, name: &AtomIdent, case_sensitivity: CaseSensitivity) -> bool; + fn has_class_or_part_for_layout( + self, + name: &AtomIdent, + attr_name: &LocalName, + case_sensitivity: CaseSensitivity, + ) -> bool; fn get_classes_for_layout(self) -> Option<&'dom [Atom]>; + fn get_parts_for_layout(self) -> Option<&'dom [Atom]>; fn synthesize_presentational_hints_for_legacy_attributes<V>(self, hints: &mut V) where @@ -905,8 +911,13 @@ impl<'dom> LayoutElementHelpers<'dom> for LayoutDom<'dom, Element> { } #[inline] - fn has_class_for_layout(self, name: &AtomIdent, case_sensitivity: CaseSensitivity) -> bool { - get_attr_for_layout(self, &ns!(), &local_name!("class")).is_some_and(|attr| { + fn has_class_or_part_for_layout( + self, + name: &AtomIdent, + attr_name: &LocalName, + case_sensitivity: CaseSensitivity, + ) -> bool { + get_attr_for_layout(self, &ns!(), attr_name).is_some_and(|attr| { attr.to_tokens() .unwrap() .iter() @@ -920,6 +931,11 @@ impl<'dom> LayoutElementHelpers<'dom> for LayoutDom<'dom, Element> { .map(|attr| attr.to_tokens().unwrap()) } + fn get_parts_for_layout(self) -> Option<&'dom [Atom]> { + get_attr_for_layout(self, &ns!(), &local_name!("part")) + .map(|attr| attr.to_tokens().unwrap()) + } + fn synthesize_presentational_hints_for_legacy_attributes<V>(self, hints: &mut V) where V: Push<ApplicableDeclarationBlock>, @@ -1995,6 +2011,16 @@ impl Element { }) } + pub(crate) fn is_part(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool { + self.get_attribute(&ns!(), &LocalName::from("part")) + .is_some_and(|attr| { + attr.value() + .as_tokens() + .iter() + .any(|atom| case_sensitivity.eq_atom(name, atom)) + }) + } + pub(crate) fn set_atomic_attribute( &self, local_name: &LocalName, @@ -4051,6 +4077,13 @@ impl ElementMethods<crate::DomTypeHolder> for Element { rooted!(in(*cx) let slottable = Slottable(Dom::from_ref(self.upcast::<Node>()))); slottable.find_a_slot(true) } + + /// <https://drafts.csswg.org/css-shadow-parts/#dom-element-part> + fn Part(&self) -> DomRoot<DOMTokenList> { + self.ensure_rare_data() + .part + .or_init(|| DOMTokenList::new(self, &local_name!("part"), None, CanGc::note())) + } } impl VirtualMethods for Element { @@ -4190,7 +4223,9 @@ impl VirtualMethods for Element { match *name { local_name!("id") => AttrValue::from_atomic(value.into()), local_name!("name") => AttrValue::from_atomic(value.into()), - local_name!("class") => AttrValue::from_serialized_tokenlist(value.into()), + local_name!("class") | local_name!("part") => { + AttrValue::from_serialized_tokenlist(value.into()) + }, _ => self .super_type() .unwrap() @@ -4564,8 +4599,8 @@ impl SelectorsElement for SelectorWrapper<'_> { .is_some_and(|atom| case_sensitivity.eq_atom(id, atom)) } - fn is_part(&self, _name: &AtomIdent) -> bool { - false + fn is_part(&self, name: &AtomIdent) -> bool { + Element::is_part(self, name, CaseSensitivity::CaseSensitive) } fn imported_part(&self, _: &AtomIdent) -> Option<AtomIdent> { diff --git a/components/script/dom/globalscope.rs b/components/script/dom/globalscope.rs index 9bec85afe5b..ade7b86caa8 100644 --- a/components/script/dom/globalscope.rs +++ b/components/script/dom/globalscope.rs @@ -29,9 +29,10 @@ use crossbeam_channel::Sender; use devtools_traits::{PageError, ScriptToDevtoolsControlMsg}; use dom_struct::dom_struct; use embedder_traits::EmbedderMsg; +use euclid::default::Size2D; use http::HeaderMap; use hyper_serde::Serde; -use ipc_channel::ipc::{self, IpcSender}; +use ipc_channel::ipc::{self, IpcSender, IpcSharedMemory}; use ipc_channel::router::ROUTER; use js::glue::{IsWrapper, UnwrapObjectDynamic}; use js::jsapi::{ @@ -59,9 +60,11 @@ use net_traits::{ CoreResourceMsg, CoreResourceThread, FetchResponseListener, IpcSend, ReferrerPolicy, ResourceThreads, fetch_async, }; +use pixels::PixelFormat; use profile_traits::{ipc as profile_ipc, mem as profile_mem, time as profile_time}; use script_bindings::interfaces::GlobalScopeHelpers; use servo_url::{ImmutableOrigin, MutableOrigin, ServoUrl}; +use snapshot::Snapshot; use timers::{TimerEventId, TimerEventRequest, TimerSource}; use url::Origin; use uuid::Uuid; @@ -2956,64 +2959,209 @@ impl GlobalScope { result == CheckResult::Blocked } + /// <https://html.spec.whatwg.org/multipage/#dom-createimagebitmap> + #[allow(clippy::too_many_arguments)] pub(crate) fn create_image_bitmap( &self, image: ImageBitmapSource, + _sx: i32, + _sy: i32, + sw: Option<i32>, + sh: Option<i32>, options: &ImageBitmapOptions, can_gc: CanGc, ) -> Rc<Promise> { let in_realm_proof = AlreadyInRealm::assert::<crate::DomTypeHolder>(); let p = Promise::new_in_current_realm(InRealm::Already(&in_realm_proof), can_gc); + + // Step 1. If either sw or sh is given and is 0, then return a promise rejected with a RangeError. + if sw.is_some_and(|w| w == 0) { + p.reject_error( + Error::Range("'sw' must be a non-zero value".to_owned()), + can_gc, + ); + return p; + } + + if sh.is_some_and(|h| h == 0) { + p.reject_error( + Error::Range("'sh' must be a non-zero value".to_owned()), + can_gc, + ); + return p; + } + + // Step 2. If either options's resizeWidth or options's resizeHeight is present and is 0, + // then return a promise rejected with an "InvalidStateError" DOMException. if options.resizeWidth.is_some_and(|w| w == 0) { p.reject_error(Error::InvalidState, can_gc); return p; } - if options.resizeHeight.is_some_and(|w| w == 0) { + if options.resizeHeight.is_some_and(|h| h == 0) { p.reject_error(Error::InvalidState, can_gc); return p; } + // Step 3. Check the usability of the image argument. If this throws an exception or returns bad, + // then return a promise rejected with an "InvalidStateError" DOMException. + // Step 6. Switch on image: match image { - ImageBitmapSource::HTMLCanvasElement(ref canvas) => { - // https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument - if !canvas.is_valid() { + ImageBitmapSource::HTMLImageElement(ref image) => { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if !image.is_usable().is_ok_and(|u| u) { p.reject_error(Error::InvalidState, can_gc); return p; } - match canvas.get_image_data() { - Some(snapshot) => { - let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); - image_bitmap.set_origin_clean(canvas.origin_is_clean()); - p.resolve_native(&(image_bitmap), can_gc); + // If no ImageBitmap object can be constructed, then the promise is rejected instead. + let Some(img) = image.image_data() else { + p.reject_error(Error::InvalidState, can_gc); + return p; + }; + + let Some(img) = img.as_raster_image() else { + // Vector HTMLImageElement are not yet supported. + p.reject_error(Error::InvalidState, can_gc); + return p; + }; + + let size = Size2D::new(img.metadata.width, img.metadata.height); + let format = match img.format { + PixelFormat::BGRA8 => snapshot::PixelFormat::BGRA, + PixelFormat::RGBA8 => snapshot::PixelFormat::RGBA, + pixel_format => { + unimplemented!("unsupported pixel format ({:?})", pixel_format) }, - None => p.reject_error(Error::InvalidState, can_gc), + }; + let alpha_mode = snapshot::AlphaMode::Transparent { + premultiplied: false, + }; + + let snapshot = Snapshot::from_shared_memory( + size.cast(), + format, + alpha_mode, + IpcSharedMemory::from_bytes(img.first_frame().bytes), + ); + + let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); + image_bitmap.set_origin_clean(image.same_origin(GlobalScope::entry().origin())); + + p.resolve_native(&image_bitmap, can_gc); + }, + ImageBitmapSource::HTMLVideoElement(ref video) => { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if !video.is_usable() { + p.reject_error(Error::InvalidState, can_gc); + return p; + } + + if video.is_network_state_empty() { + p.reject_error(Error::InvalidState, can_gc); + return p; + } + + // If no ImageBitmap object can be constructed, then the promise is rejected instead. + let Some(snapshot) = video.get_current_frame_data() else { + p.reject_error(Error::InvalidState, can_gc); + return p; + }; + + let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); + image_bitmap.set_origin_clean(video.origin_is_clean()); + + p.resolve_native(&image_bitmap, can_gc); + }, + ImageBitmapSource::HTMLCanvasElement(ref canvas) => { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if canvas.get_size().is_empty() { + p.reject_error(Error::InvalidState, can_gc); + return p; } - p + + // If no ImageBitmap object can be constructed, then the promise is rejected instead. + let Some(snapshot) = canvas.get_image_data() else { + p.reject_error(Error::InvalidState, can_gc); + return p; + }; + + let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); + image_bitmap.set_origin_clean(canvas.origin_is_clean()); + + p.resolve_native(&image_bitmap, can_gc); + }, + ImageBitmapSource::ImageBitmap(ref bitmap) => { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if bitmap.is_detached() { + p.reject_error(Error::InvalidState, can_gc); + return p; + } + + // If no ImageBitmap object can be constructed, then the promise is rejected instead. + let Some(snapshot) = bitmap.bitmap_data().clone() else { + p.reject_error(Error::InvalidState, can_gc); + return p; + }; + + let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); + image_bitmap.set_origin_clean(bitmap.origin_is_clean()); + + p.resolve_native(&image_bitmap, can_gc); }, ImageBitmapSource::OffscreenCanvas(ref canvas) => { - // https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument - if !canvas.is_valid() { + // <https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument> + if canvas.get_size().is_empty() { p.reject_error(Error::InvalidState, can_gc); return p; } - match canvas.get_image_data() { - Some(snapshot) => { - let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); - image_bitmap.set_origin_clean(canvas.origin_is_clean()); - p.resolve_native(&(image_bitmap), can_gc); - }, - None => p.reject_error(Error::InvalidState, can_gc), + // If no ImageBitmap object can be constructed, then the promise is rejected instead. + let Some(snapshot) = canvas.get_image_data() else { + p.reject_error(Error::InvalidState, can_gc); + return p; + }; + + let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); + image_bitmap.set_origin_clean(canvas.origin_is_clean()); + + p.resolve_native(&image_bitmap, can_gc); + }, + ImageBitmapSource::Blob(_) => { + // TODO: implement support of Blob object as ImageBitmapSource + p.reject_error(Error::InvalidState, can_gc); + }, + ImageBitmapSource::ImageData(ref image_data) => { + // <https://html.spec.whatwg.org/multipage/#the-imagebitmap-interface:imagedata-4> + if image_data.is_detached() { + p.reject_error(Error::InvalidState, can_gc); + return p; } - p + + let alpha_mode = snapshot::AlphaMode::Transparent { + premultiplied: false, + }; + + let snapshot = Snapshot::from_shared_memory( + image_data.get_size().cast(), + snapshot::PixelFormat::RGBA, + alpha_mode, + image_data.to_shared_memory(), + ); + + let image_bitmap = ImageBitmap::new(self, snapshot, can_gc); + + p.resolve_native(&image_bitmap, can_gc); }, - _ => { + ImageBitmapSource::CSSStyleValue(_) => { + // TODO: CSSStyleValue is not part of ImageBitmapSource + // <https://html.spec.whatwg.org/multipage/#imagebitmapsource> p.reject_error(Error::NotSupported, can_gc); - p }, } + + // Step 7. Return promise. + p } pub(crate) fn fire_timer(&self, handle: TimerEventId, can_gc: CanGc) { diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs index f41370386e9..f47a40d3cdb 100644 --- a/components/script/dom/htmlelement.rs +++ b/components/script/dom/htmlelement.rs @@ -437,7 +437,7 @@ impl HTMLElementMethods<crate::DomTypeHolder> for HTMLElement { document.request_focus(None, FocusInitiator::Local, can_gc); } - // https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsetparent + /// <https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsetparent> fn GetOffsetParent(&self, can_gc: CanGc) -> Option<DomRoot<Element>> { if self.is::<HTMLBodyElement>() || self.is::<HTMLHtmlElement>() { return None; diff --git a/components/script/dom/htmlmediaelement.rs b/components/script/dom/htmlmediaelement.rs index 0d54d188e59..e483504cceb 100644 --- a/components/script/dom/htmlmediaelement.rs +++ b/components/script/dom/htmlmediaelement.rs @@ -520,6 +520,10 @@ impl HTMLMediaElement { } } + pub(crate) fn network_state(&self) -> NetworkState { + self.network_state.get() + } + pub(crate) fn get_ready_state(&self) -> ReadyState { self.ready_state.get() } diff --git a/components/script/dom/htmlvideoelement.rs b/components/script/dom/htmlvideoelement.rs index c5699014ee2..622e5079ee9 100644 --- a/components/script/dom/htmlvideoelement.rs +++ b/components/script/dom/htmlvideoelement.rs @@ -37,7 +37,7 @@ use crate::dom::bindings::str::DOMString; use crate::dom::document::Document; use crate::dom::element::{AttributeMutation, Element, LayoutElementHelpers}; use crate::dom::globalscope::GlobalScope; -use crate::dom::htmlmediaelement::{HTMLMediaElement, ReadyState}; +use crate::dom::htmlmediaelement::{HTMLMediaElement, NetworkState, ReadyState}; use crate::dom::node::{Node, NodeTraits}; use crate::dom::performanceresourcetiming::InitiatorType; use crate::dom::virtualmethods::VirtualMethods; @@ -294,6 +294,10 @@ impl HTMLVideoElement { pub(crate) fn origin_is_clean(&self) -> bool { self.htmlmediaelement.origin_is_clean() } + + pub(crate) fn is_network_state_empty(&self) -> bool { + self.htmlmediaelement.network_state() == NetworkState::Empty + } } impl HTMLVideoElementMethods<crate::DomTypeHolder> for HTMLVideoElement { diff --git a/components/script/dom/imagebitmap.rs b/components/script/dom/imagebitmap.rs index cddd8cf1188..0a43bf4f176 100644 --- a/components/script/dom/imagebitmap.rs +++ b/components/script/dom/imagebitmap.rs @@ -68,7 +68,7 @@ impl ImageBitmap { /// Return the value of the [`[[Detached]]`](https://html.spec.whatwg.org/multipage/#detached) /// internal slot - fn is_detached(&self) -> bool { + pub(crate) fn is_detached(&self) -> bool { self.bitmap_data.borrow().is_none() } } @@ -109,9 +109,9 @@ impl Serializable for ImageBitmap { } fn serialized_storage<'a>( - reader: StructuredData<'a, '_>, + data: StructuredData<'a, '_>, ) -> &'a mut Option<HashMap<ImageBitmapId, Self::Data>> { - match reader { + match data { StructuredData::Reader(r) => &mut r.image_bitmaps, StructuredData::Writer(w) => &mut w.image_bitmaps, } diff --git a/components/script/dom/imagedata.rs b/components/script/dom/imagedata.rs index a834abdae78..907561cdda4 100644 --- a/components/script/dom/imagedata.rs +++ b/components/script/dom/imagedata.rs @@ -148,6 +148,11 @@ impl ImageData { imagedata, global, proto, can_gc, )) } + + pub(crate) fn is_detached(&self) -> bool { + self.data.is_detached_buffer(GlobalScope::get_cx()) + } + #[allow(unsafe_code)] pub(crate) fn to_shared_memory(&self) -> IpcSharedMemory { IpcSharedMemory::from_bytes(unsafe { self.as_slice() }) diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index bf36242572f..6d4a0d2529e 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1583,6 +1583,7 @@ pub(crate) unsafe fn from_untrusted_node_address(candidate: UntrustedNodeAddress pub(crate) trait LayoutNodeHelpers<'dom> { fn type_id_for_layout(self) -> NodeTypeId; + fn parent_node_ref(self) -> Option<LayoutDom<'dom, Node>>; fn composed_parent_node_ref(self) -> Option<LayoutDom<'dom, Node>>; fn first_child_ref(self) -> Option<LayoutDom<'dom, Node>>; fn last_child_ref(self) -> Option<LayoutDom<'dom, Node>>; @@ -1645,7 +1646,7 @@ pub(crate) trait LayoutNodeHelpers<'dom> { impl<'dom> LayoutDom<'dom, Node> { #[inline] #[allow(unsafe_code)] - fn parent_node_ref(self) -> Option<LayoutDom<'dom, Node>> { + pub(crate) fn parent_node_ref(self) -> Option<LayoutDom<'dom, Node>> { unsafe { self.unsafe_get().parent_node.get_inner_as_layout() } } } @@ -1662,6 +1663,12 @@ impl<'dom> LayoutNodeHelpers<'dom> for LayoutDom<'dom, Node> { } #[inline] + #[allow(unsafe_code)] + fn parent_node_ref(self) -> Option<LayoutDom<'dom, Node>> { + unsafe { self.unsafe_get().parent_node.get_inner_as_layout() } + } + + #[inline] fn composed_parent_node_ref(self) -> Option<LayoutDom<'dom, Node>> { let parent = self.parent_node_ref(); if let Some(parent) = parent { diff --git a/components/script/dom/offscreencanvas.rs b/components/script/dom/offscreencanvas.rs index cbcffb40e3e..391c83f3a84 100644 --- a/components/script/dom/offscreencanvas.rs +++ b/components/script/dom/offscreencanvas.rs @@ -126,10 +126,6 @@ impl OffscreenCanvas { Some(context) } - pub(crate) fn is_valid(&self) -> bool { - self.Width() != 0 && self.Height() != 0 - } - pub(crate) fn placeholder(&self) -> Option<&HTMLCanvasElement> { self.placeholder.as_deref() } diff --git a/components/script/dom/raredata.rs b/components/script/dom/raredata.rs index 0c048956217..2c303d6874f 100644 --- a/components/script/dom/raredata.rs +++ b/components/script/dom/raredata.rs @@ -11,6 +11,7 @@ use crate::dom::bindings::root::{Dom, MutNullableDom}; use crate::dom::customelementregistry::{ CustomElementDefinition, CustomElementReaction, CustomElementState, }; +use crate::dom::domtokenlist::DOMTokenList; use crate::dom::elementinternals::ElementInternals; use crate::dom::htmlslotelement::SlottableData; use crate::dom::intersectionobserver::IntersectionObserverRegistration; @@ -76,4 +77,10 @@ pub(crate) struct ElementRareData { /// > which is initialized to an empty list. This list holds IntersectionObserverRegistration records, which have: pub(crate) registered_intersection_observers: Vec<IntersectionObserverRegistration>, pub(crate) cryptographic_nonce: String, + + /// <https://drafts.csswg.org/css-shadow-parts/#element-forwarded-part-name-list> + pub(crate) forwarded_part_names: Vec<(String, String)>, + + /// <https://drafts.csswg.org/css-shadow-parts/#dom-element-part> + pub(crate) part: MutNullableDom<DOMTokenList>, } diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 9b8ee461979..aee785b0e12 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -575,6 +575,23 @@ impl WebGLRenderingContext { pub(crate) fn get_image_pixels(&self, source: TexImageSource) -> Fallible<Option<TexPixels>> { Ok(Some(match source { + TexImageSource::ImageBitmap(bitmap) => { + if !bitmap.origin_is_clean() { + return Err(Error::Security); + } + let Some(snapshot) = bitmap.bitmap_data().clone() else { + return Ok(None); + }; + + let snapshot = snapshot.as_ipc(); + let size = snapshot.size().cast(); + let format = match snapshot.format() { + snapshot::PixelFormat::RGBA => PixelFormat::RGBA8, + snapshot::PixelFormat::BGRA => PixelFormat::BGRA8, + }; + let premultiply = snapshot.alpha_mode().is_premultiplied(); + TexPixels::new(snapshot.to_ipc_shared_memory(), size, format, premultiply) + }, TexImageSource::ImageData(image_data) => TexPixels::new( image_data.to_shared_memory(), image_data.get_size(), diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index dcaa025c778..fca40987898 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -1214,7 +1214,7 @@ impl WindowMethods<crate::DomTypeHolder> for Window { self.as_global_scope().queue_function_as_microtask(callback); } - // https://html.spec.whatwg.org/multipage/#dom-createimagebitmap + /// <https://html.spec.whatwg.org/multipage/#dom-createimagebitmap> fn CreateImageBitmap( &self, image: ImageBitmapSource, @@ -1223,7 +1223,30 @@ impl WindowMethods<crate::DomTypeHolder> for Window { ) -> Rc<Promise> { let p = self .as_global_scope() - .create_image_bitmap(image, options, can_gc); + .create_image_bitmap(image, 0, 0, None, None, options, can_gc); + p + } + + /// <https://html.spec.whatwg.org/multipage/#dom-createimagebitmap> + fn CreateImageBitmap_( + &self, + image: ImageBitmapSource, + sx: i32, + sy: i32, + sw: i32, + sh: i32, + options: &ImageBitmapOptions, + can_gc: CanGc, + ) -> Rc<Promise> { + let p = self.as_global_scope().create_image_bitmap( + image, + sx, + sy, + Some(sw), + Some(sh), + options, + can_gc, + ); p } diff --git a/components/script/dom/windowproxy.rs b/components/script/dom/windowproxy.rs index a8decee24ed..648146ac2e9 100644 --- a/components/script/dom/windowproxy.rs +++ b/components/script/dom/windowproxy.rs @@ -466,26 +466,40 @@ impl WindowProxy { features: DOMString, can_gc: CanGc, ) -> Fallible<Option<DomRoot<WindowProxy>>> { - // Step 4. + // Step 5. If target is the empty string, then set target to "_blank". let non_empty_target = match target.as_ref() { "" => DOMString::from("_blank"), _ => target, }; - // Step 5 + // Step 6. Let tokenizedFeatures be the result of tokenizing features. let tokenized_features = tokenize_open_features(features); - // Step 7-9 + // Step 7 - 8. + // If tokenizedFeatures["noreferrer"] exists, then set noreferrer to + // the result of parsing tokenizedFeatures["noreferrer"] as a boolean feature. let noreferrer = parse_open_feature_boolean(&tokenized_features, "noreferrer"); + + // Step 9. Let noopener be the result of getting noopener for window + // open with sourceDocument, tokenizedFeatures, and urlRecord. let noopener = if noreferrer { true } else { parse_open_feature_boolean(&tokenized_features, "noopener") }; - // Step 10, 11 + // (TODO) Step 10. Remove tokenizedFeatures["noopener"] and tokenizedFeatures["noreferrer"]. + + // (TODO) Step 11. Let referrerPolicy be the empty string. + // (TODO) Step 12. If noreferrer is true, then set referrerPolicy to "no-referrer". + + // Step 13 - 14 + // Let targetNavigable and windowType be the result of applying the rules for + // choosing a navigable given target, sourceDocument's node navigable, and noopener. + // If targetNavigable is null, then return null. let (chosen, new) = match self.choose_browsing_context(non_empty_target, noopener) { (Some(chosen), new) => (chosen, new), (None, _) => return Ok(None), }; - // TODO Step 12, set up browsing context features. + // TODO Step 15.2, Set up browsing context features for targetNavigable's + // active browsing context given tokenizedFeatures. let target_document = match chosen.document() { Some(target_document) => target_document, None => return Ok(None), @@ -496,7 +510,7 @@ impl WindowProxy { false }; let target_window = target_document.window(); - // Step 13, and 14.4, will have happened elsewhere, + // Step 15.3 and 15.4 will have happened elsewhere, // since we've created a new browsing context and loaded it with about:blank. if !url.is_empty() { let existing_document = self @@ -504,18 +518,18 @@ impl WindowProxy { .get() .and_then(ScriptThread::find_document) .unwrap(); - // Step 14.1 let url = match existing_document.url().join(&url) { Ok(url) => url, Err(_) => return Err(Error::Syntax), }; - // Step 14.3 let referrer = if noreferrer { Referrer::NoReferrer } else { target_window.as_global_scope().get_referrer() }; - // Step 14.5 + // Step 15.5 Otherwise, navigate targetNavigable to urlRecord using sourceDocument, + // with referrerPolicy set to referrerPolicy and exceptionsEnabled set to true. + // FIXME: referrerPolicy may not be used properly here. exceptionsEnabled not used. let referrer_policy = target_document.get_referrer_policy(); let pipeline_id = target_window.pipeline_id(); let secure = target_window.as_global_scope().is_secure_context(); @@ -534,14 +548,13 @@ impl WindowProxy { } else { NavigationHistoryBehavior::Push }; - target_window.load_url(history_handling, false, load_data, can_gc); } + // Step 17 (Dis-owning has been done in create_auxiliary_browsing_context). if noopener { - // Step 15 (Dis-owning has been done in create_auxiliary_browsing_context). return Ok(None); } - // Step 17. + // Step 18 Ok(target_document.browsing_context()) } diff --git a/components/script/dom/workerglobalscope.rs b/components/script/dom/workerglobalscope.rs index fa94dcc1d04..7912e90cdcf 100644 --- a/components/script/dom/workerglobalscope.rs +++ b/components/script/dom/workerglobalscope.rs @@ -446,7 +446,7 @@ impl WorkerGlobalScopeMethods<crate::DomTypeHolder> for WorkerGlobalScope { .queue_function_as_microtask(callback); } - // https://html.spec.whatwg.org/multipage/#dom-createimagebitmap + /// <https://html.spec.whatwg.org/multipage/#dom-createimagebitmap> fn CreateImageBitmap( &self, image: ImageBitmapSource, @@ -455,7 +455,30 @@ impl WorkerGlobalScopeMethods<crate::DomTypeHolder> for WorkerGlobalScope { ) -> Rc<Promise> { let p = self .upcast::<GlobalScope>() - .create_image_bitmap(image, options, can_gc); + .create_image_bitmap(image, 0, 0, None, None, options, can_gc); + p + } + + /// <https://html.spec.whatwg.org/multipage/#dom-createimagebitmap> + fn CreateImageBitmap_( + &self, + image: ImageBitmapSource, + sx: i32, + sy: i32, + sw: i32, + sh: i32, + options: &ImageBitmapOptions, + can_gc: CanGc, + ) -> Rc<Promise> { + let p = self.upcast::<GlobalScope>().create_image_bitmap( + image, + sx, + sy, + Some(sw), + Some(sh), + options, + can_gc, + ); p } diff --git a/components/script/layout_dom/element.rs b/components/script/layout_dom/element.rs index 9b50c9f3a2b..fd34d591f0c 100644 --- a/components/script/layout_dom/element.rs +++ b/components/script/layout_dom/element.rs @@ -216,11 +216,15 @@ impl<'dom> style::dom::TElement for ServoLayoutElement<'dom> { } fn has_part_attr(&self) -> bool { - false + self.element + .get_attr_for_layout(&ns!(), &local_name!("part")) + .is_some() } fn exports_any_part(&self) -> bool { - false + self.element + .get_attr_for_layout(&ns!(), &local_name!("exportparts")) + .is_some() } fn style_attribute(&self) -> Option<ArcBorrow<StyleLocked<PropertyDeclarationBlock>>> { @@ -292,6 +296,17 @@ impl<'dom> style::dom::TElement for ServoLayoutElement<'dom> { } } + fn each_part<F>(&self, mut callback: F) + where + F: FnMut(&AtomIdent), + { + if let Some(parts) = self.element.get_parts_for_layout() { + for part in parts { + callback(AtomIdent::cast(part)) + } + } + } + fn has_dirty_descendants(&self) -> bool { unsafe { self.as_node() @@ -728,8 +743,12 @@ impl<'dom> ::selectors::Element for ServoLayoutElement<'dom> { } #[inline] - fn is_part(&self, _name: &AtomIdent) -> bool { - false + fn is_part(&self, name: &AtomIdent) -> bool { + self.element.has_class_or_part_for_layout( + name, + &local_name!("part"), + CaseSensitivity::CaseSensitive, + ) } fn imported_part(&self, _: &AtomIdent) -> Option<AtomIdent> { @@ -738,7 +757,8 @@ impl<'dom> ::selectors::Element for ServoLayoutElement<'dom> { #[inline] fn has_class(&self, name: &AtomIdent, case_sensitivity: CaseSensitivity) -> bool { - self.element.has_class_for_layout(name, case_sensitivity) + self.element + .has_class_or_part_for_layout(name, &local_name!("class"), case_sensitivity) } fn is_html_slot_element(&self) -> bool { diff --git a/components/script/layout_dom/node.rs b/components/script/layout_dom/node.rs index dfb921b1ded..85b75f0b15f 100644 --- a/components/script/layout_dom/node.rs +++ b/components/script/layout_dom/node.rs @@ -119,9 +119,7 @@ impl<'dom> style::dom::TNode for ServoLayoutNode<'dom> { type ConcreteShadowRoot = ServoShadowRoot<'dom>; fn parent_node(&self) -> Option<Self> { - self.node - .composed_parent_node_ref() - .map(Self::from_layout_js) + self.node.parent_node_ref().map(Self::from_layout_js) } fn first_child(&self) -> Option<Self> { @@ -302,8 +300,8 @@ impl<'dom> ThreadSafeLayoutNode<'dom> for ServoThreadSafeLayoutNode<'dom> { } fn parent_style(&self) -> Arc<ComputedValues> { - let parent = self.node.parent_node().unwrap().as_element().unwrap(); - let parent_data = parent.borrow_data().unwrap(); + let parent_element = self.node.traversal_parent().unwrap(); + let parent_data = parent_element.borrow_data().unwrap(); parent_data.styles.primary().clone() } diff --git a/components/script/script_module.rs b/components/script/script_module.rs index 449f17901ed..2da7718a12a 100644 --- a/components/script/script_module.rs +++ b/components/script/script_module.rs @@ -43,7 +43,6 @@ use net_traits::{ ResourceFetchTiming, ResourceTimingType, }; use servo_url::ServoUrl; -use url::ParseError as UrlParseError; use uuid::Uuid; use crate::document_loader::LoadType; @@ -634,7 +633,7 @@ impl ModuleTree { specifier.handle().into_handle(), ); - if url.is_err() { + if url.is_none() { let specifier_error = gen_type_error(global, "Wrong module specifier".to_owned(), can_gc); @@ -660,24 +659,28 @@ impl ModuleTree { cx: *mut JSContext, url: &ServoUrl, specifier: RawHandle<*mut JSString>, - ) -> Result<ServoUrl, UrlParseError> { + ) -> Option<ServoUrl> { let specifier_str = unsafe { jsstring_to_str(cx, ptr::NonNull::new(*specifier).unwrap()) }; - // Step 1. - if let Ok(specifier_url) = ServoUrl::parse(&specifier_str) { - return Ok(specifier_url); - } + // TODO: We return the url here to keep the origianl behavior. should fix when we implement the full spec. + // Step 7. Let asURL be the result of resolving a URL-like module specifier given specifier and baseURL. + Self::resolve_url_like_module_specifier(&specifier_str, url) + } - // Step 2. - if !specifier_str.starts_with('/') && - !specifier_str.starts_with("./") && - !specifier_str.starts_with("../") + /// <https://html.spec.whatwg.org/multipage/#resolving-a-url-like-module-specifier> + fn resolve_url_like_module_specifier( + specifier: &DOMString, + base_url: &ServoUrl, + ) -> Option<ServoUrl> { + // Step 1. If specifier starts with "/", "./", or "../", then: + if specifier.starts_with('/') || specifier.starts_with("./") || specifier.starts_with("../") { - return Err(UrlParseError::InvalidDomainCharacter); + // Step 1.1. Let url be the result of URL parsing specifier with baseURL. + return ServoUrl::parse_with_base(Some(base_url), specifier).ok(); } - // Step 3. - ServoUrl::parse_with_base(Some(url), &specifier_str) + // Step 2. Let url be the result of URL parsing specifier (with no base URL). + ServoUrl::parse_with_base(None, specifier).ok() } /// <https://html.spec.whatwg.org/multipage/#finding-the-first-parse-error> @@ -1437,7 +1440,7 @@ fn fetch_an_import_module_script_graph( let url = ModuleTree::resolve_module_specifier(*cx, &base_url, specifier.handle().into()); // Step 2. - if url.is_err() { + if url.is_none() { let specifier_error = gen_type_error(global, "Wrong module specifier".to_owned(), can_gc); return Err(specifier_error); } @@ -1514,7 +1517,7 @@ unsafe extern "C" fn HostResolveImportedModule( ); // Step 6. - assert!(url.is_ok()); + assert!(url.is_some()); let parsed_url = url.unwrap(); diff --git a/components/script/webdriver_handlers.rs b/components/script/webdriver_handlers.rs index 9c647ab5b8b..1bde6f314f2 100644 --- a/components/script/webdriver_handlers.rs +++ b/components/script/webdriver_handlers.rs @@ -79,6 +79,8 @@ fn find_node_by_unique_id( match documents.find_document(pipeline) { Some(doc) => find_node_by_unique_id_in_document(&doc, node_id), None => { + // FIXME: This is unreacheable!! Because we already early return in Constellation + // To be Fixed soon if ScriptThread::has_node_id(pipeline, &node_id) { Err(ErrorStatus::StaleElementReference) } else { diff --git a/components/script_bindings/codegen/Bindings.conf b/components/script_bindings/codegen/Bindings.conf index dd034654974..edc099a823f 100644 --- a/components/script_bindings/codegen/Bindings.conf +++ b/components/script_bindings/codegen/Bindings.conf @@ -646,7 +646,7 @@ DOMInterfaces = { }, 'Window': { - 'canGc': ['Stop', 'Fetch', 'Scroll', 'Scroll_','ScrollBy', 'ScrollBy_', 'Stop', 'Fetch', 'Open', 'CreateImageBitmap', 'TrustedTypes', 'WebdriverCallback', 'WebdriverException'], + 'canGc': ['Stop', 'Fetch', 'Scroll', 'Scroll_','ScrollBy', 'ScrollBy_', 'Stop', 'Fetch', 'Open', 'CreateImageBitmap', 'CreateImageBitmap_', 'TrustedTypes', 'WebdriverCallback', 'WebdriverException'], 'inRealms': ['Fetch', 'GetOpener', 'WebdriverCallback', 'WebdriverException'], 'additionalTraits': ['crate::interfaces::WindowHelpers'], }, @@ -658,7 +658,7 @@ DOMInterfaces = { 'WorkerGlobalScope': { 'inRealms': ['Fetch'], - 'canGc': ['Fetch', 'CreateImageBitmap', 'ImportScripts', 'TrustedTypes'], + 'canGc': ['Fetch', 'CreateImageBitmap', 'CreateImageBitmap_', 'ImportScripts', 'TrustedTypes'], }, 'Worklet': { diff --git a/components/script_bindings/webidls/CanvasRenderingContext2D.webidl b/components/script_bindings/webidls/CanvasRenderingContext2D.webidl index 47612a29937..b277ec2df41 100644 --- a/components/script_bindings/webidls/CanvasRenderingContext2D.webidl +++ b/components/script_bindings/webidls/CanvasRenderingContext2D.webidl @@ -11,7 +11,7 @@ typedef HTMLImageElement HTMLOrSVGImageElement; typedef (HTMLOrSVGImageElement or HTMLVideoElement or HTMLCanvasElement or - /*ImageBitmap or*/ + ImageBitmap or OffscreenCanvas or /*VideoFrame or*/ /*CSSImageValue*/ CSSStyleValue) CanvasImageSource; diff --git a/components/script_bindings/webidls/Element.webidl b/components/script_bindings/webidls/Element.webidl index 4545b18d058..e0073f856ca 100644 --- a/components/script_bindings/webidls/Element.webidl +++ b/components/script_bindings/webidls/Element.webidl @@ -144,3 +144,8 @@ Element includes NonDocumentTypeChildNode; Element includes ParentNode; Element includes ActivatableElement; Element includes ARIAMixin; + +// https://drafts.csswg.org/css-shadow-parts/#idl +partial interface Element { + [SameObject, PutForwards=value] readonly attribute DOMTokenList part; +}; diff --git a/components/script_bindings/webidls/WebGLRenderingContext.webidl b/components/script_bindings/webidls/WebGLRenderingContext.webidl index 6938e547cce..645eef0c23f 100644 --- a/components/script_bindings/webidls/WebGLRenderingContext.webidl +++ b/components/script_bindings/webidls/WebGLRenderingContext.webidl @@ -24,7 +24,8 @@ typedef unsigned long GLuint; typedef unrestricted float GLfloat; typedef unrestricted float GLclampf; -typedef (ImageData or +typedef (ImageBitmap or + ImageData or HTMLImageElement or HTMLCanvasElement or HTMLVideoElement) TexImageSource; diff --git a/components/script_bindings/webidls/WindowOrWorkerGlobalScope.webidl b/components/script_bindings/webidls/WindowOrWorkerGlobalScope.webidl index deb3d5e2947..e329048b1fb 100644 --- a/components/script_bindings/webidls/WindowOrWorkerGlobalScope.webidl +++ b/components/script_bindings/webidls/WindowOrWorkerGlobalScope.webidl @@ -26,8 +26,9 @@ interface mixin WindowOrWorkerGlobalScope { // ImageBitmap [Pref="dom_imagebitmap_enabled"] Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options = {}); - // Promise<ImageBitmap> createImageBitmap( - // ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options); + [Pref="dom_imagebitmap_enabled"] + Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh, + optional ImageBitmapOptions options = {}); // structured cloning [Throws] diff --git a/components/webdriver_server/lib.rs b/components/webdriver_server/lib.rs index 0d92be01a3f..f2638764df6 100644 --- a/components/webdriver_server/lib.rs +++ b/components/webdriver_server/lib.rs @@ -949,6 +949,7 @@ impl Handler { ))) } + /// <https://w3c.github.io/webdriver/#new-window> fn handle_new_window( &mut self, _parameters: &NewWindowParameters, @@ -956,11 +957,16 @@ impl Handler { let (sender, receiver) = ipc::channel().unwrap(); let session = self.session().unwrap(); + // Step 2. (TODO) If session's current top-level browsing context is no longer open, + // return error with error code no such window. + let cmd_msg = WebDriverCommandMsg::NewWebView( session.webview_id, sender, self.load_status_sender.clone(), ); + // Step 5. Create a new top-level browsing context by running the window open steps. + // This MUST be done without invoking the focusing steps. self.constellation_chan .send(EmbedderToConstellationMessage::WebDriverCommand(cmd_msg)) .unwrap(); @@ -968,8 +974,6 @@ impl Handler { let mut handle = self.session.as_ref().unwrap().id.to_string(); if let Ok(new_webview_id) = receiver.recv() { let session = self.session_mut().unwrap(); - session.webview_id = new_webview_id; - session.browsing_context_id = BrowsingContextId::from(new_webview_id); let new_handle = Uuid::new_v4().to_string(); handle = new_handle.clone(); session.window_handles.insert(new_webview_id, new_handle); diff --git a/ports/servoshell/desktop/app_state.rs b/ports/servoshell/desktop/app_state.rs index 464e344424a..ce6cdb7beb2 100644 --- a/ports/servoshell/desktop/app_state.rs +++ b/ports/servoshell/desktop/app_state.rs @@ -12,7 +12,7 @@ use image::{DynamicImage, ImageFormat}; use keyboard_types::{Key, KeyboardEvent, Modifiers, ShortcutMatcher}; use log::{error, info}; use servo::base::id::WebViewId; -use servo::config::pref; +use servo::config::{opts, pref}; use servo::ipc_channel::ipc::IpcSender; use servo::webrender_api::ScrollLocation; use servo::webrender_api::units::{DeviceIntPoint, DeviceIntRect, DeviceIntSize}; @@ -477,9 +477,13 @@ impl WebViewDelegate for RunningAppState { .build(); webview.notify_theme_change(self.inner().window.theme()); - webview.focus(); - webview.raise_to_top(true); - + // When WebDriver is enabled, do not focus and raise the WebView to the top, + // as that is what the specification expects. Otherwise, we would like `window.open()` + // to create a new foreground tab + if opts::get().webdriver_port.is_none() { + webview.focus(); + webview.raise_to_top(true); + } self.add(webview.clone()); Some(webview) } diff --git a/tests/wpt/meta/MANIFEST.json b/tests/wpt/meta/MANIFEST.json index 2e311c7ceb4..76574878148 100644 --- a/tests/wpt/meta/MANIFEST.json +++ b/tests/wpt/meta/MANIFEST.json @@ -517102,7 +517102,7 @@ [] ], "executorservodriver.py": [ - "e27b111ee8b7c4cdff4a0aee5c010d402efff263", + "8176d15ea2a5bbc201618076d58c76b59bc42c47", [] ], "executorwebdriver.py": [ diff --git a/tests/wpt/meta/css/css-pseudo/parsing/highlight-pseudos.html.ini b/tests/wpt/meta/css/css-pseudo/parsing/highlight-pseudos.html.ini index 4777bdd940b..df99ba6dd73 100644 --- a/tests/wpt/meta/css/css-pseudo/parsing/highlight-pseudos.html.ini +++ b/tests/wpt/meta/css/css-pseudo/parsing/highlight-pseudos.html.ini @@ -1,7 +1,4 @@ [highlight-pseudos.html] - ["::part(my-part)::selection" should be a valid selector] - expected: FAIL - ["::target-text" should be a valid selector] expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/all-hosts.html.ini b/tests/wpt/meta/css/css-shadow-parts/all-hosts.html.ini deleted file mode 100644 index 8fce3b78803..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/all-hosts.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[all-hosts.html] - [::part with host selector styles in first host] - expected: FAIL - - [::part with host selector styles in second host] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/animation-part.html.ini b/tests/wpt/meta/css/css-shadow-parts/animation-part.html.ini index 5609256d589..7d3d4520485 100644 --- a/tests/wpt/meta/css/css-shadow-parts/animation-part.html.ini +++ b/tests/wpt/meta/css/css-shadow-parts/animation-part.html.ini @@ -1,2 +1,2 @@ [animation-part.html] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/css/css-shadow-parts/complex-matching.html.ini b/tests/wpt/meta/css/css-shadow-parts/complex-matching.html.ini deleted file mode 100644 index 6c473570671..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/complex-matching.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[complex-matching.html] - [Complex selector for host works] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/grouping-with-checked.html.ini b/tests/wpt/meta/css/css-shadow-parts/grouping-with-checked.html.ini index f39eba9208a..d7f1d73d98d 100644 --- a/tests/wpt/meta/css/css-shadow-parts/grouping-with-checked.html.ini +++ b/tests/wpt/meta/css/css-shadow-parts/grouping-with-checked.html.ini @@ -1,12 +1,3 @@ [grouping-with-checked.html] [Styles applied to ::part(...)] expected: FAIL - - [Styles applied to ::part(...):checked] - expected: FAIL - - [Styles applied via grouped selector including matched ::part(...):checked] - expected: FAIL - - [Styles applied via grouped selector including unmatched ::part(...):checked] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/grouping-with-disabled.html.ini b/tests/wpt/meta/css/css-shadow-parts/grouping-with-disabled.html.ini deleted file mode 100644 index 3d6b92b5b8e..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/grouping-with-disabled.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[grouping-with-disabled.html] - [Styles applied to ::part(...)] - expected: FAIL - - [Styles applied to ::part(...):disabled] - expected: FAIL - - [Styles applied via grouped selector including matched ::part(...):disabled] - expected: FAIL - - [Styles applied via grouped selector including unmatched ::part(...):disabled] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/host-part-001.html.ini b/tests/wpt/meta/css/css-shadow-parts/host-part-001.html.ini deleted file mode 100644 index d52687ff32f..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/host-part-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[host-part-001.html] - [:host::part works] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/host-part-002.html.ini b/tests/wpt/meta/css/css-shadow-parts/host-part-002.html.ini deleted file mode 100644 index ad2c732963f..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/host-part-002.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[host-part-002.html] - [:host::part has correct cascading behavior] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/host-part-nesting.html.ini b/tests/wpt/meta/css/css-shadow-parts/host-part-nesting.html.ini deleted file mode 100644 index aacd37b4934..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/host-part-nesting.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[host-part-nesting.html] - [:host::part works in nesting] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/idlharness.html.ini b/tests/wpt/meta/css/css-shadow-parts/idlharness.html.ini deleted file mode 100644 index cc4dd4679ca..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/idlharness.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[idlharness.html] - [Element interface: attribute part] - expected: FAIL - - [Element interface: element must inherit property "part" with the proper type] - expected: FAIL - - [Element interface: htmlElement must inherit property "part" with the proper type] - expected: FAIL - - [Element interface: svgElement must inherit property "part" with the proper type] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/inner-host.html.ini b/tests/wpt/meta/css/css-shadow-parts/inner-host.html.ini deleted file mode 100644 index 5c34edcb01f..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/inner-host.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[inner-host.html] - [Part in outer host is styled by document style sheet] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/interaction-with-pseudo-elements.html.ini b/tests/wpt/meta/css/css-shadow-parts/interaction-with-pseudo-elements.html.ini index 1a36ec9273d..675aa8dff70 100644 --- a/tests/wpt/meta/css/css-shadow-parts/interaction-with-pseudo-elements.html.ini +++ b/tests/wpt/meta/css/css-shadow-parts/interaction-with-pseudo-elements.html.ini @@ -1,16 +1,7 @@ [interaction-with-pseudo-elements.html] - [::before in selected host is styled] - expected: FAIL - - [::after in selected host is styled] - expected: FAIL - [::placeholder in selected host is styled] expected: FAIL - [::selection in selected host is styled] - expected: FAIL - [::first-line in selected host is styled] expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/invalidation-change-part-name-idl-domtokenlist.html.ini b/tests/wpt/meta/css/css-shadow-parts/invalidation-change-part-name-idl-domtokenlist.html.ini deleted file mode 100644 index c086b128d2e..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/invalidation-change-part-name-idl-domtokenlist.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[invalidation-change-part-name-idl-domtokenlist.html] - [Part in selected host changed color via part IDL DOMTokenList attribute.] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/invalidation-change-part-name-idl-setter.html.ini b/tests/wpt/meta/css/css-shadow-parts/invalidation-change-part-name-idl-setter.html.ini deleted file mode 100644 index 2269f6e697a..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/invalidation-change-part-name-idl-setter.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[invalidation-change-part-name-idl-setter.html] - [Part in selected host changed color via part IDL attribute setter.] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/invalidation-complex-selector.html.ini b/tests/wpt/meta/css/css-shadow-parts/invalidation-complex-selector.html.ini deleted file mode 100644 index 772668059f2..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/invalidation-complex-selector.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[invalidation-complex-selector.html] - [Part in selected host changed color] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/multiple-parts.html.ini b/tests/wpt/meta/css/css-shadow-parts/multiple-parts.html.ini deleted file mode 100644 index fc47c2d1237..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/multiple-parts.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[multiple-parts.html] - [Double-part in selected host is styled] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/part-name-idl.html.ini b/tests/wpt/meta/css/css-shadow-parts/part-name-idl.html.ini deleted file mode 100644 index 27699f0b592..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/part-name-idl.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[part-name-idl.html] - [Access to .part returns an empty DOMTokenList.] - expected: FAIL - - [Multiple names give a DOMTokenList with multiple entries.] - expected: FAIL - - [DOMTokenList created by access is persisted.] - expected: FAIL - - [Changes in DOMTokenList are refected in attribute.] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/part-nested-pseudo.html.ini b/tests/wpt/meta/css/css-shadow-parts/part-nested-pseudo.html.ini deleted file mode 100644 index 1cc6eac641c..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/part-nested-pseudo.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[part-nested-pseudo.html] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/pseudo-classes-after-part.html.ini b/tests/wpt/meta/css/css-shadow-parts/pseudo-classes-after-part.html.ini index d37678023dd..d8bc08b193e 100644 --- a/tests/wpt/meta/css/css-shadow-parts/pseudo-classes-after-part.html.ini +++ b/tests/wpt/meta/css/css-shadow-parts/pseudo-classes-after-part.html.ini @@ -1,82 +1,28 @@ [pseudo-classes-after-part.html] - ["::part(mypart):active" should be a valid selector] - expected: FAIL - ["::part(mypart):active-view-transition" should be a valid selector] expected: FAIL ["::part(mypart):active-view-transition-type(mytype)" should be a valid selector] expected: FAIL - ["::part(mypart):any-link" should be a valid selector] - expected: FAIL - - ["::part(mypart):autofill" should be a valid selector] - expected: FAIL - - ["::part(mypart):checked" should be a valid selector] - expected: FAIL - - ["::part(mypart):default" should be a valid selector] - expected: FAIL - - ["::part(mypart):defined" should be a valid selector] - expected: FAIL - ["::part(mypart):dir(ltr)" should be a valid selector] expected: FAIL - ["::part(mypart):disabled" should be a valid selector] - expected: FAIL - - ["::part(mypart):enabled" should be a valid selector] - expected: FAIL - - ["::part(mypart):focus" should be a valid selector] - expected: FAIL - - ["::part(mypart):focus-visible" should be a valid selector] - expected: FAIL - - ["::part(mypart):focus-within" should be a valid selector] - expected: FAIL - - ["::part(mypart):fullscreen" should be a valid selector] - expected: FAIL - ["::part(mypart):future" should be a valid selector] expected: FAIL - ["::part(mypart):hover" should be a valid selector] - expected: FAIL - - ["::part(mypart):indeterminate" should be a valid selector] - expected: FAIL - ["::part(mypart):in-range" should be a valid selector] expected: FAIL - ["::part(mypart):invalid" should be a valid selector] - expected: FAIL - ["::part(mypart):lang(en)" should be a valid selector] expected: FAIL - ["::part(mypart):link" should be a valid selector] - expected: FAIL - ["::part(mypart):modal" should be a valid selector] expected: FAIL ["::part(mypart):open" should be a valid selector] expected: FAIL - ["::part(mypart):optional" should be a valid selector] - expected: FAIL - - ["::part(mypart):out-of-range" should be a valid selector] - expected: FAIL - ["::part(mypart):past" should be a valid selector] expected: FAIL @@ -86,56 +32,11 @@ ["::part(mypart):picture-in-picture" should be a valid selector] expected: FAIL - ["::part(mypart):placeholder-shown" should be a valid selector] - expected: FAIL - ["::part(mypart):playing" should be a valid selector] expected: FAIL - ["::part(mypart):popover-open" should be a valid selector] - expected: FAIL - - ["::part(mypart):read-only" should be a valid selector] - expected: FAIL - - ["::part(mypart):read-write" should be a valid selector] - expected: FAIL - - ["::part(mypart):required" should be a valid selector] - expected: FAIL - ["::part(mypart):state(mystate)" should be a valid selector] expected: FAIL - ["::part(mypart):target" should be a valid selector] - expected: FAIL - - ["::part(mypart):user-invalid" should be a valid selector] - expected: FAIL - - ["::part(mypart):user-valid" should be a valid selector] - expected: FAIL - - ["::part(mypart):valid" should be a valid selector] - expected: FAIL - - ["::part(mypart):visited" should be a valid selector] - expected: FAIL - ["::part(mypart):xr-overlay" should be a valid selector] expected: FAIL - - ["::part(mypart):not(:hover)" should be a valid selector] - expected: FAIL - - ["::part(mypart):is(:hover)" should be a valid selector] - expected: FAIL - - ["::part(mypart):where(:hover)" should be a valid selector] - expected: FAIL - - ["::part(mypart):is(:first-child)" should be a valid selector] - expected: FAIL - - ["::part(mypart):where(:first-child)" should be a valid selector] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/pseudo-elements-after-part.html.ini b/tests/wpt/meta/css/css-shadow-parts/pseudo-elements-after-part.html.ini index 02f53015dc9..62fad3f5e1f 100644 --- a/tests/wpt/meta/css/css-shadow-parts/pseudo-elements-after-part.html.ini +++ b/tests/wpt/meta/css/css-shadow-parts/pseudo-elements-after-part.html.ini @@ -1,13 +1,4 @@ [pseudo-elements-after-part.html] - ["::part(mypart)::after" should be a valid selector] - expected: FAIL - - ["::part(mypart)::backdrop" should be a valid selector] - expected: FAIL - - ["::part(mypart)::before" should be a valid selector] - expected: FAIL - ["::part(mypart)::cue" should be a valid selector] expected: FAIL @@ -29,18 +20,12 @@ ["::part(mypart)::highlight(myhighlight)" should be a valid selector] expected: FAIL - ["::part(mypart)::marker" should be a valid selector] - expected: FAIL - ["::part(mypart)::placeholder" should be a valid selector] expected: FAIL ["::part(mypart)::search-text" should be a valid selector] expected: FAIL - ["::part(mypart)::selection" should be a valid selector] - expected: FAIL - ["::part(mypart)::spelling-error" should be a valid selector] expected: FAIL @@ -95,21 +80,12 @@ [computed style for ::part()::search-text] expected: FAIL - [computed style for ::part()::selection] - expected: FAIL - [computed style for ::part()::spelling-error] expected: FAIL [computed style for ::part()::target-text] expected: FAIL - [::part styles with ::part(mypart)::after {\n display: block;\n content: "";\n height: 77px;\n } and <div part='mypart'></div>] - expected: FAIL - - [::part styles with ::part(mypart)::before {\n display: block;\n content: "";\n height: 46px;\n } and <div part='mypart'></div>] - expected: FAIL - [::part styles with ::part(mypart)::details-content {\n height: 371px;\n } and <details part='mypart'><summary style="height:47px">summary</summary>details</details>] expected: FAIL @@ -121,6 +97,3 @@ [::part styles with ::part(mypart) {\n font: 20px/1 Ahem;\n }\n ::part(mypart)::first-line {\n font-size: 86px;\n } and <div part=mypart>X<br>X</div>] expected: FAIL - - [::part styles with ::part(mypart)::marker {\n font: 63px/1.0 Ahem;\n content: "X";\n } and <li style="list-style-position: inside" part="mypart"></li>] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/serialization.html.ini b/tests/wpt/meta/css/css-shadow-parts/serialization.html.ini deleted file mode 100644 index bf16109e185..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/serialization.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[serialization.html] - [Escape start parenthesis in ::part name.] - expected: FAIL - - [Escape start space in ::part name.] - expected: FAIL - - [Collapse spaces in ::part names list.] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/simple-inline.html.ini b/tests/wpt/meta/css/css-shadow-parts/simple-inline.html.ini deleted file mode 100644 index 4121d642be0..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/simple-inline.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[simple-inline.html] - [Part in selected host is styled] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/simple.html.ini b/tests/wpt/meta/css/css-shadow-parts/simple.html.ini deleted file mode 100644 index 9c3278c9e3a..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/simple.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[simple.html] - [Part in selected host is styled] - expected: FAIL diff --git a/tests/wpt/meta/css/css-shadow-parts/style-sharing.html.ini b/tests/wpt/meta/css/css-shadow-parts/style-sharing.html.ini deleted file mode 100644 index 1bb66f211bf..00000000000 --- a/tests/wpt/meta/css/css-shadow-parts/style-sharing.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[style-sharing.html] - [Part in selected host does not incorrectly share style with non-part] - expected: FAIL diff --git a/tests/wpt/meta/css/selectors/invalidation/part-pseudo.html.ini b/tests/wpt/meta/css/selectors/invalidation/part-pseudo.html.ini deleted file mode 100644 index 10f1aa0b918..00000000000 --- a/tests/wpt/meta/css/selectors/invalidation/part-pseudo.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[part-pseudo.html] - expected: FAIL diff --git a/tests/wpt/meta/css/selectors/parsing/parse-is-where.html.ini b/tests/wpt/meta/css/selectors/parsing/parse-is-where.html.ini deleted file mode 100644 index c698a273547..00000000000 --- a/tests/wpt/meta/css/selectors/parsing/parse-is-where.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[parse-is-where.html] - ["::part(foo):is(:hover)" should be a valid selector] - expected: FAIL - - ["::part(foo):where(:hover)" should be a valid selector] - expected: FAIL - - ["::part(foo):is([attr='value'\])" should be a valid selector] - expected: FAIL - - ["::part(foo):where([attr='value'\])" should be a valid selector] - expected: FAIL diff --git a/tests/wpt/meta/css/selectors/parsing/parse-part.html.ini b/tests/wpt/meta/css/selectors/parsing/parse-part.html.ini index 8a0356d9826..d0caf3e03d8 100644 --- a/tests/wpt/meta/css/selectors/parsing/parse-part.html.ini +++ b/tests/wpt/meta/css/selectors/parsing/parse-part.html.ini @@ -1,37 +1,4 @@ [parse-part.html] - ["::part(--foo)" should be a valid selector] - expected: FAIL - - ["::part(bar)" should be a valid selector] - expected: FAIL - - ["::part(--)" should be a valid selector] - expected: FAIL - - ["::part(--0)" should be a valid selector] - expected: FAIL - - ["::part(foo bar)" should be a valid selector] - expected: FAIL - - ["::part(-foo bar)" should be a valid selector] - expected: FAIL - - ["::part(foo):focus" should be a valid selector] - expected: FAIL - - ["::part(foo):hover" should be a valid selector] - expected: FAIL - - ["::part(foo):focus-within" should be a valid selector] - expected: FAIL - - ["::part(foo)::before" should be a valid selector] - expected: FAIL - - ["::part(foo)::after" should be a valid selector] - expected: FAIL - ["::part(foo)::placeholder" should be a valid selector] expected: FAIL @@ -44,12 +11,6 @@ ["::part(foo)::file-selector-button" should be a valid selector] expected: FAIL - ["::part(foo):is(:focus)" should be a valid selector] - expected: FAIL - - [":lang(en)::part(foo)" should be a valid selector] - expected: FAIL - [":dir(ltr)::part(foo)" should be a valid selector] expected: FAIL @@ -58,21 +19,3 @@ ["::part(foo):dir(ltr)" should be a valid selector] expected: FAIL - - ["::part(foo):is(ul)" should be a valid selector] - expected: FAIL - - ["::part(foo):is(nav ul)" should be a valid selector] - expected: FAIL - - ["::part(foo):where(ul)" should be a valid selector] - expected: FAIL - - ["::part(foo):where(nav ul)" should be a valid selector] - expected: FAIL - - ["::part(foo):disabled" should be a valid selector] - expected: FAIL - - ["::part(foo):checked" should be a valid selector] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.broken.html.ini b/tests/wpt/meta/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.broken.html.ini deleted file mode 100644 index ad847aff137..00000000000 --- a/tests/wpt/meta/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.broken.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[2d.drawImage.broken.html] - [Canvas test: 2d.drawImage.broken] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height-orientation-none.tentative.html.ini b/tests/wpt/meta/html/canvas/element/manual/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height-orientation-none.tentative.html.ini deleted file mode 100644 index 6ae80ba13ca..00000000000 --- a/tests/wpt/meta/html/canvas/element/manual/drawing-images-to-the-canvas/image-orientation/drawImage-from-bitmap-swap-width-height-orientation-none.tentative.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[drawImage-from-bitmap-swap-width-height-orientation-none.tentative.html] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/canvas-ImageBitmap-close.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/canvas-ImageBitmap-close.html.ini deleted file mode 100644 index 8948d5e1e1f..00000000000 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/canvas-ImageBitmap-close.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[canvas-ImageBitmap-close.html] - [canvas-ImageBitmap-close] - expected: FAIL - diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini index 9e0f1cdc25f..a15caa7babe 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html.ini @@ -1,7 +1,4 @@ [createImageBitmap-bounds.html] - [createImageBitmap: clipping to the bitmap] - expected: FAIL - [simple clip inside] expected: FAIL @@ -13,4 +10,3 @@ [clip inside using negative width and height] expected: FAIL - diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini index 1629ecdc8f3..3456a9eac35 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html.ini @@ -1,7 +1,4 @@ [createImageBitmap-colorSpaceConversion.html] - [createImageBitmap from a bitmap HTMLImageElement, and drawImage on the created ImageBitmap with colorSpaceConversion: none] - expected: FAIL - [createImageBitmap from a Blob, and drawImage on the created ImageBitmap with colorSpaceConversion: none] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-closed.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-closed.html.ini deleted file mode 100644 index 2ac35e3b108..00000000000 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-closed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[createImageBitmap-drawImage-closed.html] - [attempt to draw a closed ImageBitmap to a 2d canvas throws INVALID_STATE_ERR] - expected: FAIL - diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini index c999a8d9b18..0d976c30e4a 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html.ini @@ -5,12 +5,6 @@ [createImageBitmap from a vector HTMLImageElement resized, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an OffscreenCanvas, and drawImage on the created ImageBitmap] - expected: FAIL - - [createImageBitmap from an HTMLCanvasElement, and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from a bitmap HTMLImageElement resized, and drawImage on the created ImageBitmap] expected: FAIL @@ -53,9 +47,6 @@ [createImageBitmap from a bitmap HTMLImageElement scaled up, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from a bitmap HTMLImageElement with negative sw/sh, and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from a vector SVGImageElement scaled down, and drawImage on the created ImageBitmap] expected: FAIL @@ -80,21 +71,12 @@ [createImageBitmap from a vector HTMLImageElement scaled down, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an ImageData, and drawImage on the created ImageBitmap] - expected: FAIL - - [createImageBitmap from an HTMLCanvasElement with negative sw/sh, and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from an HTMLVideoElement from a data URL with negative sw/sh, and drawImage on the created ImageBitmap] expected: FAIL [createImageBitmap from a vector SVGImageElement scaled up, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an ImageBitmap, and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from a Blob scaled up, and drawImage on the created ImageBitmap] expected: FAIL @@ -125,9 +107,6 @@ [createImageBitmap from a bitmap SVGImageElement with negative sw/sh, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an ImageData with negative sw/sh, and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from an ImageBitmap scaled up, and drawImage on the created ImageBitmap] expected: FAIL @@ -146,20 +125,17 @@ [createImageBitmap from an HTMLVideoElement from a data URL, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from a bitmap HTMLImageElement, and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an ImageBitmap with negative sw/sh, and drawImage on the created ImageBitmap] + [createImageBitmap from a vector HTMLImageElement with negative sw/sh, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an OffscreenCanvas with negative sw/sh, and drawImage on the created ImageBitmap] + [createImageBitmap from a vector HTMLImageElement scaled up, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from a vector HTMLImageElement with negative sw/sh, and drawImage on the created ImageBitmap] + [createImageBitmap from an ImageData, and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from a vector HTMLImageElement scaled up, and drawImage on the created ImageBitmap] + [createImageBitmap from an ImageData with negative sw/sh, and drawImage on the created ImageBitmap] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini index 56d7b5fb58d..741b2b14a38 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html.ini @@ -1,28 +1,27 @@ [createImageBitmap-exif-orientation.html] - expected: ERROR [createImageBitmap with EXIF rotation, imageOrientation none, and no cropping] expected: TIMEOUT [createImageBitmap with EXIF rotation, imageOrientation flipY, and no cropping] - expected: TIMEOUT + expected: FAIL [createImageBitmap with EXIF rotation, imageOrientation none, and cropping] expected: TIMEOUT [createImageBitmap with EXIF rotation, imageOrientation flipY, and cropping] - expected: TIMEOUT + expected: FAIL [createImageBitmap with EXIF rotation, imageOrientation from-image, and no cropping] - expected: TIMEOUT + expected: FAIL [createImageBitmap with EXIF rotation, imageOrientation from-image, and cropping] - expected: TIMEOUT + expected: FAIL [createImageBitmap with EXIF rotation, imageOrientation from-image, no cropping, and resize] - expected: TIMEOUT + expected: FAIL [createImageBitmap with EXIF rotation, imageOrientation flipY, cropping, and resize] - expected: TIMEOUT + expected: FAIL [createImageBitmap with EXIF rotation, imageOrientation flipY, cropping, and nonuniform resize] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini index f279cd2dd85..f911aa69e3d 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html.ini @@ -14,9 +14,6 @@ [createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an OffscreenCanvas imageOrientation: "flipY", and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from a vector HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] expected: FAIL @@ -26,24 +23,12 @@ [createImageBitmap from a Blob imageOrientation: "flipY", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an HTMLCanvasElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from an HTMLVideoElement imageOrientation: "none", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an ImageData imageOrientation: "flipY", and drawImage on the created ImageBitmap] - expected: FAIL - - [createImageBitmap from a bitmap HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from an OffscreenCanvas imageOrientation: "none", and drawImage on the created ImageBitmap] expected: NOTRUN - [createImageBitmap from an ImageBitmap imageOrientation: "flipY", and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from a vector HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap] expected: FAIL @@ -65,18 +50,12 @@ [createImageBitmap from a bitmap SVGImageElement imageOrientation: "none", and drawImage on the created ImageBitmap] expected: TIMEOUT - [createImageBitmap from an HTMLCanvasElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from an HTMLVideoElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] expected: FAIL [createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "from-image", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from a bitmap HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] - expected: FAIL - [createImageBitmap from a vector HTMLImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] expected: FAIL @@ -86,14 +65,23 @@ [createImageBitmap from a vector SVGImageElement imageOrientation: "from-image", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an OffscreenCanvas imageOrientation: "from-image", and drawImage on the created ImageBitmap] + [createImageBitmap from a Blob imageOrientation: "from-image", and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLCanvasElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an OffscreenCanvas imageOrientation: "flipY", and drawImage on the created ImageBitmap] expected: FAIL [createImageBitmap from an ImageData imageOrientation: "from-image", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from an ImageBitmap imageOrientation: "from-image", and drawImage on the created ImageBitmap] + [createImageBitmap from an ImageData imageOrientation: "flipY", and drawImage on the created ImageBitmap] expected: FAIL - [createImageBitmap from a Blob imageOrientation: "from-image", and drawImage on the created ImageBitmap] + [createImageBitmap from an ImageBitmap imageOrientation: "flipY", and drawImage on the created ImageBitmap] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini index 94caf82cb7f..f38b27144ce 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-invalid-args.html.ini @@ -1,159 +1,66 @@ [createImageBitmap-invalid-args.html] - [createImageBitmap with a vector HTMLImageElement source and sw set to 0] - expected: FAIL - - [createImageBitmap with an HTMLCanvasElement source and sw set to 0] - expected: FAIL - - [createImageBitmap with a vector HTMLImageElement source and oversized (unallocatable) crop region] - expected: FAIL - - [createImageBitmap with a broken image source.] - expected: FAIL - - [createImageBitmap with a Blob source and sw set to 0] - expected: FAIL - [createImageBitmap with an available but zero height image source.] expected: FAIL - [createImageBitmap with an HTMLVideoElement source and sh set to 0] - expected: FAIL - - [createImageBitmap with a vector HTMLImageElement source and sh set to 0] - expected: FAIL - - [createImageBitmap with a Blob source and sh set to 0] - expected: FAIL - - [createImageBitmap with an HTMLVideoElement from a data URL source and sw set to 0] - expected: FAIL - - [createImageBitmap with an ImageData source and sh set to 0] - expected: FAIL - - [createImageBitmap with an undecodable blob source.] - expected: FAIL - [createImageBitmap with an available but undecodable image source.] expected: FAIL - [createImageBitmap with an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region] - expected: FAIL - - [createImageBitmap with an HTMLVideoElement source and sw set to 0] - expected: FAIL - [createImageBitmap with a vector SVGImageElement source and oversized (unallocatable) crop region] expected: FAIL - [createImageBitmap with an HTMLCanvasElement source and oversized (unallocatable) crop region] - expected: FAIL - - [createImageBitmap with an ImageBitmap source and oversized (unallocatable) crop region] - expected: FAIL - - [createImageBitmap with an HTMLVideoElement source and oversized (unallocatable) crop region] - expected: FAIL - - [createImageBitmap with a bitmap HTMLImageElement source and sh set to 0] - expected: FAIL - - [createImageBitmap with an ImageData source and sw set to 0] - expected: FAIL - - [createImageBitmap with an OffscreenCanvas source and sh set to 0] - expected: FAIL - - [createImageBitmap with an OffscreenCanvas source and sw set to 0] - expected: FAIL - - [createImageBitmap with an HTMLVideoElement from a data URL source and sh set to 0] - expected: FAIL - - [createImageBitmap with an ImageData source and oversized (unallocatable) crop region] - expected: FAIL - [createImageBitmap with a bitmap SVGImageElement source and oversized (unallocatable) crop region] expected: FAIL [createImageBitmap with a vector SVGImageElement source and sh set to 0] expected: FAIL - [createImageBitmap with an HTMLCanvasElement source and sh set to 0] - expected: FAIL - - [createImageBitmap with a closed ImageBitmap.] - expected: FAIL - - [createImageBitmap with a bitmap HTMLImageElement source and oversized (unallocatable) crop region] - expected: FAIL - - [createImageBitmap with empty image source.] - expected: FAIL - - [createImageBitmap with empty video source.] - expected: FAIL - [createImageBitmap with a bitmap SVGImageElement source and sw set to 0] expected: FAIL - [createImageBitmap with an ImageBitmap source and sh set to 0] - expected: FAIL - [createImageBitmap with an available but zero width image source.] expected: FAIL [createImageBitmap with a vector SVGImageElement source and sw set to 0] expected: FAIL - [createImageBitmap with a Blob source and oversized (unallocatable) crop region] - expected: FAIL - [createImageBitmap with a bitmap SVGImageElement source and sh set to 0] expected: FAIL - [createImageBitmap with an ImageBitmap source and sw set to 0] + [createImageBitmap with a bitmap SVGImageElement source and a value of 0 in resizeHeight] expected: FAIL - [createImageBitmap with a bitmap HTMLImageElement source and sw set to 0] + [createImageBitmap with a vector SVGImageElement source and a value of 0 int resizeWidth] expected: FAIL - [createImageBitmap with an OffscreenCanvas source and oversized (unallocatable) crop region] + [createImageBitmap with a vector SVGImageElement source and a value between 0 and 1 in resizeHeight] expected: FAIL - [createImageBitmap with a bitmap SVGImageElement source and a value of 0 in resizeHeight] + [createImageBitmap with a vector SVGImageElement source and a value of 0 in resizeHeight] expected: FAIL - [createImageBitmap with a vector SVGImageElement source and a value of 0 int resizeWidth] + [createImageBitmap with a bitmap SVGImageElement source and a value between 0 and 1 in resizeHeight] expected: FAIL - [createImageBitmap with an ImageBitmap source and a value between 0 and 1 in resizeWidth] + [createImageBitmap with a bitmap SVGImageElement source and a value of 0 int resizeWidth] expected: FAIL - [createImageBitmap with an ImageBitmap source and a value of 0 int resizeWidth] + [createImageBitmap with a vector SVGImageElement source and a value between 0 and 1 in resizeWidth] expected: FAIL - [createImageBitmap with a vector SVGImageElement source and a value between 0 and 1 in resizeHeight] + [createImageBitmap with an HTMLCanvasElement source and oversized (unallocatable) crop region] expected: FAIL - [createImageBitmap with a vector SVGImageElement source and a value of 0 in resizeHeight] + [createImageBitmap with a bitmap HTMLImageElement source and oversized (unallocatable) crop region] expected: FAIL - [createImageBitmap with a bitmap SVGImageElement source and a value between 0 and 1 in resizeHeight] + [createImageBitmap with an OffscreenCanvas source and oversized (unallocatable) crop region] expected: FAIL - [createImageBitmap with an ImageBitmap source and a value of 0 in resizeHeight] + [createImageBitmap with an ImageData source and oversized (unallocatable) crop region] expected: FAIL - [createImageBitmap with an ImageBitmap source and a value between 0 and 1 in resizeHeight] + [createImageBitmap with an ImageBitmap source and oversized (unallocatable) crop region] expected: FAIL [createImageBitmap with a bitmap SVGImageElement source and a value between 0 and 1 in resizeWidth] expected: FAIL - - [createImageBitmap with a bitmap SVGImageElement source and a value of 0 int resizeWidth] - expected: FAIL - - [createImageBitmap with a vector SVGImageElement source and a value between 0 and 1 in resizeWidth] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini index 0420669cc09..0b2c6bcd0ff 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html.ini @@ -8,9 +8,6 @@ [unclean HTMLCanvasElement: origin unclear bitmaprenderer.transferFromImageBitmap] expected: FAIL - [unclean HTMLCanvasElement: origin unclear getImageData] - expected: FAIL - [cross-origin HTMLVideoElement: origin unclear getImageData] expected: FAIL @@ -23,15 +20,9 @@ [redirected to same-origin HTMLVideoElement: origin unclear getImageData] expected: FAIL - [cross-origin HTMLImageElement: origin unclear 2dContext.drawImage] - expected: FAIL - [cross-origin SVGImageElement: origin unclear 2dContext.drawImage] expected: FAIL - [cross-origin HTMLImageElement: origin unclear getImageData] - expected: FAIL - [cross-origin HTMLImageElement: origin unclear bitmaprenderer.transferFromImageBitmap] expected: FAIL @@ -47,17 +38,8 @@ [redirected to cross-origin HTMLVideoElement: origin unclear getImageData] expected: FAIL - [unclean ImageBitmap: origin unclear getImageData] - expected: FAIL - - [unclean HTMLCanvasElement: origin unclear 2dContext.drawImage] - expected: FAIL - [cross-origin HTMLVideoElement: origin unclear 2dContext.drawImage] expected: FAIL - [unclean ImageBitmap: origin unclear 2dContext.drawImage] - expected: FAIL - [cross-origin SVGImageElement: origin unclear getImageData] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-premultiplyAlpha.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-premultiplyAlpha.html.ini index 15eea07cff8..541c7567bcb 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-premultiplyAlpha.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-premultiplyAlpha.html.ini @@ -7,30 +7,3 @@ [createImageBitmap: from ImageData, default, drawn to canvas] expected: FAIL - - [createImageBitmap: from Canvas2D, unpremultiplied, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D, premultiplied, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D, default, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D willReadFrequently:true, unpremultiplied, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D willReadFrequently:true, premultiplied, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D willReadFrequently:true, default, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D willReadFrequently:false, unpremultiplied, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D willReadFrequently:false, premultiplied, drawn to canvas] - expected: FAIL - - [createImageBitmap: from Canvas2D willReadFrequently:false, default, drawn to canvas] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini index 7652318fd58..fd32af77cd5 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html.ini @@ -14,17 +14,5 @@ [Serialize ImageBitmap created from a Blob] expected: FAIL - [Serialize ImageBitmap created from a bitmap HTMLImageElement] - expected: FAIL - - [Serializing a non-origin-clean ImageBitmap throws.] - expected: FAIL - - [Serialize ImageBitmap created from an ImageData] - expected: FAIL - - [Serialize ImageBitmap created from an ImageBitmap] - expected: FAIL - [Serialize ImageBitmap created from a bitmap SVGImageElement] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini index 3a3357b9a4f..f4bc8bb6885 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-sizeOverflow.html.ini @@ -1,19 +1,4 @@ [createImageBitmap-sizeOverflow.html] - [createImageBitmap does not crash or reject the promise when passing very large sh] - expected: FAIL - - [createImageBitmap does not crash or reject the promise when passing very large sy] - expected: FAIL - - [createImageBitmap does not crash or reject the promise when passing very large sx] - expected: FAIL - - [createImageBitmap does not crash or reject the promise when passing very large sw] - expected: FAIL - - [createImageBitmap does not crash or reject the promise when passing very large sx, sy, sw and sh] - expected: FAIL - [createImageBitmap throws an InvalidStateError error with big imageBitmap scaled up in big height] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini index 20be1f3b9e5..1c8de6ec5a9 100644 --- a/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html.ini @@ -2,29 +2,17 @@ [Transfer ImageBitmap created from a vector HTMLImageElement] expected: FAIL - [Transfer ImageBitmap created from an ImageData] - expected: FAIL - [Transfer ImageBitmap created from a vector SVGImageElement] expected: FAIL [Transfer ImageBitmap created from a Blob] expected: FAIL - [Transfer ImageBitmap created from a bitmap HTMLImageElement] - expected: FAIL - [Transfer ImageBitmap created from an HTMLVideoElement from a data URL] expected: FAIL [Transfer ImageBitmap created from a bitmap SVGImageElement] expected: FAIL - [Transfer ImageBitmap created from an ImageBitmap] - expected: FAIL - [Transfer ImageBitmap created from an HTMLVideoElement] expected: FAIL - - [Transferring a non-origin-clean ImageBitmap throws.] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-ImageBitmap.html.ini b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-ImageBitmap.html.ini deleted file mode 100644 index e6a915d3273..00000000000 --- a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-ImageBitmap.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[canvas-display-p3-drawImage-ImageBitmap-ImageBitmap.html] - expected: ERROR diff --git a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-cloned.html.ini b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-cloned.html.ini index 8c68e3ebfa1..ab3c16fa28a 100644 --- a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-cloned.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-cloned.html.ini @@ -1,625 +1,408 @@ [canvas-display-p3-drawImage-ImageBitmap-cloned.html] - expected: ERROR - [sRGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT - [sRGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-image.html.ini b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-image.html.ini index df914f62f85..efe9b435ae4 100644 --- a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-image.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-image.html.ini @@ -1,625 +1,408 @@ [canvas-display-p3-drawImage-ImageBitmap-image.html] - expected: ERROR - [sRGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT - [sRGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FF0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FF0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FF0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000FF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BB0000CC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-FF000000.jpg, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Generic-CMYK-BE000000.jpg, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT - - [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT - - [Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT - - [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb, cropSource=true] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=false] - expected: TIMEOUT + expected: FAIL [Adobe-RGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3, cropSource=true] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-video.html.ini b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-video.html.ini index ecb5c8c0f36..ae83450da4b 100644 --- a/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-video.html.ini +++ b/tests/wpt/meta/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage-ImageBitmap-video.html.ini @@ -1,70 +1,34 @@ [canvas-display-p3-drawImage-ImageBitmap-video.html] - [sRGB-FF0100, Context srgb, ImageData srgb, cropSource=false] - expected: FAIL - - [sRGB-FF0100, Context srgb, ImageData srgb, cropSource=true] - expected: FAIL - [sRGB-FF0100, Context srgb, ImageData display-p3, cropSource=false] expected: FAIL [sRGB-FF0100, Context srgb, ImageData display-p3, cropSource=true] expected: FAIL - [sRGB-FF0100, Context display-p3, ImageData srgb, cropSource=false] - expected: FAIL - - [sRGB-FF0100, Context display-p3, ImageData srgb, cropSource=true] - expected: FAIL - [sRGB-FF0100, Context display-p3, ImageData display-p3, cropSource=false] expected: FAIL [sRGB-FF0100, Context display-p3, ImageData display-p3, cropSource=true] expected: FAIL - [sRGB-BB0000, Context srgb, ImageData srgb, cropSource=false] - expected: FAIL - - [sRGB-BB0000, Context srgb, ImageData srgb, cropSource=true] - expected: FAIL - [sRGB-BB0000, Context srgb, ImageData display-p3, cropSource=false] expected: FAIL [sRGB-BB0000, Context srgb, ImageData display-p3, cropSource=true] expected: FAIL - [sRGB-BB0000, Context display-p3, ImageData srgb, cropSource=false] - expected: FAIL - - [sRGB-BB0000, Context display-p3, ImageData srgb, cropSource=true] - expected: FAIL - [sRGB-BB0000, Context display-p3, ImageData display-p3, cropSource=false] expected: FAIL [sRGB-BB0000, Context display-p3, ImageData display-p3, cropSource=true] expected: FAIL - [Rec2020-3FF000000, Context srgb, ImageData srgb, cropSource=false] - expected: FAIL - - [Rec2020-3FF000000, Context srgb, ImageData srgb, cropSource=true] - expected: FAIL - [Rec2020-3FF000000, Context srgb, ImageData display-p3, cropSource=false] expected: FAIL [Rec2020-3FF000000, Context srgb, ImageData display-p3, cropSource=true] expected: FAIL - [Rec2020-3FF000000, Context display-p3, ImageData srgb, cropSource=false] - expected: FAIL - - [Rec2020-3FF000000, Context display-p3, ImageData srgb, cropSource=true] - expected: FAIL - [Rec2020-3FF000000, Context display-p3, ImageData display-p3, cropSource=false] expected: FAIL diff --git a/tests/wpt/meta/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html.ini b/tests/wpt/meta/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html.ini deleted file mode 100644 index 247ebc98ddc..00000000000 --- a/tests/wpt/meta/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[2d.drawImage.broken.html] - [OffscreenCanvas test: 2d.drawImage.broken] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js.ini b/tests/wpt/meta/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js.ini deleted file mode 100644 index f6cc520ffbe..00000000000 --- a/tests/wpt/meta/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[2d.drawImage.broken.worker.html] - [2d] - expected: FAIL diff --git a/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html.ini b/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html.ini index 186191eebae..ac0696f9b90 100644 --- a/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html.ini +++ b/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html.ini @@ -11,9 +11,6 @@ [redirected to same-origin HTMLVideoElement: Setting fillStyle to an origin-unclean pattern makes the canvas origin-unclean] expected: FAIL - [unclean ImageBitmap: Setting fillStyle to an origin-unclean pattern makes the canvas origin-unclean] - expected: FAIL - [cross-origin SVGImageElement: Setting fillStyle to an origin-unclean offscreen canvas pattern makes the canvas origin-unclean] expected: FAIL @@ -25,6 +22,3 @@ [redirected to same-origin HTMLVideoElement: Setting fillStyle to an origin-unclean offscreen canvas pattern makes the canvas origin-unclean] expected: FAIL - - [unclean ImageBitmap: Setting fillStyle to an origin-unclean offscreen canvas pattern makes the canvas origin-unclean] - expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini b/tests/wpt/meta/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini deleted file mode 100644 index a4f2889efa4..00000000000 --- a/tests/wpt/meta/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[promise-rejection-events.dedicatedworker.html] - [unhandledrejection: from createImageBitmap which is UA triggered] - expected: FAIL - - [delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire] - expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini b/tests/wpt/meta/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini deleted file mode 100644 index 4a48dd15a9d..00000000000 --- a/tests/wpt/meta/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[promise-rejection-events.html] - [delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire] - expected: FAIL - - [unhandledrejection: from createImageBitmap which is UA triggered] - expected: FAIL diff --git a/tests/wpt/meta/shadow-dom/offsetParent-across-shadow-boundaries.html.ini b/tests/wpt/meta/shadow-dom/offsetParent-across-shadow-boundaries.html.ini new file mode 100644 index 00000000000..29a0011fff4 --- /dev/null +++ b/tests/wpt/meta/shadow-dom/offsetParent-across-shadow-boundaries.html.ini @@ -0,0 +1,6 @@ +[offsetParent-across-shadow-boundaries.html] + [offsetParent must find the first offset parent which is a shadow-including ancestor of the context object even some shadow tree of open mode did not have any offset parent] + expected: FAIL + + [offsetParent must find the first offset parent which is a shadow-including ancestor of the context object even some shadow tree of closed mode did not have any offset parent] + expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/element_click/click.py.ini b/tests/wpt/meta/webdriver/tests/classic/element_click/click.py.ini index 7405df1cdfb..2ed5e00cc3f 100644 --- a/tests/wpt/meta/webdriver/tests/classic/element_click/click.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/element_click/click.py.ini @@ -4,6 +4,3 @@ [test_no_such_element_with_shadow_root] expected: FAIL - - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/element_click/shadow_dom.py.ini b/tests/wpt/meta/webdriver/tests/classic/element_click/shadow_dom.py.ini deleted file mode 100644 index 32fd2854998..00000000000 --- a/tests/wpt/meta/webdriver/tests/classic/element_click/shadow_dom.py.ini +++ /dev/null @@ -1,9 +0,0 @@ -[shadow_dom.py] - [test_shadow_element_click[host_element\]] - expected: FAIL - - [test_nested_shadow_element_click[outer_element\]] - expected: FAIL - - [test_nested_shadow_element_click[inner_element\]] - expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/element_send_keys/interactability.py.ini b/tests/wpt/meta/webdriver/tests/classic/element_send_keys/interactability.py.ini index 9510b686ea1..921b8c5cb5d 100644 --- a/tests/wpt/meta/webdriver/tests/classic/element_send_keys/interactability.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/element_send_keys/interactability.py.ini @@ -5,9 +5,6 @@ [test_iframe_is_interactable] expected: FAIL - [test_readonly_element] - expected: FAIL - [test_not_a_focusable_element] expected: FAIL @@ -22,3 +19,9 @@ [test_disabled] expected: FAIL + + [test_transparent_element] + expected: FAIL + + [test_readonly_element] + expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/element_send_keys/send_keys.py.ini b/tests/wpt/meta/webdriver/tests/classic/element_send_keys/send_keys.py.ini index 9dca7adc465..85afe070906 100644 --- a/tests/wpt/meta/webdriver/tests/classic/element_send_keys/send_keys.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/element_send_keys/send_keys.py.ini @@ -5,5 +5,5 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] + [test_surrogates] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/find_element_from_element/find.py.ini b/tests/wpt/meta/webdriver/tests/classic/find_element_from_element/find.py.ini index 64a0652b75b..85a7daf2244 100644 --- a/tests/wpt/meta/webdriver/tests/classic/find_element_from_element/find.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/find_element_from_element/find.py.ini @@ -1,7 +1,6 @@ [find.py] - expected: TIMEOUT [test_no_browsing_context] - expected: ERROR + expected: FAIL [test_no_such_element_with_shadow_root] expected: FAIL @@ -15,33 +14,12 @@ [test_no_such_element_with_unknown_selector[existent-inside-shadow-root\]] expected: FAIL - [test_no_such_element_with_startnode_from_other_window_handle] - expected: FAIL - [test_no_such_element_with_startnode_from_other_frame] expected: FAIL - [test_stale_element_reference[top_context\]] - expected: FAIL - - [test_stale_element_reference[child_context\]] - expected: FAIL - [test_find_element[xpath-//a\]] expected: FAIL - [test_xhtml_namespace[css selector-#linkText\]] - expected: FAIL - - [test_xhtml_namespace[link text-full link text\]] - expected: FAIL - - [test_xhtml_namespace[partial link text-link text\]] - expected: FAIL - - [test_xhtml_namespace[tag name-a\]] - expected: FAIL - [test_xhtml_namespace[xpath-//*[name()='a'\]\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_computed_role/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_computed_role/get.py.ini index 44749396246..c023dd2d5c5 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_computed_role/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_computed_role/get.py.ini @@ -5,8 +5,5 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_computed_roles[<article>foo</article>-article-article\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_attribute/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_attribute/get.py.ini index c5bc0a36f6d..c7642bd8ee1 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_attribute/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_attribute/get.py.ini @@ -5,9 +5,6 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_boolean_attribute[audio-attrs0\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_css_value/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_css_value/get.py.ini index 0af7750e50e..c1af0175608 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_css_value/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_css_value/get.py.ini @@ -4,6 +4,3 @@ [test_no_such_element_with_shadow_root] expected: FAIL - - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_property/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_property/get.py.ini index 991123b881c..3a1948de96e 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_property/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_property/get.py.ini @@ -5,8 +5,5 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_web_reference[shadowRoot-ShadowRoot\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_rect/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_rect/get.py.ini index 10339e7291b..3a58f29d7bd 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_rect/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_rect/get.py.ini @@ -5,8 +5,5 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_basic] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_shadow_root/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_shadow_root/get.py.ini index 1b3957f08c8..bb9de0071f4 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_shadow_root/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_shadow_root/get.py.ini @@ -1,33 +1,3 @@ [get.py] - [test_no_top_browsing_context] - expected: FAIL - [test_no_browsing_context] expected: FAIL - - [test_no_such_element_with_invalid_value] - expected: FAIL - - [test_no_such_element_from_other_window_handle[open\]] - expected: FAIL - - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - - [test_no_such_element_from_other_frame[open\]] - expected: FAIL - - [test_no_such_element_from_other_frame[closed\]] - expected: FAIL - - [test_stale_element_reference[top_context\]] - expected: FAIL - - [test_stale_element_reference[child_context\]] - expected: FAIL - - [test_get_shadow_root] - expected: FAIL - - [test_no_shadow_root] - expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_tag_name/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_tag_name/get.py.ini index 879854dfc56..8fb651289ad 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_tag_name/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_tag_name/get.py.ini @@ -5,8 +5,5 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_get_element_tag_name] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/get_element_text/get.py.ini b/tests/wpt/meta/webdriver/tests/classic/get_element_text/get.py.ini index 66e31b2d5a7..b4016ed5298 100644 --- a/tests/wpt/meta/webdriver/tests/classic/get_element_text/get.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/get_element_text/get.py.ini @@ -5,9 +5,6 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_transform_capitalize[space\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/is_element_enabled/enabled.py.ini b/tests/wpt/meta/webdriver/tests/classic/is_element_enabled/enabled.py.ini index 9f75dbb4f9e..a287655de66 100644 --- a/tests/wpt/meta/webdriver/tests/classic/is_element_enabled/enabled.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/is_element_enabled/enabled.py.ini @@ -5,9 +5,6 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_stale_element_reference[child_context\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/is_element_selected/selected.py.ini b/tests/wpt/meta/webdriver/tests/classic/is_element_selected/selected.py.ini index 2c5777abee2..07512c40b00 100644 --- a/tests/wpt/meta/webdriver/tests/classic/is_element_selected/selected.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/is_element_selected/selected.py.ini @@ -5,8 +5,5 @@ [test_no_such_element_with_shadow_root] expected: FAIL - [test_no_such_element_from_other_window_handle[closed\]] - expected: FAIL - [test_stale_element_reference[child_context\]] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/new_window/new.py.ini b/tests/wpt/meta/webdriver/tests/classic/new_window/new.py.ini index 7288018eebf..374e04d8c54 100644 --- a/tests/wpt/meta/webdriver/tests/classic/new_window/new.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/new_window/new.py.ini @@ -1,6 +1,3 @@ [new.py] [test_no_top_browsing_context] expected: FAIL - - [test_no_browsing_context] - expected: ERROR diff --git a/tests/wpt/meta/webdriver/tests/classic/new_window/new_tab.py.ini b/tests/wpt/meta/webdriver/tests/classic/new_window/new_tab.py.ini index db51a3496ae..935bc48d1e9 100644 --- a/tests/wpt/meta/webdriver/tests/classic/new_window/new_tab.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/new_window/new_tab.py.ini @@ -1,9 +1,3 @@ [new_tab.py] - [test_keeps_current_window_handle] - expected: FAIL - - [test_opens_about_blank_in_new_tab] - expected: FAIL - [test_initial_selection_for_contenteditable] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/new_window/new_window.py.ini b/tests/wpt/meta/webdriver/tests/classic/new_window/new_window.py.ini index 5ea6fe581f7..c29bde84dc1 100644 --- a/tests/wpt/meta/webdriver/tests/classic/new_window/new_window.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/new_window/new_window.py.ini @@ -2,11 +2,5 @@ [test_payload] expected: FAIL - [test_keeps_current_window_handle] - expected: FAIL - - [test_opens_about_blank_in_new_window] - expected: FAIL - [test_initial_selection_for_contenteditable] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/perform_actions/key.py.ini b/tests/wpt/meta/webdriver/tests/classic/perform_actions/key.py.ini index 42ceab66336..0a9efbca289 100644 --- a/tests/wpt/meta/webdriver/tests/classic/perform_actions/key.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/perform_actions/key.py.ini @@ -9,19 +9,16 @@ expected: FAIL [test_backspace_erases_keys] - expected: ERROR + expected: FAIL [test_element_in_shadow_tree[outer-open\]] - expected: ERROR + expected: FAIL [test_element_in_shadow_tree[outer-closed\]] - expected: ERROR + expected: FAIL [test_element_in_shadow_tree[inner-open\]] - expected: ERROR + expected: FAIL [test_element_in_shadow_tree[inner-closed\]] - expected: ERROR - - [test_element_not_focused] - expected: ERROR + expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/perform_actions/pointer_origin.py.ini b/tests/wpt/meta/webdriver/tests/classic/perform_actions/pointer_origin.py.ini index 8102334d66b..4018e8e3e5b 100644 --- a/tests/wpt/meta/webdriver/tests/classic/perform_actions/pointer_origin.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/perform_actions/pointer_origin.py.ini @@ -1,10 +1,4 @@ [pointer_origin.py] - [test_viewport_inside] - expected: FAIL - - [test_pointer_inside] - expected: FAIL - [test_element_center_point] expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/switch_to_frame/switch.py.ini b/tests/wpt/meta/webdriver/tests/classic/switch_to_frame/switch.py.ini index 66625728565..b26241b424d 100644 --- a/tests/wpt/meta/webdriver/tests/classic/switch_to_frame/switch.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/switch_to_frame/switch.py.ini @@ -13,6 +13,3 @@ [test_no_browsing_context_when_already_top_level] expected: FAIL - - [test_frame_id_shadow_root] - expected: FAIL diff --git a/tests/wpt/meta/webdriver/tests/classic/take_screenshot/screenshot.py.ini b/tests/wpt/meta/webdriver/tests/classic/take_screenshot/screenshot.py.ini index aef7c9d5ddc..f2fac7a7fa1 100644 --- a/tests/wpt/meta/webdriver/tests/classic/take_screenshot/screenshot.py.ini +++ b/tests/wpt/meta/webdriver/tests/classic/take_screenshot/screenshot.py.ini @@ -4,6 +4,3 @@ [test_no_browsing_context] expected: FAIL - - [test_format_and_dimensions] - expected: FAIL diff --git a/tests/wpt/meta/webmessaging/postMessage_cross_domain_image_transfer_2d.sub.htm.ini b/tests/wpt/meta/webmessaging/postMessage_cross_domain_image_transfer_2d.sub.htm.ini deleted file mode 100644 index c392daab65c..00000000000 --- a/tests/wpt/meta/webmessaging/postMessage_cross_domain_image_transfer_2d.sub.htm.ini +++ /dev/null @@ -1,10 +0,0 @@ -[postMessage_cross_domain_image_transfer_2d.sub.htm] - expected: TIMEOUT - [sending 2D canvas ImageBitmap to http://web-platform.test:8000] - expected: TIMEOUT - - [sending 2D canvas ImageBitmap to http://www1.web-platform.test:8000] - expected: NOTRUN - - [sending 2D canvas ImageBitmap to http://not-web-platform.test:8000] - expected: NOTRUN diff --git a/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py b/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py index e27b111ee8b..8176d15ea2a 100644 --- a/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py +++ b/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py @@ -20,17 +20,14 @@ def do_delayed_imports(): def __init__(self, session): self.session = session - @webdriver.client.command def get_prefs(self, *prefs): body = {"prefs": list(prefs)} return self.session.send_session_command("POST", "servo/prefs/get", body) - @webdriver.client.command def set_prefs(self, prefs): body = {"prefs": prefs} return self.session.send_session_command("POST", "servo/prefs/set", body) - @webdriver.client.command def reset_prefs(self, *prefs): body = {"prefs": list(prefs)} return self.session.send_session_command("POST", "servo/prefs/reset", body) diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini deleted file mode 100644 index 712a8b4e1ba..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-alpha-alpha-unsigned_byte.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini deleted file mode 100644 index 0415a2caa8f..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-luminance-luminance-unsigned_byte.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini deleted file mode 100644 index 8fe54f5ebab..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini deleted file mode 100644 index 63880949f3e..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_byte.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini deleted file mode 100644 index 55bf0908efe..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini deleted file mode 100644 index 3fcb47c1d61..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_byte.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini deleted file mode 100644 index 8a88e24f8cd..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini deleted file mode 100644 index ba6cb8293e5..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - expected: ERROR - [Overall test] - expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html.ini deleted file mode 100644 index 5bc9b49b77b..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-alpha-alpha-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html.ini deleted file mode 100644 index 461cbc704a2..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-luminance-luminance-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini deleted file mode 100644 index 2ef773c8c48..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html.ini deleted file mode 100644 index 6836e6c73d5..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini deleted file mode 100644 index 9d248e94e2d..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_byte.html.ini deleted file mode 100644 index 41b52f4e07b..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini deleted file mode 100644 index fc02496aa1c..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini deleted file mode 100644 index 983d6e5e8d8..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html.ini deleted file mode 100644 index 5bc9b49b77b..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-alpha-alpha-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html.ini deleted file mode 100644 index 461cbc704a2..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-luminance-luminance-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini deleted file mode 100644 index 2ef773c8c48..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html.ini deleted file mode 100644 index 6836e6c73d5..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini deleted file mode 100644 index 9d248e94e2d..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_byte.html.ini deleted file mode 100644 index 41b52f4e07b..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini deleted file mode 100644 index fc02496aa1c..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini deleted file mode 100644 index 983d6e5e8d8..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html.ini deleted file mode 100644 index 5bc9b49b77b..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-alpha-alpha-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini deleted file mode 100644 index 461cbc704a2..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-luminance-luminance-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini deleted file mode 100644 index 2ef773c8c48..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html.ini deleted file mode 100644 index 6836e6c73d5..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini deleted file mode 100644 index 9d248e94e2d..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_byte.html.ini deleted file mode 100644 index 41b52f4e07b..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_byte.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini deleted file mode 100644 index fc02496aa1c..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini deleted file mode 100644 index 983d6e5e8d8..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - [WebGL test #1] - expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html.ini index 71adfdf88a3..cbc876b6aed 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -1,10 +1,2 @@ [tex-2d-alpha-alpha-unsigned_byte.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN - - [WebGL test #1] - expected: FAIL - - [WebGL test #3] - expected: FAIL + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html.ini index 1806d0e838c..ac9cb1c3e25 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -1,4 +1,2 @@ [tex-2d-luminance-luminance-unsigned_byte.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini index f6abdbe9c1b..113a3919110 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -1,4 +1,2 @@ [tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html.ini index 6955ab9136a..b0a5ba5bba2 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -1,4 +1,2 @@ [tex-2d-rgb-rgb-unsigned_byte.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini index 8919b3df35a..3d2218bed69 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -1,4 +1,2 @@ [tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_byte.html.ini index c5fdc296b19..d5bbb7bf2ae 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -1,4 +1,2 @@ [tex-2d-rgba-rgba-unsigned_byte.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini index dc7b31a735f..1117d048625 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -1,4 +1,2 @@ [tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini index 4c5ccc4cb84..b5baa6b4322 100644 --- a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -1,4 +1,2 @@ [tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - expected: TIMEOUT - [Overall test] - expected: NOTRUN + disabled: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/437 |