test when the document is an iframe srcdoc
wait for the document to load to make the assertions on its baseURI
reorganize code because of blink bug so the test doesn't timeout
reorganize test
Merge pull request #749 from deniak/document-base-url-infra

test when the document is an iframe srcdoc