Re: [whatwg] script element onerror event

2011-05-29 Thread John J. Barton
e|src <http://www.whatwg.org/specs/web-apps/current-work/#attr-script-src>|attribute's value is the empty string or if it could not be resolved,..." Does this mean the error handler will be called in the case of 4XX, 5XX, and syntax errors? jjb Best regards Mike Wilson

[whatwg] script element onerror event

2011-05-28 Thread John J. Barton
To allow optional JavaScript download, some widely used JavaScript libraries, such as jQuery and requireJS, use script elements added to the document dynamically by JavaScript. (Of course this feature is also used by applications directly as well). For normal deployment this approach works we

Re: [whatwg]

2010-08-18 Thread John J. Barton
On 8/17/2010 11:52 PM, Jonas Sicking wrote: On Tue, Aug 17, 2010 at 9:45 PM, John J. Barton wrote: (though I'm not sure which environment is compiled in other than the global object, which you can't replace anyway, at least not for now). Well if I intercept the event and change

Re: [whatwg]

2010-08-17 Thread John J. Barton
On 8/17/2010 6:43 PM, Jonas Sicking wrote: ... [1] http://www.whatwg.org/specs/web-apps/current-work/#executing-a-script-block Ok so I see where "executing a script block" becomes "executing ".

Re: [whatwg]

Jonas Sicking wrote: On Tue, Aug 17, 2010 at 2:17 PM, John J Barton wrote: whatwg-requ...@lists.whatwg.org wrote: Date: Mon, 16 Aug 2010 21:15:35 -0700 From: Jonas Sicking To: WHAT Working Group Subject: [whatwg] features Message-ID:        <a rel="

Re: [whatwg]

whatwg-requ...@lists.whatwg.org wrote: Date: Mon, 16 Aug 2010 21:15:35 -0700 From: Jonas Sicking To: WHAT Working Group Subject: [whatwg] features Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi All, I'd like

Re: [whatwg] Renaming Interface Window

Ian Hickson wrote: On Mon, 14 Dec 2009, John J Barton wrote: I mean that it is a Web IDL interface exposed in Web browsers as the interface object that the global object has in its prototype chain. By "the global object", do you mean "

Re: [whatwg] Renaming Interface Window

Ian Hickson wrote: On Mon, 14 Dec 2009, John J Barton wrote: Ian Hickson wrote: ... As far as I can tell that would be wrong. The Window object is a DOM object, it's not the same as the browsing context, which is a UA construct. Can you he

Re: [whatwg] Renaming Interface Window

Ian Hickson wrote: ... As far as I can tell that would be wrong. The Window object is a DOM object, it's not the same as the browsing context, which is a UA construct. Can you help me understand this a bit more? I guess by "The Window object is a DOM object" you mean "Window() is a global

[whatwg] Renaming Interface Window

The HTML5 spec uses the heavily overloaded word "Window" for an interface: http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#the-window-object This overloading causes confusion and coding errors. In a new specification, selecting a new made up word for this important in