Closed
Bug 878000
Opened 11 years ago
Closed 11 years ago
ProxyAutoconfig should set a stack quotum when creating a JS runtime
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: ejpbruel, Assigned: ejpbruel)
References
Details
Attachments
(1 file)
892 bytes,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
ProxyAutoConfig creates a new JS runtime. Whenever we do this, we also need to set a stack quotum. Not doing this could cause JS_CHECK_RECURSION to report false positives. This is blocking us from landing bug 637572.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #756453 -
Flags: review?(khuey)
Comment on attachment 756453 [details] [diff] [review] Single line fix Review of attachment 756453 [details] [diff] [review]: ----------------------------------------------------------------- I may be overstepping my bounds a little bit by r+ing this, but I'm going to do it anyways. ::: netwerk/base/src/ProxyAutoConfig.cpp @@ +528,5 @@ > + /* > + * Not setting this will cause JS_CHECK_RECURSION to report false > + * positives > + */ > + JS_SetNativeStackQuota(mRuntime, 128 * sizeof(size_t) * 1024); More extra whitespace at EOL.
Attachment #756453 -
Flags: review?(khuey) → review+
Comment 3•11 years ago
|
||
kyle's review is fine by me. (and appreciated too!)
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1180fa46316f
Assignee: nobody → ejpbruel
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1180fa46316f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•