Closed Bug 729346 Opened 12 years ago Closed 12 years ago

Allow public access (in C++) to loaded scripts of a Domain object

Categories

(Tamarin Graveyard :: Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wmaddox, Assigned: pnkfelix)

Details

Attachments

(1 file, 2 obsolete files)

Allow access to the table of loaded scripts for a Domain object.
Access provided at the C++ level, for the benefit of host-provided native libraries only.

Patch proposed by Xing Zhang <xzhang@adobe.com>.
I'd recommend renaming the accessor to Domain::getLoadedScripts(), following the nomenclature for the data member.

The patch is trivial, except for possible GC hygiene issues.  Asking Felix to take a look at it.
Assignee: nobody → fklockii
Status: NEW → ASSIGNED
Attachment #599394 - Attachment is patch: true
Looks fine with me.
Attachment #599394 - Flags: review+
(reassigning to Xing since I think he will be renaming the accessor.)
Assignee: fklockii → xzhang
change the accessor name to getLoadedScripts according to previous review
Attachment #599414 - Flags: review?(fklockii)
Name change is done, assign it to Felix for review.
Assignee: xzhang → fklockii
Attachment #599414 - Flags: review?(fklockii) → review+
(The diff wasn't in the appropriate format for patching tamarin-redux, but its a trivial patch so that did not hold me up from reviewing nor will it hold me up from landing it.)
((also there were tabs introduced by both patches.  I am not sure why I did not notice that earlier.  Again, easily fixed and I'll just do it before I land it.))
Attachment #599394 - Attachment is obsolete: true
Attachment #599414 - Attachment is obsolete: true
Attachment #599503 - Flags: review+
Attachment #599503 - Attachment description: Provide public accessor for m_loadedScripts field. → Provide public accessor for m_loadedScripts field (v3 final).
changeset: 7212:98ddf7c038a8
user:      Xing Zhang <xzhang@adobe.com>
summary:   Bug 729346: Provide public accessor for m_loadedScripts field. (p=xzhang, r=wmaddox, fklockii).

http://hg.mozilla.org/tamarin-redux/rev/98ddf7c038a8
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.

Attachment

General

Creator:
Created:
Updated:
Size: