Closed
Bug 1367669
Opened 8 years ago
Closed 8 years ago
[Payment Request API] Revise the way to validate a decimal monetary value
Categories
(Core :: DOM: Web Payments, enhancement)
Core
DOM: Web Payments
Tracking
()
RESOLVED
FIXED
mozilla56
| Tracking | Status | |
|---|---|---|
| firefox56 | --- | fixed |
People
(Reporter: alchen, Assigned: alchen)
Details
Attachments
(2 files, 3 obsolete files)
|
5.65 KB,
patch
|
alchen
:
review+
|
Details | Diff | Splinter Review |
|
4.31 KB,
patch
|
alchen
:
review+
|
Details | Diff | Splinter Review |
[definition]
A JavaScript string is a valid decimal monetary value if it consists of the following code points in the given order:
Optionally, a single U+002D HYPHEN-MINUS (-), to indicate that the amount is negative.
One or more code points in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
Optionally, a single U+002E FULL STOP (.) followed by one or more code points in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
| Assignee | ||
Comment 1•8 years ago
|
||
We need to revise the validate way to pass web-platform-test.
Attachment #8875604 -
Flags: review?(amarchesini)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → alchen
Comment 2•8 years ago
|
||
Comment on attachment 8875604 [details] [diff] [review]
Revise the way to validate a decimal monetary value
Review of attachment 8875604 [details] [diff] [review]:
-----------------------------------------------------------------
We need tests for this. Submit a separate patch for tests.
Attachment #8875604 -
Flags: review?(amarchesini) → review+
| Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8875604 -
Attachment is obsolete: true
Attachment #8879788 -
Flags: review+
| Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8879788 [details] [diff] [review]
Mochitest for validate a decimal monetary value
Here is the mochitest for it.
Attachment #8879788 -
Attachment description: Revise the way to validate a decimal monetary value. r=baku → Mochitest for validate a decimal monetary value
Attachment #8879788 -
Attachment filename: bug1367669_Impl.patch → bug1367669_Test.patch
Attachment #8879788 -
Flags: review+ → review?(amarchesini)
| Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8879789 -
Flags: review+
| Assignee | ||
Comment 6•8 years ago
|
||
Add bug number into the summary
Attachment #8879789 -
Attachment is obsolete: true
Attachment #8879811 -
Flags: review+
Updated•8 years ago
|
Attachment #8879788 -
Flags: review?(amarchesini) → review+
| Assignee | ||
Comment 7•8 years ago
|
||
Attachment #8879788 -
Attachment is obsolete: true
Attachment #8879848 -
Flags: review+
| Assignee | ||
Comment 8•8 years ago
|
||
The result of try server looks fine.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a0ef7027fb26da5c3394b435561b3ae906137d4c&selectedJob=108726379
| Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b6364d014e35
[PaymentRequest API] Revise the way to validate a decimal monetary value. r=baku
https://hg.mozilla.org/integration/mozilla-inbound/rev/c636d23314b1
[PaymentRequest API] Mochitest for validate a decimal monetary value. r=baku
Keywords: checkin-needed
Comment 10•8 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b6364d014e35
https://hg.mozilla.org/mozilla-central/rev/c636d23314b1
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•