can't reserve a seat on a JAL flight
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Webcompat Priority:P1, firefox-esr102 fixed, firefox112 wontfix, firefox113 fixed, firefox114 fixed)
Webcompat Priority | P1 |
People
(Reporter: alice0775, Assigned: arai)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(1 file)
255.56 KB,
image/png
|
Details |
STR:
- Open https://www.jal.co.jp/jp/en/
- Select Departure/Destination, One-way, Date, Class
- Click on [Search flight]
- If not reproduced, repeat steps from 1.
Actual Results:
An error is shown.
Reporter | ||
Comment 1•2 years ago
|
||
Comment 3•2 years ago
|
||
I cannot reproduce the issue with the same flight detail as your screenshot. Could you verify if the problem is fixed? Thanks.
Reporter | ||
Comment 4•2 years ago
|
||
I can still reproduce this on Nightly114.0a1 Windows10. But not on Chrome 112.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
Web console show:
Some cookies are misusing the recommended “SameSite“ attribute 58
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. upsell
unreachable code after return statement xrRjE:1:198296
Use of the orientation sensor is deprecated. xrRjE:1:160240
Use of the motion sensor is deprecated. xrRjE:1:160326
downloadable font: Layout: tags aren't arranged alphabetically. (font-family: "NotoSans" style:normal weight:400 stretch:100 src index:0) source: https://booking.jal.co.jp/statics/applications/dom-bkg/dist/1.0.0-release1-8-32401/NotoSans.9bee85e7e67b0b47.ttf
Cookie “_uetsid” has been rejected for invalid domain. bat.js:1:32105
Cookie “_uetvid” has been rejected for invalid domain. bat.js:1:32105
The script from “https://bat.bing.com/p/action/187019728.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type. upsell
Request to access cookie or storage on “<URL>” was blocked because it came from a tracker and content blocking is enabled. 5
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. xrRjE:1:65291
Cookie “_tt_enable_cookie” has been rejected for invalid domain. main.MTZiZDQ3NTA5MA.js:4:118814
Cookie “_tt_enable_cookie” has been rejected for invalid domain. main.MTZiZDQ3NTA5MA.js:4:118666
Cookie “_ttp” has been rejected for invalid domain. main.MTZiZDQ3NTA5MA.js:4:118666
Cookie “_ttp” has been rejected for invalid domain. main.MTZiZDQ3NTA5MA.js:4:118666
Request to access cookie or storage on “https://ct.pinterest.com/ct.html” was blocked because it came from a tracker and content blocking is enabled.
Dictionaries tax missing from DAPI output. 180 main.bad132070cd69a89.js:1:206853
Pinterest Tag Error: 'load' command was called multiple times. Previously for tag id '2613548791643', now for tag id '2613548791643'. main.da2a1c8f.js:1:44632
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. launch-EN22fe0d3b44164fbbbddf8a9846f135cb.min.js:2:21282
Request to access cookie or storage on “<URL>” was blocked because it came from a tracker and content blocking is enabled. 2
This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. dest5.html
Cookie “_ga_61WF43F8Q0” has been rejected for invalid domain. js:144:1059
Cookie “_ga_61WF43F8Q0” has been rejected for invalid domain. js:144:1059
Cookie “_ga” has been rejected for invalid domain. js:144:1059
Cookie “_ga_M78X2NBYF0” has been rejected for invalid domain. js:144:1059
Cookie “_ga_M78X2NBYF0” has been rejected for invalid domain. js:144:1059
Cookie “_ga” has been rejected for invalid domain. js:144:1059
Uncaught TypeError: dataLayer is undefined
loadScript https://www.securitytrfx.com/js/jl1.js:44
<anonymous> https://www.securitytrfx.com/js/jl1.js:66
<anonymous> https://www.securitytrfx.com/js/jl1.js:67
jl1.js:44:32
Dictionaries tax missing from DAPI output. 26 main.bad132070cd69a89.js:1:58342
Reporter | ||
Comment 6•2 years ago
|
||
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e93ecdda786c4e168323b099ec38c5f098bc1911&tochange=fcdbd2fce46323f30ca026bbb14bd32e1f6538b2
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 7•2 years ago
|
||
Seems not related ETP
Updated•2 years ago
|
Comment 8•2 years ago
|
||
(In reply to Tim Huang[:timhuang] from comment #3)
I cannot reproduce the issue with the same flight detail as your screenshot. Could you verify if the problem is fixed? Thanks.
This problem only occurs after the flight date of 2023-04-12.
(So this always occurs now.)
Comment 9•2 years ago
|
||
Setting browser.contentblocking.database.enabled
to false
fixes the issue.
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Moving to Anti-Tracking for triage
Updated•2 years ago
|
Comment 11•2 years ago
|
||
I hope this issue should be fixed with a high priority as the site is a flagship airline in Japan.
Comment 12•2 years ago
|
||
I can't reproduce this with 114.0a1 (2023-04-18) (64-bit) on Ubuntu. The form works fine.
Comment 13•2 years ago
|
||
Tim was able to reproduce. However it still reproduces with ETP toggled off for both sites and browser.contentblocking.database.enabled
set to false
. It's very unlikely to be anti-tracking related. Moving to webcompat.
Comment 14•2 years ago
•
|
||
The error is triggered by this code in the throwDepError
call:
this.subscriptions.push(
this.airBoundEntries$.pipe(
(0, Y.M) (this.airSearchCriteria$, this.currentEntryIndex$),
(0, P.h) (
([f,
k,
Z]) =>0 === Z &&
f &&
f.length > 0 &&
f[0].airBoundGroups &&
f[0].airBoundGroups.length > 0 &&
null !== k
),
(0, li.x) (
(f, k) =>f[1].id === k[1].id &&
f[1].bounds[0].departureDateTime === k[1].bounds[0].departureDateTime
)
).subscribe(([f,
k]) =>{
this.throwDepError(k)
})
),
Where k
is an object with my selection:
bounds: [{
departureDateTime: date: Date Thu Apr 27 2023 00:00:00 GMT-0400 (Eastern Daylight Saving Time),
destinationLocationCode: "HND",
originLocationCode: "ITM",
}],
cabin: "ecoBusiness",
commercialFareFamilies: [ "NONE" ],
id: "8733097b-87e6-4663-8e8f-1aba92ac03f8",
travelers: [ "1ADT", "0CHD", "0INF" ],
type: "[AirSearchCriteria] add and select",
Chrome gets to the same code:
throwDepError(t) {
if (this.fareConditions(),
t && t.bounds) {
const r = Object(t.bounds[0].departureDateTime)
, n = t.bounds[1] ? Object(t.bounds[1].departureDateTime) : ""
, o = new g.uU("en-Ja").transform(r.date, "dd-MMM-yyyy")
, s = new g.uU("en-Ja").transform(n.date, "dd-MMM-yyyy")
, l = new Date(o).getTime()
, d = new Date(s).getTime()
, p = new Date(this.configStore && this.configStore.selectedDepartureDate ? this.configStore.selectedDepartureDate : this.localConfig.selectedDepartureDate).getTime();
this.departureSelectionError = l < p || d < p && 0 !== d
}
}
But l
and p
end up being negative values in Firefox, because they are formatting o
and s
to a string like "27-Apr-2023"
And of course, in Firefox, new Date("27-Apr-2023")
gives a date with the year -2023
.
Their code therefore ends up thinking the date is wrong, and shows the errors.
So this is bug 1515318.
Comment 15•2 years ago
•
|
||
I have verified that this issue was fixed in bug 1439800 on Nightly.
Beta/Release/ESR uplift approval is requested.
Comment 16•2 years ago
•
|
||
(In reply to Takanori MATSUURA from comment #15)
Beta/Release/ESR uplift approval is requested.
Uplift to Beta/ESR has been approved.
This issue will be fixed in 113 and 102.11 ESR scheduled for release on 2023-05-09.
Updated•2 years ago
|
Description
•