Closed
Bug 1362587
Opened 9 years ago
Closed 9 years ago
Prevent triggering plugin infobar (workaround bug 1319105)
Categories
(bugzilla.mozilla.org :: User Interface, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: emceeaich, Assigned: dylan)
References
Details
Attachments
(1 file)
|
3.25 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
We have pure JS copy to clipboard in all supported browsers.
We know from bug 1319105 that referring to `navigator.plugins["Shockwave Flash"]` triggers the "permission to run Flash" door hanger in 55 nightly.
Do we need this code at all to support the copy summary button in our list of supported browsers.
If not, can we just get rid of it?
If we can't get rid of it can we replace it with a library such as clipboard.js that doesn't fall back to Flash (and won't trigger the doorhanger.)
| Assignee | ||
Comment 1•9 years ago
|
||
We're not removing harmless, working code because firefox 55 decides to have a panic attack about accessing a hash key.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Summary: Remove Zero Clipboard from show_bug.cgi → Work around for bug 1319105
| Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 2•9 years ago
|
||
To adopt progressive enhancement, we could simply hide the button when the pure JS clipboard functionality is not supported in the user's browser.
| Reporter | ||
Comment 3•9 years ago
|
||
+1
| Assignee | ||
Comment 4•9 years ago
|
||
Assignee: nobody → dylan
Attachment #8865086 -
Flags: review?(glob)
Summary: Work around for bug 1319105 → Prevent triggering plugin infobar (workaround bug 1319105)
Comment on attachment 8865086 [details] [diff] [review]
1319105_1.patch
Review of attachment 8865086 [details] [diff] [review]:
-----------------------------------------------------------------
r=glob lgtm.
i'm also ok with dropping flash completely; iirc at the time it was added support for unpreffed execCommand('copy') was new.
Attachment #8865086 -
Flags: review?(glob) → review+
Comment 6•9 years ago
|
||
Indeed, if our recently defined tier-1 set of browsers supports pure-JS clipboard copying, I would also advocate for removing the Flash code.
(In reply to Mark Côté [:mcote] from comment #6)
> Indeed, if our recently defined tier-1 set of browsers supports pure-JS
> clipboard copying, I would also advocate for removing the Flash code.
copy is supported by firefox 41, chrome 43, edge, ie 9, opera 29, and safari 10.
| Assignee | ||
Comment 8•9 years ago
|
||
To git@github.com:mozilla-bteam/bmo.git
3a7f342..89e44ac master -> master
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•