Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user