Open Bug 1482800 Opened 6 years ago Updated 2 years ago

:screenshot - command line issues

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox62 affected, firefox63 affected)

Tracking Status
firefox62 --- affected
firefox63 --- affected

People

(Reporter: cfogel, Unassigned)

References

(Blocks 1 open bug)

Details

[Affected versions]:
- 62.0b16, 63.0a1 (2018-08-12)

[Affected platforms]:
- all

[Steps to reproduce]:
1. Launch Firefox;
2. Open devTools - console tab;
3. Type in the following commands and press Enter key after each:

3.a: :screenshot --filename “username[space]numericValue”
3.b: :screenshot --h3l0, :screenshot --delay 5s
3.c: double input of the same command;
3.d: :screenshot --delay 4  followed by :screenshot delay --5 
3.e: :screenshot --file 0 [randomtext]   
3.f: :screenshot --fullpage --filename (filename).jpg

[Expected result]:
- no issues occur;

[Actual results]:
3.a: info on the format with space in between should be added in the help section;
3.b: invalid options, still trigger the screenshot without warnings;
3.c: when "spammed" not all snapshots are saved;
3.d: only takes the lowest timer-value screenshot;
3.e: still saves the file with the randomtext_name. It ignores the --file 0 part;
3.f: file is saved as (filename).jpg.png - this one probably serves as an enhancement suggestion only since currently the save format seems to be limited to png.


[Regression range]:
- not a regression

[Additional notes]:
- for more info please check
 https://bugzilla.mozilla.org/show_bug.cgi?id=1464461#c145
Blocks: 1483143
No longer blocks: 1464461
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.