Closed Bug 1401382 Opened 7 years ago Closed 7 years ago

TPS should wait for formautofill tests to complete.

Categories

(Firefox :: Sync, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: tcsc, Assigned: tcsc)

Details

Attachments

(1 file)

Reported by eoger in IRC. This isn't the cause of the latest failing TPS test (which seems to be the same as the previous one... :(). I've also fixed this for history, which is marked as async but not awaited (since all the operations in it are synchronous, this isn't a problem yet).
Comment on attachment 8910012 [details]
Bug 1401382 - Make it safe to await inside async TPS handlers

https://reviewboard.mozilla.org/r/181488/#review186804

::: services/sync/tps/extensions/tps/resource/tps.jsm:403
(Diff revision 1)
>        }
>      }
>      Logger.logPass("executing action " + action.toUpperCase() +
>                     " on formdata");
> -  },
> -
> +async   
> +  await async HandleHistory(entries, action) {

I suspect this isn't what you intended?
Attachment #8910012 - Flags: review?(markh)
Comment on attachment 8910012 [details]
Bug 1401382 - Make it safe to await inside async TPS handlers

https://reviewboard.mozilla.org/r/181488/#review186816
Attachment #8910012 - Flags: review?(markh) → review+
Pushed by tchiovoloni@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d37fb0f952b
Make it safe to await inside async TPS handlers r=markh
https://hg.mozilla.org/mozilla-central/rev/1d37fb0f952b
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: