Closed Bug 111213 Opened 24 years ago Closed 24 years ago

JS doesn't restart when SetScriptsEnabled is called with true

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: rods, Assigned: jst)

References

Details

(Whiteboard: [HAVE FIX])

Attachments

(2 files)

Filing this as a dependency for my PrintPreview JS issue
Blocks: 107562
DOM is the component for this, not JS Engine. Reassigning.
Component: Javascript Engine → DOM Other
QA Contact: pschwartau → gerardok
Attached patch patch fileSplinter Review
This should be checked in when jst's patch is chceked in.
jband, sr=?
Status: NEW → ASSIGNED
OS: Windows 2000 → All
Priority: -- → P2
Hardware: PC → All
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.7
Comment on attachment 59289 [details] [diff] [review] "Restart" JS when scripts are enabled on a context. Why is this not called SetScriptsEnabled? ScriptsEnabled sounds like it is more likely to Get than to Set. otherwise sr=jband
Attachment #59289 - Flags: superreview+
Good point, consider it renamed to SetScriptsEnabled().
Comment on attachment 59289 [details] [diff] [review] "Restart" JS when scripts are enabled on a context. r=jkeiser
Attachment #59289 - Flags: review+
Comment on attachment 59202 [details] [diff] [review] patch file >+ if (nsnull != owner) { >+ if (NS_SUCCEEDED(rv) && (nsnull != global)) { >+ if (nsnull != domdoc) { r=peterv but please change the |if (nsnull != foo)| to |if (foo)|.
Attachment #59202 - Flags: review+
Both patches checked in. Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: