Commit Graph

30120 Commits

Author SHA1 Message Date
Bill McCloskey
930443f7aa Bug 1126042 - Use different window IDs for different processes (r=smaug) 2015-01-28 11:53:46 -08:00
Randell Jesup
a31f43f4cb Bug 1122387: Update locking logic for getUserMedia video r=roc
--HG--
extra : rebase_source : ba6838ef8a2098c56cff2cf0863de0837b6438ef
2015-01-16 16:27:56 -05:00
Byron Campen [:bwc]
24ec1efc5e Bug 1095218 - Part 2: Multistream support. r=mt
--HG--
extra : rebase_source : d699a4408c351014e30be3b3dfe148bda14c643f
2014-12-10 11:17:09 -08:00
Byron Campen [:bwc]
cc7a4509dc Bug 1095218 - Part 1: msid support. r=mt
--HG--
extra : rebase_source : 7b5cd5efdaec5d53dd4d39aa1f4226659c06f1cb
2014-12-01 21:19:57 -08:00
Chris Pearce
984b596986 Bug 1125472 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-01-29 07:43:47 +13:00
Jed Davis
74292f3851 Bug 1120045 - Pref off allowing media plugins on Linux systems which can't sandbox them. r=jesup
This does *not* affect the sandboxing requirement for EME CDMs added in
bug 1074561; that is enforced separately and regardless of this pref.

Bonus fix: GC unused includes of sandbox headers.
2015-01-28 10:06:53 -08:00
Ehsan Akhgari
3c11e6e16d Bug 1119503 - Part 4: Add a test for serialization of block elements without style information; r=bzbarsky 2015-01-28 10:02:11 -05:00
Ehsan Akhgari
7fdf2ea7a1 Bug 1119503 - Part 2: Insert a line break between preformatted block boundaries when creating raw output; r=bzbarsky 2015-01-28 09:58:35 -05:00
Ehsan Akhgari
c6ce6a53fd Bug 1119503 - Part 1: Determine whether an element is a block element based on the style, not the tag; r=bzbarsky
This probably fixes a whole bunch of edge cases where content uses
elements other than div.
2015-01-28 09:58:34 -05:00
Sotaro Ikeda
6354675424 Bug 1123452 - Try to enter dormant state when document is hidden r=cpearce 2015-01-28 06:31:31 -08:00
Masayuki Nakano
f1abe83b3f Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug 2015-01-28 22:36:53 +09:00
Carsten "Tomcat" Book
713239c2fa merge fx-team to mozilla-central a=merge 2015-01-28 14:24:09 +01:00
Carsten "Tomcat" Book
65ef06051a merge mozilla-inbound to mozilla-central a=merge 2015-01-28 14:17:34 +01:00
Garvan Keeley
5e995220a3 Bug 1121497 - Need to stop location manager before start, r=dougt 2015-01-14 20:02:00 +01:00
Garvan Keeley
dfd1449642 Bug 1121265 - Fallback to MLS Provider, r=dougt
On CoreLocation error, fallback to MLS network provider, which
will report GeoIP, or error.
2015-01-27 08:26:00 +01:00
Garvan Keeley
11d38a81b2 Bug 1125411 - OSX: turn CoreLocation provider on, r=cpeterson
Also, expose this setting in about:config
2015-01-26 12:25:00 +01:00
Masayuki Nakano
9e4747fac5 Bug 917322 part.21 Ensure to cancel composition when TextInputProcessor is released r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
b3a2564e22 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
208ef09b93 Bug 917322 part.18 Add tests of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
f2d5b42188 Bug 917322 part.15 Create TextEventDispatcherListener abstract class for listening notifications to IME r=smaug, sr=smaug 2015-01-28 15:27:32 +09:00
Masayuki Nakano
d972563d7a Bug 917322 part.14 Remove sendCompositionEvent() and createCompositionStringSynthesizer() of nsIDOMWindowUtils and nsICompositionStringSynthesizer r=smaug, sr=smaug 2015-01-28 15:27:32 +09:00
Masayuki Nakano
458541ab50 Bug 917322 part.13 B2G should use nsITextInputProcessor in forms.js r=smaug+xyuan 2015-01-28 15:27:32 +09:00
Masayuki Nakano
df28389cf4 Bug 917322 part.11 Create nsITextInputProcessor and implement it as mozilla::TextInputProcessor r=smaug, sr=smaug
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => dom/base/TextInputProcessor.cpp
rename : dom/base/CompositionStringSynthesizer.h => dom/base/TextInputProcessor.h
2015-01-28 15:27:32 +09:00
Masayuki Nakano
3a205a6e4e Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
Masayuki Nakano
903159243b Bug 917322 part.6 Implement TextEventDispatcher::CommitComposition() and nsDOMWindowUtils should use it r=smaug 2015-01-28 15:27:31 +09:00
Masayuki Nakano
b62b8f5a42 Bug 917322 part.5 Implement TextEventDispatcher::StartComposition() and nsDOMWindowUtils should use it r=smaug 2015-01-28 15:27:31 +09:00
Masayuki Nakano
3ce97bbc6b Bug 917322 part.4 Create utility methods of TextEventDispatcher r=smaug 2015-01-28 15:27:31 +09:00
Masayuki Nakano
16b59a9345 Bug 917322 part.2 Make CompositionStringSynthesizer just a wrapper of TextEventDispatcher r=smaug 2015-01-28 15:27:31 +09:00
Nicholas Nethercote
8f8e17a611 Bug 1124973 (part 6) - Delete some incorrect comments about PL_DHashTableLookup. r=froydnj.
The comments about PL_DHashTableLookup in nsContentList.cpp aren't quite
correct -- Add() can OOM even if the looked-for key is already in the table.
More generally, they don't seem worth correcting, so I just removed them.

--HG--
extra : rebase_source : c2509f39876471a7948cb3a50dd041702fbc903f
2015-01-26 15:13:56 -08:00
Nicholas Nethercote
7107663e7b Bug 1124973 (part 4) - Remove erroneous uses of PL_DHASH_ENTRY_IS_{BUSY,FREE} in nsJSNPRuntime.cpp. r=froydnj.
The BUSY check is merely useless, because BUSY is always true for a non-null
entry returned by PL_DHashTableAdd.

The FREE check is downright dangerous because it dereferences |entry| and
PL_DHashTableAdd() returns nullptr on OOM. A null check makes more sense here.

--HG--
extra : rebase_source : bbafb351b9a700724004916801fd9ef9415fb031
2015-01-26 14:05:06 -08:00
Nicholas Nethercote
70b1eacc9e Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.

For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.

I'll do the trickier ones in subsequent patches.

--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Nicholas Nethercote
8f48f04d55 Bug 1124973 (part 1) - Always use inheritance rather than composition for PLDHashTable entries. r=froydnj.
Because (a) this is how it's usually done, (b) it allows static_cast<> instead
of reinterpret_cast<>, and (c) it will make subsequent patches easier.

--HG--
extra : rebase_source : 76e67d4b6ec0e5dc898a8214b6a6b562f9e08380
2015-01-22 21:05:52 -08:00
Ehsan Akhgari
05c25dce64 Bug 1108547 - Part 3: Automated tests; r=jdm 2015-01-27 23:17:38 -05:00
Ehsan Akhgari
4617e361da Bug 1108547 - Part 2: Create a dummy channel for accessing the document's cookie when we don't have one already; r=jdm
This ensures that the cookie service can know which cookie database
to query from.  This is a gross hack, please see the discussion on
the bug as to why we did this.
2015-01-27 23:17:35 -05:00
Tooru Fujisawa
1a673bc891 Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug 2015-01-28 13:06:38 +09:00
David Parks
f726fe6ce3 Bug 1075670 - Update window position in TabParent when window widget is moved. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome
TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on
its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos
event.
2015-01-26 11:45:54 -08:00
David Parks
b9369a9f65 Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset report proper screen coords. r=josh
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location.  Previously, in the content process, all widgets were defined to be located at the screen origin.  This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-01-26 15:17:58 -08:00
Alfredo Yang
a3976a949a Bug 980622 - Free media element node to release decoder. r=cajbir 2015-01-27 02:27:00 -05:00
Ryan VanderMeulen
fc7e02c5d8 Backed out changeset fad4fd21ab1d (bug 1123452) for Windows w-p-t failures and Linux mochitest orange.
CLOSED TREE
2015-01-27 22:00:41 -05:00
Ryan VanderMeulen
0243a841b8 Backed out changeset 525b62ea9132 (bug 1125472) 2015-01-27 22:00:17 -05:00
Ryan VanderMeulen
11761727b0 Backed out 4 changesets (bug 1123535)
Backed out changeset b4eb1cc07186 (bug 1123535)
Backed out changeset dab05b7115f6 (bug 1123535)
Backed out changeset c2efa0319f04 (bug 1123535)
Backed out changeset 29304c69eff6 (bug 1123535)
2015-01-27 22:00:11 -05:00
Wes Kocher
50351b0c8d Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Jeff Gilbert
95c94079c9 Bug 1125445 - Only do backbuffer workaround if against backbuffer. - r=kamidphish 2015-01-26 18:27:24 -08:00
Matt Woodrow
4f89591f0d Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas
--HG--
extra : rebase_source : 782dc73a9f284c7a0d98061f2fe2dfb87e3bb149
2015-01-26 13:34:28 +13:00
Chris Pearce
df2f791619 Bug 1123535 - Don't hold decoder monitor while calling PreReadMetadata. r=kentuckyfriedtakahe 2015-01-28 13:56:59 +13:00
Chris Pearce
f3c10a8b40 Bug 1123535 - Make MP4Reader and WMFMediaDataDecoder support going dormant. r=kentuckyfriedtakahe 2015-01-28 13:56:58 +13:00
Chris Pearce
974defa94e Bug 1123535 - Run MediaDecoderReader::ReleaseMediaResources on decode task queue. r=jwwang 2015-01-21 18:02:27 +08:00
Chris Pearce
65a33b5120 Bug 1125472 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-01-28 13:56:58 +13:00
Sotaro Ikeda
9c64ff755d Bug 1123452 - Make Mp4Reader enter dormant state when it is idle and its document is hidden. r=cpearce 2015-01-28 13:56:58 +13:00
Wes Kocher
b86c52f82a Backed out 12 changesets (bug 1118398, bug 1119593) for zmedia failures
Backed out changeset db7c4ffd5a53 (bug 1119593)
Backed out changeset 2832633668c3 (bug 1119593)
Backed out changeset 2f38bbb30cc6 (bug 1119593)
Backed out changeset 46b5bb0665e9 (bug 1119593)
Backed out changeset e97ee52f7803 (bug 1119593)
Backed out changeset f7f0adc1879d (bug 1119593)
Backed out changeset 4ccecd0da80f (bug 1119593)
Backed out changeset 2ea753b42366 (bug 1119593)
Backed out changeset 28d59c42debb (bug 1119593)
Backed out changeset a38d68f15ced (bug 1119593)
Backed out changeset 1d565fc1473c (bug 1119593)
Backed out changeset d28a04536e7e (bug 1118398)
2015-01-27 16:56:02 -08:00