)]}'
{
  "commit": "d3cabc7836160f5d665f871e7ff1b4d39d3f49f0",
  "tree": "355170a13abba24becf9127008abf76ccc28d5cf",
  "parents": [
    "236072bf48402966f65d73f36c3ffc150ed5bb3c"
  ],
  "author": {
    "name": "Benedikt Meurer",
    "email": "bmeurer@chromium.org",
    "time": "Mon Oct 07 09:50:36 2019"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Oct 07 09:50:36 2019"
  },
  "message": "[devtools] Only strip //# sourceURL\u003d lines at the end of the source.\n\nPreviously the DevTools UI would strip out //# sourceURL\u003d... and\n//@ sourceURL\u003d... lines from the script in the frontend no matter\nwhere they showed up in the source code, which means that all the\npositions after this line will be off by 1 between frontend\nand backend. It\u0027s generally also very confusing to developers that\nwe\u0027re removing code from the script before showing it.\n\nIn general, we should just display exactly the code that the developer\nwrote (similar to Firefox DevTools and Safari WebInspector), however\nthere\u0027s quite a bit of internal logic relying on the special handling\nof sourceURL comments (at the end), for example when it comes to\nsnippets. So meanwhile we only remove the comments when they are found\nat the end of the source code, which is where tools put them.\n\nBug: chromium:1003497\nChange-Id: I4404e2f7b6b61d50f85e44bbd9e0ae56675670af\nReviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1840512\nCommit-Queue: Benedikt Meurer \u003cbmeurer@chromium.org\u003e\nReviewed-by: Yang Guo \u003cyangguo@chromium.org\u003e\nCr-Original-Commit-Position: refs/heads/master@{#703244}\nCr-Mirrored-From: https://chromium.googlesource.com/chromium/src\nCr-Mirrored-Commit: 41700f354fcb17636b6d8a280a5f291423e22813\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fb33db5bbfc972ba54236ffc37b7fe5b9103bd1a",
      "old_mode": 33188,
      "old_path": "front_end/sdk/Script.js",
      "new_id": "f3501c1da90f891be63dea0ff13b9f661e9e3c2e",
      "new_mode": 33188,
      "new_path": "front_end/sdk/Script.js"
    }
  ]
}
