Changeset 51912 in webkit
- Timestamp:
- Dec 9, 2009 12:14:08 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51910 r51912 1 2009-12-09 Søren Gjesse <sgjesse@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 [V8] Isolated world reuse failure 6 https://bugs.webkit.org/show_bug.cgi?id=32306 7 8 Fixed bug introduced in r51407: (http://trac.webkit.org/changeset/51407) which caused layout test 9 LayoutTests/http/tests/security/isolatedWorld/world-reuse.html to fail. 10 11 * bindings/v8/V8Proxy.cpp: 12 (WebCore::V8Proxy::setInjectedScriptContextDebugId): 13 (WebCore::V8Proxy::contextDebugId): 14 1 15 2009-12-09 Patrick Scott <phanna@email.unc.edu> 2 16 -
trunk/WebCore/bindings/v8/V8Proxy.cpp
r51459 r51912 390 390 return false; 391 391 int debugId = contextDebugId(m_context); 392 393 char buffer[32]; 392 394 if (debugId == -1) 393 return false; 394 395 char buffer[32]; 396 snprintf(buffer, sizeof(buffer), "injected,%d", debugId); 395 snprintf(buffer, sizeof(buffer), "injected"); 396 else 397 snprintf(buffer, sizeof(buffer), "injected,%d", debugId); 397 398 targetContext->SetData(v8::String::New(buffer)); 398 399 … … 1379 1380 v8::String::AsciiValue ascii(context->GetData()); 1380 1381 char* comma = strnstr(*ascii, ",", ascii.length()); 1382 if (!comma) 1383 return -1; 1381 1384 return atoi(comma + 1); 1382 1385 }
Note: See TracChangeset
for help on using the changeset viewer.