Code-Review | -1 |
Promise<AITextSessionOptions> defaultGenericSessionOptions();
Add `ontextmodeldownloadprogress` event handler
interface TextModelDownloadProgressEvent : Event {
Use the normal `ProgressEvent`, don't invent a new one.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
attribute long long loaded;
nit: should this be "unsigned long long"?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Where are you planning to add tests?
In the next CL, I'll add a mock implementation of the download progress update event from EchoAIManagerImpl, and test it with WPT.
Promise<AITextSessionOptions> defaultGenericSessionOptions();
Mingyu LeiAdd `ontextmodeldownloadprogress` event handler
Done
Use the normal `ProgressEvent`, don't invent a new one.
Oh I didn't know there is `ProgressEvent`. Done.
nit: should this be "unsigned long long"?
This is not applicable anymore since we use the default ProgressEvent instead.
attribute long long total;
Mingyu Leiditto.
This is not applicable anymore since we use the default ProgressEvent instead.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |