Remotable contracts for the web
Abstract
A “Remotable Contract Implementation”, as described herein, provides various techniques for implementing static type checking of remoted contracts across iframes using scripts such as TypeScript, JavaScript, AJAX, etc., thereby enabling structured data and rich patterns of control flow across iframe boundaries. The Remotable Contract Implementation enables the static type-checking over the limited browser postMessage channel of communication across iframes, by generating statically type-checked proxies at runtime based on dynamic reflection, and allowing for full fidelity of JavaScript control flow interactions (e.g. methods, events, asynchronous communications, etc.) over that channel. Further, in various embodiments, the Remotable Contract Implementation provides various methods that can be used to produce useful application context for otherwise isolated applications by providing access to particular browser resources or information that would otherwise be unavailable over the postMessage communication channel using conventional scripting techniques.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented process for communicating executable scripts between iframe boundaries, comprising: using a computer to perform process actions for: instantiating a browser application hosting at least two iframes and loading separate scripts containing structured control flow of a scripting language into two or more of the iframes; automatically transforming at least a portion of the scripts within one or more of the iframes to cause the transformed scripts within those iframes to generate one or more annotated serialized text messages representing corresponding structured control flow
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Cross domain frame communication without location polling", Retrieved at <<http://ajaxian.com/archives/cross-domain-iframe-communication-without-location-polling>>, Aug. 24, 2009, pp. 4.
- "Cross domain frame communication without location polling", Retrieved at >, Aug. 24, 2009, pp. 4.
- "Cross-Domain Communication with IFrames", Retrieved at <<http://softwareas.com/cross-domain-communication-with-iframes>>, May 6, 2011, pp. 9.
- "Cross-Domain Communication with IFrames", Retrieved at >, May 6, 2011, pp. 9.
- "Javascript Remoting Dangers", Retrieved at <<http://www.gnucitizen.org/blog/javascript-remoting-dangers/>>, Jan. 30, 2007, pp. 5.