Re: [custom-elements-tests] Tests for callback 'created' (#609)

Let's consider how this test can be implemented using testInIFrame.
First iframe is created automatically by testInIFrame function.
Second iframe have to be created in the onload event handler of first frame.
The test checks must be performed in the onload event handler for the second frame.
This event handler must be wrapped by testInstance.step_func().
However the testInstance is not accessible in tests using testInIFrame.
So there is a choice either make the current test a little bit more complex 
or modify testInIFrame and all tests that are using it.
I have chosen the first option.  

View on GitHub: https://github.com/w3c/web-platform-tests/pull/609#discussion_r11108228

Received on Monday, 31 March 2014 09:11:50 UTC