Closed Bug 740544 Opened 12 years ago Closed 12 years ago

Show Java update information on plugincheck when there's no referrer

Categories

(Websites :: plugins.mozilla.org, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kev, Assigned: rhelmer)

References

Details

(Whiteboard: r=103606)

Attachments

(2 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #633285 +++

We are planning to do some widespread blocking of older Java versions in bug 739955. We will probably have a number of ways for a user to end up at the plugincheck page after Java is blocked.

The problem is that because the Java Plugin is blocked, plugincheck won't be able to detect the outdated version and therefore can't offer an update path to the end user.

We'd like to display some information about the Java plugin in cases where:
1. there is no referrer to the page (this probably means they clicked on a blocklist infobar to get there)
2. there is a parameter, something like ?java=1

This bug is pretty much identical to the work performed for bug 633285, with the main difference being that we'll be blocking the Java plugin, not Flash.

Fligtar, can you conform this is the best case for this, and not a custom landing/update page we direct users to that is block-specific? Note that plugincheck is localized, and we'd also need help from the l10n teams.
rhelmer is working up a patch, if those that have worked on it before can review, jlongster will land it on trunk.
Assignee: nobody → rhelmer
Attached patch proposed fix (obsolete) — Splinter Review
Here's a quick, untested patch so we can talk about it.

I have a few questions:

1) do we care about showing the blocklist info for both flash and java? right now it's either/or
2) related to #1, if !document.referrer and java=1 and flash=1 are missing from href, this patch is going to show java. Is that ok?
3) should we link to a place to upgrade java? I just stuck in http://java.com/inc/BrowserRedirect1.jsp for now
Attachment #610657 - Flags: review?(ozten.bugs)
(In reply to Kev [:kev] Needham from comment #0)
> Fligtar, can you conform this is the best case for this, and not a custom
> landing/update page we direct users to that is block-specific? Note that
> plugincheck is localized, and we'd also need help from the l10n teams.

We can't change where the "Update Plugins..." link goes to in the infobar, so unfortunately we're stuck with landing on plugincheck.
Actually, fligtar says in #webdev that we never used the flash blocklist alert from bug 633285, so perhaps we should just simplify and just s/flash/java/ ?

If that's ok, points from comment 2 are moot except for if we should link to Java download and if so what the URL should be.
Attachment #610657 - Attachment is obsolete: true
Attachment #610657 - Flags: review?(ozten.bugs)
Attachment #610680 - Flags: review?(gkoberger)
Attachment #610680 - Flags: review?(jlong)
Comment on attachment 610680 [details] [diff] [review]
replace flash blocklist alert with java

I did not run this, but this looks reasonable.

Who can answer the question if we should *replace* the existing Flash warning? If it should show up in addition to it, you'll need to change this. Also, then you'll need to decide which one to go for without a referrer (I suggest, Java, or both).
Attachment #610680 - Flags: review?(jlong) → review+
(In reply to Fred Wenzel [:wenzel] from comment #5)
> Comment on attachment 610680 [details] [diff] [review]
> replace flash blocklist alert with java
> 
> I did not run this, but this looks reasonable.
> 
> Who can answer the question if we should *replace* the existing Flash
> warning? If it should show up in addition to it, you'll need to change this.
> Also, then you'll need to decide which one to go for without a referrer (I
> suggest, Java, or both).

kev and fligtar both say we can replace the existing warning since it was never used.
Landed on trunk in r103606. This should show up on www-dev.allizom shortly.
Depends on: 740628
Attached image screenshot
The dialog is shown when I don't have java installed.
Whiteboard: r=103606
Deployed to http://www.mozilla.org/en-US/plugincheck/

Thanks everybody!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 741592
Component: plugincheck → plugins.mozilla.org
Attachment #610680 - Flags: review?(gkoberger)
Depends on: 790008
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: