Closed Bug 1954136 Opened 3 months ago Closed 2 months ago

Fix TypeScript issues raised in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: jteow, Assigned: jteow)

References

Details

Attachments

(1 file)

This is mostly an isolated and easy fix but getBookmarksTree returns a complex Data Structure that should be defined somewhere (probably PlacesUtils) first.

Depends on: 1953970
Summary: Fix TypeScript issues raised in PlacesBackups.sys.mjs → Fix TypeScript issues raised in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs

There is still an issue where nsINavHistoryService.TransitionType is not recognized as a type.

Assignee: nobody → jteow
Status: NEW → ASSIGNED
Attachment #9480635 - Attachment description: Bug 1954136 - Fix Typescript and JSDoc issues in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs - r?standard8! → Bug 1954136 - Fix Typescript and JSDoc issues in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs and regenerate lib.gecko.xpcom - r?standard8!
Attachment #9480635 - Attachment description: Bug 1954136 - Fix Typescript and JSDoc issues in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs and regenerate lib.gecko.xpcom - r?standard8! → Bug 1954136 - Fix Typescript and JSDoc issues in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs - r?standard8!
Pushed by jteow@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5785913a71c0 Fix Typescript and JSDoc issues in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs - r=Standard8

Backed out for causing xpcshell failures @ test_history_engine.js

Flags: needinfo?(jteow)

The test revealed the fact that one of the callers was passing a non-Date object to a helper function, which worked previously because of type coercion. I've re-submitted the patch for approval from the sync team.

Flags: needinfo?(jteow)
Pushed by jteow@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6827920f38b Fix Typescript and JSDoc issues in History.sys.mjs, PlacesBackups.sys.mjs, and PlacesSyncUtils.sys.mjs - r=Standard8,sync-reviewers,skhamis
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: