Open Bug 1917589 Opened 1 year ago Updated 1 year ago

pdfjs.init is called with an undefined this._isNewProfile on GeckoView

Categories

(GeckoView :: PDF Viewer, defect, P3)

All
Android
defect

Tracking

(firefox130 wontfix, firefox131 fix-optional, firefox132 fix-optional)

Tracking Status
firefox130 --- wontfix
firefox131 --- fix-optional
firefox132 --- fix-optional

People

(Reporter: pierov, Unassigned)

References

(Regression)

Details

(Keywords: regression)

PdfJs.init is called with this._isNewProfile in GeckoViewStartup.sys.mjs, but if I understand correctly, that member is always undefined.
I believe it was a copy&paste error when Pdf.js was added to GV in Bug 1754499 as, apart from here, _isNewProfile is used only in BrowserGlue.sys.mjs, and it's set by its _migrateUI.
I don't think there are unwanted consequences, but I'm opening a bug in case it can be changed with a correct equivalent for GV.

Set release status flags based on info from the regressing bug 1754499

:calixte, since you are the author of the regressor, bug 1754499, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

Yep for sure it's a copy & paste error.
I'm even not sure we need to call Pdfjs.init in the GV case.

Severity: -- → S3
Flags: needinfo?(cdenizet)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.