Automatic discovery of a JavaScript API
Abstract
An approach to creating a canonical representation of a JavaScript API. Objects associated with the JavaScript API are instantiated, creating entry points for analysis. A list of discovered objects is created based on parsing a document object model associated with the JavaScript API. The objects are instrumented and statically analyzed, creating an infrastructure associated with the JavaScript API. The infrastructure is updated based on analyzing the objects while the interface is being used and the objects are executing. A canonical representation, based on the updated infrastructure, is generated for further operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for creating a canonical representation of a JavaScript Application Programming Interface (API), the method comprising: instantiating a first one or more objects, associated with the JavaScript API, for use as one or more entry points to the JavaScript API; generating a list of the first one or more objects based on recursively parsing a Document Object Model (DOM) associated with the JavaScript API; instrumenting and statically analyzing the first one or more objects for creating an infrastructure associated with the JavaScript API, wherein instrumenting further comprises: attaching
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- "Rhino (JavaScript engine)", Wikipedia; Last modified: Mar. 15, 2015; pp. 1-3, <http://en.wikipedia.org/wiki/Rhino-(JavaScript-engine)>.
- “Rhino (JavaScript engine)”, Wikipedia; Last modified: Mar. 15, 2015; pp. 1-3, <http://en.wikipedia.org/wiki/Rhino—(JavaScript—engine)>.
- Ben-Yair et al., "Automatic Discovery of a Javascript API", U.S. Appl. No. 14/976,514, filed Dec. 21, 2015, 26 pages.
- Ben-Yair et al., "Automatic Discovery of a Javascript API", U.S. Appl. No. 15/153,075, filed May 12, 2016, 2015, 26 pages.
- Ben-Yair, Yoav et al., "Automatic Discovery of a Javascript API", U.S. Appl. No. 15/388,246, filed Dec. 22, 2016, 26 pages.