Remove insets as they always defaulted [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Nikolay Vitkov (Gerrit)

unread,
Aug 10, 2026, 8:14:07 AM (9 days ago) Aug 10
to Philip Pfaffe, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
Attention needed from Philip Pfaffe

Nikolay Vitkov voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Philip Pfaffe
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
Gerrit-Change-Number: 8230825
Gerrit-PatchSet: 1
Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Attention: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Comment-Date: Mon, 10 Aug 2026 12:14:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Philip Pfaffe (Gerrit)

unread,
Aug 10, 2026, 8:20:21 AM (9 days ago) Aug 10
to Nikolay Vitkov, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
Attention needed from Nikolay Vitkov

Philip Pfaffe added 1 comment

Commit Message
Line 9, Patchset 1 (Latest):Everywhere this was set to 0,0,0,0.
Philip Pfaffe . unresolved

Even if it is 0 in the current set of devices, is that universal? Why did we have inset support in the first place?

Open in Gerrit

Related details

Attention is currently required from:
  • Nikolay Vitkov
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
    Gerrit-Change-Number: 8230825
    Gerrit-PatchSet: 1
    Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
    Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
    Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
    Gerrit-Attention: Nikolay Vitkov <nvi...@chromium.org>
    Gerrit-Comment-Date: Mon, 10 Aug 2026 12:20:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nikolay Vitkov (Gerrit)

    unread,
    Aug 10, 2026, 8:31:33 AM (9 days ago) Aug 10
    to Philip Pfaffe, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
    Attention needed from Philip Pfaffe

    Nikolay Vitkov added 1 comment

    Commit Message
    Line 9, Patchset 1 (Latest):Everywhere this was set to 0,0,0,0.
    Philip Pfaffe . resolved

    Even if it is 0 in the current set of devices, is that universal? Why did we have inset support in the first place?

    Nikolay Vitkov

    This used to be part of the image that were inlayed on top of the image to imitate Android. Try emulation with Nexus 5 as example.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Philip Pfaffe
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: devtools/devtools-frontend
      Gerrit-Branch: main
      Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
      Gerrit-Change-Number: 8230825
      Gerrit-PatchSet: 1
      Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
      Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
      Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
      Gerrit-Attention: Philip Pfaffe <pfa...@chromium.org>
      Gerrit-Comment-Date: Mon, 10 Aug 2026 12:31:31 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Philip Pfaffe <pfa...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Philip Pfaffe (Gerrit)

      unread,
      Aug 10, 2026, 8:35:51 AM (9 days ago) Aug 10
      to Nikolay Vitkov, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
      Attention needed from Nikolay Vitkov

      Philip Pfaffe added 1 comment

      Commit Message
      Line 9, Patchset 1 (Latest):Everywhere this was set to 0,0,0,0.
      Philip Pfaffe . unresolved

      Even if it is 0 in the current set of devices, is that universal? Why did we have inset support in the first place?

      Nikolay Vitkov

      This used to be part of the image that were inlayed on top of the image to imitate Android. Try emulation with Nexus 5 as example.

      Philip Pfaffe

      https://crbug.com/40718410 includes work on VK emulation. Maybe double check whether that was relying on these insets in any capacity or whether it's really purely based on safe-area-insets.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Nikolay Vitkov
      Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: devtools/devtools-frontend
        Gerrit-Branch: main
        Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
        Gerrit-Change-Number: 8230825
        Gerrit-PatchSet: 1
        Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
        Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
        Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
        Gerrit-Attention: Nikolay Vitkov <nvi...@chromium.org>
        Gerrit-Comment-Date: Mon, 10 Aug 2026 12:35:48 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Philip Pfaffe <pfa...@chromium.org>
        Comment-In-Reply-To: Nikolay Vitkov <nvi...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Guangyue Xu (Gerrit)

        unread,
        Aug 18, 2026, 5:54:46 PM (16 hours ago) Aug 18
        to Nikolay Vitkov, Philip Pfaffe, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
        Attention needed from Nikolay Vitkov

        Guangyue Xu added 1 comment

        Commit Message
        Line 9, Patchset 1 (Latest):Everywhere this was set to 0,0,0,0.
        Philip Pfaffe . unresolved

        Even if it is 0 in the current set of devices, is that universal? Why did we have inset support in the first place?

        Nikolay Vitkov

        This used to be part of the image that were inlayed on top of the image to imitate Android. Try emulation with Nexus 5 as example.

        Philip Pfaffe

        https://crbug.com/40718410 includes work on VK emulation. Maybe double check whether that was relying on these insets in any capacity or whether it's really purely based on safe-area-insets.

        Guangyue Xu

        Confirmed — it's purely `safe-area-insets` / `cutout` / VK-geometry, never `mode.insets` (its only reader was `currentInsets()`, feeding the generic device-metrics override), so safe to remove for what's landed. Full breakdown in crbug.com/40718410#comment65.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Nikolay Vitkov
        Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: devtools/devtools-frontend
        Gerrit-Branch: main
        Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
        Gerrit-Change-Number: 8230825
        Gerrit-PatchSet: 1
        Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
        Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
        Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
        Gerrit-CC: Guangyue Xu <guang...@microsoft.com>
        Gerrit-Comment-Date: Tue, 18 Aug 2026 21:54:43 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Nikolay Vitkov (Gerrit)

        unread,
        4:29 AM (5 hours ago) 4:29 AM
        to Guangyue Xu, Philip Pfaffe, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
        Attention needed from Guangyue Xu and Philip Pfaffe

        Nikolay Vitkov added 1 comment

        Commit Message
        Line 9, Patchset 1 (Latest):Everywhere this was set to 0,0,0,0.
        Philip Pfaffe . resolved

        Even if it is 0 in the current set of devices, is that universal? Why did we have inset support in the first place?

        Nikolay Vitkov

        This used to be part of the image that were inlayed on top of the image to imitate Android. Try emulation with Nexus 5 as example.

        Philip Pfaffe

        https://crbug.com/40718410 includes work on VK emulation. Maybe double check whether that was relying on these insets in any capacity or whether it's really purely based on safe-area-insets.

        Guangyue Xu

        Confirmed — it's purely `safe-area-insets` / `cutout` / VK-geometry, never `mode.insets` (its only reader was `currentInsets()`, feeding the generic device-metrics override), so safe to remove for what's landed. Full breakdown in crbug.com/40718410#comment65.

        Nikolay Vitkov

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Guangyue Xu
        • Philip Pfaffe
        Submit Requirements:
          • requirement satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: devtools/devtools-frontend
          Gerrit-Branch: main
          Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
          Gerrit-Change-Number: 8230825
          Gerrit-PatchSet: 1
          Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
          Gerrit-CC: Guangyue Xu <guang...@microsoft.com>
          Gerrit-Attention: Philip Pfaffe <pfa...@chromium.org>
          Gerrit-Attention: Guangyue Xu <guang...@microsoft.com>
          Gerrit-Comment-Date: Wed, 19 Aug 2026 08:28:58 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Philip Pfaffe <pfa...@chromium.org>
          Comment-In-Reply-To: Nikolay Vitkov <nvi...@chromium.org>
          Comment-In-Reply-To: Guangyue Xu <guang...@microsoft.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Philip Pfaffe (Gerrit)

          unread,
          5:50 AM (4 hours ago) 5:50 AM
          to Nikolay Vitkov, Guangyue Xu, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
          Attention needed from Guangyue Xu and Nikolay Vitkov

          Philip Pfaffe voted

          Code-Review+1
          Commit-Queue+2
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Guangyue Xu
          • Nikolay Vitkov
          Submit Requirements:
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: devtools/devtools-frontend
          Gerrit-Branch: main
          Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
          Gerrit-Change-Number: 8230825
          Gerrit-PatchSet: 2
          Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
          Gerrit-CC: Guangyue Xu <guang...@microsoft.com>
          Gerrit-Attention: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Attention: Guangyue Xu <guang...@microsoft.com>
          Gerrit-Comment-Date: Wed, 19 Aug 2026 09:50:15 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

          unread,
          5:52 AM (4 hours ago) 5:52 AM
          to Nikolay Vitkov, Philip Pfaffe, Guangyue Xu, devtools-rev...@chromium.org

          devtools-fro...@luci-project-accounts.iam.gserviceaccount.com submitted the change

          Change information

          Commit message:
          Remove insets as they always defaulted


          Everywhere this was set to 0,0,0,0.
          Bug: 543312235
          Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
          Reviewed-by: Philip Pfaffe <pfa...@chromium.org>
          Commit-Queue: Philip Pfaffe <pfa...@chromium.org>
          Auto-Submit: Nikolay Vitkov <nvi...@chromium.org>
          Files:
          • M front_end/legacy_test_runner/device_mode_test_runner/device_mode_test_runner.js
          • M front_end/models/emulation/DeviceModeModel.test.ts
          • M front_end/models/emulation/DeviceModeModel.ts
          • M front_end/models/emulation/EmulatedDevices.test.ts
          • M front_end/models/emulation/EmulatedDevices.ts
          • M front_end/panels/settings/emulation/DevicesSettingsTab.test.ts
          • M front_end/panels/settings/emulation/DevicesSettingsTab.ts
          Change size: M
          Delta: 7 files changed, 46 insertions(+), 180 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Philip Pfaffe
          Open in Gerrit
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: merged
          Gerrit-Project: devtools/devtools-frontend
          Gerrit-Branch: main
          Gerrit-Change-Id: I4ce473ab1f333b9f6cc1d9e733e7f42752909263
          Gerrit-Change-Number: 8230825
          Gerrit-PatchSet: 3
          Gerrit-Owner: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Reviewer: Nikolay Vitkov <nvi...@chromium.org>
          Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages