fixtures/dom/src/components/fixtures/home.js JAVASCRIPT 119 lines View on github.com → Search inside
1const React = window.React;23export default function Home() {4  return (5    <main className="container">6      <h1>DOM Test Fixtures</h1>7      <p>8        Use this site to test browser quirks and other behavior that can not be9        captured through unit tests.10      </p>11      <section>12        <h2>Tested Browsers</h2>13        <table>14          <thead>15            <tr>16              <th>Browser</th>17              <th>Versions</th>18            </tr>19          </thead>20          <tbody>21            <tr>22              <td>Chrome - Desktop</td>23              <td>24                49<sup>*</sup>, Latest25              </td>26            </tr>27            <tr>28              <td>Chrome - Android</td>29              <td>Latest</td>30            </tr>31            <tr>32              <td>Firefox Desktop</td>33              <td>34                <a href="https://www.mozilla.org/en-US/firefox/organizations/">35                  ESR<sup>†</sup>36                </a>37                , Latest38              </td>39            </tr>40            <tr>41              <td>Internet Explorer</td>42              <td>9, 10, 11</td>43            </tr>44            <tr>45              <td>Microsoft Edge</td>46              <td>14, Latest</td>47            </tr>48            <tr>49              <td>Safari - Desktop</td>50              <td>7, Latest</td>51            </tr>52            <tr>53              <td>Safari - iOS</td>54              <td>7, Latest</td>55            </tr>56          </tbody>57        </table>58        <footer>59          <small>* Chrome 49 is the last release for Windows XP.</small>60          <br />61          <small>62             Firefox Extended Support Release (ESR) is used by many63            institutions.64          </small>65        </footer>66      </section>67      <section>68        <h2>How do I test browsers I don't have access to?</h2>69        <p>70          Getting test coverage across all of these browsers can be difficult,71          particularly for older versions of evergreen browsers. Fortunately72          there are a handful of tools that make browser testing easy.73        </p>74        <section>75          <h3>Paid services</h3>76          <ul>77            <li>78              <a href="https://browserstack.com">BrowserStack</a>79            </li>80            <li>81              <a href="https://saucelabs.com">Sauce Labs</a>82            </li>83            <li>84              <a href="https://crossbrowsertesting.com/">CrossBrowserTesting</a>85            </li>86          </ul>87          <p>88            These services provide access to all browsers we test, however they89            cost money. There is no obligation to pay for them. Maintainers have90            access to a BrowserStack subscription; feel free to contact a91            maintainer or mention browsers where extra testing is required.92          </p>93        </section>94        <section>95          <h3>Browser downloads</h3>96          <p>A handful of browsers are available for download directly:</p>97          <ul>98            <li>99              <a href="https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/">100                Internet Explorer (9-11) and MS Edge virtual machines101              </a>102            </li>103            <li>104              <a href="https://www.chromium.org/getting-involved/download-chromium#TOC-Downloading-old-builds-of-Chrome-Chromium">105                Chromium snapshots (for older versions of Chrome)106              </a>107            </li>108            <li>109              <a href="https://www.mozilla.org/en-US/firefox/organizations/">110                Firefox Extended Support Release (ESR)111              </a>112            </li>113          </ul>114        </section>115      </section>116    </main>117  );118}

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.