00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 static const char ScreenTableStrings[] = {
00008 "\0"
00009 "availHeight\0"
00010 "availWidth\0"
00011 "colorDepth\0"
00012 "pixelDepth\0"
00013 "availLeft\0"
00014 "availTop\0"
00015 "height\0"
00016 "width\0"
00017 };
00018
00019
00020 static const struct HashEntry ScreenTableEntries[] = {
00021 { 0, 0, 0, 0, -1 },
00022 { 24, Screen::ColorDepth, DontEnum|ReadOnly, 0, 9 },
00023 { 0, 0, 0, 0, -1 },
00024 { 65, Screen::Height, DontEnum|ReadOnly, 0, 7 },
00025 { 35, Screen::PixelDepth, DontEnum|ReadOnly, 0, -1 },
00026 { 72, Screen::Width, DontEnum|ReadOnly, 0, -1 },
00027 { 56, Screen::AvailTop, DontEnum|ReadOnly, 0, 8 },
00028 { 46, Screen::AvailLeft, DontEnum|ReadOnly, 0, -1 },
00029 { 1, Screen::AvailHeight, DontEnum|ReadOnly, 0, -1 },
00030 { 13, Screen::AvailWidth, DontEnum|ReadOnly, 0, -1 }
00031 };
00032
00033 const struct HashTable ScreenTable = { 2, 10, ScreenTableEntries, 7, ScreenTableStrings};
00034
00035 }
00036
00037 using namespace KJS;
00038
00039 namespace KJS {
00040
00041 static const char WindowTableStrings[] = {
00042 "\0"
00043 "removeEventListener\0"
00044 "offscreenBuffering\0"
00045 "clientInformation\0"
00046 "addEventListener\0"
00047 "getComputedStyle\0"
00048 "XMLHttpRequest\0"
00049 "XMLSerializer\0"
00050 "captureEvents\0"
00051 "clearInterval\0"
00052 "defaultStatus\0"
00053 "defaultstatus\0"
00054 "releaseEvents\0"
00055 "DOMException\0"
00056 "clearTimeout\0"
00057 "frameElement\0"
00058 "innerHeight\0"
00059 "onmousedown\0"
00060 "onmousemove\0"
00061 "onmouseover\0"
00062 "outerHeight\0"
00063 "pageXOffset\0"
00064 "pageYOffset\0"
00065 "personalbar\0"
00066 "setInterval\0"
00067 "NodeFilter\0"
00068 "innerWidth\0"
00069 "ondblclick\0"
00070 "ondragdrop\0"
00071 "onkeypress\0"
00072 "onmouseout\0"
00073 "outerWidth\0"
00074 "scrollbars\0"
00075 "setTimeout\0"
00076 "DOMParser\0"
00077 "konqueror\0"
00078 "navigator\0"
00079 "onkeydown\0"
00080 "onmouseup\0"
00081 "document\0"
00082 "external\0"
00083 "location\0"
00084 "navigate\0"
00085 "onchange\0"
00086 "onresize\0"
00087 "onselect\0"
00088 "onsubmit\0"
00089 "onunload\0"
00090 "resizeBy\0"
00091 "resizeTo\0"
00092 "scrollBy\0"
00093 "scrollTo\0"
00094 "CSSRule\0"
00095 "confirm\0"
00096 "history\0"
00097 "onabort\0"
00098 "onclick\0"
00099 "onerror\0"
00100 "onfocus\0"
00101 "onkeyup\0"
00102 "onreset\0"
00103 "screenX\0"
00104 "screenY\0"
00105 "scrollX\0"
00106 "scrollY\0"
00107 "sidebar\0"
00108 "Option\0"
00109 "closed\0"
00110 "crypto\0"
00111 "frames\0"
00112 "length\0"
00113 "moveBy\0"
00114 "moveTo\0"
00115 "onblur\0"
00116 "onload\0"
00117 "onmove\0"
00118 "opener\0"
00119 "parent\0"
00120 "prompt\0"
00121 "screen\0"
00122 "scroll\0"
00123 "window\0"
00124 "Event\0"
00125 "Image\0"
00126 "Range\0"
00127 "alert\0"
00128 "close\0"
00129 "event\0"
00130 "print\0"
00131 "Node\0"
00132 "atob\0"
00133 "btoa\0"
00134 "name\0"
00135 "open\0"
00136 "self\0"
00137 "top\0"
00138 };
00139
00140
00141 static const struct HashEntry WindowTableEntries[] = {
00142 { 852, Window::Close, DontDelete|Function, 0, -1 },
00143 { 0, 0, 0, 0, -1 },
00144 { 846, Window::Alert, DontDelete|Function, 1, -1 },
00145 { 278, Window::OuterHeight, DontDelete|ReadOnly, 0, 94 },
00146 { 371, Window::Ondragdrop, DontDelete, 0, -1 },
00147 { 0, 0, 0, 0, -1 },
00148 { 21, Window::OffscreenBuffering, DontDelete|ReadOnly, 0, -1 },
00149 { 426, Window::SetTimeout, DontDelete|Function, 2, -1 },
00150 { 0, 0, 0, 0, -1 },
00151 { 0, 0, 0, 0, -1 },
00152 { 191, Window::DOMException, DontDelete, 0, 104 },
00153 { 723, Window::Closed, DontDelete|ReadOnly, 0, 97 },
00154 { 858, Window::Event, DontDelete|ReadOnly, 0, 110 },
00155 { 0, 0, 0, 0, -1 },
00156 { 772, Window::Onload, DontDelete, 0, -1 },
00157 { 737, Window::Frames, DontDelete|ReadOnly, 0, -1 },
00158 { 676, Window::ScreenX, DontDelete|ReadOnly, 0, 107 },
00159 { 40, Window::ClientInformation, DontDelete|ReadOnly, 0, 96 },
00160 { 604, Window::CSSRule, DontDelete, 0, 114 },
00161 { 744, Window::Length, DontDelete|ReadOnly, 0, 93 },
00162 { 314, Window::Personalbar, DontDelete|ReadOnly, 0, -1 },
00163 { 135, Window::ClearInterval, DontDelete|Function, 1, -1 },
00164 { 0, 0, 0, 0, -1 },
00165 { 864, Window::Print, DontDelete|Function, 0, -1 },
00166 { 477, Window::Onmouseup, DontDelete, 0, -1 },
00167 { 338, Window::NodeFilter, DontDelete, 0, -1 },
00168 { 786, Window::Opener, DontDelete|ReadOnly, 0, -1 },
00169 { 793, Window::Parent, DontDelete|ReadOnly, 0, 118 },
00170 { 0, 0, 0, 0, -1 },
00171 { 0, 0, 0, 0, -1 },
00172 { 0, 0, 0, 0, -1 },
00173 { 692, Window::ScrollX, DontDelete|ReadOnly, 0, 112 },
00174 { 814, Window::Scroll, DontDelete|Function, 2, 99 },
00175 { 0, 0, 0, 0, -1 },
00176 { 870, Window::Node, DontDelete, 0, 117 },
00177 { 765, Window::Onblur, DontDelete, 0, -1 },
00178 { 0, 0, 0, 0, -1 },
00179 { 779, Window::Onmove, DontDelete, 0, -1 },
00180 { 834, Window::Image, DontDelete|ReadOnly, 0, 106 },
00181 { 382, Window::Onkeypress, DontDelete, 0, -1 },
00182 { 0, 0, 0, 0, -1 },
00183 { 586, Window::ScrollBy, DontDelete|Function, 2, 102 },
00184 { 0, 0, 0, 0, -1 },
00185 { 0, 0, 0, 0, -1 },
00186 { 568, Window::ResizeBy, DontDelete|Function, 2, 105 },
00187 { 107, Window::XMLSerializer, DontDelete|ReadOnly, 0, 116 },
00188 { 514, Window::Navigate, DontDelete|Function, 1, -1 },
00189 { 58, Window::AddEventListener, DontDelete|Function, 3, -1 },
00190 { 840, Window::Range, DontDelete, 0, 95 },
00191 { 302, Window::PageYOffset, DontDelete|ReadOnly, 0, 98 },
00192 { 730, Window::Crypto, DontDelete|ReadOnly, 0, 90 },
00193 { 800, Window::Prompt, DontDelete|Function, 2, -1 },
00194 { 577, Window::ResizeTo, DontDelete|Function, 2, -1 },
00195 { 170, Window::Status, DontDelete, 0, 120 },
00196 { 0, 0, 0, 0, -1 },
00197 { 0, 0, 0, 0, -1 },
00198 { 505, Window::_Location, DontDelete, 0, 123 },
00199 { 242, Window::Onmousedown, DontDelete, 0, -1 },
00200 { 0, 0, 0, 0, -1 },
00201 { 0, 0, 0, 0, -1 },
00202 { 541, Window::Onselect, DontDelete, 0, -1 },
00203 { 885, Window::Name, DontDelete, 0, 125 },
00204 { 487, Window::Document, DontDelete|ReadOnly, 0, -1 },
00205 { 644, Window::Onerror, DontDelete, 0, 129 },
00206 { 0, 0, 0, 0, -1 },
00207 { 0, 0, 0, 0, -1 },
00208 { 875, Window::AToB, DontDelete|Function, 1, 89 },
00209 { 92, Window::XMLHttpRequest, DontDelete|ReadOnly, 0, 122 },
00210 { 0, 0, 0, 0, -1 },
00211 { 828, Window::EventCtor, DontDelete, 0, -1 },
00212 { 895, Window::Self, DontDelete|ReadOnly, 0, -1 },
00213 { 0, 0, 0, 0, -1 },
00214 { 900, Window::Top, DontDelete|ReadOnly, 0, -1 },
00215 { 230, Window::InnerHeight, DontDelete|ReadOnly, 0, 92 },
00216 { 620, Window::_History, DontDelete|ReadOnly, 0, -1 },
00217 { 0, 0, 0, 0, -1 },
00218 { 0, 0, 0, 0, -1 },
00219 { 0, 0, 0, 0, -1 },
00220 { 890, Window::Open, DontDelete|Function, 3, 127 },
00221 { 0, 0, 0, 0, -1 },
00222 { 217, Window::FrameElement, DontDelete|ReadOnly, 0, 115 },
00223 { 457, Window::_Navigator, DontDelete|ReadOnly, 0, 109 },
00224 { 163, Window::DefaultStatus, DontDelete, 0, -1 },
00225 { 0, 0, 0, 0, -1 },
00226 { 0, 0, 0, 0, -1 },
00227 { 0, 0, 0, 0, -1 },
00228 { 0, 0, 0, 0, -1 },
00229 { 0, 0, 0, 0, -1 },
00230 { 0, 0, 0, 0, -1 },
00231 { 880, Window::BToA, DontDelete|Function, 1, 91 },
00232 { 149, Window::DefaultStatus, DontDelete, 0, 111 },
00233 { 496, Window::_External, DontDelete|ReadOnly, 0, 119 },
00234 { 349, Window::InnerWidth, DontDelete|ReadOnly, 0, -1 },
00235 { 447, Window::_Konqueror, DontDelete|ReadOnly, 0, -1 },
00236 { 404, Window::OuterWidth, DontDelete|ReadOnly, 0, 100 },
00237 { 290, Window::PageXOffset, DontDelete|ReadOnly, 0, 113 },
00238 { 684, Window::ScreenY, DontDelete|ReadOnly, 0, 103 },
00239 { 415, Window::Scrollbars, DontDelete|ReadOnly, 0, 101 },
00240 { 595, Window::ScrollTo, DontDelete|Function, 2, -1 },
00241 { 700, Window::ScrollY, DontDelete|ReadOnly, 0, -1 },
00242 { 751, Window::MoveBy, DontDelete|Function, 2, -1 },
00243 { 758, Window::MoveTo, DontDelete|Function, 2, 121 },
00244 { 821, Window::_Window, DontDelete|ReadOnly, 0, -1 },
00245 { 807, Window::_Screen, DontDelete|ReadOnly, 0, -1 },
00246 { 716, Window::Option, DontDelete|ReadOnly, 0, 108 },
00247 { 437, Window::DOMParser, DontDelete|ReadOnly, 0, -1 },
00248 { 612, Window::Confirm, DontDelete|Function, 1, -1 },
00249 { 204, Window::ClearTimeout, DontDelete|Function, 1, -1 },
00250 { 654, Window::Focus, DontDelete|Function, 0, -1 },
00251 { 767, Window::Blur, DontDelete|Function, 0, -1 },
00252 { 326, Window::SetInterval, DontDelete|Function, 2, -1 },
00253 { 121, Window::CaptureEvents, DontDelete|Function, 0, 124 },
00254 { 177, Window::ReleaseEvents, DontDelete|Function, 0, -1 },
00255 { 1, Window::RemoveEventListener, DontDelete|Function, 3, -1 },
00256 { 708, Window::SideBar, DontDelete|ReadOnly, 0, -1 },
00257 { 75, Window::GetComputedStyle, DontDelete|Function, 2, 128 },
00258 { 628, Window::Onabort, DontDelete, 0, -1 },
00259 { 523, Window::Onchange, DontDelete, 0, -1 },
00260 { 636, Window::Onclick, DontDelete, 0, -1 },
00261 { 360, Window::Ondblclick, DontDelete, 0, -1 },
00262 { 652, Window::Onfocus, DontDelete, 0, -1 },
00263 { 467, Window::Onkeydown, DontDelete, 0, -1 },
00264 { 660, Window::Onkeyup, DontDelete, 0, -1 },
00265 { 254, Window::Onmousemove, DontDelete, 0, 126 },
00266 { 393, Window::Onmouseout, DontDelete, 0, -1 },
00267 { 266, Window::Onmouseover, DontDelete, 0, -1 },
00268 { 668, Window::Onreset, DontDelete, 0, -1 },
00269 { 532, Window::Onresize, DontDelete, 0, -1 },
00270 { 550, Window::Onsubmit, DontDelete, 0, -1 },
00271 { 559, Window::Onunload, DontDelete, 0, -1 }
00272 };
00273
00274 const struct HashTable WindowTable = { 2, 130, WindowTableEntries, 89, WindowTableStrings};
00275
00276 }
00277
00278 using namespace KJS;
00279
00280 namespace KJS {
00281
00282 static const char LocationTableStrings[] = {
00283 "\0"
00284 "hostname\0"
00285 "pathname\0"
00286 "protocol\0"
00287 "toString\0"
00288 "replace\0"
00289 "[[==]]\0"
00290 "assign\0"
00291 "reload\0"
00292 "search\0"
00293 "hash\0"
00294 "host\0"
00295 "href\0"
00296 "port\0"
00297 };
00298
00299
00300 static const struct HashEntry LocationTableEntries[] = {
00301 { 28, Location::ToString, DontDelete|Function, 0, -1 },
00302 { 0, 0, 0, 0, -1 },
00303 { 73, Location::Hash, DontDelete, 0, 11 },
00304 { 83, Location::Href, DontDelete, 0, 13 },
00305 { 59, Location::Reload, DontDelete|Function, 0, -1 },
00306 { 1, Location::Hostname, DontDelete, 0, -1 },
00307 { 78, Location::Host, DontDelete, 0, 14 },
00308 { 52, Location::Assign, DontDelete|Function, 1, -1 },
00309 { 0, 0, 0, 0, -1 },
00310 { 0, 0, 0, 0, -1 },
00311 { 10, Location::Pathname, DontDelete, 0, -1 },
00312 { 88, Location::Port, DontDelete, 0, 12 },
00313 { 19, Location::Protocol, DontDelete, 0, -1 },
00314 { 66, Location::Search, DontDelete, 0, -1 },
00315 { 45, Location::EqualEqual, DontDelete|ReadOnly, 0, 15 },
00316 { 37, Location::Replace, DontDelete|Function, 1, -1 }
00317 };
00318
00319 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11, LocationTableStrings};
00320
00321 }
00322
00323 using namespace KJS;
00324
00325 namespace KJS {
00326
00327 static const char ExternalTableStrings[] = {
00328 "\0"
00329 "addFavorite\0"
00330 };
00331
00332
00333 static const struct HashEntry ExternalTableEntries[] = {
00334 { 0, 0, 0, 0, -1 },
00335 { 1, External::AddFavorite, DontDelete|Function, 1, -1 },
00336 { 0, 0, 0, 0, -1 },
00337 { 0, 0, 0, 0, -1 }
00338 };
00339
00340 const struct HashTable ExternalTable = { 2, 4, ExternalTableEntries, 4, ExternalTableStrings};
00341
00342 }
00343
00344 using namespace KJS;
00345
00346 namespace KJS {
00347
00348 static const char HistoryTableStrings[] = {
00349 "\0"
00350 "forward\0"
00351 "length\0"
00352 "back\0"
00353 "go\0"
00354 };
00355
00356
00357 static const struct HashEntry HistoryTableEntries[] = {
00358 { 0, 0, 0, 0, -1 },
00359 { 16, History::Back, DontDelete|Function, 0, 4 },
00360 { 9, History::Length, DontDelete|ReadOnly, 0, 5 },
00361 { 0, 0, 0, 0, -1 },
00362 { 1, History::Forward, DontDelete|Function, 0, -1 },
00363 { 21, History::Go, DontDelete|Function, 1, -1 }
00364 };
00365
00366 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4, HistoryTableStrings};
00367
00368 }