Skip to content

Commit

Permalink
Bug 1721229 - Remove the WebPayments UI code from the tree. r=MattN,d…
Browse files Browse the repository at this point in the history
…esktop-theme-reviewers,edenchuang,dao

* Remove the contents of the browser/components/payments directory
* Excepting the nsIPaymentUIService implementation and its component registration - to allow the /feature-policy/payment-allowed-by-feature-policy* tests to continue to run and pass
* Update docs index to remove the web payments UI source docs
* Remove residual rules from browser CSS
* Remove references from the static analysis tests

Differential Revision: https://phabricator.services.mozilla.com/D127329
  • Loading branch information
sfoster committed Feb 17, 2022
1 parent b2aca21 commit bcf56df
Show file tree
Hide file tree
Showing 122 changed files with 8 additions and 22,736 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ var gExceptionPaths = [
"resource://gre/modules/commonjs/",
"resource://gre/defaults/pref/",

// These resources are referenced using relative paths from html files.
"resource://payments/",

// These chrome resources are referenced using relative paths from JS files.
"chrome://global/content/certviewer/components/",

Expand Down
3 changes: 0 additions & 3 deletions browser/base/content/test/static/browser_parsable_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const kWhitelist = new Set([
]);

const kESModuleList = new Set([
/browser\/res\/payments\/(components|containers|mixins)\/.*\.js$/,
/browser\/res\/payments\/paymentRequest\.js$/,
/browser\/res\/payments\/PaymentsStore\.js$/,
/browser\/aboutlogins\/components\/.*\.js$/,
/browser\/aboutlogins\/.*\.js$/,
/browser\/protections.js$/,
Expand Down
5 changes: 0 additions & 5 deletions browser/components/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ DIRS += [

DIRS += ["build"]

if CONFIG["NIGHTLY_BUILD"]:
DIRS += [
"payments",
]

if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
DIRS += ["touchbar"]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
Expand Down
84 changes: 0 additions & 84 deletions browser/components/payments/.eslintrc.js

This file was deleted.

Loading

0 comments on commit bcf56df

Please sign in to comment.