Closed
Bug 822636
Opened 12 years ago
Closed 9 years ago
[pdfjs] Possible CSP problems
Categories
(Firefox OS Graveyard :: Gaia::PDF Viewer, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 966865
People
(Reporter: macajc, Assigned: joshua-s)
Details
I've passed a static analysis on the source code of Gaia looking for possible problems regarding the default CSP. The pdfjs application has the following possible issues: FILE: content/web/viewer.html 71: <button id="errorShowMore" onclick="" oncontextmenu="return false;" data-l10n-id="error_more_info"> 74: <button id="errorShowLess" onclick="" oncontextmenu="return false;" data-l10n-id="error_less_info" hidden='true'> 31: <script type="text/javascript">
Updated•12 years ago
|
Component: Gaia → Gaia::PDF Viewer
Assignee | ||
Comment 1•11 years ago
|
||
Should be fairly easy to fix, can I take this? (I may need a little help because it is my first B2G bug.)
Reporter | ||
Comment 2•11 years ago
|
||
You're right, it should be easy. Go ahead and take it. Beside the lines reported at the bug description there is another CSP error at line 79 : <button id="errorClose" oncontextmenu="return false;" data-l10n-id="error_close"> of the same file
Assignee | ||
Comment 3•11 years ago
|
||
Ok, I took it :)
Assignee: nobody → joshua-smith
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•11 years ago
|
||
What branch should I submit a pull to?
Comment 5•11 years ago
|
||
Master
Assignee | ||
Comment 6•11 years ago
|
||
Oh, I just saw that this pull will have to be submitted to the mozilla/pdf.js repository, not the gaia one. (https://github.com/mozilla-b2g/gaia/blob/master/apps/pdfjs/README.md)
Reporter | ||
Comment 7•11 years ago
|
||
Adding someone on cc of the bug that might help you better than me on this.
Comment 8•11 years ago
|
||
It'd be best if you could do a pull request to https://github.com/mozilla/pdf.js.git and then we'll upstream the changes to gaia.
Assignee | ||
Comment 9•11 years ago
|
||
Ok, thanks!
Assignee | ||
Comment 10•9 years ago
|
||
Wow, I never got back to you guys on this :/ Is it still an issue?
Flags: needinfo?(carmen.jimenezcabezas)
Reporter | ||
Comment 11•9 years ago
|
||
I wouldn't think so. This seems to have been resolved in bug 966865. Closing this as duplicated
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(carmen.jimenezcabezas)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•