Bug 62015 - Common javascript libraries (e.g. jQuery) could be built-in
Summary: Common javascript libraries (e.g. jQuery) could be built-in
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 07:41 PDT by Nicholas Shanks
Modified: 2022-08-06 14:32 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2011-06-03 07:41:48 PDT
Either by recognising certain URLs such as https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js, JSC could load a bytecode representation of the library instead of loading the script, circumventing all the HTTP requests and JavaScript processing that would normally occur. These would ship with JSC.

And when encountering newer libraries (or perhaps any JS file), instead of caching the JavaScript file, the bytecode generated from it could be cached instead / as well.
Comment 1 Ariya Hidayat 2011-07-06 13:28:32 PDT
Storing external libraries which are not part of the ECMAScript does not really make sense to me.
Comment 2 Ahmad Saleem 2022-08-06 14:32:26 PDT
Integrating JavaScript libraries does reduce need to adhere to standards from ECMAScript or W3C or WHATWG. I am going to mark this as "RESOLVED WONTFIX". Thanks!