gecko-dev/editor/libeditor
Makoto Kato 626a2cfaa9 Bug 1309117 - Make ImgFromData fallible. r=masayuki
When pasting large image, it may cause OOM when generating base64 data.  So we should use fallible allocator instead.

Also, base64 is ASCII, so we should use AppendASCIItoUTF16 instead of AppendUTF8toUTF16.

MozReview-Commit-ID: 8yWPxfEcEwv

--HG--
extra : rebase_source : 6c2c3144d4413017b4861443c945aeb0d6d995ef
2016-10-11 19:28:30 +09:00
..
crashtests Bug 1272490 nsHTMLEditRules::ReapplyCachedStyles() should do nothing if nsIEditor::GetSelection() returns nullptr r=Ehsan 2016-05-17 11:47:39 +09:00
tests Bug 972110 - fix test_bug674770-1.html after merge conflict a=me 2016-09-23 12:14:13 +02:00
CSSEditUtils.cpp Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert 2016-08-16 18:37:48 -07:00
CSSEditUtils.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
ChangeAttributeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
ChangeAttributeTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
ChangeStyleTransaction.cpp Bug 824592 part 3. Get rid of nsIDOMElementCSSInlineStyle. r=peterv 2016-08-02 11:05:38 -07:00
ChangeStyleTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
CompositionTransaction.cpp Bug 1266165 - CompositionTransaction::SetIMESelection() should not hide caret when redo r=masayuki 2016-08-27 13:26:42 +09:00
CompositionTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
CreateElementTransaction.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
CreateElementTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
DeleteNodeTransaction.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
DeleteNodeTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
DeleteRangeTransaction.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
DeleteRangeTransaction.h Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
DeleteTextTransaction.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
DeleteTextTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditActionListener.h Bug 1042469 - Flatten editor/libeditor/base to editor/libeditor; r=poiru 2014-08-15 10:03:48 -04:00
EditAggregateTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
EditAggregateTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditTransactionBase.cpp Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditTransactionBase.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditorBase.cpp Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
EditorBase.h Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
EditorCommands.cpp Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorCommands.h Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.cpp Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.h Bug 1260651 part.33 Rename nsEditorController to mozilla::EditorController (and their files too) r=mccr8 2016-07-08 14:26:02 +09:00
EditorEventListener.cpp Bug 1308287 part 2. Make DataTransfer.types use [NeedsSubjectPrincipal]. r=mystor 2016-10-10 21:07:48 -04:00
EditorEventListener.h Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn 2016-05-27 14:32:59 -04:00
EditorUtils.cpp Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditorUtils.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditorUtils.js Bug 1259517 - Make dropping images in editors work in e10s. r=baku 2016-06-21 15:17:37 -07:00
EditorUtils.manifest Bug 1259517 - Make dropping images in editors work in e10s. r=baku 2016-06-21 15:17:37 -07:00
HTMLAbsPositionEditor.cpp Bug 1018486 - Part 2: Changes in editor/, r=masayuki 2016-09-07 10:50:37 -04:00
HTMLAnonymousNodeEditor.cpp Bug 1283497, unbind editor created native anonymous content properly, r=wchen 2016-07-14 13:41:14 +03:00
HTMLEditRules.cpp Bug 1018486 - Part 2: Changes in editor/, r=masayuki 2016-09-07 10:50:37 -04:00
HTMLEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
HTMLEditUtils.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
HTMLEditUtils.h Bug 1260651 part.16 Rename nsHTMLEditUtils to mozilla::HTMLEditUtils (and their files too) r=mccr8 2016-07-07 14:01:12 +09:00
HTMLEditor.cpp Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
HTMLEditor.h Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
HTMLEditorDataTransfer.cpp Bug 1309117 - Make ImgFromData fallible. r=masayuki 2016-10-11 19:28:30 +09:00
HTMLEditorEventListener.cpp Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8 2016-07-09 11:42:33 +09:00
HTMLEditorEventListener.h Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8 2016-07-09 11:42:33 +09:00
HTMLEditorObjectResizer.cpp Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
HTMLEditorObjectResizerUtils.h Bug 1260651 part.57 Move classes in nsHTMLObjectResizer.h into mozilla namespace and its file name should be HTMLEditorObjectResizerUtils.h r=mccr8 2016-07-07 19:49:07 +09:00
HTMLInlineTableEditor.cpp Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8 2016-07-09 11:42:33 +09:00
HTMLStyleEditor.cpp Bug 1018486 - Part 2: Changes in editor/, r=masayuki 2016-09-07 10:50:37 -04:00
HTMLTableEditor.cpp Bug 1018486 - Part 2: Changes in editor/, r=masayuki 2016-09-07 10:50:37 -04:00
HTMLURIRefObject.cpp Bug 1260651 part.46 Rename nsHTMLURIRefObject to mozilla::HTMLURIRefObject (and also their file names) r=mccr8 2016-07-07 18:40:45 +09:00
HTMLURIRefObject.h Bug 1260651 part.46 Rename nsHTMLURIRefObject to mozilla::HTMLURIRefObject (and also their file names) r=mccr8 2016-07-07 18:40:45 +09:00
InsertNodeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertTextTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertTextTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
InternetCiter.cpp Bug 1260651 part.36 Rename nsInternetCiter to mozilla::InternetCiter (and their files too) r=mccr8 2016-07-07 18:00:19 +09:00
InternetCiter.h Bug 1260651 part.36 Rename nsInternetCiter to mozilla::InternetCiter (and their files too) r=mccr8 2016-07-07 18:00:19 +09:00
JoinNodeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
JoinNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
PlaceholderTransaction.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
PlaceholderTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
SelectionState.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
SelectionState.h Bug 1260651 part.49 Rename nsTextEditRules to mozilla::TextEditRules (and also their file names) r=mccr8 2016-07-09 11:34:41 +09:00
SetDocumentTitleTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
SetDocumentTitleTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
SplitNodeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
SplitNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
StyleSheetTransactions.cpp Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
StyleSheetTransactions.h Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
TextEditRules.cpp Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
TextEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditRulesBidi.cpp Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditUtils.cpp Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditUtils.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditor.cpp Bug 1272893 - Remove nsISupportsArray from GetEmbeddedObjects() in editor. r=masayuki 2016-09-15 04:33:00 +02:00
TextEditor.h Bug 1284963 - Make CreateBR return already_AddRefed. r=masayuki 2016-07-12 08:58:13 -07:00
TextEditorDataTransfer.cpp Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
TextEditorTest.cpp Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
TextEditorTest.h Bug 1055105 - Flatten editor/libeditor/html to editor/libeditor; r=poiru 2014-08-18 17:28:17 -04:00
TypeInState.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
TypeInState.h Bug 1260651 part.48 Rename nsHTMLEditRules to mozilla::HTMLEditRules (and also their file names) r=mccr8 2016-07-07 19:05:51 +09:00
WSRunObject.cpp Bug 1284963 - Make CreateBR return already_AddRefed. r=masayuki 2016-07-12 08:58:13 -07:00
WSRunObject.h Bug 1284963 - Make CreateBR return already_AddRefed. r=masayuki 2016-07-12 08:58:13 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsIAbsorbingTransaction.h Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
nsIEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00