/html/syntax/parsing not working?

Hi,

With support from Robin, a few of us in Japan have started looking into complementing Ruby parser tests, and I’m trying to setup the environments to work on.

One thing I still can’t figure out is that the pages in /html/syntax/parsing are all failing, probably due to cross-origin error. For instance, visiting the tests19[1] gives the following error on Chrome:

Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://w3c-test.org" from accessing a cross-origin frame.(stack: Error: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://w3c-test.org" from accessing a cross-origin frame. at Object.<anonymous> (http://w3c-test.org/html/syntax/parsing/test.js:162:59) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1159:25) at HTMLIFrameElement.iframe.onload (http://w3c-test.org/html/syntax/parsing/test.js:160:9))

or slightly different message on Safari:

null' is not an object (evaluating 'element.normalize')(stack: test_serializer@http://w3c-test.org/html/syntax/parsing/test.js:31:10 http://w3c-test.org/html/syntax/parsing/test.js:162:52 step@http://w3c-test.org/resources/testharness.js:1159:30 onload@http://w3c-test.org/html/syntax/parsing/test.js:160:13)

The same occurs when I run ‘python serve.py’ on my localhost. Could someone please advise what I’m missing?

[1] http://w3c-test.org/html/syntax/parsing/html5lib_tests19.html

/koji

Received on Wednesday, 19 March 2014 08:46:21 UTC