Commit f455a2f8 authored by pmeenan@chromium.org's avatar pmeenan@chromium.org

Eliminated test flakiness for script-priorities

The async scripts execute in non-deterministic order so I removed their
debug output.  The only thing we really care about testing in the
script-priorities layout test is the request priority which is
determined and logged deterministically at parse time (and still
captured).

BUG=413604

Review URL: https://codereview.chromium.org/555463006

git-svn-id: svn://svn.chromium.org/blink/trunk@181919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 766eaaf8
main frame - didStartProvisionalLoadForFrame main frame - didStartProvisionalLoadForFrame
main frame - didCommitLoadForFrame main frame - didCommitLoadForFrame
http://127.0.0.1:8000/js-test-resources/js-test.js has priority Medium http://127.0.0.1:8000/js-test-resources/js-test.js has priority Medium
http://127.0.0.1:8000/misc/resources/defer-script.js has priority Low http://127.0.0.1:8000/loading/resources/defer.js has priority Low
http://127.0.0.1:8000/misc/resources/async-script.js has priority Low http://127.0.0.1:8000/loading/resources/async.js has priority Low
http://127.0.0.1:8000/loading/resources/head.js has priority Medium http://127.0.0.1:8000/loading/resources/head.js has priority Medium
http://127.0.0.1:8000/loading/resources/body.js has priority Medium http://127.0.0.1:8000/loading/resources/body.js has priority Medium
http://127.0.0.1:8000/loading/resources/document-write.js has priority Medium http://127.0.0.1:8000/loading/resources/document-write.js has priority Medium
...@@ -12,13 +12,9 @@ main frame - didFinishDocumentLoadForFrame ...@@ -12,13 +12,9 @@ main frame - didFinishDocumentLoadForFrame
main frame - didHandleOnloadEventsForFrame main frame - didHandleOnloadEventsForFrame
main frame - didFinishLoadForFrame main frame - didFinishLoadForFrame
head head
async
document.write document.write
body body
defer
PASS successfullyParsed is true PASS successfullyParsed is true
TEST COMPLETE TEST COMPLETE
injected
injected (async)
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
} }
</script> </script>
<script src="/js-test-resources/js-test.js"></script> <script src="/js-test-resources/js-test.js"></script>
<script src="../misc/resources/defer-script.js" defer></script> <script src="resources/defer.js" defer></script>
<script src="../misc/resources/async-script.js" async></script> <script src="resources/async.js" async></script>
<script src="resources/head.js"></script> <script src="resources/head.js"></script>
</head> </head>
<body> <body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment