test_bug_411966.html bug_411966/redirect.js are still using addURI

RESOLVED FIXED in mozilla21

Status

()

Toolkit
Places
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mak, Assigned: raymondlee)

Tracking

Trunk
mozilla21
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

5 years ago
these 2 tests are still using AddURI and should be converted to updatePlaces
(Reporter)

Updated

5 years ago
Blocks: 739218
(Assignee)

Comment 1

5 years ago
Created attachment 704769 [details] [diff] [review]
v1
Assignee: nobody → raymond
Status: NEW → ASSIGNED
Attachment #704769 - Flags: review?(mak77)
(Reporter)

Comment 2

5 years ago
Comment on attachment 704769 [details] [diff] [review]
v1

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

ugh, one day we should rewrite these tests and make them readable.
I assume the tests passes, the changes look correct though the differences with addURI internals are subtle so it's a bit hard to evaluate off-hand.

::: toolkit/components/places/tests/mochitest/bug_411966/redirect.js
@@ +10,5 @@
>  ok(Ci != null, "Access Ci");
>  const Cc = Components.classes;
>  ok(Cc != null, "Access Cc");
> +const Cu = Components.utils
> +ok(Cu != null, "Access Cu");

these ok checks on Components are really coming from the Mesozoic, please remove them.
Attachment #704769 - Flags: review?(mak77) → review+
(Assignee)

Comment 3

5 years ago
Created attachment 705227 [details] [diff] [review]
Patch for check-in

(In reply to Marco Bonardo [:mak] from comment #2)
> ::: toolkit/components/places/tests/mochitest/bug_411966/redirect.js
> @@ +10,5 @@
> >  ok(Ci != null, "Access Ci");
> >  const Cc = Components.classes;
> >  ok(Cc != null, "Access Cc");
> > +const Cu = Components.utils
> > +ok(Cu != null, "Access Cu");
> 
> these ok checks on Components are really coming from the Mesozoic, please
> remove them.

Removed


Pushed to try and waiting for results
Attachment #704769 - Attachment is obsolete: true
(Assignee)

Comment 5

5 years ago
(In reply to Raymond Lee [:raymondlee] from comment #4)
> https://tbpl.mozilla.org/?tree=Try&rev=3659ba3ac4f7

Passed try
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/5c0b05810722
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.