)]}'
{
  "commit": "a7a0e8d5918c4ec30f3aabe724951d13baca3c99",
  "tree": "dde9005cf2cbc2b7e21b17fc8652ba17cdab375f",
  "parents": [
    "545ce2ad0d6748cdadb8350c13acc76447df90fd"
  ],
  "author": {
    "name": "Michael Matloob",
    "email": "matloob@golang.org",
    "time": "Fri Nov 10 14:44:17 2023 -0500"
  },
  "committer": {
    "name": "Michael Matloob",
    "email": "matloob@golang.org",
    "time": "Wed Nov 15 18:15:43 2023 +0000"
  },
  "message": "internal/testing/htmlcheck: replace cascadia for htmlcheck.NotIn\n\nThis change reimplements a subset of cascadia\u0027s query functionality so\nwe can replace it for htmlcheck.NotIn. It adds code that parses a\nsubset of the css selector syntax (currently it\u0027s more than we need\nfor NotIn but not enough for In) and adds a query function to query\nthe selector in the given html node. Unlike cascadia, our query\nfunction can match the node itself.\n\nFuture cls will add support for more selector syntax so we can support\neverything htmlcheck.In is used for but we only intend so support just\nwhat we need. I also limit the selector syntax to ascii for\nsimplicity.\n\nFor #61399\n\nChange-Id: Ia03cc8a9ab42ae11d445a650e1ca0a07ee8a391f\nReviewed-on: https://go-review.googlesource.com/c/pkgsite/+/541437\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nkokoro-CI: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Jonathan Amsterdam \u003cjba@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "764ec2e9cdfb6ca85f64ab79aebfb51ed4698a18",
      "old_mode": 33188,
      "old_path": "internal/testing/htmlcheck/htmlcheck.go",
      "new_id": "46cdf87d8704cce07f78a207c8d5bf9c78d2f0c0",
      "new_mode": 33188,
      "new_path": "internal/testing/htmlcheck/htmlcheck.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1e5a671491d6d322744ffd0e28778dfe4758b568",
      "new_mode": 33188,
      "new_path": "internal/testing/htmlcheck/query.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f1282891d0ac830cb49bf8e68447daf92b98a7a0",
      "new_mode": 33188,
      "new_path": "internal/testing/htmlcheck/query_test.go"
    }
  ]
}
