mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-16 16:16:40 +03:00
fff9a96958
Old versions of Chromium, which may be found in certain versions of Tizen and WebOS, may require the prefixed version of "writingMode": "webkitWritingMode". However, testing shows that Tizen 3, at least, has a "writingMode" property, but the setter for it does nothing. Therefore, instead of just detecting the existence of the property, we need to additionally check if setting it had any effect. If it is either missing or non-functional, then we fall back to the prefixed version of the property. This fixes the functionality on Tizen 3. We also need to change the conditions we check for in the tests, since property existence is not enough to set the correct test expectation. See also PR #3330 Change-Id: Ic906f3c5af956b5edd1788e95e1978eb4b3098ac