Changeset 132573 in webkit
- Timestamp:
- Oct 25, 2012 10:41:30 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r132570 r132573 1 2012-10-25 Peter Wang <peter.wang@torchmobile.com.cn> 2 3 A mistake in WebCore::JavaScriptCallFrame::evaluate which will cause assert failed 4 https://bugs.webkit.org/show_bug.cgi?id=100347 5 6 Reviewed by Mark Lam and Filip Pizlo. 7 8 In worker context, calling "JSDOMWindowBase::commonJSGlobalData" will cause assert, 9 since there is "ASSERT(isMainThread())" in "JSDOMWindowBase::commonJSGlobalData". 10 11 No new test case, since no behaviour changed. 12 13 * bindings/js/JavaScriptCallFrame.cpp: 14 (WebCore::JavaScriptCallFrame::evaluate): 15 1 16 2012-10-25 Adam Barth <abarth@webkit.org> 2 17 -
trunk/Source/WebCore/bindings/js/JavaScriptCallFrame.cpp
r127757 r132573 116 116 return jsNull(); 117 117 118 JSLockHolder lock( JSDOMWindowBase::commonJSGlobalData());118 JSLockHolder lock(m_debuggerCallFrame.callFrame()); 119 119 return m_debuggerCallFrame.evaluate(script, exception); 120 120 }
Note: See TracChangeset
for help on using the changeset viewer.