Closed Bug 604957 Opened 14 years ago Closed 14 years ago

Change Sandbox constructor

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: peterv, Assigned: peterv)

References

Details

(Keywords: dev-doc-complete, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file, 2 obsolete files)

We decided to change the API slightly. Currently it has two optional arguments but they're really independent, so one always has to specify the first if the second needs to be set. We should change that to be one optional argument that's an object with properties instead.
Attached patch v1 (obsolete) — Splinter Review
Attached patch v1.1 (obsolete) — Splinter Review
Attachment #483804 - Attachment is obsolete: true
Attachment #483806 - Flags: review?(mrbkap)
blocking2.0: --- → ?
Blocks: 580128
If we have to do this, it has to block beta7, as an API change.
blocking2.0: ? → beta7+
Attached patch v1.2Splinter Review
Attachment #483806 - Attachment is obsolete: true
Attachment #484193 - Flags: review?(mrbkap)
Attachment #483806 - Flags: review?(mrbkap)
Attachment #484193 - Flags: review?(mrbkap) → review+
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b7
Documentation updated: https://developer.mozilla.org/en/Components.utils.evalInSandbox https://developer.mozilla.org/en/Components.utils.Sandbox The latter article in particular got a major overhaul, and I would appreciate it if someone would review it. In particular, I don't know what the wantXrays parameter means exactly, so if someone can clarify that it would be lovely.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: