Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz

This commit is contained in:
Bobby Holley
2014-04-14 20:27:00 -07:00
parent cd5672139a
commit efd3ebcfce
13 changed files with 41 additions and 36 deletions

View File

@@ -263,7 +263,7 @@ nsTextControlFrame::EnsureEditorInitialized()
// Time to mess with our security context... See comments in GetValue()
// for why this is needed.
mozilla::dom::AutoSystemCaller asc;
mozilla::dom::AutoNoJSAPI nojsapi;
// Make sure that we try to focus the content even if the method fails
class EnsureSetFocus {