Closed Bug 689425 Opened 15 years ago Closed 7 years ago

alert window is rendered differently in Fennec than Firefox

Categories

(Firefox for Android Graveyard :: General, enhancement)

Firefox 6
ARM
Android
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hosang, Unassigned)

Details

Attachments

(3 files)

Attached image Alert window in Fennec —
The way layout of alert windows is inconsistent between Firefox 6 and Fennec 6. In Fennec, above the alert it say "the page at <url> says:", where this text doesn't exist in Firefox. I've included a test html file that has the alert that I tried in both Fennec for window, Firefox on windows and Firefox(fennec) app on Android. The alert was rendered similarly on Fennec for both the windows version and android version. Is this expected behavior, and if so what was the reasoning behind having this difference between two platforms?
Attached image Alert window in Firefox —
Attachment #562642 - Attachment mime type: text/plain → text/html
the page at <url> part is necessary to indicate where the alert is coming from. In Fennec, the url bar is often not visible.
is there an option to hide it then or is it hardwired to always show to prevent spoofing?
Why would you want to have an option to hide it?
because my Japanese client uses both firefox on PCs and android phones to access their intranet site and insists that everything be exactly the same. They have actually already complained about this, hence why I created this bug.
I don't think it's reasonable to expect such a thing, to be honest.
I totally agree with you Martijn. However, Japanese companies are significantly more anal about these little things than American companies are in my experience.
cc'ing dolske cause he probably knows about this. In current Firefox, dialogs sent from a web page are tab modal and designed to appear like they came from the web page. In Fennec they are not. Our dialogs are (currently) basically the same, whether they come from us or the webpage. As far as I know, this title is really the only way the user can tell the difference in Fennec. So, as far as I know (and I'm not an expert in this), this is primarily a spoofing protection measure right now. I thought there was a bug on bringing tab modal dialogs to Fennec, but can't find it. If that happens (so that the user knows where the dialog is coming from), and they are given an vastly different appearance than our default dialogs (so that the user can easily spot the difference), I think we could look at this.
Just to add more info on why this became an issue. A large proportion of our user base got startled when the dialogue box appeared with "from this page". The reason having been explained to me was that because it had that extra part about the page in it, it appeared to the users that this was a system error from fennec/android as opposed to a dialogue box invoked by our system which they are accustomed to seeing in Firefox(PC) which doesn't have the "from this page" part.
My opinion is that perhaps we should look into an option of displaying the web page for aesthetics. cc'ing Madhava and iBarlow
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: