Closed
Bug 1966237
Opened 1 month ago
Closed 1 month ago
Fix TypeScript issues raised in PlacesQuery.sys.mjs and PlacesUtils.sys.mjs
Categories
(Toolkit :: Places, task, P2)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
140 Branch
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: jteow, Assigned: jteow)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•1 month ago
|
Summary: Fix TypeScript and ESLint issues raised in PlacesQuery.sys.mjs and PlacesUtils.sys.mjs → Fix TypeScript issues raised in PlacesQuery.sys.mjs and PlacesUtils.sys.mjs
Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → jteow
Status: NEW → ASSIGNED
Pushed by jteow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93e2500b2ed3
Fix TypeScript issues raised in PlacesQuery.sys.mjs and PlacesUtils.sys.mjs - r=Standard8
Comment 3•1 month ago
|
||
Backed out for causing mass failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/50d7573913fe8b5b3d8ed2e6d64b25502c1f3539
Flags: needinfo?(jteow)
Assignee | ||
Comment 5•1 month ago
|
||
The Date object being passed to toPRTime
fails instanceof Date
checks. I think it might be because the Javascript realm/context between the call site and the function site is different.
I reverted back to using Moritz's solution, with an additional type check to help Typescript with narrowing.
Flags: needinfo?(jteow)
Pushed by jteow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/851839cae848
Fix TypeScript issues raised in PlacesQuery.sys.mjs and PlacesUtils.sys.mjs - r=Standard8
Comment 7•1 month ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Updated•23 days ago
|
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in
before you can comment on or make changes to this bug.
Description
•