Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on http://www.neopets.com/games/play_flash.phtml?va=&game_id=202&nc_referer=&age=1&hiscore=&sp=0&questionSet=&r=3672694&&width=700&height=840&quality=high #4441

Closed
animemom58 opened this issue May 28, 2021 · 1 comment
Labels
canvas Issues relating to the CanvasRenderingContext2D renderer error-report Automated error reports from Ruffle web build

Comments

@animemom58
Copy link

Error Info

Error name: Error
Error message: panicked at 'called Result::unwrap() on an Err value: JsValue(InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at :3:26041
at :3:4543
at web_sys::features::gen_CanvasRenderingContext2d::CanvasRenderingContext2d::draw_image_with_html_canvas_element::h4bbf82894abe8b1b (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[4402]:0x355349)
at <ruffle_render_canvas::WebCanvasRenderBackend as ruffle_core::backend::render::RenderBackend>::pop_mask::ha6a53f4d027e5730 (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[1031]:0x217b5a)
at <ruffle_core::display_object::edit_text::EditText as ruffle_core::display_object::TDisplayObject>::render::h97c75f442d14da64 (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[459]:0x12a22b)
at <ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render::hcbfe3dc534aff44f (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[3111]:0x321bcd)
at ruffle_core::display_object::container::TDisplayObjectContainer::render_children::h66f8e5258c219aca (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[1180]:0x23c11d)
at <ruffle_core::display_object::movie_clip::MovieClip as ruffle_core::display_object::TDisplayObject>::render::hcfec74e5fd8f5760 (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[3339]:0x32e6cd)
at <ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render::hcbfe3dc534aff44f (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[3111]:0x321bf4)
at ruffle_core::player::Player::render::hfec917eb28e325e7 (chrome-extension://kajnfloacekelnfgckmnnkeeaajfkeja/dist/40caf2b45c20a1522895df5ec7f369c3.wasm:wasm-function[836]:0x1dcdfd))', render/canvas/src/lib.rs:685:14

Player Info

Allows script access: true

Page Info

Page URL: http://www.neopets.com/games/play_flash.phtml?va=&game_id=202&nc_referer=&age=1&hiscore=&sp=0&questionSet=&r=3672694&&width=700&height=840&quality=high
SWF URL: http://images.neopets.com/games/gaming_system/np8_loader_v3_18.swf

Browser Info

Useragent: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
OS: Win32

Ruffle Info

Version: 0.1.0
Name: nightly 2021-01-25
Channel: nightly
Built: 2021-01-25T01:05:41.178Z
Commit: 32fd3fb

@Herschel Herschel added the error-report Automated error reports from Ruffle web build label Oct 25, 2021
@n0samu n0samu added canvas Issues relating to the CanvasRenderingContext2D renderer and removed canvas Issues relating to the CanvasRenderingContext2D renderer labels Mar 1, 2023
@relrelb
Copy link
Contributor

relrelb commented Apr 22, 2023

Fixed by #7026.

@relrelb relrelb closed this as completed Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
canvas Issues relating to the CanvasRenderingContext2D renderer error-report Automated error reports from Ruffle web build
Projects
None yet
Development

No branches or pull requests

4 participants