Closed
Bug 1493223
Opened 7 years ago
Closed 5 years ago
Allow fuzzers to fuzz print preview.
Categories
(Core :: Layout, enhancement, P3)
Core
Layout
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This is the only print preview test we have.
https://searchfox.org/mozilla-central/rev/0b8ed772d24605d7cb44c1af6d59e4ca023bd5f5/layout/base/tests/chrome/printpreview_helper.xul#26
I'm sure fuzzing is going to reveal fun stuff in this code.
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(emilio)
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•7 years ago
|
||
Tyson, do you know if Fuzzers have access to Cc / Ci? (The XPCOM interfaces and such?)
If so, this is trivial, though the API is somewhat awkward to use:
https://searchfox.org/mozilla-central/rev/1a4a7745fd4a14402a0de0e9abc040724d4fcf8f/layout/base/tests/chrome/printpreview_helper.xul#26
Otherwise, I can add some sort of fuzzing-only WebIDL API or so, or whatever you think is best really.
Flags: needinfo?(twsmith)
Comment 2•7 years ago
|
||
I believe this is what you you are looking for :)
https://searchfox.org/mozilla-central/source/dom/webidl/FuzzingFunctions.webidl
Adding print preview would be great, assuming it does not popup a blocking dialog or anything like that.
Flags: needinfo?(twsmith)
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Assignee | ||
Comment 3•5 years ago
|
||
It'll open a window / tab that they can then close. This allows fuzzers
to catch crashes in our printing codepaths. Can't wait for the fun to
start.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cceee3976ed5
Allow fuzzers to call window.printPreview. r=smaug
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(jkratzer)
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Updated•5 years ago
|
Flags: needinfo?(jkratzer)
You need to log in
before you can comment on or make changes to this bug.
Description
•