Closed Bug 1343701 Opened 7 years ago Closed 7 years ago

stylo: Intermittent view-source-image.html == view-source/view-source-image.html | image comparison, max difference: 4, number of differing pixels: 45000

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox54 --- wontfix
firefox55 --- disabled
firefox56 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell disabled])

The test's background color is white in the reference image and gray in the test image. Not a blocker but something is broken.
Component: Layout → CSS Parsing and Computation
Priority: -- → P4
Summary: Intermittent view-source-image.html == view-source/view-source-image.html | image comparison, max difference: 4, number of differing pixels: 45000 → stylo: Intermittent view-source-image.html == view-source/view-source-image.html | image comparison, max difference: 4, number of differing pixels: 45000
My bug 1376805 patches caused this intermittent to happen more frequently and it got backed out.

The failure open happens in Stylo-vs-Gecko mode.  view-source-image.html has an iframe whose src is set to view-source:file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/view-source/blue-circle-16x16.png and that is meant to load in the same way as setting the src to .../blue-circle-16x16.png directly.  (That's the aim of bug 464339, which introduced this test.)

From logging, it looks like the URL of the document at the time we make the decision to use a Gecko or Servo style backend -- when test fails or passes -- is about:neterror?e=unknownProtocolFound&u=view-source%3Afile%3A///home/worker/workspace/build/tests/reftest/tests/layout/reftests/view-source/blue-circle-16x16.png&c=&f=regular&d=Firefox%20doesn%E2%80%99t%20know%20how%20to%20open%20this%20address%2C%20because%20one%20of%20the%20following%20protocols%20%28view-source%2C%20file%29%20isn%E2%80%99t%20associated%20with%20any%20program%20or%20is%20not%20allowed%20in%20this%20context.  I don't understand why it's that rather than the actual view-source: URL.

But I also don't understand why, when I open view-source-image.html locally, I don't see the blue circle in the iframe and instead just get a blank document.  It works when in a top-level tab, though...
(In reply to Cameron McCormack (:heycam) from comment #5)
> My bug 1376805 patches caused this intermittent to happen more frequently
> and it got backed out.

(Correction: it didn't get backed out.)
Ah, so this test is permafail in non-stylo builds.  I think I'll just mark it as random-if for styloVsGecko and move on.
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fa3ae9cb9cb2
Mark view-source-image.html random in styloVsGecko. r=me
https://hg.mozilla.org/mozilla-central/rev/fa3ae9cb9cb2
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
It's too late for 54. Mark 54 won't fix.
Whiteboard: [stockwell disabled]
You need to log in before you can comment on or make changes to this bug.