Remove MozLoopService #ifdef DEBUG and fix tests

RESOLVED FIXED in Firefox 34

Status

Hello (Loop)
Client
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: MattN, Assigned: MattN)

Tracking

unspecified
mozilla35
Points:
1
Bug Flags:
firefox-backlog +
qe-verify -

Firefox Tracking Flags

(firefox34 fixed, firefox35 fixed)

Details

(Whiteboard: [loop-uplift])

Attachments

(1 attachment)

Since I found out now that we can do the following in tests, the #ifdef DEBUG stuff that I added should be removed.

const MozLoopServiceInternal = Cu.import("resource:///modules/loop/MozLoopService.jsm", {}).
                               MozLoopServiceInternal;


bholley, is it expected that I can access non-exported symbols using this method? I don't want to rely on it if that's not expected.
Flags: needinfo?(bobbyholley)
Flags: firefox-backlog+
Per the IDL it is expected. Possibly not the best design decision, but unlikely to change at this point. Rely away.
Flags: needinfo?(bobbyholley)
Untracking for QE. Please needinfo me to request testing.
Flags: qe-verify-
Created attachment 8482990 [details] [diff] [review]
v.1 Switch to Cu.import of the non-exported symbols
Attachment #8482990 - Flags: review?(jaws)
Keywords: checkin-needed
https://hg.mozilla.org/integration/fx-team/rev/aecfd2bc7afe

Thanks bholley and jaws!
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/aecfd2bc7afe
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla35

Updated

4 years ago
Whiteboard: [loop-uplift]
Comment on attachment 8482990 [details] [diff] [review]
v.1 Switch to Cu.import of the non-exported symbols

Approval Request Comment
Uplift request for patches staged and tested on Fig
Attachment #8482990 - Flags: approval-mozilla-aurora?

Updated

4 years ago
status-firefox34: --- → fixed
status-firefox35: --- → fixed
Comment on attachment 8482990 [details] [diff] [review]
v.1 Switch to Cu.import of the non-exported symbols

I worked with Randell and Maire on uplifting a large number of Loop bugs at once. All of the bugs have been staged on Fig and tested by QE before uplift to Aurora. As well, all of the bugs are isolated to the Loop client. Randell handled the uplift with my approval. I am adding approval to the bug after the fact for bookkeeping.
Attachment #8482990 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.