Closed Bug 1983606 Opened 1 year ago Closed 1 year ago

Replace remaining Cu.now() calls with ChromeUtils.now()

Categories

(Firefox :: General, task)

task

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file, 1 obsolete file)

ChromeUtils.now() was implemented in bug 1982887. To avoid possible future confusion, let's remove the old Cu.now() that wasn't available in worker contexts.

Patch generated using this command: rg "Cu.now()" --files-with-matches | grep -v "obj-" | xargs sed -i 's/Cu.now()/ChromeUtils.now()/g'

Summary: Remove Cu.now() ni favor of ChromeUtils.now() → Remove Cu.now() in favor of ChromeUtils.now()
Blocks: 1985100
No longer blocks: 1985100
Component: XPConnect → General
Product: Core → Firefox
Summary: Remove Cu.now() in favor of ChromeUtils.now() → Replace remaining Cu.now() callls with ChromeUtils.now()
Blocks: 1985100

Comment on attachment 9507697 [details]
Bug 1983606 - remove the Cu.now implementation, r=mccr8.

Revision D261475 was moved to bug 1985100. Setting attachment 9507697 [details] to obsolete.

Attachment #9507697 - Attachment is obsolete: true
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/16b346576d40 https://hg.mozilla.org/integration/autoland/rev/d2a6fe1c195d replace Cu.now() calls with ChromeUtils.now() calls, r=Gijs,perftest-reviewers,geckoview-reviewers,devtools-reviewers,sync-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,backup-reviewers,home-newtab-reviewers,urlbar-reviewers,janv,nalexander,skhamis,nchevobbe,timhuang,mconley,sparky.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Summary: Replace remaining Cu.now() callls with ChromeUtils.now() → Replace remaining Cu.now() calls with ChromeUtils.now()
QA Whiteboard: [qa-triage-done-c145/b144]
Blocks: 1994482
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: