Fix for Bugs 22485, 20799 ( SCRIPT content processing ).

r=vidur,pollmann
Partial fix for bug 22260 ( enabling userdefined Tags ).
r=rickg


git-svn-id: svn://10.0.0.236/trunk@57737 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2000-01-13 23:50:41 +00:00
parent 394fb406dc
commit 3c64c50dcb
24 changed files with 264 additions and 130 deletions

View File

@@ -231,6 +231,22 @@ PRUint32 nsScanner::Mark(PRInt32 anIndex){
return 0;
}
/**
* Insert data to our underlying input buffer as
* if it were read from an input stream.
*
* @update harishd 01/12/99
* @return error code
*/
PRBool nsScanner::Insert(const nsString& aBuffer) {
PRInt32 theLen=aBuffer.Length();
mBuffer.Insert(aBuffer,mOffset,theLen);
mTotalRead+=theLen;
return PR_TRUE;
}
/**
* Append data to our underlying input buffer as