)]}'
{
  "commit": "0628150bdf9c6000984d17cb3eace71594de1cf8",
  "tree": "50ae95a1a68374a648cba2d747c462f1338f6559",
  "parents": [
    "fedb5771a18637e737daca109190a89380d85e94"
  ],
  "author": {
    "name": "Mason Freed",
    "email": "masonfreed@chromium.org",
    "time": "Mon Apr 15 19:16:20 2019"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Apr 15 19:16:20 2019"
  },
  "message": "Fix error message for deleteRule()\n\nPrevious to this CL, deleteRule on an empty style sheet would throw a\nconfusingly-worded error message such as this:\n\nconst styleEl \u003d document.createElement(\u0027style\u0027);\ndocument.head.appendChild(styleEl);\nstyleEl.sheet.deleteRule(0);\n--\u003e Uncaught IndexSizeError: Failed to execute \u0027deleteRule\u0027 on \u0027CSSStyleSheet\u0027: The index provided (0) is larger than the maximum index (4294967295).\n\nNow, it throws this:\n\n--\u003e Uncaught IndexSizeError: Failed to execute \u0027deleteRule\u0027 on \u0027CSSStyleSheet\u0027: Style sheet is empty (length 0).\n\n\nBug: 949523\nChange-Id: I5eba9942cf7ccc00013dbb3efa2887590d65a19a\nReviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1567911\nCommit-Queue: Mason Freed \u003cmasonfreed@chromium.org\u003e\nCommit-Queue: Chris Harrelson \u003cchrishtr@chromium.org\u003e\nAuto-Submit: Mason Freed \u003cmasonfreed@chromium.org\u003e\nReviewed-by: Chris Harrelson \u003cchrishtr@chromium.org\u003e\nCr-Commit-Position: refs/heads/master@{#650915}",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e011bffd76da77e64df5d3f1b67a071b7d23b069",
      "old_mode": 33188,
      "old_path": "third_party/blink/renderer/core/css/css_style_sheet.cc",
      "new_id": "77be14b0a867717f519702ccc2ec545312ccbf62",
      "new_mode": 33188,
      "new_path": "third_party/blink/renderer/core/css/css_style_sheet.cc"
    }
  ]
}
