Filed by: tomcat [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=36979018&repo=mozilla-inbound https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-win32-debug/1475561760/mozilla-inbound_win7_vm_gfx-debug_test-reftest-bm140-tests1-windows-build135.txt.gz https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-win32-debug/1475561760/mozilla-inbound_win7_vm_gfx-debug_test-reftest-bm140-tests1-windows-build135.txt.gz&only_show_unexpected=1
Likely regression from https://hg.mozilla.org/mozilla-central/rev/2c3aadf10c99 -- can you have a look, :stone?
Assignee: nobody → sshih
Checked current implementation and found that HTMLImageElement in some cases does not delay document to fire load event until the image is loaded. We need to fix this behavior to follow spec and fix this intermittent failure. The video poster behavior is defined in  step5  http://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-video-poster
ni myself for tracking.
I wrote a test script, http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4573, and it looks like image element do delay the document load event. So I am guessing this intermittent failure is caused by other reason.
(In reply to Edgar Chen [:edgar][:echen] (PTO 10/14~10/17) from comment #9) > I wrote a test script, > http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4573, and it > looks like image element do delay the document load event. So I am guessing > this intermittent failure is caused by other reason. Thanks for your helps to clarify it.
Had some discussions with edgar and found the intermittent may be caused by the timing of change video poster and compare results. Now we can't change poster when video onload because we don't fire load event on video to follow spec. This patch change video poster right after video element. When video poster is changed and trigger loading image, it should block document onload event so we can trigger comparison at body onload. Had tried in  and no video poster related intermittent failures. Also had tried in  w/o this patch and there are some poster related intermittent failures.  https://treeherder.mozilla.org/#/jobs?repo=try&revision=b10a23e87aa23b3e446bffd8a97da4e2c70ad749  https://treeherder.mozilla.org/#/jobs?repo=try&revision=0bdcbc158ffda7efab09bf14343e341d9ae3f076&selectedJob=29201506
Updated the patch summary.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d583050cc25b Fix intermittent poster-7.html reftest failed. r=smaug.
has problems uplifting to aurora merging layout/reftests/webm-video/poster-7.html warning: conflicts while merging layout/reftests/ogg-video/poster-4.html! (edit, then use 'hg resolve --mark') warning: conflicts while merging layout/reftests/ogg-video/poster-7.html! (edit, then use 'hg resolve --mark') warning: conflicts while merging layout/reftests/webm-video/poster-4.html! (edit, then use 'hg resolve --mark') warning: conflicts while merging layout/reftests/webm-video/poster-7.html! (edit, then use 'hg resolve --mark') abort: unresolved conflicts, can't continue (use 'hg resolve' and 'hg graft --continue')
You need to log in before you can comment on or make changes to this bug.