Changeset 121891 in webkit
- Timestamp:
- Jul 5, 2012 1:19:51 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r121884 r121891 1 2012-07-05 Peter Wang <peter.wang@torchmobile.com.cn> 2 3 Web Inspector: [JSC] support JS execution in the context of an isolated world 4 https://bugs.webkit.org/show_bug.cgi?id=85709 5 6 Reviewed by Gavin Barraclough. 7 8 No new test case for this bug. 9 10 * bindings/js/ScriptController.cpp: 11 (WebCore::ScriptController::collectIsolatedContexts): 12 (WebCore): 13 1 14 2012-07-04 Huang Dongsung <luxtella@company100.net> 2 15 -
trunk/Source/WebCore/bindings/js/ScriptController.cpp
r121381 r121891 337 337 } 338 338 339 void ScriptController::collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*> >&) 340 { 341 // FIXME(85709): support isolated contexts inspection for JSC. 342 } 339 void ScriptController::collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*> >& result) 340 { 341 for (ShellMap::iterator iter = m_windowShells.begin(); iter != m_windowShells.end(); ++iter) { 342 JSC::ExecState* exec = iter->second->window()->globalExec(); 343 SecurityOrigin* origin = iter->second->window()->impl()->securityOrigin(); 344 result.append(std::pair<ScriptState*, SecurityOrigin*>(exec, origin)); 345 } 346 } 347 343 348 #endif 344 349
Note: See TracChangeset
for help on using the changeset viewer.