fune/browser/components/payments/res/debugging.html
Jared Wein c47168c781 Bug 1427959 - Add some basic styling for the error text on the address-form. r=MattN
MozReview-Commit-ID: 6ZLm53aJj6P

--HG--
extra : rebase_source : e66125a523ca377d39b8fc056f28fc22fc74466e
2018-05-23 15:19:46 -04:00

47 lines
2.3 KiB
HTML

<!DOCTYPE html>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<link rel="stylesheet" href="debugging.css"/>
<script src="debugging.js"></script>
</head>
<body>
<div>
<button id="refresh">Refresh</button>
<button id="rerender">Re-render</button>
<button id="logState">Log state</button>
<button id="debugFrame" hidden>Debug frame</button>
<h1>Requests</h1>
<button id="setRequest1">Request 1</button>
<button id="setRequest2">Request 2</button>
<fieldset id="paymentOptions">
<legend>Payment Options</legend>
<label><input type="checkbox" autocomplete="off" name="requestPayerName" id="setRequestPayerName">requestPayerName</label>
<label><input type="checkbox" autocomplete="off" name="requestPayerEmail" id="setRequestPayerEmail">requestPayerEmail</label>
<label><input type="checkbox" autocomplete="off" name="requestPayerPhone" id="setRequestPayerPhone">requestPayerPhone</label>
<label><input type="checkbox" autocomplete="off" name="requestShipping" id="setRequestShipping">requestShipping</label>
</fieldset>
<h1>Addresses</h1>
<button id="setAddresses1">Set Addreses 1</button>
<button id="setDupesAddresses">Set Duped Addresses</button>
<button id="delete1Address">Delete 1 Address</button>
<h1>Payment Methods</h1>
<button id="setBasicCards1">Set Basic Cards 1</button>
<button id="delete1Card">Delete 1 Card</button>
<h1>States</h1>
<button id="setChangesPrevented">Prevent changes</button>
<button id="setChangesAllowed">Allow changes</button>
<button id="setShippingError">Shipping Error</button>
<button id="setAddressErrors">Address Errors</button>
<button id="setStateDefault">Default</button>
<button id="setStateProcessing">Processing</button>
<button id="setStateSuccess">Success</button>
<button id="setStateFail">Fail</button>
<button id="setStateUnknown">Unknown</button>
</div>
</body>
</html>