Closed
Bug 1330529
Opened 9 years ago
Closed 7 years ago
Drop SetDllDirectory calls for supporting Shockwave Player
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Tracking
(firefox58 wontfix, firefox59 wontfix, firefox60 fixed)
RESOLVED
FIXED
mozilla60
People
(Reporter: emk, Assigned: cpeterson)
References
Details
Attachments
(6 files, 1 obsolete file)
59 bytes,
text/x-review-board-request
|
jimm
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
jimm
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
jimm
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
jimm
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
jimm
:
review+
|
Details |
5.35 KB,
patch
|
cpeterson
:
review+
|
Details | Diff | Splinter Review |
We don't support Shockwave Player anymore.
Assignee | ||
Comment 1•9 years ago
|
||
This Shockwave Player workaround was added in bug 607832.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cpeterson
status-firefox58:
--- → wontfix
status-firefox59:
--- → wontfix
status-firefox60:
--- → affected
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
I removed the unnecessary ShouldProtectPluginCurrentDirectory function and more unnecessary code just kept unraveling... :)
![]() |
||
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8951530 [details]
Bug 1330529 - Part 2: Remove unused SetDllDirectory workaround for Shockwave Player plugin.
https://reviewboard.mozilla.org/r/220826/#review228478
Attachment #8951530 -
Flags: review?(jmathies) → review+
![]() |
||
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8951531 [details]
Bug 1330529 - Part 3: Protect DLL loads in wmain instead of waiting until PluginProcessChild::Init.
https://reviewboard.mozilla.org/r/220828/#review228622
e should keep an eye out for flash bstage as a result of this. They may have 'adjusted' their code to support our envionment.
Attachment #8951531 -
Flags: review?(jmathies) → review+
![]() |
||
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8951532 [details]
Bug 1330529 - Part 4: Fold nsSetDllDirectory.h into nsWindowsMain.cpp.
https://reviewboard.mozilla.org/r/220830/#review228624
Thanks for the cleanup work here Chris!
Attachment #8951532 -
Flags: review?(jmathies) → review+
![]() |
||
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8951533 [details]
Bug 1330529 - Part 5: Remove some Windows line endings from PluginProcessChild.cpp.
https://reviewboard.mozilla.org/r/220832/#review228626
Attachment #8951533 -
Flags: review?(jmathies) → review+
![]() |
||
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8951534 [details]
Bug 1330529 - Part 1: Fix PDFium gtest by using absolute path to PDFium DLL.
https://reviewboard.mozilla.org/r/220834/#review228628
Attachment #8951534 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 13•7 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #9)
> We should keep an eye out for flash bstage as a result of this. They may have
> 'adjusted' their code to support our envionment.
Sure thing. The Flash content I tested was able to load.
Comment 14•7 years ago
|
||
Pushed by cpeterson@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/875a35f50af2
Part 1: Fix PDFium gtest by using absolute path to PDFium DLL. r=jimm
https://hg.mozilla.org/integration/mozilla-inbound/rev/c7138c4369eb
Part 2: Remove unused SetDllDirectory workaround for Shockwave Player plugin. r=jimm
https://hg.mozilla.org/integration/mozilla-inbound/rev/b539afa21a7c
Part 3: Protect DLL loads in wmain instead of waiting until PluginProcessChild::Init. r=jimm
https://hg.mozilla.org/integration/mozilla-inbound/rev/572f3d9d98f0
Part 4: Fold nsSetDllDirectory.h into nsWindowsMain.cpp. r=jimm
https://hg.mozilla.org/integration/mozilla-inbound/rev/a6329ea89ef8
Part 5: Remove some Windows line endings from PluginProcessChild.cpp. r=jimm
Reporter | ||
Comment 15•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/875a35f50af2#l1.27
>+ const NS_ConvertUTF16toUTF8 externalDll(pdfiumPath);
Please do not use NS_ConvertUTF16toUTF8. It will break non-ASCII file paths on Windows
Reporter | ||
Comment 16•7 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #9)
> We should keep an eye out for flash bstage as a result of this. They may have
> 'adjusted' their code to support our envionment.
Note that Shockwave Player != Flash Player. The removed code was already dead since we dropped support for Shockwave Player. So I don't think it breaks anything.
Reporter | ||
Comment 17•7 years ago
|
||
Attachment #8953717 -
Flags: review?(cpeterson)
Reporter | ||
Updated•7 years ago
|
Assignee: cpeterson → VYV03354
Status: NEW → ASSIGNED
Reporter | ||
Updated•7 years ago
|
Assignee: VYV03354 → cpeterson
Reporter | ||
Updated•7 years ago
|
Attachment #8953717 -
Attachment description: Followup to incorrect file path handling in PDFiumEngineShim → Followup to fix incorrect file path handling in PDFiumEngineShim
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/875a35f50af2
https://hg.mozilla.org/mozilla-central/rev/c7138c4369eb
https://hg.mozilla.org/mozilla-central/rev/b539afa21a7c
https://hg.mozilla.org/mozilla-central/rev/572f3d9d98f0
https://hg.mozilla.org/mozilla-central/rev/a6329ea89ef8
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Reporter | ||
Comment 19•7 years ago
|
||
Attachment #8953759 -
Flags: review?(cpeterson)
Reporter | ||
Updated•7 years ago
|
Attachment #8953717 -
Attachment is obsolete: true
Attachment #8953717 -
Flags: review?(cpeterson)
Assignee | ||
Comment 20•7 years ago
|
||
Comment on attachment 8953759 [details] [diff] [review]
Followup to fix incorrect file path handling in PDFiumEngineShim
Review of attachment 8953759 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM. Thanks for fixing this PDFium case that I missed!
::: widget/windows/PDFiumEngineShim.cpp
@@ +64,5 @@
> {
> RefPtr<PDFiumEngineShim> inst = sPDFiumEngineShim;
> if (!inst) {
> inst = new PDFiumEngineShim();
> + if (!inst->Init(NS_LITERAL_STRING("pdfium.dll"))) {
Why do we use the filename "pdfium.dll" here, but "pdfium_ref_x86.dll" and "pdfium_ref_x64.dll" in the TestEMFConversion.cpp gtest and "pepperpdfium.dll" in the Mortar extension (browser/extensions/mortar/host/pdf/bootstrap.js)?
Attachment #8953759 -
Flags: review?(cpeterson) → review+
Reporter | ||
Comment 21•7 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #20)
> Why do we use the filename "pdfium.dll" here, but "pdfium_ref_x86.dll" and
> "pdfium_ref_x64.dll" in the TestEMFConversion.cpp gtest and
> "pepperpdfium.dll" in the Mortar extension
> (browser/extensions/mortar/host/pdf/bootstrap.js)?
I don't know. I only changed the existing nsCString to NS_LITERAL_STRING.
Comment 22•7 years ago
|
||
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb01e88f0d6f
Followup to fix incorrect file path handling in PDFiumEngineShim. r=cpeterson
Comment 23•7 years ago
|
||
bugherder |
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•