Processing user input events in a web browser
AssigneeBlackBerry Limited
InventorsAdam Chester Treat, Eli Joshua Fidler, Karl Arvid Nilsson, David Francis Tapuska, Genevieve Elizabeth Mak
Life of this patent
Estimating the term…
Loading patent…
AssigneeBlackBerry Limited
InventorsAdam Chester Treat, Eli Joshua Fidler, Karl Arvid Nilsson, David Francis Tapuska, Genevieve Elizabeth Mak
Estimating the term…
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.
A method of processing user events on a plurality of threads, the method comprising:
An electronic device comprising:
A non-transitory computer readable storage medium comprising processor-executable instructions which, when executed, configure a processor to:
Dependencies are inferred from the claim text.