Commit Graph

472176 Commits

Author SHA1 Message Date
Sebastian Hengst
c108701a85 Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout 2016-04-23 22:33:26 +02:00
Timothy Nikkel
e78e313fa5 Bug 1259246. Simplify nsDocumentViewer::FindContainerView. r=dholbert
Turn a series of nested if's into early return if's with no nesting so it is easier to follow.
2016-04-04 02:59:15 -05:00
Timothy Nikkel
4fa1d92384 Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.

This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-23 15:18:26 -05:00
Andreas Pehrson
122b4efd17 Bug 1266680 - Fix stopping MediaStreamTrack when there are clones. r=jib
MozReview-Commit-ID: KMeOd9QvVFf

--HG--
extra : rebase_source : 0a341b2bededabe2a3ece678abcca208a933f5e5
2016-04-22 17:15:06 +02:00
Andreas Pehrson
1e072d6fc3 Bug 1266680 - Rename BlockTrackId to BlockSourceTrackId. r=jesup
It wasn't clear which TrackID should be passed to MediaInputPort::BlockTrackId(); source or destination.

MozReview-Commit-ID: I9LoSjdpRwE

--HG--
extra : rebase_source : 20eeb5e4ee47eb1cdf00e94cdc72ee11177bbee2
2016-04-22 17:14:26 +02:00
Jan de Mooij
ba736cee2d Bug 1263868 - Properly recover from OOM in ShellAutoEntryMonitor. r=jonco 2016-04-23 20:10:21 +02:00
Jan de Mooij
8ab57ada1a Bug 1264954 - Add missing OOM check in Parser::templateLiteral. r=jonco 2016-04-23 20:09:43 +02:00
Jan de Mooij
a9321853e4 Bug 1259925 - Port ModuleNamespace getprop stub to CacheIR. r=efaust 2016-04-23 20:09:35 +02:00
Josh Matthews
62ce0e2f1d Bug 1209095 - Accept opaqueredirection fetch results if the request redirection type is manual. r=bkelly 2015-12-16 19:06:54 -05:00
Jacek Caban
92367ea979 Bug 1244773 - Fixed ffvpx compilation on mingw. r=jya 2016-04-23 14:34:59 +02:00
Masayuki Nakano
798200a916 Backout changeset 1e142031ab51 (bug 115602 part 9)
--HG--
extra : rebase_source : 54b15fc4a1dea12474aca268917293dc717c51cb
2016-04-23 20:04:37 +09:00
Masayuki Nakano
b929d562be Backout changeset a530f2e280a4 (bug 115602 part 10)
--HG--
extra : rebase_source : c95b7d266c27a4db965224a5e2153bc509813768
2016-04-23 20:04:02 +09:00
Masayuki Nakano
9325eeb902 Backout changeset e9577aa83ab0 (bug 115602 part 11)
--HG--
extra : rebase_source : 1f08ffd194ba33bb0c76b5789b57ce80bc4b24da
2016-04-23 20:03:32 +09:00
Masayuki Nakano
28bb16d728 Backout changeset bf13f411417b (bug 115602 part 12)
--HG--
extra : rebase_source : a75921d4181ac29fe43f298267b1ce6cb08dd8ab
2016-04-23 20:03:03 +09:00
Masayuki Nakano
4bb9e45e9f Backout changeset 7207f05dd558 (bug 1190172 part 1)
--HG--
extra : rebase_source : 613172577500bfe46775a0c429c9a9aba9293bac
2016-04-23 20:02:28 +09:00
Masayuki Nakano
db9ddcac79 Backout changeset 643bf6006fea (bug 1190172 part 2)
--HG--
extra : rebase_source : c806f63e9cf69bf380e5c3a377de1af3fc35f561
2016-04-23 20:02:00 +09:00
Masayuki Nakano
65acec6efb Backout changeset ac6a27516edb (bug 1190172 part 3)
--HG--
extra : rebase_source : 17c98f03485a964e74f58d0c684ed756f6a37441
2016-04-23 20:01:32 +09:00
Masayuki Nakano
4656c119c1 Backout changeset b3a4fcd6e166 (bug 1190172 part 4)
--HG--
extra : rebase_source : ea006b33268fb46c0aac352a8ca63194102c51f8
2016-04-23 20:01:03 +09:00
Masayuki Nakano
a82e07913d Backout changeset aabe14890eb2 (bug 1190172 part 5)
--HG--
extra : rebase_source : 3177e815345d5f5c3c28729da7aa8ffbe05790d2
2016-04-23 20:00:35 +09:00
Masayuki Nakano
a3991f4cac Backout changeset 9d9b34db284d (bug 1190172 part 6)
--HG--
extra : rebase_source : 7754e4a2d4284c8114d7592fefe2181c5b1b7eac
2016-04-23 20:00:05 +09:00
Masayuki Nakano
39fe4e3567 Backout changeset 47a8205beae7 (bug 1190172 part 7)
--HG--
extra : rebase_source : 660a93fad26fc7a2516c5a4f490cd28e2e42d2fc
2016-04-23 19:59:35 +09:00
Masayuki Nakano
8ff0d45b03 Backout changeset 6d1996e26f78 (bug 1190172 part 8)
--HG--
extra : rebase_source : 4c3cfa50790f88c018e57de8191fedca3cb7a407
2016-04-23 19:59:06 +09:00
Masayuki Nakano
f9b512ff32 Backout changeset 8af4b2f65a89 (bug 1190172 part 9)
--HG--
extra : rebase_source : 665f4e825ceecdd6e4b49a9d03ae722aad964ad5
2016-04-23 19:58:28 +09:00
Masayuki Nakano
1c1fbc3eb0 Backout changeset fd552a08c876 (bug 1190172 part 10)
--HG--
extra : rebase_source : 110d707f75da51d537b28ba242675fa047da4223
2016-04-23 19:57:50 +09:00
Masayuki Nakano
3aba3916c7 Backout changeset bb29532b1b73 (bug 1190172 part 11)
--HG--
extra : rebase_source : 08096495e936bfd6517d6651149ec65c96805980
2016-04-23 19:57:09 +09:00
Jacek Caban
2ef6ade2c4 Bug 1258317 - cross compilation fixup. 2016-04-23 13:04:59 +02:00
Jacek Caban
15144101ad Bug 1252650 - char16_t*/char16ptr_t mismatch fixup. 2016-04-23 13:04:45 +02:00
Masayuki Nakano
0b13a5e58c Backed out due to bustage on all platforms (bug 1156062 (9-12) and bug 1190172 (1-12)
--HG--
extra : histedit_source : 89ab254f9b0be11800b0d3b991cf599d0e3d8964
2016-04-23 19:38:45 +09:00
Aryeh Gregor
0e45e926f8 Bug 1190172 part 12 - Clean up nsHTMLEditRules::ExpandSelectionForDeletion; r=ehsan 2016-04-23 19:29:43 +09:00
Aryeh Gregor
97304ffbba Bug 1190172 part 11 - Clean up nsHTMLEditRules::IsEmptyBlock; r=ehsan 2016-04-23 19:29:21 +09:00
Aryeh Gregor
e590800e2e Bug 1190172 part 10 - Clean up nsHTMLEditor::ReturnInListItem; r=ehsan 2016-04-23 19:28:57 +09:00
Aryeh Gregor
733498ac35 Bug 1190172 part 9 - Clean up nsHTMLEditor::ReturnInHeader; r=ehsan 2016-04-23 19:28:17 +09:00
Aryeh Gregor
e662b1b8ed Bug 1190172 part 8 - Clean up nsHTMLEditor::PromoteRangeIfStartsOrEndsInNamedAnchor; r=ehsan 2016-04-23 19:27:50 +09:00
Aryeh Gregor
d4bcaf41a0 Bug 1190172 part 7 - Clean up nsHTMLEditor::PromoteInlineRange; r=ehsan 2016-04-23 19:27:28 +09:00
Aryeh Gregor
4bcac88d54 Bug 1190172 part 6 - Clean up nsHTMLEditor::RelativeFontChangeOnTextNode; r=ehsan 2016-04-23 19:27:04 +09:00
Aryeh Gregor
babd34f7bb Bug 1190172 part 5 - Clean up nsHTMLEditor::NodeIsProperty; r=ehsan 2016-04-23 19:26:40 +09:00
Aryeh Gregor
3931489056 Bug 1190172 part 4 - Remove unused nsHTMLEditor::HasAttr; r=ehsan 2016-04-23 19:26:16 +09:00
Aryeh Gregor
516d35791d Bug 1190172 part 3 - Remove old method variants; r=ehsan 2016-04-23 19:25:54 +09:00
Aryeh Gregor
3b6aac3ba5 Bug 1190172 part 2 - Clean up nsHTMLEditor::ClearStyle; r=ehsan 2016-04-23 19:25:29 +09:00
Aryeh Gregor
b058686d23 Bug 1190172 part 1 - Clean up nsHTMLEditor::SplitStyleAbovePoint; r=ehsan 2016-04-23 19:25:04 +09:00
Aryeh Gregor
a144a23e3a Bug 1156062 part 12 - Clean up nsHTMLEditRules::GetAlignment; r=masayuki 2016-04-23 19:24:13 +09:00
Aryeh Gregor
7eaf2035c4 Bug 1156062 part 11 - Clean up nsHTMLEditRules::Before/AfterEdit; r=masayuki 2016-04-23 19:23:50 +09:00
Aryeh Gregor
c12f7e7f6f Bug 1156062 part 10 - Clean up MarginPropertyAtomForIndent; r=masayuki 2016-04-23 19:23:20 +09:00
Aryeh Gregor
914ca44a44 Bug 1156062 part 9 - Clean up nsHTMLEditRules::WillAlign 2016-04-23 19:22:48 +09:00
Aryeh Gregor
2dc492c957 Bug 1156062 part 8 - Clean up nsHTMLEditRules::JoinBlocks; r=ehsan
--HG--
extra : rebase_source : 6b76252e1e569fd792829a0dbe31e8412cd2fa9d
2016-04-23 19:20:20 +09:00
Masayuki Nakano
79ea112b87 Bug 1257759 part.10 PluginInstanceChild should consume WM_*CHAR messages which follow consumed WM_*KEYDOWN or WM_*KEYUP message r=jimm
nsWindow for Windows cannot decide if a preceding WM_*KEYDOWN or WM_*KEYUP which is a preceding message of WM_*CHAR is consumed because nsWindow cannot know if WM_*CHAR message came from same window which received the preceding WM_*KEYDOWN or WM_*KEYUP.  Therefore, PluginInstanceChild should do that.

MozReview-Commit-ID: 1uuZ0nTJ5Xb

--HG--
extra : rebase_source : b99f8057d5e93035a769af2506292ff7d2cb8f4a
2016-04-22 14:22:03 +09:00
Masayuki Nakano
0b9b9bf032 Bug 1257759 part.9 Implement nsWindow::OnKeyEventInPluginProcess() on Windows r=jimm
Implementing nsWindow::OnWindowedPluginKeyEvent() on Windows.  This patch makes NativeKey class dispatches eKeyDownOnPlugin and eKeyUpOnPlugin when the method is called.

MozReview-Commit-ID: L8yRZvDaQKR

--HG--
extra : rebase_source : 387ce72dcea23a92bd8c774fc54a8bff8da6c844
2016-04-15 17:02:36 +09:00
Masayuki Nakano
8f62c5aa3c Bug 1257759 part.8 nsXBLWindowKeyHandler should handle eKeyDownOnPlugin and eKeyUpOnPlugin events only with reserved shortcut key handlers r=smaug
eKeyDownOnPlugin (mozkeydownonplugin) and eKeyUpOnPlugin (mozkeyuponplugin) should execute if the key combination is reserved by the linked <command> element.

Note that there is no eKeyPressOnPlugin.  Therefore, eKeyDownOnPlugin may execute shortcut key handler which is registered as a keypress event handler.

MozReview-Commit-ID: CpjsFW02y26

--HG--
extra : rebase_source : 361be61bc6ff0213e3386427878d2f81321ca0df
2016-04-23 02:12:54 +09:00
Masayuki Nakano
eb041d2df7 Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.

This patches add eKeyDownOnPlugin and eKeyUpOnPlugin.  nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event.  Note that these events won't be fired on content in the default event group and won't be sent to the remote process.

MozReview-Commit-ID: H5OKPLtVdr6

--HG--
extra : rebase_source : c6852423e47c40e9953b72061262730f7cce35d7
2016-04-23 01:22:49 +09:00
Masayuki Nakano
ff3ddc1d56 Bug 1257759 part.6 Keep event order between keyboard events and IME events in a plugin process r=jimm
On Windows, applications cannot handle IME messages asynchronously.  Therefore, we cannot put off to send IME messages to plugin even if there are some pending keyboard events which were posted to the parent process.

This patch makes PluginInstanceChild consume all key events which are returned from the parent process during IME composition. And when an IME composition is committed, mark pending key events as outdated.

MozReview-Commit-ID: 7P3LEJ6pDir

--HG--
extra : rebase_source : 42e304c45cd980f339b29526ab65854d196198ad
2016-04-14 17:28:49 +09:00