Remove more newURI's null parameters

RESOLVED FIXED in Firefox 54

Status

()

defect
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: florian, Assigned: florian)

Tracking

53 Branch
Firefox 54
Points:
---

Firefox Tracking Flags

(firefox54 fixed)

Details

Attachments

(3 attachments, 1 obsolete attachment)

(Assignee)

Description

2 years ago
Posted file xpcshell script (obsolete) —
The script I used in bug 1329182 missed the following cases:
- files with .html or .xul extensions
- newURI calls with the . on the previous line.

The attached xpcshell script (based on the version I used in bug 1334199) handles these case.
(Assignee)

Comment 1

2 years ago
Attachment #8830915 - Flags: review?(jaws)
(Assignee)

Comment 2

2 years ago
Posted file xpcshell script
The previous script missed parameters that were provided as "" instead of null.
Attachment #8830903 - Attachment is obsolete: true
Comment on attachment 8830915 [details] [diff] [review]
script-generated patch

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

rs=me
Attachment #8830915 - Flags: review?(jaws) → review+
(Assignee)

Comment 4

2 years ago
Attachment #8830930 - Flags: review?(jaws)
Attachment #8830930 - Flags: review?(jaws) → review+
(Assignee)

Comment 5

2 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/c0be583a19b635e94b3e7801497d09d03daa68b7
Bug 1334261 - make the no-useless-parameters rule reject newURI call with an empty string as the last parameter, r=jaws.

https://hg.mozilla.org/integration/mozilla-inbound/rev/a58d0d69502bbe43f2d468d08b2adeda458f630f
Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws.

Comment 6

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/c0be583a19b6
https://hg.mozilla.org/mozilla-central/rev/a58d0d69502b
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
You need to log in before you can comment on or make changes to this bug.