On Tue, May 7, 2013 at 2:00 PM, Sam Tobin-Hochstadt <[email protected]> wrote: > 0. If we have an absolute URL, skip steps 1-3.
How do you define this? We currently do not have this concept really. You could parse and compare if the serialization is equivalent I suppose, but even that would fail to detect certain cases, such as http://test/test\test ... Or http:test which is an absolute URL in theory, but treated identical to "test" if the base URL's scheme is http. > 1. Split the module name on "/", url-encode, and rejoin. > 2. Append ".js" to module name. > 3. Use the URL parser with the base URL to produce an absolute URL. > 4. Pass the absolute URL to the fetch hook. -- http://annevankesteren.nl/ _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

