Closed
Bug 952846
Opened 12 years ago
Closed 11 years ago
Don't ship unused PDF.js files in metro installer
Categories
(Firefox for Metro Graveyard :: Build Config, defect, P2)
Tracking
(firefox28+ verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
(Keywords: memory-footprint, Whiteboard: [beta28] [defect] p=1)
Attachments
(2 files)
981 bytes,
patch
|
jimm
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
5.71 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
PDF.js is disabled in Metro Firefox (bug 859579), but we are still shipping an extra copy of the extension in Metro-enabled Windows builds (bug 952844) which adds an extra 1MB or so to our installer size.
On Aurora 28, we don't have any code that uses PDF.js, so we should just stop shipping the extension there.
On Nightly 29, PDF.js code is present but disabled by default. We should keep that true in nightly builds, but remove the code and extension in release builds at least until the footprint issue is fixed.
Assignee | ||
Comment 1•12 years ago
|
||
[Approval Request Comment]
Bug caused by (feature/regressing bug #): enabling Metro
User impact if declined: Windows installer size increased by ~1MB
Testing completed (on m-c, etc.): Aurora-only patch. Pushed to Try:
https://tbpl.mozilla.org/?tree=Try&rev=97ad30ae511d
Risk to taking this patch (and alternatives if risky): Low risk patch that only removes unused code from the Metro package directory.
String or IDL/UUID changes made by this patch: None.
Attachment #8351037 -
Flags: review?(jmathies)
Attachment #8351037 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 2•12 years ago
|
||
This patch builds PDF.js code for Metro only when NIGHTLY_BUILD is true. We can remove this when PDF.js for Metro is ready to ship.
This also catches one line of Shumway code that I missed in bug 923596.
Attachment #8351038 -
Flags: review?(jmathies)
Updated•12 years ago
|
![]() |
||
Updated•11 years ago
|
Attachment #8351037 -
Flags: review?(jmathies) → review+
![]() |
||
Updated•11 years ago
|
Attachment #8351038 -
Flags: review?(jmathies) → review+
Updated•11 years ago
|
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #8351037 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 5•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [beta28] p=1 → [beta28] [defect] p=1
Assignee | ||
Comment 6•11 years ago
|
||
I accidentally ifdef'ed the wrong lines in package-manifest.in. Philor noticed that this broke the build when pushing m-c to Try with Aurora build config. Push a fix to fx-team:
https://hg.mozilla.org/integration/fx-team/rev/211c36cf894a
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
For iteration #22, verified as fixed with latest Nightly and Aurora on Win 8.1 64-bit: .pdf files can't be viewed inline in Metro mode.
You need to log in
before you can comment on or make changes to this bug.
Description
•