mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Automatic update from web-platform-testsSet longer timeout to all tests in wpt/editing/run/ https://web-platform-tests.org/writing-tests/testharness-api.html#harness-timeout Bug: 877104, 877300, 698165 Change-Id: I994550295c15f9b42273abc7d1b11f47dc0bb0c7 Reviewed-on: https://chromium-review.googlesource.com/1205917 Commit-Queue: Kent Tamura <[email protected]> Reviewed-by: Yoichi Osato <[email protected]> Cr-Commit-Position: refs/heads/master@{#588790} -- wpt-commits: f8481a5d68f25f7fec983562876d38833476c8a9 wpt-pr: 12838
Most of this directory tests conformance to the editing spec written long ago by Aryeh Gregor. Nobody actually implements the spec, but the tests are still useful for regression testing. The files in data/ were generated from a JavaScript implementation of the specification using a complex procedure that can't actually be replicated right now as-is. Editing them manually is possible, but they're not really meant to be human-readable. If anyone is interested, it would be possible for Aryeh to get the test generation procedure working again. Or you could look into the repository history and figure out how to do it yourself, if you're brave. There is also a directory other/ that contains additional editor-related tests. They aren't necessarily based on any specification, but try to specify sensible behavior, and are meant to be helpful with regression testing for existing implementations and finding bugs in new implementations.