Closed
Bug 1333721
Opened 8 years ago
Closed 5 years ago
Convert utility functions in browser_contentSearchUI.js to be async
Categories
(Firefox :: Search, task, P5)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 70
People
(Reporter: nhnt11, Assigned: ruchikag826, Mentored)
Details
Attachments
(1 file, 5 obsolete files)
Many utility functions in this test return either a promise and that is manually resolved or a Task.spawn(). They can easily be converted to ~generator~ async functions to make them much more readable and therefore less prone to timing issues.
Reporter | ||
Updated•6 years ago
|
Status: ASSIGNED → NEW
Reporter | ||
Updated•6 years ago
|
Summary: Convert utility functions in browser_contentSearchUI.js to generators. → Convert utility functions in browser_contentSearchUI.js to be async
Updated•6 years ago
|
Assignee: nhnt11 → nobody
Type: defect → task
Priority: -- → P5
Comment 1•5 years ago
|
||
The functions where we have return (async () {...}())
we should change to simple async functions.
The msg
function I think we need to leave as-is, as I don't see a simple way of making that not need to return a promise.
Looks like promiseMsg
is unused.
Assignee: nobody → ruchikag826
Mentor: standard8
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D40237
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D40238
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D40239
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D40241
Updated•5 years ago
|
Attachment #9082311 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #9082317 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #9082316 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #9082314 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #9082313 -
Attachment is obsolete: true
Assignee | ||
Comment 7•5 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/28bc641c2e2b
Converted utility functions in browser_contentSearchUI.js to async r=Standard8
Comment 9•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•