Closed Bug 724286 Opened 12 years ago Closed 12 years ago

Fix TelemetryTimestamps, AddonManagerPrivate global scope pollution and whitelist __SSi

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 13

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file)

      No description provided.
Blocks: 715402
Attached patch patchSplinter Review
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #594478 - Flags: review?(dietrich)
Comment on attachment 594478 [details] [diff] [review]
patch

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

::: browser/base/content/browser.js
@@ +139,5 @@
>  
>  __defineGetter__("AddonManager", function() {
> +  let tmp = {};
> +  Cu.import("resource://gre/modules/AddonManager.jsm", tmp);
> +  return this.AddonManager = tmp.AddonManager;

why can't you pass 'this' to Cu.import()?

r=me otherwise
Attachment #594478 - Flags: review?(dietrich) → review+
AddonManager.jsm exports another symbol (AddonManagerPrivate).
http://hg.mozilla.org/integration/mozilla-inbound/rev/75a63510cbcf
Summary: Fix TelemetryTimestamps, AddonManagerPrivate global scope pollution → Fix TelemetryTimestamps, AddonManagerPrivate global scope pollution and whitelist __SSi
Target Milestone: --- → Firefox 13
https://hg.mozilla.org/mozilla-central/rev/75a63510cbcf
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.