DOMDocument in 10.10

2014-10-18 Thread Gerriet M. Denkmann
WebFrame *mainFrame = [ webView mainFrame ]; DOMDocument *domDoc = [ mainFrame DOMDocument ]; When I print domDoc, I get with 10.9 something like: DOMHTMLDocument [#document]: 0x105df8400 '' with 1 children DOMHTMLHtmlElement [HTML]: 0x10401c660 '' with 3 children

Re: DOMDocument in 10.10

2014-10-18 Thread Jens Alfke
On Oct 18, 2014, at 5:33 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: Note: the head has only 12 children (the first 10 are identical to 10.9), and there is no body at all. Weird! Are you sure that the page has finished loading by the time you made the call? Maybe your code is

Re: DOMDocument in 10.10

2014-10-18 Thread Gerriet M. Denkmann
On 19 Oct 2014, at 00:52, Jens Alfke j...@mooseyard.com wrote: On Oct 18, 2014, at 5:33 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: Note: the head has only 12 children (the first 10 are identical to 10.9), and there is no body at all. Weird! Are you sure that the page has