Skip to content

Conversation

@runway-github
Copy link
Contributor

@runway-github runway-github bot commented Nov 21, 2025

Description

The recent addition of the tabs permission will result in new
permission warnings upon update, which is extremely disruptive and is
something we'd never do except as a last resort.

The permission wasn't actually needed, and has been removed. This
removal uncovered a bug in our Webpack build (the tabs permission was
erroneously only added for MV2 test builds, but we need it for MV3 test
builds as well), which has been fixed.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Remove unnecessary extension permission

Related issues

N/A

Manual testing steps

Test that the sidepanel still works in general. Particularly with dapp
confirmations, and the "Connected status" indicator, and current
selected dapp.

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the
    app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described
    in the ticket it closes and includes the necessary testing evidence such
    as recordings and or screenshots.

Note

Removes the tabs permission from the MV3 base manifest.

  • Manifest (MV3):
    • Update app/manifest/v3/_base.json to remove permissions entry tabs.

Written by Cursor Bugbot for commit 7778231. This will update automatically on new commits. Configure here.

bba4201

…ew warnings cp-13.10.1 (#38075)

## **Description**

The recent addition of the `tabs` permission will result in new
permission warnings upon update, which is extremely disruptive and is
something we'd never do except as a last resort.

The permission wasn't actually needed, and has been removed. This
removal uncovered a bug in our Webpack build (the `tabs` permission was
erroneously only added for MV2 test builds, but we need it for MV3 test
builds as well), which has been fixed.

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/38075?quickstart=1)

## **Changelog**

CHANGELOG entry: Remove unnecessary extension permission

## **Related issues**

N/A

## **Manual testing steps**

Test that the sidepanel still works in general. Particularly with dapp
confirmations, and the "Connected status" indicator, and current
selected dapp.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Removes `tabs` from the MV3 manifest and updates the build transform
to add `tabs` only for test builds (all manifest versions).
> 
> - **Manifest (MV3)**:
>   - Remove `tabs` from `permissions` in `app/manifest/v3/_base.json`.
> - **Build/Manifest transform**:
> - Update `transformManifest` in
`development/webpack/utils/plugins/ManifestPlugin/helpers.ts` to add
`tabs` when `args.test` is true, regardless of `manifest_version`.
> - Retains error if `tabs` already exists and continues adding dev/test
manifest key.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
862591e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@metamaskbot metamaskbot added the team-bots Bot team (for MetaMask Bot, Runway Bot, etc.) label Nov 21, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [7778231]
UI Startup Metrics (1242 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1242108215539612971409
load107191813949311241258
domContentLoaded106591013879211201230
domInteractive231495161970
firstPaint69298139543911031235
backgroundConnect2322182668236246
firstReactRender291996102950
getState1966592234
initialActions102112
loadScripts8396921165918891008
setupStore1062331118
numNetworkReqs1367519669
BrowserifyPower User HomeuiStartup20191637274232123262742
load1111929165423714441654
domContentLoaded1099920164323614231643
domInteractive512012743123127
firstPaint51818314603899431460
backgroundConnect24423226812252268
firstReactRender58506756367
getState20716632340219323
initialActions103113
loadScripts869695140322811751403
setupStore21114592645
numNetworkReqs976818844158188
WebpackStandard HomeuiStartup8056871182868101006
load57052792069566741
domContentLoaded56251989665560717
domInteractive171268111449
firstPaint19054899179173543
backgroundConnect281295153163
firstReactRender31206183741
getState1163741216
initialActions101011
loadScripts55951688863558710
setupStore1262641418
numNetworkReqs1467619870
WebpackPower User HomeuiStartup1051894183926112151839
load65656010201387891020
domContentLoaded637549953122747953
domInteractive35121053793105
firstPaint33064958307574958
backgroundConnect47102156051215
firstReactRender38363913939
getState1369215021148150
initialActions101011
loadScripts633547943119736943
setupStore106276927
numNetworkReqs776012723107127
FirefoxBrowserifyStandard HomeuiStartup15001334215914415171807
load1259114816738312871444
domContentLoaded1259114816738312861443
domInteractive58352784253167
firstPaint------
backgroundConnect4225151204876
firstReactRender27234752842
getState147347341123
initialActions203122
loadScripts1235113216468012561424
setupStore157200201335
numNetworkReqs1266315758
BrowserifyPower User HomeuiStartup30672394456081642594560
load15701343203524318192035
domContentLoaded15691343203524418192035
domInteractive21667532149412532
firstPaint------
backgroundConnect4029814154658731415
firstReactRender73481031382103
getState20510646993252469
initialActions318138
loadScripts15251313199223017851992
setupStore14537705167152705
numNetworkReqs1166125276243252
WebpackStandard HomeuiStartup16291438213214016531971
load13781184166510214081618
domContentLoaded13771184166510214071617
domInteractive55291922863112
firstPaint------
backgroundConnect50231332555110
firstReactRender362584133774
getState157165221352
initialActions103122
loadScripts1346116916229013781536
setupStore187215251455
numNetworkReqs1367017865
WebpackPower User HomeuiStartup30932445504478734075044
load16721468219320518582193
domContentLoaded16721467219220518582192
domInteractive21684605153332605
firstPaint------
backgroundConnect3198315484113041548
firstReactRender79501021390102
getState312121751190393751
initialActions419269
loadScripts16211429209518917942095
setupStore1035121440122214
numNetworkReqs1156225272190252
📊 Page Load Benchmark Results

Current Commit: 7778231 | Date: 11/21/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±56ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 736ms (±53ms) 🟢 | historical mean value: 731ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 56ms 1.03s 1.35s 1.09s 1.35s
domContentLoaded 736ms 53ms 714ms 1.01s 776ms 1.01s
firstPaint 78ms 13ms 60ms 192ms 88ms 192ms
firstContentfulPaint 78ms 13ms 60ms 192ms 88ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@gauthierpetetin gauthierpetetin merged commit fb60f40 into release/13.10.1 Nov 21, 2025
173 of 174 checks passed
@gauthierpetetin gauthierpetetin deleted the runway-cherry-pick-13.10.1-1763751185 branch November 21, 2025 19:24
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2025
@metamaskbot metamaskbot added the release-13.10.1 Issue or pull request that will be included in release 13.10.1 label Nov 21, 2025
@metamaskbot
Copy link
Collaborator

No release label on PR. Adding release label release-13.10.1 on PR, as PR was cherry-picked in branch 13.10.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.10.1 Issue or pull request that will be included in release 13.10.1 team-bots Bot team (for MetaMask Bot, Runway Bot, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants