commit | 55c6bb0fa45373ff6c20dfd572855abf221c862d | [log] [tgz] |
---|---|---|
author | Mathias Bynens <mathias@chromium.org> | Tue Oct 16 08:52:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 16 08:52:39 2018 |
tree | e1c3e15af046a9a9615830554b5db7b96cf2a963 | |
parent | a8dfb8e9ae0112c506e35cacff4389b8a5690374 [diff] |
[tests] Prepare CSS.escape() tests for upcoming JSON.stringify() change The well-formed JSON.stringify() proposal changes JSON.stringify() to produce JavaScript/JSON-compatible escape sequences for any lone surrogates in its input. Because the test runner's `shouldBeEqualToString` uses `JSON.stringify` before comparing strings, these tests would otherwise break when shipping the `JSON.stringify()` change. Bug: v8:7782 Change-Id: If6ace9c023be8997ed10c8f1dbc2dcaed18c4687 Reviewed-on: https://chromium-review.googlesource.com/c/1281965 Commit-Queue: Mathias Bynens <mathias@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#599922}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .