[Webkit-unassigned] [Bug 93392] CSP doesn't turn off eval, etc. in Web Workers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 20 13:03:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93392
Adam Barth <abarth at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #159495|review? |review+
Flag| |
--- Comment #16 from Adam Barth <abarth at webkit.org> 2012-08-20 13:03:42 PST ---
(From update of attachment 159495)
View in context: https://bugs.webkit.org/attachment.cgi?id=159495&action=review
> Source/WebCore/bindings/v8/WorkerContextExecutionProxy.cpp:249
> + m_disableEvalPending = !enable;
What if m_context already exists? Should we call AllowCodeGenerationFromStrings on it?
> Source/WebCore/bindings/v8/WorkerContextExecutionProxy.h:72
> + void allowEval(bool enable);
setEvalAllowed ?
> Source/WebCore/bindings/v8/custom/V8WorkerContextCustom.cpp:69
> + if (ContentSecurityPolicy *policy = workerContext->contentSecurityPolicy()) {
ContentSecurityPolicy * -> ContentSecurityPolicy*
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list