зеркало из https://github.com/mozilla/pjs.git
Bug 547143 - Basic test.
This commit is contained in:
Родитель
194fb77a2a
Коммит
13567a63ed
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 3.8 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 3.8 KiB |
|
@ -24,3 +24,27 @@ fails-if(MOZ_WIDGET_TOOLKIT=="windows") == jpg-gray.jpg jpg-gray.png
|
|||
fails-if(MOZ_WIDGET_TOOLKIT=="windows") == jpg-cmyk-1.jpg jpg-cmyk-1.png
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="windows") == jpg-cmyk-2.jpg jpg-cmyk-2.png
|
||||
== jpg-srgb-icc.jpg jpg-srgb-icc.png
|
||||
|
||||
# webcam-simulacrum.mjpg is a hand-edited file containing red.jpg and blue.jpg,
|
||||
# concatenated together with the relevant headers for
|
||||
# multipart/x-mixed-replace. Specifically, with the headers in
|
||||
# webcam-simulacrum.mjpg^headers^, the web browser will get the following:
|
||||
#
|
||||
# HTTP 200 OK
|
||||
# Content-Type: multipart/x-mixed-replace;boundary=BOUNDARYOMG
|
||||
#
|
||||
# --BOUNDARYOMG\r\n
|
||||
# Content-Type: image/jpeg\r\n
|
||||
# \r\n
|
||||
# <contents of red.jpg> (no newline)
|
||||
# --BOUNDARYOMG\r\n
|
||||
# Content-Type: image/jpeg\r\n
|
||||
# \r\n
|
||||
# <contents of blue.jpg> (no newline)
|
||||
# --BOUNDARYOMG--\r\n
|
||||
#
|
||||
# (The boundary is arbitrary, and just has to be defined as something that
|
||||
# won't be in the text of the contents themselves. --$(boundary)\r\n means
|
||||
# "Here is the beginning of a boundary," and --$(boundary)-- means "All done
|
||||
# sending you parts.")
|
||||
HTTP == webcam-simulacrum.mjpg blue.jpg
|
||||
|
|
Двоичный файл не отображается.
|
@ -0,0 +1,3 @@
|
|||
HTTP 200 OK
|
||||
Content-Type: multipart/x-mixed-replace;boundary=BOUNDARYOMG
|
||||
Cache-Control: no-cache
|
Загрузка…
Ссылка в новой задаче