diff --git a/components/script/dom/globalscope.rs b/components/script/dom/globalscope.rs index ffa63d4eb37..4759524fb12 100644 --- a/components/script/dom/globalscope.rs +++ b/components/script/dom/globalscope.rs @@ -5,6 +5,9 @@ use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::BroadcastChannelBinding::BroadcastChannelMethods; use crate::dom::bindings::codegen::Bindings::EventSourceBinding::EventSourceBinding::EventSourceMethods; +use crate::dom::bindings::codegen::Bindings::ImageBitmapBinding::{ + ImageBitmapOptions, ImageBitmapSource, +}; use crate::dom::bindings::codegen::Bindings::PermissionStatusBinding::PermissionState; use crate::dom::bindings::codegen::Bindings::VoidFunctionBinding::VoidFunction; use crate::dom::bindings::codegen::Bindings::WindowBinding::WindowMethods; @@ -31,6 +34,7 @@ use crate::dom::eventtarget::EventTarget; use crate::dom::file::File; use crate::dom::htmlscriptelement::ScriptId; use crate::dom::identityhub::Identities; +use crate::dom::imagebitmap::ImageBitmap; use crate::dom::messageevent::MessageEvent; use crate::dom::messageport::MessagePort; use crate::dom::paintworkletglobalscope::PaintWorkletGlobalScope; @@ -41,7 +45,7 @@ use crate::dom::window::Window; use crate::dom::workerglobalscope::WorkerGlobalScope; use crate::dom::workletglobalscope::WorkletGlobalScope; use crate::microtask::{Microtask, MicrotaskQueue, UserMicrotask}; -use crate::realms::{enter_realm, InRealm}; +use crate::realms::{enter_realm, AlreadyInRealm, InRealm}; use crate::script_module::ModuleTree; use crate::script_runtime::{CommonScriptMsg, JSContext as SafeJSContext, ScriptChan, ScriptPort}; use crate::script_thread::{MainThreadScriptChan, ScriptThread}; @@ -2227,6 +2231,71 @@ impl GlobalScope { })) } + pub fn create_image_bitmap( + &self, + image: ImageBitmapSource, + options: &ImageBitmapOptions, + ) -> Rc { + let in_realm_proof = AlreadyInRealm::assert(&self); + let p = Promise::new_in_current_realm(&self, InRealm::Already(&in_realm_proof)); + if options.resizeWidth.map_or(false, |w| w == 0) { + p.reject_error(Error::InvalidState); + return p; + } + + if options.resizeHeight.map_or(false, |w| w == 0) { + p.reject_error(Error::InvalidState); + return p; + } + + let promise = match image { + ImageBitmapSource::HTMLCanvasElement(ref canvas) => { + // https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument + if !canvas.is_valid() { + p.reject_error(Error::InvalidState); + return p; + } + + if let Some((data, size)) = canvas.fetch_all_data() { + let data = data + .map(|data| data.to_vec()) + .unwrap_or_else(|| vec![0; size.area() as usize * 4]); + + let image_bitmap = ImageBitmap::new(&self, size.width, size.height).unwrap(); + + image_bitmap.set_bitmap_data(data); + image_bitmap.set_origin_clean(canvas.origin_is_clean()); + p.resolve_native(&(image_bitmap)); + } + p + }, + ImageBitmapSource::OffscreenCanvas(ref canvas) => { + // https://html.spec.whatwg.org/multipage/#check-the-usability-of-the-image-argument + if !canvas.is_valid() { + p.reject_error(Error::InvalidState); + return p; + } + + if let Some((data, size)) = canvas.fetch_all_data() { + let data = data + .map(|data| data.to_vec()) + .unwrap_or_else(|| vec![0; size.area() as usize * 4]); + + let image_bitmap = ImageBitmap::new(&self, size.width, size.height).unwrap(); + image_bitmap.set_bitmap_data(data); + image_bitmap.set_origin_clean(canvas.origin_is_clean()); + p.resolve_native(&(image_bitmap)); + } + p + }, + _ => { + p.reject_error(Error::NotSupported); + return p; + }, + }; + promise + } + pub fn fire_timer(&self, handle: TimerEventId) { self.timers.fire_timer(handle, self); } diff --git a/components/script/dom/imagebitmap.rs b/components/script/dom/imagebitmap.rs index e5d3ec6098e..72b4871490f 100644 --- a/components/script/dom/imagebitmap.rs +++ b/components/script/dom/imagebitmap.rs @@ -12,6 +12,7 @@ use crate::dom::bindings::error::Fallible; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use dom_struct::dom_struct; +use std::cell::Cell; use std::vec::Vec; #[dom_struct] @@ -20,6 +21,7 @@ pub struct ImageBitmap { width: u32, height: u32, bitmap_data: DomRefCell>, + origin_clean: Cell, } impl ImageBitmap { @@ -29,6 +31,7 @@ impl ImageBitmap { width: width_arg, height: height_arg, bitmap_data: DomRefCell::new(vec![]), + origin_clean: Cell::new(true), } } @@ -39,6 +42,14 @@ impl ImageBitmap { Ok(reflect_dom_object(imagebitmap, global)) } + + pub fn set_bitmap_data(&self, data: Vec) { + *self.bitmap_data.borrow_mut() = data; + } + + pub fn set_origin_clean(&self, origin_is_clean: bool) { + self.origin_clean.set(origin_is_clean); + } } impl ImageBitmapMethods for ImageBitmap { diff --git a/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl b/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl index 61f150f8e81..f348d7cf900 100644 --- a/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl +++ b/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl @@ -24,7 +24,7 @@ interface mixin WindowOrWorkerGlobalScope { void queueMicrotask(VoidFunction callback); // ImageBitmap - // Promise createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options); + Promise createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options = {}); // Promise createImageBitmap( // ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options); }; diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index c23efc961ee..e6d8c1bd13f 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -7,6 +7,9 @@ use crate::dom::bindings::codegen::Bindings::DocumentBinding::{ DocumentMethods, DocumentReadyState, }; use crate::dom::bindings::codegen::Bindings::HistoryBinding::HistoryBinding::HistoryMethods; +use crate::dom::bindings::codegen::Bindings::ImageBitmapBinding::{ + ImageBitmapOptions, ImageBitmapSource, +}; use crate::dom::bindings::codegen::Bindings::MediaQueryListBinding::MediaQueryListBinding::MediaQueryListMethods; use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInit; use crate::dom::bindings::codegen::Bindings::VoidFunctionBinding::VoidFunction; @@ -889,6 +892,18 @@ impl WindowMethods for Window { .queue_function_as_microtask(callback); } + // https://html.spec.whatwg.org/multipage/#dom-createimagebitmap + fn CreateImageBitmap( + &self, + image: ImageBitmapSource, + options: &ImageBitmapOptions, + ) -> Rc { + let p = self + .upcast::() + .create_image_bitmap(image, options); + p + } + // https://html.spec.whatwg.org/multipage/#dom-window fn Window(&self) -> DomRoot { self.window_proxy() diff --git a/components/script/dom/workerglobalscope.rs b/components/script/dom/workerglobalscope.rs index 684760c3197..bcc3f5dad15 100644 --- a/components/script/dom/workerglobalscope.rs +++ b/components/script/dom/workerglobalscope.rs @@ -3,6 +3,9 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::dom::bindings::cell::{DomRefCell, Ref}; +use crate::dom::bindings::codegen::Bindings::ImageBitmapBinding::{ + ImageBitmapOptions, ImageBitmapSource, +}; use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInit; use crate::dom::bindings::codegen::Bindings::VoidFunctionBinding::VoidFunction; use crate::dom::bindings::codegen::Bindings::WorkerBinding::WorkerType; @@ -348,6 +351,18 @@ impl WorkerGlobalScopeMethods for WorkerGlobalScope { .queue_function_as_microtask(callback); } + // https://html.spec.whatwg.org/multipage/#dom-createimagebitmap + fn CreateImageBitmap( + &self, + image: ImageBitmapSource, + options: &ImageBitmapOptions, + ) -> Rc { + let p = self + .upcast::() + .create_image_bitmap(image, options); + p + } + #[allow(unrooted_must_root)] // https://fetch.spec.whatwg.org/#fetch-method fn Fetch( diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini deleted file mode 100644 index 5e3f2d998e3..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[hit-test-floats-001.html] - [hit-test-floats-001] - expected: FAIL - diff --git a/tests/wpt/metadata/css/css-text/white-space/trailing-other-space-separators-break-spaces-004.html.ini b/tests/wpt/metadata/css/css-text/white-space/trailing-other-space-separators-break-spaces-004.html.ini deleted file mode 100644 index 3257d1b4d49..00000000000 --- a/tests/wpt/metadata/css/css-text/white-space/trailing-other-space-separators-break-spaces-004.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[trailing-other-space-separators-break-spaces-004.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini index a6c39d50087..c3e80f60581 100644 --- a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini +++ b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini @@ -8,3 +8,6 @@ [throws if handleEvent is thruthy and not callable] expected: FAIL + [looks up handleEvent method on every event dispatch] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini index 668c3f52a5b..3d6317220d3 100644 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini @@ -14,3 +14,6 @@ [
  • Outside 3
  • ] expected: FAIL + [
  • Image Inside 2
  • ] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini b/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini new file mode 100644 index 00000000000..e181af5397f --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini @@ -0,0 +1,4 @@ +[elementsFromPoint-invalid-cases.html] + [The root element is the last element returned for otherwise empty queries within the viewport] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/content-type/script.window.js.ini b/tests/wpt/metadata/fetch/content-type/script.window.js.ini index 5c001592859..c7413d589dc 100644 --- a/tests/wpt/metadata/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/script.window.js.ini @@ -59,3 +59,6 @@ [separate text/javascript;charset=windows-1252 error text/javascript] expected: FAIL + [separate text/javascript;charset=windows-1252 text/javascript] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini deleted file mode 100644 index dc2e45516de..00000000000 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[traverse_the_history_5.html] - [Multiple history traversals, last would be aborted] - expected: FAIL - diff --git a/tests/wpt/metadata/html/browsers/the-window-object/window-properties.https.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/window-properties.https.html.ini index 998e6ed6dd3..366aeb8d09b 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/window-properties.https.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/window-properties.https.html.ini @@ -41,6 +41,3 @@ [Window replaceable attribute: screenLeft] expected: FAIL - [Window method: createImageBitmap] - expected: FAIL - diff --git a/tests/wpt/metadata/html/dom/idlharness.https.html.ini b/tests/wpt/metadata/html/dom/idlharness.https.html.ini index 328448ca87a..44b9e8eab5f 100644 --- a/tests/wpt/metadata/html/dom/idlharness.https.html.ini +++ b/tests/wpt/metadata/html/dom/idlharness.https.html.ini @@ -1819,9 +1819,6 @@ [Window interface: operation createImageBitmap(ImageBitmapSource, optional ImageBitmapOptions)] expected: FAIL - [Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, optional ImageBitmapOptions)" with the proper type] - expected: FAIL - [Document interface: calling execCommand(DOMString, optional boolean, optional DOMString) on new Document() with too few arguments must throw TypeError] expected: FAIL @@ -1831,9 +1828,6 @@ [Document interface: new Document() must inherit property "execCommand(DOMString, optional boolean, optional DOMString)" with the proper type] expected: FAIL - [Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, long, long, long, long, optional ImageBitmapOptions)" with the proper type] - expected: FAIL - [Document interface: calling execCommand(DOMString, optional boolean, optional DOMString) on iframe.contentDocument with too few arguments must throw TypeError] expected: FAIL diff --git a/tests/wpt/metadata/html/dom/idlharness.worker.js.ini b/tests/wpt/metadata/html/dom/idlharness.worker.js.ini index c90719b22b7..6ce0aa10184 100644 --- a/tests/wpt/metadata/html/dom/idlharness.worker.js.ini +++ b/tests/wpt/metadata/html/dom/idlharness.worker.js.ini @@ -494,9 +494,6 @@ [OffscreenCanvasRenderingContext2D interface: operation fill(optional CanvasFillRule)] expected: FAIL - [WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, long, long, long, long, optional ImageBitmapOptions)" with the proper type] - expected: FAIL - [OffscreenCanvasRenderingContext2D interface: operation isPointInPath(unrestricted double, unrestricted double, optional CanvasFillRule)] expected: FAIL @@ -551,9 +548,6 @@ [Path2D interface: operation addPath(Path2D, optional DOMMatrix2DInit)] expected: FAIL - [WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, optional ImageBitmapOptions)" with the proper type] - expected: FAIL - [OffscreenCanvasRenderingContext2D interface: operation clip(optional CanvasFillRule)] expected: FAIL diff --git a/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini b/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini index 657f264899b..64d842bd03c 100644 --- a/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini +++ b/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini @@ -11,9 +11,6 @@ [Serialize should throw before a detached MessagePort is found] expected: FAIL - [Cannot transfer the same ImageBitmap twice] - expected: FAIL - [Serialize should make the ImageBitmap detached, so it cannot be transferred again] expected: FAIL diff --git a/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini b/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini deleted file mode 100644 index a9677391662..00000000000 --- a/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[DOMContentLoaded-defer.html] - [The end: DOMContentLoaded and defer scripts] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini index 297595743a6..5bc8e9f3157 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini @@ -1,9 +1,10 @@ [promise-job-entry-different-function-realm.html] + expected: TIMEOUT [Fulfillment handler on fulfilled promise] expected: FAIL [Rejection handler on pending-then-rejected promise] - expected: FAIL + expected: TIMEOUT [Thenable resolution] expected: FAIL @@ -12,5 +13,5 @@ expected: FAIL [Fulfillment handler on pending-then-fulfilled promise] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini index 59547f3ead4..30b085736c2 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html.ini @@ -21,6 +21,3 @@ [unhandledrejection: from createImageBitmap which is UA triggered] expected: FAIL - [no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini index 496bad988c6..16614b18649 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini @@ -5,6 +5,3 @@ [unhandledrejection: from createImageBitmap which is UA triggered] expected: FAIL - [no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap] - expected: FAIL - diff --git a/tests/wpt/metadata/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html.ini b/tests/wpt/metadata/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html.ini index 6ff41d764e1..2d70a69b718 100644 --- a/tests/wpt/metadata/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html.ini +++ b/tests/wpt/metadata/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html.ini @@ -42,6 +42,3 @@ [Test that convertToBlob with default arguments produces correct result in a worker] expected: FAIL - [Test that call convertToBlob on a OffscreenCanvas with tainted origin throws exception in a worker] - expected: FAIL - diff --git a/tests/wpt/metadata/offscreen-canvas/filter/offscreencanvas.filter.w.html.ini b/tests/wpt/metadata/offscreen-canvas/filter/offscreencanvas.filter.w.html.ini index ee22e1591de..d230a9d8d17 100644 --- a/tests/wpt/metadata/offscreen-canvas/filter/offscreencanvas.filter.w.html.ini +++ b/tests/wpt/metadata/offscreen-canvas/filter/offscreencanvas.filter.w.html.ini @@ -1,5 +1,4 @@ [offscreencanvas.filter.w.html] - expected: ERROR [offscreencanvas] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index 66bd350083b..a56bad443a2 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -1,4 +1,5 @@ [realtimeanalyser-fft-scaling.html] + expected: TIMEOUT [X 2048-point FFT peak position is not equal to 64. Got 0.] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions.html.ini index b28bd566f16..1fdde19ecc9 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions.html.ini @@ -1,4 +1,5 @@ [audiocontextoptions.html] + expected: CRASH [X context = new AudioContext({sampleRate: 1}) did not throw an exception.] expected: FAIL diff --git a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini new file mode 100644 index 00000000000..80f9a4f15b8 --- /dev/null +++ b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini @@ -0,0 +1,2 @@ +[Worker-constructor.html] + expected: ERROR diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-alpha-alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..f30fe23f859 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..5dc5000483f --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..59b8781f2a6 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_byte.html.ini new file mode 100644 index 00000000000..46b0967faff --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini new file mode 100644 index 00000000000..5e294174d24 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_byte.html.ini new file mode 100644 index 00000000000..a533e2bbc6c --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini new file mode 100644 index 00000000000..8e677e624e1 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini new file mode 100644 index 00000000000..ad0ebbd112e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_blob/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + expected: FAIL + 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 new file mode 100644 index 00000000000..934aa737cb3 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..bcb7ae3d346 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..c3fc2a33445 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..c716eda28ca --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..395216ec64a --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..5d324a0e7dd --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..f7c9148eb99 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..6c2981c0adf --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -0,0 +1,5 @@ +[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 new file mode 100644 index 00000000000..f30fe23f859 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..5dc5000483f --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..59b8781f2a6 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..46b0967faff --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..5e294174d24 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..a533e2bbc6c --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..8e677e624e1 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..ad0ebbd112e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..35988c55f1c --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..bbcf7275cc9 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..eaa5093d9f2 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..2f49b17b315 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_byte.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..2084c5c2c6f --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..c0ede027a8e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_byte.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..1c1d7d6a35d --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..1abf8dfa3d0 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] + [WebGL test #1: createImageBitmap(imageData) should succeed.] + 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 new file mode 100644 index 00000000000..f30fe23f859 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..5dc5000483f --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..59b8781f2a6 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..46b0967faff --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..5e294174d24 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..a533e2bbc6c --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_byte.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..8e677e624e1 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..ad0ebbd112e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_image_data/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -0,0 +1,4 @@ +[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] + [WebGL test #1: createImageBitmap(source) failed: "The operation is not supported."] + 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 new file mode 100644 index 00000000000..df505cbab41 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..94b45973cb3 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..8c1ea97dfcb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..db7310c69ac --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-rgb-rgb-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..a991e224bc2 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -0,0 +1,5 @@ +[tex-2d-rgb-rgb-unsigned_short_5_6_5.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..8749093a15d --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-rgba-rgba-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..73bba4ac28e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -0,0 +1,5 @@ +[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + 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 new file mode 100644 index 00000000000..d014f432f89 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_bitmap_from_video/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -0,0 +1,5 @@ +[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN +