Changeset 51580 in webkit
- Timestamp:
- Dec 1, 2009 7:44:11 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51577 r51580 1 2009-12-01 Adam Barth <abarth@webkit.org> 2 3 https://bugs.webkit.org/show_bug.cgi?id=21288 4 5 Unreviewed port of @sandbox to V8. 6 7 * bindings/v8/ScriptController.cpp: 8 (WebCore::ScriptController::isEnabled): 9 * bindings/v8/custom/V8DOMWindowCustom.cpp: 10 (WebCore::createWindow): 11 1 12 2009-12-01 Patrik Persson <patrik.j.persson@ericsson.com> 2 13 -
trunk/WebCore/bindings/v8/ScriptController.cpp
r51538 r51580 295 295 { 296 296 Settings* settings = m_proxy->frame()->settings(); 297 return m_proxy->frame()->loader()->client()->allowJavaScript(settings && settings-> isJavaScriptEnabled());297 return m_proxy->frame()->loader()->client()->allowJavaScript(settings && settings->settings->isJavaScriptEnabled() && !m_frame->loader()->isSandboxed(SandboxScripts)); 298 298 } 299 299 -
trunk/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
r51536 r51580 551 551 ASSERT(enteredFrame); 552 552 553 // Sandboxed iframes cannot open new auxiliary browsing contexts. 554 if (callingFrame && callingFrame->loader()->isSandboxed(SandboxNavigation)) 555 return 0; 556 553 557 ResourceRequest request; 554 558
Note: See TracChangeset
for help on using the changeset viewer.