screenshot fails on big html-files
Categories
(Firefox :: Headless, defect, P3)
Tracking
()
People
(Reporter: 25ffmvj2tudf796gb5byv, Unassigned)
Details
screenshot seem to fail on about any big html-file, for example
<html><body>
Yo!</br>
.. 10000 repeats of yo! ...
</body></html>
Failure taking screenshot: OperationError: The operation failed for an operation-specific reason
JavaScript error: resource:///modules/ScreenShotChild.jsm, line 39: NS_ERROR_FAILURE
Comment 2•5 years ago
|
||
YF: Yes, it might be the same problem. It looks like there is a limit on amount of pixels or something, and it affects not just headless mode.
Comment 3•5 years ago
|
||
The priority flag is not set for this bug.
:bdahl, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Comment 4•2 years ago
|
||
I also have this problem with a very large html-file. I try to take a screenshot, the tool seems to hang and then I receive an error:
Here is a copy from the developer console:
Error: Promised response from onMessage listener went out of scope ExtensionMessagingService.js:89:34
------Error in promise: Error: Promised response from onMessage listener went out of scope
startBackground moz-extension://0bc82db3-af12-4b2a-a2ed-1ccb75f14945/background/startBackground.js:84
catcher.js:78:15
this.startBackground<@moz-extension://0bc82db3-af12-4b2a-a2ed-1ccb75f14945/background/startBackground.js:84:29
catcher.js:79:15
catcher moz-extension://0bc82db3-af12-4b2a-a2ed-1ccb75f14945/catcher.js:79
Unhandled error:
Object { fromMakeError: true, name: "Error", message: "Error: Promised response from onMessage listener went out of scope", stack: "this.startBackground<@moz-extension://0bc82db3-af12-4b2a-a2ed-1ccb75f14945/background/startBackground.js:84:29\n" }
undefined catcher.js:21:11
Error: Promised response from onMessage listener went out of scope startBackground.js:84:29
Comment 5•2 years ago
|
||
The only screenshot-tool, which works for my large html-page is FireShot.
Problem: I can reproduce this problem only with my large html-page, which contains sensitive information of my company, so I can't post it.
Further tests:
- CSS is not the problem: I removed all CSS, and the problem still occurs.
- It does not happen if I replace all images with the same image.
- It does not happen on other pages with much more images.
Firefox 100.0.2, Windows 10 64 Bit
Updated•2 years ago
|
As far as reproducing the problem, if you search this bugzilla for "screenshot" and then try to take a full page screenshot of the result, you'll see it fail.
Description
•