screenschot.getCanvas("perspective"): Script terminated by timeout on firefox
See original GitHub issueDescription: When trying to take screenshot from one scene, firefox reports a termination by timeout.
I’m using AR.js with Aframe.
Debugging logs (where $0
is the scene):
Some cookies are misusing the recommended “SameSite“ attribute 3
Use of the motion sensor is deprecated. webvr-polyfill.js:2292:11
No DPDB device match. webvr-polyfill.js:1963:10
Failed to recalculate device parameters. webvr-polyfill.js:1915:12
Using fallback Android device measurements. webvr-polyfill.js:1699:14
A-Frame Version: 1.0.4 (Date 2020-02-05, Commit #2b359246) index.js:92:8
three Version (https://github.com/supermedium/three.js): ^0.111.6 index.js:93:8
WebVR Polyfill Version: ^0.10.10 index.js:95:8
asm.js type error: Disabled by debugger aframe-ar.js
webvr-polyfill: Invalid timestamps detected: non-monotonic timestamp from devicemotion webvr-polyfill.js:669:14
THREE.WebGLRenderer: OES_texture_float_linear extension not supported. three.js:15943:13
No DPDB device match. webvr-polyfill.js:1963:10
Failed to recalculate device parameters. webvr-polyfill.js:1915:12
AR.js 3.3.1 - trackingBackend: artoolkit aframe-ar.js:3994:10
THREE.WebGLRenderer: EXT_texture_filter_anisotropic extension not supported. three.js:15943:13
ARjs.Anchor - changeMatrixMode: modelViewMatrix / markersAreaEnabled: false aframe-ar.js:3528:10
THREEx.ArMarkerControls: 'markersAreaEnabled' is not a property of this material. aframe-ar.js:2023:13
THREEx.ArMarkerControls: 'minConfidence' parameter is undefined. aframe-ar.js:2016:13
*** Camera Parameter resized from 640, 480. *** aframe-ar.js:2:23009
Allocated videoFrameSize 307200 aframe-ar.js:2:23009
Use of mozImageSmoothingEnabled is deprecated. Please use the unprefixed imageSmoothingEnabled property instead. aframe-ar.js:2608:8
Pattern detection mode set to 4. aframe-ar.js:2:23009
Pattern ratio size set to 0.500000. aframe-ar.js:2:23009
$0.components.screenshot.getCanvas("perspective")
webvr-polyfill: Invalid timestamps detected: Timestamp from devicemotion outside expected range. webvr-polyfill.js:669:14
Script terminated by timeout at:
flipPixelsVertically@https://aframe.io/releases/1.0.4/aframe.min.js:859:3957
renderCapture@https://aframe.io/releases/1.0.4/aframe.min.js:859:3723
getCanvas@https://aframe.io/releases/1.0.4/aframe.min.js:859:3266
@debugger eval code:1:26
screenshot.js:234:22
undefined
Image (where $0
is the scene):
From the link provided, you can just click on the middle button to take a screenshot.
- A-Frame Version: 1.0.4
- Platform / Device: Firefox 83.1.0 / Android
- Reproducible Code Snippet or URL: https://aquele.cafe
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Stop connection timeouts from happening - want the page to ...
I run multiple tab that monitor various tools. These pages refresh themselves. The pages have to wait for each other to finish before...
Read more >Take screenshots on Firefox - Mozilla Support
To take a screenshot: Right-clickHold down the control key while you click on an empty part of the page and select Take Screenshot....
Read more >How can I adjust the Timeout setting? | Firefox Support Forum
I'm running some OBIEE reports in Firefox that by nature do take a long time to run. One of my local Tech Support...
Read more >335058 - script timeout too small in firefox - Bugzilla@Mozilla
Does this actually happen with the extension-manager JS? I haven't seen it in quite some time and have tested operations with 100+ extensions...
Read more >Taking screenshots — Firefox Source Docs documentation
Taking screenshots¶. You can use the Developer Tools to take a screenshot of the entire page, or of a single element in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
From https://github.com/mozilla-mobile/fenix/issues/17058 :
Working code for F.F. Fenix 83+ (Android 9)
Here’s a walkthrough if anyone stumble on this issue:
getCanvas
method, applying some changes (hopefully the changes are obvious):Yes, I agree. I was going to close this issue with a similar statement.
Sorry about the noise and thanks.