Legal claims defining the scope of protection, as filed with the USPTO.
1. A method, comprising: in response to a user event received for a target element in a webpage, the webpage being received and currently rendered for display by a device, the device being provided with a browser engine configured with a default handling action for the received user event, concurrently dispatching the user event for processing in a main thread and a secondary thread; processing the user event in the main thread using an event handler associated with said target element and received with the webpage by the device; processing the user event in the secondary thread using the default handling action at least partially concurrently with the processing of the user event in the main thread; while the processing of the user event in the main thread and the processing of the user event in the secondary thread are executing concurrently, the main thread determining that the default handling action is to be prevented for the user event; the main thread notifying the secondary thread to terminate; and updating the current rendering of the webpage according to the processing completed by that first one of the main thread.
2. The method of claim 1 , wherein said rendering is updated according to the processing completed by the secondary thread, the method further comprising: displaying said updated current rendering of the webpage; upon completion of said processing of the user event by the main thread, the main thread updating said current rendering of said webpage for display; and displaying said webpage according to the processing completed by the main thread.
3. The method of claim 1 , wherein said processing of the user event by the secondary thread commences before said processing of the user event by the main thread.
4. The method of claim 1 , wherein said processing of the user event by the secondary thread is delayed by a predetermined period.
5. The method of claim 1 , further comprising displaying said current rendering of the webpage.
6. The method of claim 1 , wherein said user event is either a mouse event or a touch event.
7. The method of claim 1 , wherein said event handler associated with said target element is assigned to said target element.
8. The method of claim 1 , wherein said event handler associated with said target element is assigned to an ancestor of said target element.
9. The method of claim 1 , wherein the event handler comprises a JavaScript script provided for said webpage.
10. The method of claim 1 , wherein the default handling action comprises either one of a scrolling action and a zoom action.
11. The method of claim 1 , wherein the event handler is comprised in the webpage as received by the device.
12. The method of claim 1 , wherein the event handler is referenced in a header of the webpage and retrieved by the device separately from the webpage.
13. The method of claim 1 , wherein the event handler comprises an instruction to pre-empt execution of the default handling action, the method further comprising the main thread notifying the secondary thread to terminate, such that the current rendering of the webpage is updated according to the processing completed by the main thread.
14. A device, including: a display; at least one communication subsystem; a browser engine; at least one processor in communication with the display and the at least one communication subsystem, the at least one processor being configured to execute the browser engine and to enable: in response to a user event received for a target element in a webpage, the webpage being received using the at least one communication subsystem and currently rendered for display by the computing device, the browser engine being configured with a default handling action for the received user event, concurrently dispatching the user event for processing in a main thread and a secondary thread; processing the user event in the main thread using an event handler associated with said target element and received with the webpage by the computing device; processing the user event in the secondary thread using the default handling action at least partially concurrently with the processing of the user event in the main thread; while the processing of the user event in the main thread and the processing of the user event in the secondary thread are executing concurrently, the main thread determining that the default handling action is to be prevented for the user event; the main thread notifying the secondary thread to terminate; and updating the current rendering of the webpage according to the processing completed by that first one of the main thread.
15. The computing device of claim 14 , wherein the event handler is comprised in the webpage as received by the computing device.
16. The computing device of claim 14 , wherein the event handler is referenced in a header of the webpage and retrieved by the computing device separately from the webpage.
17. The computing device of claim 14 , wherein the event handler comprises an instruction to pre-empt execution of the default handling action.
Unknown
November 19, 2013
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.