gecko-dev/dom/base
Bobby Holley 5589190817 Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap
Using JSPropertyOp means a null shape getter, whereas null means that the shape
uses the class getter. This means that stuff like window.top, which is defined
as a non-configurable |own| property in nsDOMClassInfo, was getting set up with
XPC_WN_Helper_GetProperty as its get operation. But this confused
SandboxProxyHandler, which explicitly avoids rebinding class getters/setters,
which in turn meant that our sandboxPrototype feature was relying on the crazy
prototype-climbing behavior of GetWrappedNativeOfJSObject to make stuff like
|this.top| work. We're removing this behavior, so we need to fix nsDOMClassInfo
here.

Here are some DefineProperty cases that I left with null getters/setters:
* nsDOMClassInfo::ResolveConstructor
* The child window stuff at the bottom of nsWindowSH::NewResolve
* Named item resolution in nsNamedArraySH::NewResolve
* document.all stuff (scary!)
* nsHTMLDocumentSH::NewResolve
* nsHTMLFormElementSH::NewResolve
* nsStorage2SH::NewResolve
2013-03-21 08:20:42 -07:00
..
crashtests Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz. 2013-02-25 20:39:15 +01:00
test Bug 823227 - Tests. r=bholley 2013-03-18 23:06:48 -07:00
ConsoleAPI.js Bug 787985 - Console API messages are not consistent; r=past 2013-01-15 16:02:25 +02:00
ConsoleAPI.manifest
ConsoleAPIStorage.jsm Bug 808756 - Adjust all memory-pressure observers to cope with the new low-memory-no-forward events. r=jlebar 2012-11-08 20:15:23 +01:00
Crypto.cpp Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Crypto.h Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
DOMCursor.cpp Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
DOMCursor.h Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
domerr.msg Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
DOMError.cpp
DOMError.h
DOMRequest.cpp Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
DOMRequest.h Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
DOMRequestHelper.jsm Bug 802564 - Can't set window.location in inline disposition web activity when its App frame is opened. r=fabrice 2012-11-07 10:32:09 +08:00
IndexedDBHelper.jsm Bug 836519 - Back out 7a145f17e37c for intermittent 'dom/contacts/tests/test_contacts_getall.html | 19 contacts returned - got 20, expected 19' in the test it added. r=intermittent-orange 2013-02-16 00:42:26 -08:00
Makefile.in Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
moz.build Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Navigator.cpp Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 1, nsIDOMMobileMessageManager). r=vicamo sr=sicking a=leo+ 2013-03-09 15:21:47 +08:00
Navigator.h Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 1, nsIDOMMobileMessageManager). r=vicamo sr=sicking a=leo+ 2013-03-09 15:21:47 +08:00
nsBarProps.cpp Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap 2012-10-22 08:29:55 +02:00
nsBarProps.h
nsContentPermissionHelper.cpp Bug 837953 - B2G crash @ nsContentPermissionRequestProxy::GetElement while launching Camera for perf tests. r=dougt 2013-02-07 17:46:58 -08:00
nsContentPermissionHelper.h Bug 810427 - Device storage - Add access fields to permission checks. r=dougt 2012-11-13 16:06:42 -08:00
nsDOMCID.h
nsDOMClassInfo.cpp Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:42 -07:00
nsDOMClassInfo.h Bug 823227 - Stop pref-controlling the GSP. r=mrbkap 2013-03-18 23:06:47 -07:00
nsDOMClassInfoClasses.h Bug 847120: Convert SVGFEOffsetElement to WebIDL r=Ms2ger 2013-03-21 13:38:28 -04:00
nsDOMClassInfoID.h Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
nsDOMException.cpp Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00
nsDOMException.h
nsDOMJSUtils.h
nsDOMNavigationTiming.cpp
nsDOMNavigationTiming.h
nsDOMScriptObjectFactory.cpp
nsDOMScriptObjectFactory.h
nsDOMString.h
nsDOMWindowList.cpp bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
nsDOMWindowList.h Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz 2012-10-02 10:07:36 +02:00
nsDOMWindowUtils.cpp Bug 849273 - Investigate splitting the js and JS namespaces r=terrence 2013-03-19 10:35:41 +00:00
nsDOMWindowUtils.h Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-05 15:40:34 -06:00
nsFocusManager.cpp Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
nsFocusManager.h
nsGlobalWindow.cpp Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
nsGlobalWindow.h Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
nsGlobalWindowCommands.cpp bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
nsGlobalWindowCommands.h
nsHistory.cpp Bug 803870 - Compare the subject with the outer window for History. r=bz 2013-02-20 08:37:21 -08:00
nsHistory.h
nsIDOMClassInfo.h
nsIDOMDOMCursor.idl Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures 2013-02-14 21:37:37 -08:00
nsIDOMDOMError.idl Bug 790870 - Implement install/update API during installation of hosted apps - Part 2 : hosted apps implementation [r=gwagner] 2012-09-26 18:01:20 -07:00
nsIDOMDOMRequest.idl Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures 2013-02-14 21:37:37 -08:00
nsIDOMScriptObjectFactory.h
nsIEntropyCollector.idl
nsIJSEventListener.h Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
nsIJSNativeInitializer.h
nsIScriptChannel.idl
nsIScriptContext.h Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
nsIScriptExternalNameSet.h
nsIScriptGlobalObject.h Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
nsIScriptGlobalObjectOwner.h
nsIScriptNameSpaceManager.h
nsIScriptObjectPrincipal.h
nsIScriptRuntime.h Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst 2012-11-04 09:05:23 +01:00
nsIScriptTimeoutHandler.h Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken 2013-01-07 10:29:00 -05:00
nsISiteSpecificUserAgent.idl Bug 768035 - Allow overriding user agent based on window. r=bz 2013-02-28 14:02:19 -08:00
nsISizeOfEventTarget.h Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz. 2013-01-17 21:21:43 -08:00
nsJSEnvironment.cpp Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
nsJSEnvironment.h Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
nsJSTimeoutHandler.cpp bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
nsJSUtils.cpp Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz 2013-01-23 07:12:50 +01:00
nsJSUtils.h Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz 2013-01-16 18:50:25 -08:00
nsLocation.cpp Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz 2013-01-15 13:46:35 +02:00
nsLocation.h Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug 2012-11-06 14:29:09 -08:00
nsMimeTypeArray.cpp
nsMimeTypeArray.h
nsPerformance.cpp Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
nsPerformance.h Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
nsPIDOMWindow.h Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug 2013-03-20 13:09:09 -07:00
nsPIWindowRoot.h Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
nsPluginArray.cpp bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
nsPluginArray.h
nsQueryContentEventResult.cpp
nsQueryContentEventResult.h
nsScreen.cpp Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
nsScreen.h Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
nsScriptNameSpaceManager.cpp Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar. 2013-01-14 16:26:47 -08:00
nsScriptNameSpaceManager.h Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar. 2013-01-14 16:26:47 -08:00
nsStructuredCloneContainer.cpp Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
nsStructuredCloneContainer.h Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
nsWindowMemoryReporter.cpp Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
nsWindowMemoryReporter.h Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz. 2013-01-17 21:21:43 -08:00
nsWindowRoot.cpp Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
nsWindowRoot.h Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
nsWrapperCache.h Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
nsWrapperCacheInlines.h Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz. 2012-09-12 22:29:30 +02:00
ObjectWrapper.jsm Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 1, ObjectWrapper.jsm and Cu.createDateIn()). r=sicking 2012-12-17 13:29:00 +08:00
ScreenOrientation.h Bug 847839 - Part 2: Remove obsolete files for Android XUL Fennec. r=mfinkle 2013-03-07 17:55:49 +00:00
SiteSpecificUserAgent.js Bug 768035 - Allow overriding user agent based on window. r=bz 2013-02-28 14:02:19 -08:00
SiteSpecificUserAgent.manifest Bug 800157 - Make User Agent overrides affect navigator.userAgent in addition to the HTTP header. r=bz 2012-10-12 00:56:13 +02:00
StructuredCloneTags.h Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
URL.cpp Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup 2013-02-15 21:04:11 +13:00
URL.h Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup 2013-02-15 21:04:11 +13:00