Changeset 12505 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jan 31, 2006, 3:38:48 PM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r12489 r12505 1 2006-01-31 Tim Omernick <[email protected]> 2 3 Reviewed by Geoff Garen. 4 5 * bindings/c/c_utility.cpp: 6 (KJS::Bindings::convertUTF8ToUTF16): 7 Fixed an invalid assertion that UTF8Chars is not NULL. It is valid for it to be NULL as long as 8 UTF8Length is 0. 9 This fixes an assertion failure on TOT at <http://www.musicindiaonline.com/p/x/tJO0OOBME9.As1NMvHdW/>, 10 where JavaScript is getting a NULL string back from some call on the Real Player plugin. 11 1 12 2006-01-30 Anders Carlsson <[email protected]> 2 13 -
trunk/JavaScriptCore/bindings/c/c_utility.cpp
r12426 r12505 44 44 void convertUTF8ToUTF16(const NPUTF8 *UTF8Chars, int UTF8Length, NPUTF16 **UTF16Chars, unsigned int *UTF16Length) 45 45 { 46 assert(UTF8Chars );46 assert(UTF8Chars || UTF8Length == 0); 47 47 48 48 if (UTF8Length == -1)
Note:
See TracChangeset
for help on using the changeset viewer.