Invention Grant
- Patent Title: Concurrent parsing and processing of HTML and JAVASCRIPT®
- Patent Title (中): 并行解析和处理HTML和JAVASCRIPT®
-
Application No.: US13106064Application Date: 2011-05-12
-
Publication No.: US08413047B2Publication Date: 2013-04-02
- Inventor: Christopher A. Vick , Bin Wang , Mehrdad Mohammad H Reshadi
- Applicant: Christopher A. Vick , Bin Wang , Mehrdad Mohammad H Reshadi
- Applicant Address: US CA San Diego
- Assignee: QUALCOMM Incorporated
- Current Assignee: QUALCOMM Incorporated
- Current Assignee Address: US CA San Diego
- Agent Nicholas A. Cole
- Main IPC: G06F17/27
- IPC: G06F17/27

Abstract:
The aspects enable a processor to concurrently execute markup language code (e.g., HTML) having embedded scripting language code (e.g., JAVASCRIPT®) during a page load operation by a browser. A markup language parser parses markup language code until embedded scripting language code is encountered. The segment of embedded scripting language code is extracted for execution by a scripting language engine which proceeds concurrently with speculative parsing of the markup language code. Markup language code generated by execution of scripting language code is evaluated to determine if it is well formed, and a partial rollback of the markup language parse and re-parsing of portions of the markup language code is accomplished if not. Concurrent parsing of markup language code and execution of scripting language code, with partial roll back of the parsing process when necessary, continues until all markup language code has been parsed and all scripting language code has been executed.
Public/Granted literature
- US20120290924A1 CONCURRENT PARSING AND PROCESSING OF HTML AND JAVASCRIPT® Public/Granted day:2012-11-15
Information query