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 "CSSStyleDeclaration\0"
00044 "removeEventListener\0"
00045 "offscreenBuffering\0"
00046 "clientInformation\0"
00047 "addEventListener\0"
00048 "getComputedStyle\0"
00049 "EventException\0"
00050 "XMLHttpRequest\0"
00051 "KeyboardEvent\0"
00052 "MutationEvent\0"
00053 "XMLSerializer\0"
00054 "captureEvents\0"
00055 "clearInterval\0"
00056 "defaultStatus\0"
00057 "defaultstatus\0"
00058 "releaseEvents\0"
00059 "DOMException\0"
00060 "HTMLDocument\0"
00061 "clearTimeout\0"
00062 "frameElement\0"
00063 "HTMLElement\0"
00064 "XMLDocument\0"
00065 "innerHeight\0"
00066 "onmousedown\0"
00067 "onmousemove\0"
00068 "onmouseover\0"
00069 "outerHeight\0"
00070 "pageXOffset\0"
00071 "pageYOffset\0"
00072 "personalbar\0"
00073 "setInterval\0"
00074 "NodeFilter\0"
00075 "innerWidth\0"
00076 "ondblclick\0"
00077 "ondragdrop\0"
00078 "onkeypress\0"
00079 "onmouseout\0"
00080 "outerWidth\0"
00081 "scrollbars\0"
00082 "setTimeout\0"
00083 "DOMParser\0"
00084 "konqueror\0"
00085 "navigator\0"
00086 "onkeydown\0"
00087 "onmouseup\0"
00088 "document\0"
00089 "external\0"
00090 "location\0"
00091 "navigate\0"
00092 "onchange\0"
00093 "onresize\0"
00094 "onselect\0"
00095 "onsubmit\0"
00096 "onunload\0"
00097 "resizeBy\0"
00098 "resizeTo\0"
00099 "scrollBy\0"
00100 "scrollTo\0"
00101 "CSSRule\0"
00102 "confirm\0"
00103 "history\0"
00104 "onabort\0"
00105 "onclick\0"
00106 "onerror\0"
00107 "onfocus\0"
00108 "onkeyup\0"
00109 "onreset\0"
00110 "screenX\0"
00111 "screenY\0"
00112 "scrollX\0"
00113 "scrollY\0"
00114 "sidebar\0"
00115 "Option\0"
00116 "closed\0"
00117 "crypto\0"
00118 "frames\0"
00119 "length\0"
00120 "moveBy\0"
00121 "moveTo\0"
00122 "onblur\0"
00123 "onload\0"
00124 "onmove\0"
00125 "opener\0"
00126 "parent\0"
00127 "prompt\0"
00128 "screen\0"
00129 "scroll\0"
00130 "window\0"
00131 "Image\0"
00132 "Range\0"
00133 "alert\0"
00134 "close\0"
00135 "event\0"
00136 "print\0"
00137 "Node\0"
00138 "atob\0"
00139 "btoa\0"
00140 "name\0"
00141 "open\0"
00142 "self\0"
00143 "top\0"
00144 };
00145
00146
00147 static const struct HashEntry WindowTableEntries[] = {
00148 { 946, Window::Close, DontDelete|Function, 0, -1 },
00149 { 0, 0, 0, 0, -1 },
00150 { 940, Window::Alert, DontDelete|Function, 1, 130 },
00151 { 378, Window::OuterHeight, DontDelete|ReadOnly, 0, 94 },
00152 { 471, Window::Ondragdrop, DontDelete, 0, 131 },
00153 { 0, 0, 0, 0, -1 },
00154 { 41, Window::OffscreenBuffering, DontDelete|ReadOnly, 0, -1 },
00155 { 526, Window::SetTimeout, DontDelete|Function, 2, -1 },
00156 { 0, 0, 0, 0, -1 },
00157 { 0, 0, 0, 0, -1 },
00158 { 754, Window::Focus, DontDelete|Function, 0, 123 },
00159 { 823, Window::Closed, DontDelete|ReadOnly, 0, 96 },
00160 { 952, Window::Event, DontDelete|ReadOnly, 0, 105 },
00161 { 0, 0, 0, 0, -1 },
00162 { 872, Window::Onload, DontDelete, 0, -1 },
00163 { 837, Window::Frames, DontDelete|ReadOnly, 0, -1 },
00164 { 776, Window::ScreenX, DontDelete|ReadOnly, 0, 103 },
00165 { 60, Window::ClientInformation, DontDelete|ReadOnly, 0, 95 },
00166 { 808, Window::SideBar, DontDelete|ReadOnly, 0, 124 },
00167 { 844, Window::Length, DontDelete|ReadOnly, 0, 93 },
00168 { 414, Window::Personalbar, DontDelete|ReadOnly, 0, -1 },
00169 { 198, Window::ClearInterval, DontDelete|Function, 1, -1 },
00170 { 0, 0, 0, 0, -1 },
00171 { 958, Window::Print, DontDelete|Function, 0, -1 },
00172 { 577, Window::Onmouseup, DontDelete, 0, -1 },
00173 { 438, Window::NodeFilter, DontDelete, 0, -1 },
00174 { 886, Window::Opener, DontDelete|ReadOnly, 0, -1 },
00175 { 893, Window::Parent, DontDelete|ReadOnly, 0, 110 },
00176 { 156, Window::MutationEventCtor, DontDelete, 0, -1 },
00177 { 0, 0, 0, 0, -1 },
00178 { 321, Window::DocumentCtor, DontDelete, 0, -1 },
00179 { 792, Window::ScrollX, DontDelete|ReadOnly, 0, 107 },
00180 { 914, Window::Scroll, DontDelete|Function, 2, 98 },
00181 { 112, Window::EventExceptionCtor, DontDelete, 0, -1 },
00182 { 623, Window::Onchange, DontDelete, 0, 121 },
00183 { 865, Window::Onblur, DontDelete, 0, -1 },
00184 { 0, 0, 0, 0, -1 },
00185 { 879, Window::Onmove, DontDelete, 0, -1 },
00186 { 712, Window::Confirm, DontDelete|Function, 1, 125 },
00187 { 482, Window::Onkeypress, DontDelete, 0, -1 },
00188 { 0, 0, 0, 0, -1 },
00189 { 686, Window::ScrollBy, DontDelete|Function, 2, 101 },
00190 { 0, 0, 0, 0, -1 },
00191 { 0, 0, 0, 0, -1 },
00192 { 668, Window::ResizeBy, DontDelete|Function, 2, 129 },
00193 { 728, Window::Onabort, DontDelete, 0, 128 },
00194 { 614, Window::Navigate, DontDelete|Function, 1, -1 },
00195 { 78, Window::AddEventListener, DontDelete|Function, 3, -1 },
00196 { 390, Window::PageXOffset, DontDelete|ReadOnly, 0, 108 },
00197 { 402, Window::PageYOffset, DontDelete|ReadOnly, 0, 97 },
00198 { 830, Window::Crypto, DontDelete|ReadOnly, 0, 90 },
00199 { 900, Window::Prompt, DontDelete|Function, 2, -1 },
00200 { 677, Window::ResizeTo, DontDelete|Function, 2, -1 },
00201 { 233, Window::Status, DontDelete, 0, 112 },
00202 { 0, 0, 0, 0, -1 },
00203 { 0, 0, 0, 0, -1 },
00204 { 605, Window::_Location, DontDelete, 0, 114 },
00205 { 342, Window::Onmousedown, DontDelete, 0, -1 },
00206 { 0, 0, 0, 0, -1 },
00207 { 0, 0, 0, 0, -1 },
00208 { 641, Window::Onselect, DontDelete, 0, -1 },
00209 { 979, Window::Name, DontDelete, 0, 116 },
00210 { 587, Window::Document, DontDelete|ReadOnly, 0, -1 },
00211 { 744, Window::Onerror, DontDelete, 0, 120 },
00212 { 0, 0, 0, 0, -1 },
00213 { 0, 0, 0, 0, -1 },
00214 { 969, Window::AToB, DontDelete|Function, 1, 89 },
00215 { 760, Window::Onkeyup, DontDelete, 0, 127 },
00216 { 0, 0, 0, 0, -1 },
00217 { 164, Window::EventCtor, DontDelete, 0, -1 },
00218 { 989, Window::Self, DontDelete|ReadOnly, 0, -1 },
00219 { 0, 0, 0, 0, -1 },
00220 { 994, Window::Top, DontDelete|ReadOnly, 0, 133 },
00221 { 330, Window::InnerHeight, DontDelete|ReadOnly, 0, 92 },
00222 { 720, Window::_History, DontDelete|ReadOnly, 0, -1 },
00223 { 0, 0, 0, 0, -1 },
00224 { 0, 0, 0, 0, -1 },
00225 { 0, 0, 0, 0, -1 },
00226 { 984, Window::Open, DontDelete|Function, 3, 118 },
00227 { 0, 0, 0, 0, -1 },
00228 { 293, Window::FrameElement, DontDelete|ReadOnly, 0, 109 },
00229 { 557, Window::_Navigator, DontDelete|ReadOnly, 0, 104 },
00230 { 226, Window::DefaultStatus, DontDelete, 0, -1 },
00231 { 0, 0, 0, 0, -1 },
00232 { 0, 0, 0, 0, -1 },
00233 { 142, Window::KeyboardEventCtor, DontDelete, 0, -1 },
00234 { 0, 0, 0, 0, -1 },
00235 { 0, 0, 0, 0, -1 },
00236 { 0, 0, 0, 0, -1 },
00237 { 974, Window::BToA, DontDelete|Function, 1, 91 },
00238 { 212, Window::DefaultStatus, DontDelete, 0, 106 },
00239 { 596, Window::_External, DontDelete|ReadOnly, 0, 111 },
00240 { 449, Window::InnerWidth, DontDelete|ReadOnly, 0, -1 },
00241 { 547, Window::_Konqueror, DontDelete|ReadOnly, 0, 134 },
00242 { 504, Window::OuterWidth, DontDelete|ReadOnly, 0, 99 },
00243 { 784, Window::ScreenY, DontDelete|ReadOnly, 0, 102 },
00244 { 515, Window::Scrollbars, DontDelete|ReadOnly, 0, 100 },
00245 { 695, Window::ScrollTo, DontDelete|Function, 2, -1 },
00246 { 800, Window::ScrollY, DontDelete|ReadOnly, 0, -1 },
00247 { 851, Window::MoveBy, DontDelete|Function, 2, -1 },
00248 { 858, Window::MoveTo, DontDelete|Function, 2, 113 },
00249 { 921, Window::_Window, DontDelete|ReadOnly, 0, -1 },
00250 { 907, Window::_Screen, DontDelete|ReadOnly, 0, -1 },
00251 { 280, Window::ClearTimeout, DontDelete|Function, 1, -1 },
00252 { 867, Window::Blur, DontDelete|Function, 0, -1 },
00253 { 426, Window::SetInterval, DontDelete|Function, 2, -1 },
00254 { 184, Window::CaptureEvents, DontDelete|Function, 0, 115 },
00255 { 240, Window::ReleaseEvents, DontDelete|Function, 0, -1 },
00256 { 21, Window::RemoveEventListener, DontDelete|Function, 3, 122 },
00257 { 95, Window::GetComputedStyle, DontDelete|Function, 2, 119 },
00258 { 736, Window::Onclick, DontDelete, 0, -1 },
00259 { 460, Window::Ondblclick, DontDelete, 0, -1 },
00260 { 752, Window::Onfocus, DontDelete, 0, -1 },
00261 { 567, Window::Onkeydown, DontDelete, 0, -1 },
00262 { 354, Window::Onmousemove, DontDelete, 0, 117 },
00263 { 493, Window::Onmouseout, DontDelete, 0, -1 },
00264 { 366, Window::Onmouseover, DontDelete, 0, -1 },
00265 { 768, Window::Onreset, DontDelete, 0, -1 },
00266 { 632, Window::Onresize, DontDelete, 0, -1 },
00267 { 650, Window::Onsubmit, DontDelete, 0, -1 },
00268 { 659, Window::Onunload, DontDelete, 0, -1 },
00269 { 964, Window::Node, DontDelete, 0, -1 },
00270 { 934, Window::Range, DontDelete, 0, -1 },
00271 { 254, Window::DOMException, DontDelete, 0, 126 },
00272 { 704, Window::CSSRule, DontDelete, 0, -1 },
00273 { 928, Window::Image, DontDelete|ReadOnly, 0, -1 },
00274 { 816, Window::Option, DontDelete|ReadOnly, 0, -1 },
00275 { 127, Window::XMLHttpRequest, DontDelete|ReadOnly, 0, -1 },
00276 { 170, Window::XMLSerializer, DontDelete|ReadOnly, 0, -1 },
00277 { 537, Window::DOMParser, DontDelete|ReadOnly, 0, 132 },
00278 { 310, Window::ElementCtor, DontDelete, 0, -1 },
00279 { 318, Window::DocumentCtor, DontDelete, 0, -1 },
00280 { 306, Window::HTMLElementCtor, DontDelete, 0, -1 },
00281 { 267, Window::HTMLDocumentCtor, DontDelete, 0, -1 },
00282 { 1, Window::CSSStyleDeclarationCtor, DontDelete, 0, -1 }
00283 };
00284
00285 const struct HashTable WindowTable = { 2, 135, WindowTableEntries, 89, WindowTableStrings};
00286
00287 }
00288
00289 using namespace KJS;
00290
00291 namespace KJS {
00292
00293 static const char LocationTableStrings[] = {
00294 "\0"
00295 "hostname\0"
00296 "pathname\0"
00297 "protocol\0"
00298 "toString\0"
00299 "replace\0"
00300 "[[==]]\0"
00301 "assign\0"
00302 "reload\0"
00303 "search\0"
00304 "hash\0"
00305 "host\0"
00306 "href\0"
00307 "port\0"
00308 };
00309
00310
00311 static const struct HashEntry LocationTableEntries[] = {
00312 { 28, Location::ToString, DontDelete|Function, 0, -1 },
00313 { 0, 0, 0, 0, -1 },
00314 { 73, Location::Hash, DontDelete, 0, 11 },
00315 { 83, Location::Href, DontDelete, 0, 13 },
00316 { 59, Location::Reload, DontDelete|Function, 0, -1 },
00317 { 1, Location::Hostname, DontDelete, 0, -1 },
00318 { 78, Location::Host, DontDelete, 0, 14 },
00319 { 52, Location::Assign, DontDelete|Function, 1, -1 },
00320 { 0, 0, 0, 0, -1 },
00321 { 0, 0, 0, 0, -1 },
00322 { 10, Location::Pathname, DontDelete, 0, -1 },
00323 { 88, Location::Port, DontDelete, 0, 12 },
00324 { 19, Location::Protocol, DontDelete, 0, -1 },
00325 { 66, Location::Search, DontDelete, 0, -1 },
00326 { 45, Location::EqualEqual, DontDelete|ReadOnly, 0, 15 },
00327 { 37, Location::Replace, DontDelete|Function, 1, -1 }
00328 };
00329
00330 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11, LocationTableStrings};
00331
00332 }
00333
00334 using namespace KJS;
00335
00336 namespace KJS {
00337
00338 static const char ExternalTableStrings[] = {
00339 "\0"
00340 "addFavorite\0"
00341 };
00342
00343
00344 static const struct HashEntry ExternalTableEntries[] = {
00345 { 0, 0, 0, 0, -1 },
00346 { 1, External::AddFavorite, DontDelete|Function, 1, -1 },
00347 { 0, 0, 0, 0, -1 },
00348 { 0, 0, 0, 0, -1 }
00349 };
00350
00351 const struct HashTable ExternalTable = { 2, 4, ExternalTableEntries, 4, ExternalTableStrings};
00352
00353 }
00354
00355 using namespace KJS;
00356
00357 namespace KJS {
00358
00359 static const char HistoryTableStrings[] = {
00360 "\0"
00361 "forward\0"
00362 "length\0"
00363 "back\0"
00364 "go\0"
00365 };
00366
00367
00368 static const struct HashEntry HistoryTableEntries[] = {
00369 { 0, 0, 0, 0, -1 },
00370 { 16, History::Back, DontDelete|Function, 0, 4 },
00371 { 9, History::Length, DontDelete|ReadOnly, 0, 5 },
00372 { 0, 0, 0, 0, -1 },
00373 { 1, History::Forward, DontDelete|Function, 0, -1 },
00374 { 21, History::Go, DontDelete|Function, 1, -1 }
00375 };
00376
00377 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4, HistoryTableStrings};
00378
00379 }