00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 static const char XMLHttpRequestProtoTableStrings[] = {
00008 "\0"
00009 "getAllResponseHeaders\0"
00010 "getResponseHeader\0"
00011 "setRequestHeader\0"
00012 "abort\0"
00013 "open\0"
00014 "send\0"
00015 };
00016
00017
00018 static const struct HashEntry XMLHttpRequestProtoTableEntries[] = {
00019 { 64, XMLHttpRequest::Open, DontDelete|Function, 5, -1 },
00020 { 0, 0, 0, 0, -1 },
00021 { 23, XMLHttpRequest::GetResponseHeader, DontDelete|Function, 1, -1 },
00022 { 41, XMLHttpRequest::SetRequestHeader, DontDelete|Function, 2, -1 },
00023 { 58, XMLHttpRequest::Abort, DontDelete|Function, 0, -1 },
00024 { 0, 0, 0, 0, -1 },
00025 { 1, XMLHttpRequest::GetAllResponseHeaders, DontDelete|Function, 0, 7 },
00026 { 69, XMLHttpRequest::Send, DontDelete|Function, 1, -1 }
00027 };
00028
00029 const struct HashTable XMLHttpRequestProtoTable = { 2, 8, XMLHttpRequestProtoTableEntries, 7, XMLHttpRequestProtoTableStrings};
00030
00031 }
00032
00033 using namespace KJS;
00034
00035 namespace KJS {
00036
00037 static const char XMLHttpRequestTableStrings[] = {
00038 "\0"
00039 "onreadystatechange\0"
00040 "responseText\0"
00041 "responseXML\0"
00042 "readyState\0"
00043 "statusText\0"
00044 "onload\0"
00045 "status\0"
00046 };
00047
00048
00049 static const struct HashEntry XMLHttpRequestTableEntries[] = {
00050 { 33, XMLHttpRequest::ResponseXML, DontDelete|ReadOnly, 0, 8 },
00051 { 0, 0, 0, 0, -1 },
00052 { 1, XMLHttpRequest::Onreadystatechange, DontDelete, 0, -1 },
00053 { 45, XMLHttpRequest::ReadyState, DontDelete|ReadOnly, 0, -1 },
00054 { 74, XMLHttpRequest::Status, DontDelete|ReadOnly, 0, -1 },
00055 { 20, XMLHttpRequest::ResponseText, DontDelete|ReadOnly, 0, 7 },
00056 { 0, 0, 0, 0, -1 },
00057 { 56, XMLHttpRequest::StatusText, DontDelete|ReadOnly, 0, -1 },
00058 { 67, XMLHttpRequest::Onload, DontDelete, 0, -1 }
00059 };
00060
00061 const struct HashTable XMLHttpRequestTable = { 2, 9, XMLHttpRequestTableEntries, 7, XMLHttpRequestTableStrings};
00062
00063 }