-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Extensions] Convert more tabs API tests to run as service workers.
This CL mostly moves the .js file for each test into a separate extension. There were tests in crud.js that are not compatible with running in a background page. These tests were moved to crud2.js with some modified expectations. Once all of the tests are converted, I plan to collect all of the incompatible tests in a single test suite that will still run in a window context. Bug: 1093066 Change-Id: I91f423dfe9e281a82a814745479d8e295cae1cc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4197303 Auto-Submit: David Bertoni <dbertoni@chromium.org> Commit-Queue: David Bertoni <dbertoni@chromium.org> Reviewed-by: Emilia Paz <emiliapaz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1100818}
- Loading branch information
David Bertoni
authored and
Chromium LUCI CQ
committed
Feb 3, 2023
1 parent
5c618fe
commit 000eea3
Showing
17 changed files
with
157 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
chrome/test/data/extensions/api_test/tabs/basics/crud/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "chrome.tabs", | ||
"version": "0.1", | ||
"manifest_version": 2, | ||
"description": "end-to-end browser test for chrome.tabs API", | ||
"permissions": ["tabs"], | ||
"background": { | ||
"scripts": ["crud.js"], | ||
"persistent": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
chrome/test/data/extensions/api_test/tabs/basics/events/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "chrome.tabs", | ||
"version": "0.1", | ||
"manifest_version": 2, | ||
"description": "end-to-end browser test for chrome.tabs API", | ||
"permissions": ["tabs"], | ||
"background": { | ||
"scripts": ["events.js"], | ||
"persistent": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
chrome/test/data/extensions/api_test/tabs/basics/move/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "chrome.tabs", | ||
"version": "0.1", | ||
"manifest_version": 2, | ||
"description": "end-to-end browser test for chrome.tabs API", | ||
"permissions": ["tabs"], | ||
"background": { | ||
"scripts": ["move.js"], | ||
"persistent": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
chrome/test/data/extensions/api_test/tabs/basics/pinned/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "chrome.tabs", | ||
"version": "0.1", | ||
"manifest_version": 2, | ||
"description": "end-to-end browser test for chrome.tabs API", | ||
"permissions": ["tabs"], | ||
"background": { | ||
"scripts": ["pinned.js"], | ||
"persistent": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
chrome/test/data/extensions/api_test/tabs/basics/tab_size.html
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
chrome/test/data/extensions/api_test/tabs/basics/tab_size/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "chrome.tabs", | ||
"version": "0.1", | ||
"manifest_version": 2, | ||
"description": "end-to-end browser test for chrome.tabs API", | ||
"permissions": ["tabs"], | ||
"background": { | ||
"scripts": ["tab_size.js"], | ||
"persistent": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters