Changeset 86270 in webkit
- Timestamp:
- May 11, 2011 2:18:09 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86269 r86270 1 2011-05-11 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Frequent crashes beneath WebCore::ScriptElement::prepareScript 6 https://bugs.webkit.org/show_bug.cgi?id=60559 7 8 * html/parser/HTMLScriptRunner.cpp: 9 (WebCore::HTMLScriptRunner::runScript): 10 Add null check and explanation that we are keeping the ASSERT to help 11 track down the cause and produce a test. 12 1 13 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com> 2 14 -
trunk/Source/WebCore/html/parser/HTMLScriptRunner.cpp
r84357 r86270 285 285 286 286 ScriptElement* scriptElement = toScriptElement(script); 287 288 // This contains both and ASSERTION and a null check since we should not 289 // be getting into the case of a null script element, but seem to be from 290 // time to time. The assertion is left in to help find those cases and 291 // is being tracked by <https://bugs.webkit.org/show_bug.cgi?id=60559>. 287 292 ASSERT(scriptElement); 293 if (!scriptElement) 294 return; 288 295 289 296 scriptElement->prepareScript(scriptStartPosition);
Note: See TracChangeset
for help on using the changeset viewer.