Open Bug 1595621 Opened 5 years ago Updated 2 years ago

webNavigation.TransitionQualifier is empty instead of "client_redirect"

Categories

(WebExtensions :: Request Handling, defect, P3)

defect

Tracking

(firefox70 affected, firefox71 affected, firefox72 affected)

Tracking Status
firefox70 --- affected
firefox71 --- affected
firefox72 --- affected

People

(Reporter: kernp25, Unassigned)

References

Details

Attachments

(1 file)

725 bytes, application/x-zip-compressed
Details
Attached file manifest.zip
  1. Install test add-on
  2. Open Solicitud_beca_Toyota_2019_2020.doc

Actual results:
transitionQualifiers is empty for https://view.officeapps.live.com/op/errorpage.htm?llcc=de-DE

Expected results:
transitionQualifiers should have "client_redirect" for https://view.officeapps.live.com/op/errorpage.htm?llcc=de-DE

In Google Chrome it works as expected:
target URL: https://view.officeapps.live.com/op/errorpage.htm?llcc=en-US
transition type: link
transition qualifiers: client_redirect

Flags: needinfo?(hani.yacoub)
See Also: → 1595610

Hello,

I have managed to reproduce the issue based on the provided STR on the latest Nightly (72.0a1/20191113215041), Beta (71.0b9/20191111170815) and Release (70.0.1/20191030021342) under Windows 10 Pro 64-bit and MacOS Catalina 10.15.

The transitionQualifiers is indeed empty after loading the link from Step 2.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(hani.yacoub)

This is a known limitation of the webNavigation.TransitionQualified on Firefox, and so it isn't a regression as it is a limitation documented since the original implementation landed in 48.

This limitation is mentioned in the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/TransitionQualifier, it becomes visible by expanding in the table the notes related to the Firefox entry:

'server_redirect' is limited to top-level frames and 'client_redirect' is not supplied when redirections are created by JavaScript.

(which means that we currently set 'client_redirect' when a page is refreshed "refresh" pragma in the page's meta tag, but not when the page is being redirected from javascript code running in the page).

Priority: -- → P3
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: