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
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
Manish Goregaokar
63e75ca24b
Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
...
MozReview-Commit-ID: 9rKqASXgKZH
--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Nicolas Silva
79bb9f5c0e
Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond
2016-09-16 17:49:39 +02:00
Milan Sreckovic
e13a243ec1
Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
2016-09-15 10:36:21 -04:00
David Anderson
07336b7d13
Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
...
--HG--
extra : rebase_source : 974ad32cfaf3ba6d1af75d8857f0a35da5aa3641
2016-09-13 16:30:57 -07:00
Kyle Machulis
abd16b73b1
Bug 820831 - Mochitest changes for contentsScaleFactor on windows; r=jimm
...
MozReview-Commit-ID: A9Q1rU5Z6WR
--HG--
extra : rebase_source : 00c023da8e70811bccaaa3564ff56089175c5ef1
2015-07-13 14:37:40 -07:00
Kyle Machulis
f8661f72f8
Bug 820831 - Turn on ContentScaleFactor calculation on Windows; r=jimm
...
MozReview-Commit-ID: 5rqTURsO839
--HG--
extra : rebase_source : 2e2f71d825221723990049958d43d6e2eb40411d
2015-09-17 13:31:34 -07:00
Manish Goregaokar
aad318e17a
Bug 1300337
- Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
Shing Lyu
db11558e50
Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
...
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Makoto Kato
0d03e6a9b7
Bug 1180684 - Part 2. Hook GetKeyState on plugin process. r=aklotz
...
MozReview-Commit-ID: 3cCWMYYaTkn
--HG--
extra : rebase_source : 5350555661244ba0e3afe86bde12988270f9f7cf
2016-08-22 16:06:50 +09:00
Michael Layzell
c47fca1cd7
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
David Parks
5edefcd39f
Bug 1171393 - Remove sandbox write access to temp directory which was opened for tests. r=bobowen
2016-09-01 11:58:12 -07:00
Nicholas Nethercote
742fc7eb48
Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
...
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:
nsAutoCString spec;
uri->GetSpec(spec);
printf("uri: %s", spec.get());
to be changed to this:
printf("uri: %s", uri->GetSpecOrDefault().get());
This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.
I will fold this into part 1 before landing.
--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Ryan VanderMeulen
f2ae8f9bce
Merge m-c to autoland. a=merge
2016-08-31 22:34:02 -04:00
Lee Salzman
642347dba7
Bug 725119 - fuzz for reftests with Skia content on Android. r=mchang
...
MozReview-Commit-ID: 9p8ntO7YLQ4
2016-08-31 15:53:33 -04:00
Botond Ballo
2af3f87bb6
Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
...
MozReview-Commit-ID: 9rD0KLTLg7l
--HG--
extra : rebase_source : a537ba1913b6959e74fc4fcaf58f51f759cc5882
extra : source : 9278e13a7d664e787f763a7c21a32833700899e1
2016-08-29 16:51:43 -04:00
Ryan VanderMeulen
435c0addca
Merge autoland to m-c. a=merge
2016-08-31 09:52:43 -04:00
Makoto Kato
ec124dbfbd
Bug 1299054 - Remove old Android support (API level < 15) from Gecko. r=snorp
...
MozReview-Commit-ID: K32YSqGsLf9
--HG--
extra : rebase_source : be0d3b3fc1146234efc75229171ea61258c46492
2016-08-30 14:11:55 +09:00