Closed Bug 1342919 Opened 7 years ago Closed 6 years ago

taking screenshot fails silently

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 766661

People

(Reporter: aryx, Unassigned)

References

Details

Tested on latest Firefox 54.0a1 + 53.0a2 on Windows 8.1

Trying to capture a screenshot by clicking the screenshot button in the Developer Toolbox
a) succeeds on https://wiki.mozilla.org/
b) fails on https://planet.mozilla.org/
c) often fails, but sometimes succeeds for http://www.tagesschau.de/

That it doesn't permafail c) is a point taken against bug 766661 comment 1 which mentions bug 591822.

Error console contains:

Object { isTypedData: true, data: Object, type: "error" }  cli.js:2056
Object { columnNumber: 0, lineNumber: 308, message: "", stack: "createScreenshotData@resource://gre…" }  cli.js:2056

The error gets thrown at https://dxr.mozilla.org/mozilla-central/rev/7ef1e9abd296a8edc39b7efc8d637767ba2f77ed/devtools/shared/task.js#387-388

>      // We have a promise object now. When fulfilled, call again into this
>      // function to continue the task, with either a resolution or rejection
>      // condition.
>      value.then(this._run.bind(this, true),
>                  this._run.bind(this, false));

Call stack:

this._run from task.js:318
https://dxr.mozilla.org/mozilla-central/source/devtools/shared/task.js#318-319

TaskImpl from task.js:273
https://dxr.mozilla.org/mozilla-central/rev/7ef1e9abd296a8edc39b7efc8d637767ba2f77ed/devtools/shared/task.js#273

createAsyncFunction from task.js:247
https://dxr.mozilla.org/mozilla-central/rev/7ef1e9abd296a8edc39b7efc8d637767ba2f77ed/devtools/shared/task.js#247

onClick from definitions.js:546
https://dxr.mozilla.org/mozilla-central/rev/7ef1e9abd296a8edc39b7efc8d637767ba2f77ed/devtools/client/definitions.js#546
Component: Developer Tools → Developer Tools: Graphic Commandline and Toolbar
Product: Firefox → DevTools
Suspecting a duplicate of 766661, I'm afraid.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.