Граф коммитов

63 Коммитов

Автор SHA1 Сообщение Дата
bechen@mozilla.com de808e6708 Bug 1409983 - Reorder the shouldCompute() funciton and "remove all child nodes of MediaElement" in vtt.jsm. r=alwu
We should call shouldCompute() function first, then remove all children of MediaElement.

MozReview-Commit-ID: 6623Xn6T4mx

--HG--
extra : rebase_source : 51c328d0b87b977aa2f2fefbc7ded150501985b2
2017-10-19 16:30:38 +08:00
Andrea Marchesini 6b24a13ac2 Bug 1403232 - Fixing the WebVTT parser when the buffer uncompleted, r=bechen 2017-09-27 07:38:15 +02:00
Kris Maglione 8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
bechen 172da9b6e3 Bug 1360718 - Render the webvtt cues when hiding the control bar. r=alwu
"video.controls = false" will remove the binding of videocontrols which is a xul element.
In vtt.jsm, we need to remember the last show/hide status of videocontrols, then render cues when status changed.

MozReview-Commit-ID: 30rebAuqmxy

--HG--
extra : rebase_source : e011ec0679ab03071e01b91c124c5b72e481a8da
2017-05-09 17:49:42 +08:00
bechen e59ddbbcaa Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7

--HG--
extra : rebase_source : 93a63954d5b64cb8a33de1ce560da8f97a5a2001
2017-04-17 17:27:23 +08:00
Iris Hsiao 7aacf33d10 Backed out 9 changesets (bug 1353689) for web platform reftest failures
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
bechen d116c9373e Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7

--HG--
extra : rebase_source : 93a63954d5b64cb8a33de1ce560da8f97a5a2001
2017-04-17 17:27:23 +08:00
bechen adb93a2342 Bug 1318542 - Add preference "media.webvtt.pseudo.enabled". r=rillian
MozReview-Commit-ID: BrdCPgapAYi

--HG--
extra : rebase_source : fdfd90313373394f2dc7f36c61a3a3fbd06c70f3
2017-04-05 10:48:49 +08:00
bechen 30f3430251 Bug 1318542 - Make CueStyleBox apply ::cue. r=heycam,rillian
MozReview-Commit-ID: CNhFlffGAfh
* * *
[mq]: trash

MozReview-Commit-ID: KY2DfqPDmx0

--HG--
extra : rebase_source : fb16313ac5715ec1f544f8a80d0bad26aa42013d
2017-04-05 10:47:36 +08:00
bechen 8ea323865a Bug 1347829 - If the timestamp "<00:00.005" missing the last ">" character, we still parse it. r=alwu
MozReview-Commit-ID: KzW1uTSyDE

--HG--
extra : rebase_source : e1543cdc26d4d19d30582827cfd7d8f2961c59cb
2017-03-20 16:32:16 +08:00
Iris Hsiao 235acee47e Backed out changeset 8db1c2fd27c9 (bug 1347829) for web platform tests failures 2017-03-20 16:06:43 +08:00
bechen 48a8641a54 Bug 1347829 - If the timestamp "<00:00.005" missing the last ">" character, we still parse it. r=alwu
MozReview-Commit-ID: KzW1uTSyDE

--HG--
extra : rebase_source : cac3f211d9b89f9cc89fe8cbaf7bf90d66ff7e72
2017-03-17 11:17:52 +08:00
bechen 622a99a3ec Bug 1344604 - Return null if there is an incomplete tag in nextToken(). r=alwu
MozReview-Commit-ID: 5mvFhaAx2s5

--HG--
extra : rebase_source : 5ca9f9ae29cbe5bc5a7fdf31489212d252f52656
2017-03-16 15:25:34 +08:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
bechen ea5fd5a6e9 Bug 1307710 - part3: fix ProcessingInstruction node for testcase. r=rillian
MozReview-Commit-ID: 9Wc98cOVjHD

--HG--
extra : rebase_source : 91e8c85f2372bba59af4685f1905301f8d691410
2017-03-03 11:34:33 +08:00
bechen 2210d5e1e8 Bug 1307710 - part2: webvtt cue voice span and language span need annotation. r=rillian
MozReview-Commit-ID: FqUMAt436ZP

--HG--
extra : rebase_source : ee75d2e5ac518cb8e5f8f3735ef54359e4a5db5b
2017-03-01 15:16:51 +08:00
bechen 5527619fbb Bug 1307710 - part1: Return Documentfragment instead of div for convertCueToDOMTree. r=rillian,smaug
MozReview-Commit-ID: KV1MNaMhNOG

--HG--
extra : rebase_source : 4ef3b2565cc890a9e7ffc230b61aef3d24c58568
2017-03-01 15:01:52 +08:00
bechen b150d24dbe Bug 1339355 - Remove the RTL table. r=heycam
MozReview-Commit-ID: GSNRA0XLHHX

--HG--
extra : rebase_source : f00324e56aed3e376297e0bbf3f2cbe6a47e9d6b
2017-02-16 15:08:04 +08:00
bechen 16d0b4a5e5 Bug 1294833 - Dump the pref "media.webvtt.regions.enabled" when exception for creating VTTRegion. r=jwwang
MozReview-Commit-ID: GuErJbUOv8U
2017-02-10 15:15:20 +08:00
Ralph Giles 1721921258 Bug 1328966 - Accept \r as a valid line ending. r=alwu
See https://w3c.github.io/webvtt/#webvtt-line-terminator for
allowed values.

MozReview-Commit-ID: C62Lu4PNQRE

--HG--
extra : rebase_source : 7c9215477ad39dbe319374357ef8f19d96ed423c
2017-01-12 11:20:26 -08:00
Ray Lin 8c3d97d3bc Bug 1271765 - Part 2: Desktop media control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : e3b49788ddac0537281c8e2fb33c66b31e631db3
2016-10-12 13:31:32 +08:00
Wes Kocher c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Ray Lin 55062c0a73 Bug 1271765 - Part 2: Desktop video control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : 8d4fc403c481fcdedf3976cdd97cc56ccc8344f9
2016-10-12 13:31:32 +08:00
Phil Ringnalda 7c7dd328d1 Backed out 3 changesets (bug 1271765) for -Werror bustage
CLOSED TREE

Backed out changeset 235ea1c681db (bug 1271765)
Backed out changeset 02d34b18d76b (bug 1271765)
Backed out changeset 088113647629 (bug 1271765)
2016-11-07 18:51:18 -08:00
Ray Lin d4e6a883c6 Bug 1271765 - Part 2: Desktop video control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : 95795497077a1c18c7b81a88da85d166ad784871
2016-10-12 13:31:32 +08:00
Alastor Wu c1e061c2ec Bug 1283803 - part5 : fix the fail test. r=rillian
MozReview-Commit-ID: LgjDpvW2rQj

--HG--
extra : rebase_source : d8e88bb44acdca26ae415d81a4b50d203b78f51d
2016-07-19 17:07:41 +08:00
Alastor Wu 0b085222cf Bug 1283803 - part4 : handle unicode \u0000 and \uFFFD. r=rillian
MozReview-Commit-ID: FtDPV9U7ffS

--HG--
extra : rebase_source : 787502b5cfccc216f7c6176a597aaf10fb3b5252
2016-07-19 16:30:57 +08:00
Alastor Wu 3f39c1932c Bug 1283803 - part3 : rename function parseSignature. r=rillian
MozReview-Commit-ID: ImBH5Xq4sJX

--HG--
extra : rebase_source : 6f7dd06f27921c27528102798026846293b0c5a1
2016-07-19 16:30:54 +08:00
Alastor Wu b168237466 Bug 1283803 - part2 : modify vtt parsing algorithm. r=rillian
MozReview-Commit-ID: HYt1rr0YRPn

--HG--
extra : rebase_source : 1cb8f04cfbb96224f3a138cb9d7b1b84d8bae03b
2016-07-19 16:30:51 +08:00
Alastor Wu 05d5dd144a Bug 1283803 - part1 : modify function parsingHeader. r=rillian
MozReview-Commit-ID: Fujoh7ysVPy

--HG--
extra : rebase_source : b36791159ab72b04c9d6c73dde498df55f3a0397
2016-07-19 16:30:46 +08:00
Iris Hsiao 0ce4237bb7 Backed out changeset 348a4cebfe89 (bug 1283803) 2016-07-19 16:34:49 +08:00
Iris Hsiao 4ab52122dd Backed out changeset 544795f12d67 (bug 1283803) 2016-07-19 16:34:35 +08:00
Iris Hsiao 9bbd135e4c Backed out changeset 2913e3ccf060 (bug 1283803) 2016-07-19 16:34:21 +08:00
Iris Hsiao 980f5e6fd8 Backed out changeset 1f511a0e1484 (bug 1283803) for Media test failed 2016-07-19 16:34:04 +08:00
Alastor Wu d61621aace Bug 1283803 - part4 : handle unicode \u0000 and \uFFFD. r=rillian
MozReview-Commit-ID: FtDPV9U7ffS

--HG--
extra : rebase_source : d450e7f2c40cfb44c123206fd0732c8debdec518
2016-07-19 11:10:56 +08:00
Alastor Wu 99502e7e78 Bug 1283803 - part3 : rename function parseSignature. r=rillian
MozReview-Commit-ID: ImBH5Xq4sJX

--HG--
extra : rebase_source : 513c035db6a9fea43724b227c534f1b08af1a1f2
2016-07-19 11:10:52 +08:00
Alastor Wu a3a8013883 Bug 1283803 - part2 : modify vtt parsing algorithm. r=rillian
MozReview-Commit-ID: KUYq0L0pW5x

--HG--
extra : rebase_source : bb9875128c89315d50ebea3cf32d65c7a0d7ee5c
2016-07-19 11:10:50 +08:00
Alastor Wu 767f379932 Bug 1283803 - part1 : modify function parsingHeader. r=rillian
MozReview-Commit-ID: GM3nJzstVzf

--HG--
extra : rebase_source : ff6f4d1eb71b9dbee0a13055e82411c1e970a536
2016-07-19 11:10:44 +08:00
Alastor Wu b7270d91cb Bug 1278748 - part7 : vertical tab isn't a space characters. r=rillian
Definition of the space character : https://html.spec.whatwg.org/multipage/infrastructure.html#space-character
MozReview-Commit-ID: FEbIhWsGjPi

--HG--
extra : rebase_source : 759ddd031e694e06ad5a19ea6a3f053cf2e7b2f0
2016-07-12 11:02:29 +08:00
Alastor Wu ad9db94bfd Bug 1278748 - part6 : modify timestamp parsing rule. r=rillian
MozReview-Commit-ID: 2KfEeTww1eX

--HG--
extra : rebase_source : e0d278b8dcb9b5a3d4911be1ad72c32c7b6e7de8
2016-07-12 11:02:22 +08:00
Alastor Wu db86aafa55 Bug 1278748 - part5 : the value of position and line are double. r=rillian
Spec parsing rule : https://w3c.github.io/webvtt/#cue-timings-and-settings-parsing
Spec issue : https://github.com/w3c/webvtt/issues/307#issuecomment-229886334, https://github.com/w3c/web-platform-tests/issues/3222

MozReview-Commit-ID: 9ONE7r1fvlD

--HG--
extra : rebase_source : 7d80d231e916b2f439801b4868d929cb2d455971
2016-07-12 10:57:21 +08:00
Alastor Wu e0bfa5640a Bug 1278748 - part4 : should not throw error if the correct signature doesn't follow with new line. r=rillian
MozReview-Commit-ID: 5cM7RyZfSY1

--HG--
extra : rebase_source : 49c0be536417f317b4d4cc0510c08bcffb8a626c
2016-07-12 10:57:18 +08:00
Alastor Wu 358097b137 Bug 1278748 - part1 : cue's attribute can be set multiple times. r=rillian
MozReview-Commit-ID: 8jWQmRojviV

--HG--
extra : rebase_source : 9a385cc52116f7bdb2c8fe103f4cf6f14959a784
2016-07-12 10:57:07 +08:00
Ray Lin e1b4b9465e Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk

--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Alastor Wu e6b6990123 Bug 1276831 - part3 : modify vtt.jsm. r=rillian
MozReview-Commit-ID: HpSbiNFtVR0

--HG--
extra : rebase_source : 04be33322b4847c21703b284075d91d4b236b9ed
2016-06-15 16:52:03 +01:00
Alastor Wu 3d967f770e Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv

--HG--
extra : rebase_source : bf08e4ffc77378553760dfae3854248cf700ea09
2016-06-14 14:39:29 +01:00
Sebastian Hengst 37bd76ddd9 Backed out changeset 5ad647bf5727 (bug 1276130) for web-platform-test failure invttcue-interface/align.html. r=backout 2016-06-14 17:21:02 +02:00
Alastor Wu d7e500261e Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv

--HG--
extra : rebase_source : bf08e4ffc77378553760dfae3854248cf700ea09
2016-06-14 14:39:29 +01:00
Sebastian Hengst 6517d6031b Backed out changeset 79323e71de55 (bug 1276831) 2016-06-14 14:33:29 +02:00
Sebastian Hengst 4890eef558 Backed out changeset 3f17eaa46dd9 (bug 1276130) 2016-06-14 14:33:12 +02:00