Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # GIF tests |
michael@0 | 2 | |
michael@0 | 3 | # tests for bug 519589 |
michael@0 | 4 | == 1bit-255-trans.gif 1bit-255-trans.png |
michael@0 | 5 | == in-colormap-trans.gif in-colormap-trans.png |
michael@0 | 6 | == out-of-colormap-trans.gif out-of-colormap-trans.png |
michael@0 | 7 | |
michael@0 | 8 | # a GIF file that uses the comment extension |
michael@0 | 9 | == comment.gif comment.png |
michael@0 | 10 | |
michael@0 | 11 | # a GIF file with a background smaller than the size of the canvas |
michael@0 | 12 | == small-background-size.gif small-background-size-ref.gif |
michael@0 | 13 | == small-background-size-2.gif small-background-size-2-ref.gif |
michael@0 | 14 | |
michael@0 | 15 | # a transparent gif that disposes previous frames with clear; we must properly |
michael@0 | 16 | # clear each frame to pass. |
michael@0 | 17 | random == delaytest.html?transparent-animation.gif transparent-animation-finalframe.gif # incorrect timing dependence (bug 558678) |
michael@0 | 18 | |
michael@0 | 19 | # test for bug 641198 |
michael@0 | 20 | skip-if(B2G) random-if(Android) == test_bug641198.html animation2a-finalframe.gif # bug 773482 |
michael@0 | 21 | |
michael@0 | 22 | # webcam-simulacrum.mgif is a hand-edited file containing red.gif and blue.gif, |
michael@0 | 23 | # concatenated together with the relevant headers for |
michael@0 | 24 | # multipart/x-mixed-replace. Specifically, with the headers in |
michael@0 | 25 | # webcam-simulacrum.mjpg^headers^, the web browser will get the following: |
michael@0 | 26 | # |
michael@0 | 27 | # HTTP 200 OK |
michael@0 | 28 | # Content-Type: multipart/x-mixed-replace;boundary=BOUNDARYOMG |
michael@0 | 29 | # |
michael@0 | 30 | # --BOUNDARYOMG\r\n |
michael@0 | 31 | # Content-Type: image/gif\r\n |
michael@0 | 32 | # \r\n |
michael@0 | 33 | # <contents of red.gif> (no newline) |
michael@0 | 34 | # --BOUNDARYOMG\r\n |
michael@0 | 35 | # Content-Type: image/gif\r\n |
michael@0 | 36 | # \r\n |
michael@0 | 37 | # <contents of blue.gif> (no newline) |
michael@0 | 38 | # --BOUNDARYOMG--\r\n |
michael@0 | 39 | # |
michael@0 | 40 | # (The boundary is arbitrary, and just has to be defined as something that |
michael@0 | 41 | # won't be in the text of the contents themselves. --$(boundary)\r\n means |
michael@0 | 42 | # "Here is the beginning of a boundary," and --$(boundary)-- means "All done |
michael@0 | 43 | # sending you parts.") |
michael@0 | 44 | skip-if(B2G) HTTP == webcam.html blue.gif # bug 773482 |