Jim Chen
ebfed1e849
Bug 1363567 - 1. Remove addPluginView/removePluginView methods; r=rbarker
...
Remove the addPluginView and removePluginView methods from
GeckoInterface. Instead, move the JNI calls directly to GeckoApp itself.
GeckoApp then uses GeckoActivityMonitor to find the current activity,
instead of using GeckoAppShell.getGeckoInterface().
MozReview-Commit-ID: 7ym8kuElADV
2017-05-15 23:11:17 -04:00
James Willcox
454ed2df0c
Bug 1322650 - Adjust Android Flash support to API changes r=jchen
...
MozReview-Commit-ID: CmMINaGcTER
2017-05-15 09:37:52 -05:00
Nathan Froyd
3b526b2200
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Iris Hsiao
3cea13a680
Backed out 11 changesets (bug 1322650) for media test failures on android. a=backout
...
Backed out changeset 31bd912fba54 (bug 1322650)
Backed out changeset 4d486c7469eb (bug 1322650)
Backed out changeset 4cf8f4d5064c (bug 1322650)
Backed out changeset 3cb108f7492f (bug 1322650)
Backed out changeset bd53533c108e (bug 1322650)
Backed out changeset 3522917d8f10 (bug 1322650)
Backed out changeset 2c2c1e33eccc (bug 1322650)
Backed out changeset 2f19977cd6ab (bug 1322650)
Backed out changeset 4519296a323e (bug 1322650)
Backed out changeset e56e5e1c8786 (bug 1322650)
Backed out changeset 96fe52231b57 (bug 1322650)
2017-05-12 10:21:14 +08:00
Łukasz Kędziorski
5d6f7cf220
Bug 1357578 - Convert PRCList usage in nsPluginHost to mozilla::LinkedList. r=erahm,r=bsemdberg
2017-05-02 17:12:00 -07:00
James Willcox
1b73649949
Bug 1322650 - Adjust Android Flash support to API changes r=jchen
...
MozReview-Commit-ID: CmMINaGcTER
2017-05-11 15:42:44 -05:00
Lie Ryan
64d3997e86
Bug 1352572 - Remove unused code that implement NPN_PostURLNotify(file=true) and NPN_PostURL(file=true); r=bsmedberg
...
- Remove nsNPAPIPlugin.cpp:MakeNewNPAPIStreamInternal(file) parameter
- Remove nsPluginHost::PostURL(isFile) parameter
- Remove nsPluginHost::CreateTempFileToPost() unused function
MozReview-Commit-ID: 7bCBzGz9oSM
2017-04-12 14:28:50 +00:00
Lie Ryan
6ddc3f3f52
Bug 1352572 - Fix buffer overflow in verbose debug log; r=bsmedberg
...
Sometimes ptrStreamBuffer may not be null-terminated and random memory
areas get printed out when running MOZ_LOG=Plugin:5,PluginNPP:5,PluginNPN:5
MozReview-Commit-ID: 4cyDhukl1Tx
2017-04-07 10:57:31 +00:00
Jon Coppeard
c04c4e7cb6
Bug 1360961 - Fix spurious rooting hazard r=me
2017-05-04 09:38:43 +01:00
Jon Coppeard
37ca18f7a1
Bug 1360961 - Add a barrier to the plugin object wrapper table to handle incrementally finalized JSObjects r=bz
2017-05-04 08:17:39 +01:00
Masatoshi Kimura
fd136e7327
Bug 1358758 - Use CSSIntRect for nsIFrame::GetScreenRect. r=kats
...
MozReview-Commit-ID: KXPL1ERbFDa
2017-04-25 07:33:13 +09:00
Tom Tromey
a0148cdc8d
Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj
...
Change mozilla::Smprintf and friends to return a UniquePtr, rather than
relying on manual memory management. (Though after this patch there are
still a handful of spots needing SmprintfFree.)
MozReview-Commit-ID: COa4nzIX5qa
2017-03-03 08:17:27 -07:00
raouldc
cde2c26b53
Bug 1352576 - Removed all instances of NPN_GetAuthenticationInfo from the codebase r=bsmedberg
...
NPN_GetAuthenticationInfo is an NPAPI API we implemented for Java and since we only support Flash we no longer need it.
MozReview-Commit-ID: HxNn91QeaMB
2017-04-13 23:57:08 +12:00
Kyle Machulis
89d9648295
Bug 1351490 - Only load either flash and/or test plugins. Period. r=bsmedberg
...
Before this patch, mochitests could still load ALL plugins, meaning
MIME type checking would fail when another plugin snuck in. We should
only load exactly the plugins we expect to be there now.
MozReview-Commit-ID: KowCihZuceH
2017-04-11 13:53:58 -07:00
Kyle Machulis
d84088f8ca
Bug 1351490 - Only run plugin finding on flash mime types/extensions; r=bsmedberg
...
Now that we only support the flash plugin, we should only run plugin
finding if the flash mime type is requested.
MozReview-Commit-ID: CrHkTe2aEyz
2017-04-11 13:53:58 -07:00
Eric Rahm
f3ea7b060a
Bug 1353143 - Part 2: Remove usage of PR_LOGGING. r=froydnj
...
Remove ifdefs that handle if logging is disabled, we always force enable it.
2017-04-04 14:36:16 -07:00
Kyle Machulis
440fc415b9
Bug 1351486 - Remove unused nsPluginHost::eSpecialType_Unity; r=bsmedberg
...
MozReview-Commit-ID: 4XbcS006tls
2017-03-28 15:20:33 -07:00
Alastor Wu
5a0c4fae9a
Bug 1346872 - part2 : only access agent related codes in nsNPAPIPluginInstance. r=Ehsan
...
nsNPAPIPlugin doesn't need to know about agent, nsNPAPIPluginInstance should wrap
all of the details in its memeber function.
MozReview-Commit-ID: 3LqTlH2flbt
2017-03-30 14:27:42 +08:00
Kyle Machulis
ceb4bf3e68
Bug 1350940 - Label Runnables in dom/plugins; r=bsmedberg
...
MozReview-Commit-ID: DCxeZUj6CEd
2017-03-27 13:35:25 -07:00
Kan-Ru Chen
f338a740fd
Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley
...
This is the most important part of the patch series. It removes the
PScreenManager protocol and use ScreenManager directly in the content
processes.
Initial and subsequent updates are sent via PContent::RefreshScreens.
struct ScreenDetails are kept to serialize Screen over IPC.
nsIScreenManager::ScreenForNativeWidget is removed because
nsIWidget::GetWidgetScreen can replace it. nsIScreen::GetId is removed
because it's not useful for the more general Screen class.
MozReview-Commit-ID: 5dJO3isgBuQ
2017-03-09 19:30:26 +08:00
Alastor Wu
2c14c57520
Bug 1347758 - part4 : add audio channel log. r=Ehsan
...
MozReview-Commit-ID: 3zVYtD86O82
2017-03-24 14:44:18 +08:00
Iris Hsiao
a501d530f1
Backed out 6 changesets (bug 1347758) for eslint failure
...
Backed out changeset 9becd55242c1 (bug 1347758)
Backed out changeset 2abce19f5001 (bug 1347758)
Backed out changeset 80232d4c85d5 (bug 1347758)
Backed out changeset 1fd084ec34d4 (bug 1347758)
Backed out changeset cafb3c12027b (bug 1347758)
Backed out changeset 85846edfe957 (bug 1347758)
2017-03-24 16:58:08 +08:00
Alastor Wu
45a0c2c35f
Bug 1347758 - part4 : add audio channel log. r=Ehsan
...
MozReview-Commit-ID: LNXzRZx2rC2
2017-03-24 12:04:15 +08:00
Nicolas B. Pierron
fc0b4d8b45
Bug 1331662 part 2 - Replace nsJSUtils::EvaluateString calls by ExecutionContext scopes. r=bz
2017-03-22 13:42:27 +00:00
Andrea Marchesini
8f5f953fba
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
2017-03-22 11:38:40 +01:00
Wei-Cheng Pan
7a678cdad2
Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: 5gvVZtsa3yS
2016-12-20 11:49:32 +08:00
Daniel Holbert
9b5b144d07
Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
...
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
find . -name "*.cpp" -exec fromdos {} \; && \
hg revert -C gfx/angle \
gfx/sfntly \
media/webrtc \
media/libstagefright \
media/openmax_il \
other-licenses
MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Benjamin Smedberg
6313586298
Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm
...
MozReview-Commit-ID: J6E8sYcyX4U
2017-02-09 11:53:50 -05:00
Benjamin Smedberg
8c4dc86be2
Bug 1338172 part B - remove the ancient carbon detection on Mac which is no longer used, r=jimm
...
MozReview-Commit-ID: 9UEAfPHg7fP
2017-02-08 14:27:49 -05:00
Benjamin Smedberg
89b6f2227c
Bug 1342141 part B - Use NP_EMBED as the mode for all plugins, whether they are full-page or not, r=jimm
...
MozReview-Commit-ID: BeB24ux8TEp
2017-02-23 12:37:42 -05:00
Tom Tromey
e90d95a3f9
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
2016-12-14 09:32:21 -07:00
Tom Tromey
a4b717ab39
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Tom Tromey
8e171dd816
Bug 1060419 - make nsPluginsDirWin.cpp use Printf.h, r=froydnj
...
MozReview-Commit-ID: DEp62fnUggc
2016-12-09 10:11:38 -10:00
Wes Kocher
0e7757aeda
Merge m-c to inbound a=merge
...
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Benjamin Smedberg
e374ae7f52
Bug 1333887 - Hold nsNPAPIPlugin alive for active nsNPAPIPluginInstance objects. This should happen through the plugin tag, but apparently that isn't always working. r=qdot
2017-02-14 09:10:31 -05:00
Wes Kocher
48fcd00012
Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout
...
Backed out changeset 9ee6c6f4e59c (bug 1338172)
Backed out changeset 1c92fbfca20a (bug 1338172)
Backed out changeset 907d9c3d1043 (bug 1338172)
Backed out changeset e4994ab9d628 (bug 1338172)
Backed out changeset 6209f07e1f26 (bug 1338172)
MozReview-Commit-ID: 3f4xBRcGPqM
2017-02-14 14:31:54 -08:00
Benjamin Smedberg
a46c9d69c4
Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm
...
MozReview-Commit-ID: J6E8sYcyX4U
2017-02-09 11:53:50 -05:00
Benjamin Smedberg
34c50ccb36
Bug 1338172 part B - remove the ancient carbon detection on Mac which is no longer used, r=jimm
...
MozReview-Commit-ID: 9UEAfPHg7fP
2017-02-08 14:27:49 -05:00
Sylvestre Ledru
e144e1280c
Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/plugins/ r=jimm
...
MozReview-Commit-ID: Bp1M9LW77Ia
2017-02-09 10:33:57 +01:00
Cliff
161fe77598
Bug 1334104 - 'if' statement is unnecessary r=bsmedberg
...
Removed unnecessary `if` statements intended to safely delete pointers. Deleting a null pointer has no effect, and the behavior is defined.
MozReview-Commit-ID: 5zfMZoPoWcY
2017-01-30 19:38:40 -05:00
Benjamin Smedberg
dbd60d6ffe
Bug 1334080 - If a plugin is associated with a window that has no nsIWebNavigation, don't crash, r=qdot
...
MozReview-Commit-ID: CZLne2N498d
2017-02-10 11:27:08 -05:00
Jed Davis
b86735cec2
Bug 778201 - Remove nsPluginHost::FindProxyByURL and nsProtocolProxyService::DeprecatedBlockingResolve. r=bsmedberg,mcmanus
...
MozReview-Commit-ID: 9xuddxdw5cd
2017-02-03 16:32:04 -07:00
Brian Hackett
6a2580c190
Bug 1324002 - Mark atoms separately in each zone, r=jonco,mccr8,peterv.
2017-01-30 06:31:47 -07:00
Ehsan Akhgari
d09487caeb
Bug 1334509 - Remove support for the NPNURLVCookie NPAPI; r=bsmedberg
2017-01-27 12:55:41 -05:00
Julian Seward
ee8c840e10
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (2 of 5, fixes for dom/). r=bkelly.
2017-01-24 17:10:39 +01:00
Benjamin Smedberg
2074ec0880
Bug 1330998 - Invalidate pluginreg.dat based on whether the flash-only pref is flipped, so that if users switch between 52 and 52ESR it gets updated correctly. r=qdot
...
MozReview-Commit-ID: 64yamsyIudD
2017-01-17 13:44:13 -05:00
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Markus Stange
0614dd7d16
Bug 1323100 - Use NS_NewNamedThread for the Android Audio thread. r=froydnj
...
MozReview-Commit-ID: IcKsOZCZVwB
2016-12-21 11:31:15 +01:00
Thomas Nguyen
82e1caab63
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Sylvestre Ledru
ea8d4cce02
Bug 1324547 - ensure we're not needlessly copying things in ranged for loop r=froydnj
...
MozReview-Commit-ID: 2NnjjmANem5
2016-12-21 18:05:50 +01:00