Processing user input events in a web browser

A method and computing device are provided for processing user events received via a user interface, such as a touchscreen, in multiple threads. When a user event is received for a target element in a webpage, the user event is dispatched to both a main browser thread and a secondary thread. The sec...

Full description

Saved in:
Bibliographic Details
Main Authors FIDLER ELI JOSHUA, TREAT ADAM CHESTER, TAPUSKA DAVID FRANCIS, NILSSON KARL ARVID, MAK GENEVIEVE ELIZABETH
Format Patent
LanguageEnglish
Published 19.11.2013
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method and computing device are provided for processing user events received via a user interface, such as a touchscreen, in multiple threads. When a user event is received for a target element in a webpage, the user event is dispatched to both a main browser thread and a secondary thread. The secondary thread processes user events in accordance with established default actions defined within the browser, while the main thread processes the user events in accordance with any event handlers defined for that target element. The main thread processing may be delayed by other interleaved task, and the secondary thread may be given priority over the main thread. When the secondary thread completes processing, an updated webpage is displayed. When the main thread subsequently completes processing, its updated rendering of the webpage is displayed. The secondary thread thus provides an early user interface response to the user event.
Bibliography:Application Number: US20110985338