https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 36857c5f01b941752b8877902dccd8b7b01202be authored by Tooru Fujisawa on 02 October 2018, 08:23:59 UTC
Do not raise error if jstests.py is executed without virtualenv on non-automation.
Tip revision: 36857c5
option-text-backslash.html
<!doctype html>
<meta charset=EUC-JP>
<title>Test for the backslash sign in option.text</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<select id=test><option>\</option></select>
<script>
test(function() {
  var select = document.getElementById("test");
  var option = select.firstChild;
  assert_equals(option.text, "\\");
  assert_equals(option.textContent, "\\");
});
</script>
back to top