)]}'
{
  "commit": "1be46a8ec5ee39b7c6b3f0f45c5d153fd06eeee3",
  "tree": "724b9035e086558b582362c3f24acd77c27cd936",
  "parents": [
    "97164b3a017122a111151417b1184b2f31fb89f6"
  ],
  "author": {
    "name": "Sigmund Cherem",
    "email": "sigmund@google.com",
    "time": "Fri Feb 09 16:08:38 2024 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Feb 09 16:08:38 2024 +0000"
  },
  "message": "[dart2js] only suggest to use the preamble in server-mode\n\nThis removes the logic that checks whether `dart:html` was\nloaded in order to decide whether or not to show the message\nsuggesting to load the preamble file.\n\nAs described in https://github.com/dart-lang/sdk/issues/54596\nthis criteria is now obsolete, since we are shifting to use\npackage:web instead of dart:html in flutter web.\n\nGoing forward, the message is shown only when running the\ncompiler with the `--server-mode` flag.\n\nWe still track whether the preamble may be needed, but it may\nnot be worth doing all that effort in the future.\nThe alternative would be to show the message always\nwhen using `--server-mode` or never (and rely instead\non documentation).\n\nFixes https://github.com/dart-lang/sdk/issues/54596\n\nChange-Id: I177184590b4118be333ab93ddf5951e5b01afe7e\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/351320\nReviewed-by: Stephen Adams \u003csra@google.com\u003e\nCommit-Queue: Sigmund Cherem \u003csigmund@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "122859badddbccde885d995373ba10bf31bc0516",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_backend/backend_usage.dart",
      "new_id": "148f3f37c400b53c901302cf6830579e346bedfd",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_backend/backend_usage.dart"
    },
    {
      "type": "modify",
      "old_id": "8da8538f7887d0fb016080d29b23d7101740f2e4",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart",
      "new_id": "c4862a2444a74b685dde7a7eb7139787a6560863",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart"
    },
    {
      "type": "modify",
      "old_id": "adb344df50ee713898f8d1c2e20213047f7a18b8",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/js_model/js_world_builder.dart",
      "new_id": "7495c33cca5b11beb78477108221ee2ec2c12e20",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/js_model/js_world_builder.dart"
    },
    {
      "type": "modify",
      "old_id": "33982b95171be7296062c9a2184aa2c60e94e3b5",
      "old_mode": 33188,
      "old_path": "pkg/compiler/lib/src/kernel/kernel_strategy.dart",
      "new_id": "bc29e365a79a18b2e9047dc588c3301f69933459",
      "new_mode": 33188,
      "new_path": "pkg/compiler/lib/src/kernel/kernel_strategy.dart"
    }
  ]
}
