gecko/dom/base
Bobby Holley 800db35b78 Bug 833856 - Handle errors better in EvaluateString. r=bz
This bug happens when we take the !useSandbox path. Basically, when the code
throws, we can end up with garbage in *aRetValue while still returning true
from EvaluateString. It looks like the convention is for these kind of eval
functions to return success even for invalid code, so lets just make sure we
check things a bit better.

This crashtest is kind of half-baked in the sense that it doesn't actually
crash without the rest of the patch. But the testcase here involves a lot of
undefined behavior (what ends up getting left in *aRetValue) during a call
to window.open (which spins the event loop, etc). I already sunk about half
an hour into trying to make it crash, so I'm just going to go with this for
now.
2013-01-25 11:17:40 +01:00
..
crashtests
test Bug 828787. Stop allowing indexed expandos on windows. r=peterv 2013-01-22 15:29:53 -05: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
domerr.msg
DOMError.cpp
DOMError.h
DOMRequest.cpp bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
DOMRequest.h
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 822406 - Use transaction.error.name when possible. r=gwagner 2012-12-17 20:53:39 -05:00
Makefile.in Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Navigator.cpp bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
Navigator.h bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
nsBarProps.cpp
nsBarProps.h
nsContentPermissionHelper.cpp Bug 833606: Null check mProxy in mozilla::dom::ContentPermissionRequestParent::ActorDestroy(). r=bent a=blocking-b2g 2013-01-23 21:42:09 -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 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz 2013-01-24 18:45:50 +01:00
nsDOMClassInfo.h Remove some unneeded forward declares (no bug) 2012-12-22 23:54:26 -05:00
nsDOMClassInfoClasses.h bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
nsDOMClassInfoID.h bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
nsDOMException.cpp
nsDOMException.h
nsDOMJSUtils.h
nsDOMNavigationTiming.cpp
nsDOMNavigationTiming.h
nsDOMScriptObjectFactory.cpp
nsDOMScriptObjectFactory.h
nsDOMScriptObjectHolder.h
nsDOMString.h
nsDOMWindowList.cpp
nsDOMWindowList.h
nsDOMWindowUtils.cpp Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey 2013-01-23 20:47:44 +02:00
nsDOMWindowUtils.h Bug 811466 - Add include guards around some headers which were missing them. r=khuey 2012-11-19 20:05:34 -05:00
nsFocusManager.cpp Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
nsFocusManager.h
nsGlobalWindow.cpp Bug 828787. Stop allowing indexed expandos on windows. r=peterv 2013-01-22 15:29:53 -05:00
nsGlobalWindow.h Bug 825949: Make nsGlobalWindow::InitTimer directly take a uint32_t, rather than a uint64_t. r=smaug 2013-01-03 13:48:01 -08:00
nsGlobalWindowCommands.cpp bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
nsGlobalWindowCommands.h
nsHistory.cpp
nsHistory.h
nsIDOMClassInfo.h
nsIDOMDOMError.idl
nsIDOMDOMRequest.idl
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 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz 2013-01-23 07:12:50 +01: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
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
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 833856 - Handle errors better in EvaluateString. r=bz 2013-01-25 11:17:40 +01:00
nsJSEnvironment.h Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz 2013-01-23 07:12:50 +01: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
nsMimeTypeArray.cpp
nsMimeTypeArray.h
nsPerformance.cpp
nsPerformance.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
nsPIDOMWindow.h Bug 820841 - Cache the document URI on the window so that DOMParser() can refer. r=bz 2012-12-26 20:00:05 +09:00
nsPIWindowRoot.h
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 832899. Make sure our canonical isupports matches what various consumers expect. r=smaug 2013-01-24 21:27:55 -05:00
nsScreen.h Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug 2012-11-09 08:00:25 -08: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 824883 - Fix three warnings in dom/ code. r=bz. 2012-12-26 20:24:59 -08:00
nsStructuredCloneContainer.h
nsWindowMemoryReporter.cpp Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz. 2013-01-17 21:21:43 -08: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 814898 - Part b: Cleanup CC goop in dom/base; r=mccr8 2012-12-02 09:53:37 +01:00
nsWindowRoot.h
nsWrapperCache.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
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 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
SiteSpecificUserAgent.js
SiteSpecificUserAgent.manifest
StructuredCloneTags.h
URL.cpp
URL.h