Automatic update from web-platform-tests [Extensions] Add WPT tests for alarms, bookmarks, and browsingData APIs. Previously, there were no Web Platform Tests (WPT) for the chrome.alarms, chrome.bookmarks, and chrome.browsingData APIs in the web-extensions suite. This CL adds WPT tests for these three APIs to verify their presence and basic functionality. We implemented: - browser.alarms.extension.js: Tests create, get, getAll, clear, clearAll, onAlarm listener registration, and error cases. - browser.bookmarks.extension.js: Tests create, get, update, search, getTree, remove, and error cases. - browser.browsingData.extension.js: Tests settings, removeCache, removeCookies, and error cases. The tests are added to TestExpectations as [ Failure ] in chromium since pending changes in web-extensions-helper.js (introduced in github.com/web-platform-tests/wpt/pull/60872) have not been synced to chromium/src due to a temporary WPT importer error (see crbug.com/528388519). TAG=agy CONV=13c67052-fc49-4c0d-808e-ae6eaf3802cd Bug: 527385398 Change-Id: I6923061814f76bfd60e3ab5dd87924c282c714b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8033104 Reviewed-by: Oliver Dunk <oliverdunk@chromium.org> Auto-Submit: Justin Lulejian <jlulejian@chromium.org> Commit-Queue: Justin Lulejian <jlulejian@chromium.org> Cr-Commit-Position: refs/heads/main@{#1657498} -- wpt-commits: 2ac8a782bce6e2b15be340fb154f04090d31669d wpt-pr: 61096
2 lines
54 B
JavaScript
2 lines
54 B
JavaScript
runTestsWithWebExtension('/resources/browsingData/');
|