Open Bug 1392046 Opened 7 years ago Updated 3 months ago

<a> href with javascript behavior differs between modern browsers

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

UNCONFIRMED
Webcompat Priority P2

People

(Reporter: alice0775, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: parity-chrome, parity-edge)

Attachments

(1 file)

Attached file a tag href value.html
<a> href with javascript behavior differs between modern browsers

* Firefox55.02(Nightly57.0a1), IE11:
    string, number, boolean and object of href may navigate to the value

* Edge40.15063.0.0, Chrome62.0.3175.3:
   string of href may navigate to the value.
   however, number, boolean and object of href do not navigate to the value


Reproducible: always

Steps To Reproduce:
1. Open attached html
2. Click links

Expected Results:
all browser should have same behavior
Blocks: 1391751
Anne, what's the expected behaviour here from the spec point of view? 
It seems to me this is with rather low priority as javascript: pseudo protocol is discouraged ... Did I miss something?
Flags: needinfo?(annevk)
This is https://github.com/whatwg/html/issues/1896 I think. Bug 1326162 also seems related (this might even be a duplicate).

javascript: URLs are indeed discouraged, but they're also a source of interoperability issues due to all the subtle behavioral differences. :/
Flags: needinfo?(annevk)
Priority: -- → P3
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-Chrome][parity-Edge]

This is causing problems in the wild as this page of a major parking company in Sweden now no longer works in Firefox:

https://service.apcoa.se/Account/Login/

Clicking "Logga in med APCOA konto" works in Chrome, but not in Firefox.

The vendor is entirely unsympathetic and just replies to bug reports with "Use Chrome".

Webcompat Priority: --- → ?

The webcompat team will attempt outreach for APCOA (dennis), but the issue still exists.
It doesn't seem to have been discussed further on whatwg. (last comment 2018)
https://github.com/whatwg/html/issues/1896

Webcompat Priority: ? → P3
Flags: needinfo?(dschubert)
Severity: normal → S3

I re-pinged them, but I'm not too hopeful about them changing their site.

Flags: needinfo?(dschubert)

Bumping to webcompat-priority to P2 based on a second real-world breakage.

Webcompat Priority: P3 → P2
Blocks: 1835838

If we have multiple confirmed reproductions such as mine at 131350 why is this marked as unconfirmed and unfixed after 7 years?

Flags: needinfo?(sefeng)

(In reply to Derek from comment #9)

why is this marked as unconfirmed and unfixed after 7 years?

Because nobody has built a fix yet.

Flags: needinfo?(sefeng)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: