Add more corner cases to the TestEscapeURL gtest

RESOLVED FIXED in Firefox 52

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: RyanVM, Unassigned)

Tracking

Trunk
mozilla52
Points:
---

Firefox Tracking Flags

(firefox52 fixed)

Details

Attachments

(1 attachment)

Came up in a recent conversation with Nathan, wanted to get it filed before forgetting.
There are no tests for this piece of code otherwise, and it'd be good to
have cases for non-escape sequences of various flavors.
Attachment #8808801 - Flags: review?(erahm)
Comment on attachment 8808801 [details] [diff] [review]
add tests for edge cases for nsUnescapeCount

Review of attachment 8808801 [details] [diff] [review]:
-----------------------------------------------------------------

Seems reasonable. On a side note: nsUnescapeCount count could really use some comments.
Attachment #8808801 - Flags: review?(erahm) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dff5bc50c120
add tests for edge cases for nsUnescapeCount; r=erahm
https://hg.mozilla.org/mozilla-central/rev/dff5bc50c120
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.