Commit Graph

2964 Commits

Author SHA1 Message Date
Bill McCloskey
81c169c2a9 Bug 792652 - Remove methods from MessageListener (r=dvander)
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00
Wes Kocher
4b3d16605a Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
1f23e3694d Bug 792652 - Remove methods from MessageListener (r=dvander)
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 11:32:26 -08:00
Phil Ringnalda
a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
b3c41167c9 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/plugins. r=RyanVM
MozReview-Commit-ID: KWmtajNvNbZ

--HG--
extra : rebase_source : a918eb6ed1bb38df6967eae867daa0728bf2bb9e
2016-11-05 11:29:17 +01:00
Jim Mathies
bb379754c1 Bug 1312242 - Provide a default bgcolor flash var. Addresses a background transparency problem with transparent flash and async painting. r=aklotz
MozReview-Commit-ID: KEzb1vkkNXG
2016-11-04 12:57:15 -05:00
Wes Kocher
db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Jon Coppeard
99aa8489c8 Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00:00
Blake Kaplan
8e1dba7d2e Bug 1314812 - Remove code that manually times out loads in favor of relying on the test harness. r=Gijs
MozReview-Commit-ID: FZB9ys9lvIN

--HG--
extra : rebase_source : 11a63b4b08fd8c64bbdbd4de2c4d968503aa807d
2016-11-02 16:03:11 -07:00
Jim Mathies
ace1e6461b Bug 1312530 - Force windowless plugin mode in 64-bit builds if async rendering is disabled. r=akotz
MozReview-Commit-ID: LEUdMKm1BNe
2016-10-25 08:10:54 -05:00
Sotaro Ikeda
3bb4569dac Bug 1311952 - Remove ALLOC_UPDATE_FROM_SURFACE flag from RecvShowDirectDXGISurface() r=mattwoodrow 2016-10-25 19:18:49 -07:00
Ryan VanderMeulen
75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Tom Tromey
0dc689acdd Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
MozReview-Commit-ID: DD3DJRkOxmC

--HG--
extra : rebase_source : 61cdf0da1a82b626abc79209ee41e43c3bb152ca
2016-10-11 12:44:40 -06:00
Carsten "Tomcat" Book
036a7c4324 merge mozilla-inbound to mozilla-central a=merge 2016-10-19 17:02:38 +02:00
Aaron Klotz
61db71befa Bug 1241921: Disable async plugin init regardless of pref; r=jimm
MozReview-Commit-ID: 5cdb9vLONiS

--HG--
extra : rebase_source : 18eb0af7088649c7c300e56847fe3cddfd1955f9
2016-10-17 12:09:21 -06:00
Bill McCloskey
d0190adbdc Bug 1310375 - Remove experimental-notify-plugin-call observer notification (r=aklotz) 2016-10-18 16:16:33 -07:00
Tooru Fujisawa
5f1c1c094f Bug 1308023 - Null check info.fName in PluginInfoIsFlash. r=jimm 2016-10-13 02:49:24 +09:00
Sotaro Ikeda
c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Kyle Machulis
710cd95c09 Bug 1307694 - Mochitests for plugin parameter ordering; r=bsmedberg
MozReview-Commit-ID: 2fc1c3nbsN8
2016-10-20 11:28:02 -07:00
Kyle Machulis
37074751dc Bug 1307694 - Remove reversal of attributes for plugins; r=bsmedberg
MozReview-Commit-ID: 75pULekS9s6
2016-10-20 11:28:02 -07:00
Eric Rahm
22057781f4 Bug 1307216 - Remove warning about non-existent plug-in registry key. r=bsmedberg
It's possible the plugin key doesn't exist, there's no need to warn about that.

MozReview-Commit-ID: Law8J9zUHCt

--HG--
extra : rebase_source : d80ac46094c55281490659d622a4cdd8c2a95c86
2016-10-04 10:18:17 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Benjamin Smedberg
b251dfc1b5 Bug 1290766 - Return the scroll capture information from the PPluginWidget Create method, instead of using a separate asynchronous method which is delivered later and may race with fast shutdown. r=billm
MozReview-Commit-ID: JJA1VaIuDxL

--HG--
extra : rebase_source : 13a97843b3f2dbfd66478d5ba41e2365dd94a11f
2016-10-05 11:36:26 -04:00
Benjamin Smedberg
e875d89aa6 Bug 1307501 part B - don't read old versions of pluginreg.dat. Long ago we took great pains to read this backwards-compat because plugin enabled/click-to-play state was recorded here. But that has been recorded in prefs since Firefox 22, so now we can safely just treat this as a disposable cache. r=qdot
MozReview-Commit-ID: 1QBEBuXiesh

--HG--
extra : rebase_source : 049c0d55676c46754eda614812c101f8d0ab4742
extra : source : 58e4d007f2a5eb24788debf16613d5d780df0ddb
2016-10-05 09:48:57 -04:00
Benjamin Smedberg
082bdccfb8 Bug 1307501 - Flash plugin isn't enabled in nightly because this check was using the description instead of the name. r=stupidly obvious
MozReview-Commit-ID: EJmdQfYhGp9

--HG--
extra : rebase_source : b1d7d55a0ba24f621d7b01fe58af1880b0eaa2e6
extra : source : 113aa49cbb982144d17969f7161ef27153535a7c
2016-10-04 12:35:34 -04:00
Wes Kocher
a2cfb52087 Backed out 3 changesets (bug 1307501) for xpcshell failures a=backout
Backed out changeset b05f555321b7 (bug 1307501)
Backed out changeset 58e4d007f2a5 (bug 1307501)
Backed out changeset 113aa49cbb98 (bug 1307501)
2016-10-04 14:55:29 -07:00
Benjamin Smedberg
1b2d2396c0 Bug 1307501 part B followup - remove no-longer-needed variable to solve -Werror=unused-variable build bustage on a CLOSED TREE 2016-10-04 16:52:36 -04:00
Benjamin Smedberg
54a7ad7fcd Bug 1307501 part B - don't read old versions of pluginreg.dat. Long ago we took great pains to read this backwards-compat because plugin enabled/click-to-play state was recorded here. But that has been recorded in prefs since Firefox 22, so now we can safely just treat this as a disposable cache. r=qdot
MozReview-Commit-ID: 1QBEBuXiesh

--HG--
extra : rebase_source : 0f55dec7c96612e8bac069106eea29d1ad13860e
2016-10-04 13:22:07 -04:00
Benjamin Smedberg
e71e90698f Bug 1307501 - Flash plugin isn't enabled in nightly because this check was using the description instead of the name. r=stupidly obvious
MozReview-Commit-ID: EJmdQfYhGp9

--HG--
extra : rebase_source : 50283ef2d86b6b4436486995bbb1da8c1f188b2c
2016-10-04 12:35:34 -04:00
Nathan Froyd
c6166bd03a Bug 1307483 - remove mProtocolCallStack from PluginModuleChromeParent; r=jimm
The last useful references to this were removed in bug 1250046, when we
deleted Shumway-specific IPC support.  All this code is doing now is
taking up space.
2016-10-05 00:04:32 -04:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Brad Lassey
04c44176b6 bug 1294341 - only assert that navigator.plugins is not empty when there is a hidden CTP plugin r=bsmedberg 2016-09-29 12:39:02 -04:00
Brad Lassey
fa10f0ca80 bug 1294341 - test for dummy plugin r=mconley 2016-09-07 18:40:32 -04:00
Benjamin Smedberg
a735f280da Bug 1269807 - Remove support for all NPAPI plugins except for Flash, behind a pref. Tests that use the testplugin for now set the pref to keep it working. This will be disabled for ESR 52, but enabled for release 52. In the next cycle, the pref will be removed and this will be hardcoded. r=jimm
MozReview-Commit-ID: IDFTfaqpebo

--HG--
extra : rebase_source : b43d9fec42da6b6943786f18c8750c1880ff08fe
2016-09-29 09:16:33 -04:00
Jonathan Kew
45cb9941ab Bug 1292476 - Replace use of nsIUnicodeNormalizer with nsIIDNService in the implementation of NPNVdocumentOrigin. r=m_kato 2016-10-03 13:43:47 +01:00
Tooru Fujisawa
26cadb42f0 Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug 2016-09-11 18:15:24 +09:00
Tooru Fujisawa
2f83147cad Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden 2016-08-15 23:05:04 +09:00
Tooru Fujisawa
10dd75211d Bug 1289050 - Part 2: Use ASCII or Latin1 variants of JS_ReportError in not-simple cases. r=jwalden 2016-08-15 19:20:01 +09:00
Wes Kocher
82e2302974 Backed out 5 changesets (bug 1294341) for frequent mochitest(cl) failures due to random plugins being discovered a=backout CLOSED TREE
Backed out changeset 183727ce6551 (bug 1294341)
Backed out changeset 0f9c9d933a42 (bug 1294341)
Backed out changeset 5a582bbcc549 (bug 1294341)
Backed out changeset be81e6841555 (bug 1294341)
Backed out changeset 154d446586b4 (bug 1294341)
2016-09-28 16:51:47 -07:00
Wes Kocher
3669bf32ec Bug 1294341 - Also skip the test on linux64 because tests were failing
--HG--
extra : rebase_source : b06fad52c1d6406dc63b8ccd20b1fb6a9bf622d6
2016-09-28 14:29:22 -07:00
Brad Lassey
95ea4c4e54 bug 1294341 - disable test on linux 32 and add a fake file name to avoid an assertion in debug builds r=bsmedberg 2016-09-26 15:06:10 -04:00
Brad Lassey
f38203130f bug 1294341 - test for dummy plugin r=mconley 2016-09-07 18:40:32 -04:00
Thomas Wisniewski
ba6cb5196e Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
Jamie Nicol
fc46f7198f Bug 1245959 - Check plugin has non-zero dimensions before sending image to compositor. r=nical
MozReview-Commit-ID: KEd5IBUGlo6
2016-09-25 21:34:06 +02:00
Sebastian Hengst
18fb75d3b3 Backed out changeset c633db465597 (bug 1245959) for frequent timeout in mda test test_video_dimensions.html. r=backout 2016-09-25 19:29:13 +02:00
Bob Owen
9ce88c03d5 Bug 1300083 - Initialize Plugin Tags correctly. r=jimm
--HG--
extra : rebase_source : bfbd9cb8f04ff07dd2a9dbec163f37d8e35ae845
2016-09-02 13:23:18 +01:00
Carsten "Tomcat" Book
4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
David Parks
2e014f8e84 Bug 1303755 - Flash code using GetKeyState crashes attempting IPC from non-main thread. r=jimm
On Windows, when not already running on the main thread, post GetKeyState calls to main thread and wait for result with a semaphore.

--HG--
extra : rebase_source : 38c3b2fa678d2eb05681139de521177253942ff7
2016-09-19 13:41:45 -07:00
Jamie Nicol
dc6488e7d5 Bug 1245959 - Check plugin has non-zero dimensions before sending image to compositor. r=nical
MozReview-Commit-ID: KEd5IBUGlo6

--HG--
extra : rebase_source : b1719e8c1a5cbca40a3940cf9262a4bb28b93abe
2016-09-19 13:28:05 +01:00
David Parks
17683f933c Bug 1251202 - Implement Default Audio Device Notifications for NPAPI plugins on Windows. r=jimm
Adds plugin variables NPPVpluginRequiresAudioDeviceChanges and NPNVaudioDeviceChangeDetails on Windows.

--HG--
extra : rebase_source : ff18bbca9772352b18be1dfcde90570775e8d5cc
2016-09-19 14:05:41 -07:00