1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 14:15:08 +00:00
serenity/Libraries/LibWeb/Bindings
mattco98 23ec578a01 LibJS: Implement correct attributes for (almost) all properties
Added the ability to include a u8 attributes parameter with all of the
various put methods in the Object class. They can be omitted, in which
case it defaults to "Writable | Enumerable | Configurable", just like
before this commit.

All of the attribute values for each property were gathered from
SpiderMonkey in the Firefox console. Some properties (e.g. all of the
canvas element properties) have undefined property descriptors... not
quite sure what that means. Those were left as the default specified
above.
2020-04-28 09:29:50 +02:00
..
CanvasRenderingContext2DWrapper.cpp LibWeb: Use proper length values for CanvasRenderingContext2D functions 2020-04-23 09:43:51 +02:00
CanvasRenderingContext2DWrapper.h LibWeb: Add ImageData objects and implement 2D context putImageData() 2020-04-21 23:49:51 +02:00
DocumentWrapper.cpp LibJS: Make Array constructor take its prototype 2020-04-18 10:28:22 +02:00
DocumentWrapper.h LibWeb: Add naive support for document.querySelectorAll() 2020-03-30 11:35:39 +02:00
ElementWrapper.cpp LibJS: Add js_string(Interpreter&, String) 2020-04-04 12:58:05 +02:00
ElementWrapper.h LibWeb: Add Element.id property to the bindings 2020-03-30 11:35:39 +02:00
EventListenerWrapper.cpp LibJS: Move builtin prototypes to the global object 2020-04-18 13:24:45 +02:00
EventListenerWrapper.h LibWeb: Use a JS::Handle to keep the EventListener function alive 2020-03-18 20:05:52 +01:00
EventTargetWrapper.cpp LibJS: Move builtin prototypes to the global object 2020-04-18 13:24:45 +02:00
EventTargetWrapper.h LibJS+LibWeb: Move native JS functions into dedicated member functions 2020-03-28 23:10:37 +01:00
EventWrapper.cpp LibJS: Move builtin prototypes to the global object 2020-04-18 13:24:45 +02:00
EventWrapper.h LibWeb: Add a DOM Event class (instead of events being simple strings) 2020-03-21 18:17:18 +01:00
HTMLCanvasElementWrapper.cpp LibWeb: Limit the maximum size of <canvas> bitmap buffers 2020-04-15 12:29:21 +02:00
HTMLCanvasElementWrapper.h LibJS+LibWeb: Move native properties to separate getters/setters 2020-03-29 00:37:33 +01:00
HTMLImageElementWrapper.cpp LibWeb: Add a JavaScript wrapper for HTMLImageElement :^) 2020-04-14 20:37:01 +02:00
HTMLImageElementWrapper.h LibWeb: Add a JavaScript wrapper for HTMLImageElement :^) 2020-04-14 20:37:01 +02:00
ImageDataWrapper.cpp LibWeb: Add ImageData objects and implement 2D context putImageData() 2020-04-21 23:49:51 +02:00
ImageDataWrapper.h LibWeb: Add ImageData objects and implement 2D context putImageData() 2020-04-21 23:49:51 +02:00
MouseEventWrapper.cpp LibJS+LibWeb: Move native properties to separate getters/setters 2020-03-29 00:37:33 +01:00
MouseEventWrapper.h LibJS+LibWeb: Move native properties to separate getters/setters 2020-03-29 00:37:33 +01:00
NavigatorObject.cpp LibJS: Move builtin prototypes to the global object 2020-04-18 13:24:45 +02:00
NavigatorObject.h LibWeb: Add "navigator" object and expose navigator.userAgent 2020-04-03 18:12:20 +02:00
NodeWrapper.cpp LibWeb: Add a JavaScript wrapper for HTMLImageElement :^) 2020-04-14 20:37:01 +02:00
NodeWrapper.h LibWeb: Add <canvas> element and start fleshing out CRC2D 2020-03-19 19:07:56 +01:00
WindowObject.cpp LibJS: Implement correct attributes for (almost) all properties 2020-04-28 09:29:50 +02:00
WindowObject.h LibJS: Move builtin prototypes to the global object 2020-04-18 13:24:45 +02:00
Wrappable.cpp LibWeb: Add missing copyright headers 2020-03-15 10:24:05 +01:00
Wrappable.h LibWeb: Add <canvas> element and start fleshing out CRC2D 2020-03-19 19:07:56 +01:00
Wrapper.h LibJS+LibWeb: Pass prototype to Object constructor 2020-04-18 11:00:55 +02:00
XMLHttpRequestConstructor.cpp LibJS: Implement correct attributes for (almost) all properties 2020-04-28 09:29:50 +02:00
XMLHttpRequestConstructor.h LibWeb: Add XMLHttpRequest object :^) 2020-04-08 21:46:43 +02:00
XMLHttpRequestPrototype.cpp LibJS: Implement correct attributes for (almost) all properties 2020-04-28 09:29:50 +02:00
XMLHttpRequestPrototype.h LibWeb: Add XMLHttpRequest.readyState and constants 2020-04-23 11:03:17 +02:00
XMLHttpRequestWrapper.cpp LibWeb: Add XMLHttpRequest object :^) 2020-04-08 21:46:43 +02:00
XMLHttpRequestWrapper.h LibWeb: Add XMLHttpRequest object :^) 2020-04-08 21:46:43 +02:00