[webkit-help] where/how does Document.write get implemented?

Per Bothner per.bothner at oracle.com
Mon Nov 5 08:17:54 PST 2012

On 11/05/2012 01:50 AM, Julien Chaffraix wrote:
>> ... So where is [Document,write] coming from?
> document.write is only exposed for HTML documents so the binding is
> defined in Source/WebCore/html/HTMLDocument.idl and implemented in
> JSHTMLDocumentCustom.cpp for JavaScriptCore as it is a [Custom]
> binding. The implementation of the write() function is on Document
> though which is probably what confused you.
> Hope it helps,

Thanks - much appreciated!
	--Per Bothner
per.bothner at oracle.com   per at bothner.com   http://per.bothner.com/

More information about the webkit-help mailing list