Commit Graph

1509 Commits

Author SHA1 Message Date
Ryan VanderMeulen
99647ac22c Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
David Zbarsky
a5cb73b253 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Stephen Pohl
b83387a47d Bug 860429 - Make NPPVJavascriptPushCallerBool a no-op. r=bsmedberg 2013-04-11 07:48:10 -04:00
David Keeler
d1fb26b865 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Ryan VanderMeulen
ff194700f0 Backed out changeset 9983874bfa63 (bug 854467) for bustage on a CLOSED TREE. 2013-04-09 13:45:39 -04:00
David Keeler
932324bf5d bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Georg Fritzsche
2ab966de91 Bug 857589 - Bail out without warnings when no plugins registry key is present. r=bsmedberg 2013-04-03 16:24:03 +02:00
Ryan VanderMeulen
9420af6638 Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
ccadc1da47 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Georg Fritzsche
efe3d3ff30 Bug 758872 - Fix missing null-check for plugin instance. r=bsmedberg 2013-04-04 00:00:45 +02:00
Jose Cortes
c3d2c6b38c Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/bindings/ dom/plugins/ dom/src/ dom/activities/ directories. r=jwalden
--HG--
extra : rebase_source : 2757a7ab265153fa4c769a69a4947b9258e4413e
2013-04-02 16:05:37 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Aaron Klotz
8974175441 Bug 836488: Add telemetry for plugin metadata load time. r=bsmedberg 2013-04-01 11:38:48 -06:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Benjamin Smedberg
5a8e2abd62 Bug 831768 part 2 - Also defer painting from RecvUpdateBackground just as we did with RecvAsyncSetWindow, r=gfritzsche
--HG--
extra : rebase_source : c5b2001b1c32b1be7d5718bb72ae956706d572a4
2013-03-29 11:53:59 -04:00
Terrence Cole
16aae426b8 Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Ehsan Akhgari
2e138c3f9f Bug 853560 - Fix nsTArray::SetCapacity callers in dom/plugins to not look at the return value; r=bsmedberg 2013-03-21 14:43:04 -04:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Georg Fritzsche
ec9300c85f Bug 853911 - Fix nsPluginHost usage in nsPluginTag. r=bsmedberg 2013-03-23 17:37:08 +01:00
Steven Michaud
6f326250c4 Bug 833936 - Mochitest that queries NPNVcontentsScaleFactor. r=bsmedberg 2013-03-21 15:23:46 -05:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Georg Fritzsche
a0ccabf591 Bug 830267 - Persist plugin preferences outside of pluginreg.dat. r=bsmedberg 2013-02-15 22:00:25 +01:00
Johnny Stenback
0b39e48388 Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
John Schoenick
7a35f9184d Bug 784131 - Test. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
4eff04a3ce Bug 851378 - Avoid bogus assertion when trying to spawn disabled plugin. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
713c1f2686 Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
60adc6a628 Bug 851378 - Move removing the plugin prototype from objects to content. r=bsmedberg 2013-03-20 14:29:21 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Aaron Klotz
f9c33b4eee Bug 852164: Adds an addiitonal check to ensure that Plugin Hang UI user response doesn't race past a cancellation. r=bsmedberg
--HG--
extra : rebase_source : c626664d64183a00a9163202eaaa221c4daee260
2013-03-19 16:23:37 +01:00
Benjamin Smedberg
405b910a7b Bug 831768 - Delay async painting calls so that they never nest within RPC calls. The Adobe Flash implementation doesn't expect this reentry and sometimes deadlocks. The Apple Java stub doesn't expect this reentry and corrupts NPRuntime objects. r=gfritzsche
--HG--
extra : rebase_source : 4cf6c2cd28fbfdf259c3ed2250135810fb2511a7
2013-03-18 16:00:21 +01:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Boris Zbarsky
7984f39d39 Bug 843627 part 3. Enable WebIDL bindings for <embed> and <applet>. r=peterv 2013-03-17 10:42:05 -04:00
Ms2ger
69401c3aeb Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Gregory Szorc
3d694a85c0 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Kyle Huey
d35b26d9a7 No bug: Remove some windows line endings to kick-start a build. 2013-03-07 22:15:26 -08:00
Jan Beich
baf4a980ad Bug 848264 - Explicitly include <cstdlib> after bug 835542. r=Waldo 2013-03-06 13:06:24 -05:00
Jacek Caban
db286f3e23 Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc
--HG--
extra : rebase_source : b5e71211edce0b30f92033010d47b9a303f2c3bf
2013-03-12 11:34:07 +01:00
Boris Zbarsky
740f15c9d9 Bug 827158 part 7. Make nsJSNPRuntime work with WebIDL objects. r=peterv 2013-03-04 14:08:23 -05:00
James Willcox
e790eb3503 Bug 837114 - Don't leak Flash shared objects while private browsing on Android r=bsmedberg
--HG--
extra : rebase_source : 68a58f6338d375093f5908a8c13fef7888c24462
2013-03-04 13:18:20 -05:00
Benoit Girard
4edcc5e4bb Bug 673440 - add support for NPNVSupportsCompositingCoreAnimationPluginsBool. r=josh 2011-07-31 13:37:06 -04:00
Georg Fritzsche
561357162c Bug 824069 - Check if entry is in object map. r=bsmedberg 2013-01-15 17:02:11 +01:00
James Willcox
456ff8ac8b Bug 827254 - Guard against garbage plugin instance in ANPSystem::setPowerState r=blassey 2013-03-04 09:06:42 -05:00
Robert O'Callahan
a01e7414cf Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.

--HG--
extra : rebase_source : e07820e145ec1e639b241f02b8b439b45f6e5e8b
2013-02-28 00:50:28 +13:00
Robert O'Callahan
be82b38545 Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
rename : build/mach_bootstrap.py => mach
extra : rebase_source : b83c1d09313bff62357eaa931eced0f72f838493
2013-02-28 00:50:27 +13:00
L. David Baron
5af7387a3d Bug 846099: Avoid (GC-timing-sensitive) nsTraceRefcnt assertions from duplicate class names. r=mounir 2013-02-28 09:52:15 -08:00
Ms2ger
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
L. David Baron
5fbc66f981 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 21:44:26 -08:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ed Morley
5eb9daf922 Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE 2013-02-27 12:50:30 +00:00
Ed Morley
2a52d29880 Backed out changeset 622b744e5df9 (bug 829557) 2013-02-27 12:49:32 +00:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Robert O'Callahan
21bba7fe47 Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.

--HG--
extra : rebase_source : 815683c3027b906c4744495e8e1cfdb261e0c557
2013-02-28 00:50:28 +13:00
Robert O'Callahan
1b97fac2e6 Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
Boris Zbarsky
8362da6fe1 Bug 844322. Make plug-in getters and setters JSPROP_SHARED so they don't get shadowed by expandos on the DOM nodes. r=jst 2013-02-24 22:40:42 -05:00
L. David Baron
ff34707a75 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
Brian Smith
dd3a554e2c Bug 841477: Fix build bustage in the case MOZ_CRASHREPORTER_INJECTOR not being defined, rs=dholbert
--HG--
extra : rebase_source : bb2b4777d6b45bad6b856e23d21f71117e1b9381
2013-02-27 17:25:38 -08:00
L. David Baron
b9ebac2acd Bug 404077: Adjust annotations of expected assertions. 2013-02-27 15:36:14 -08:00
Masatoshi Kimura
94a859f84d Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
L. David Baron
05d5d9dfa9 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Bobby Holley
2589449122 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Aaron Klotz
64a591507f Bug 845491: Make Plugin Hang UI push buttons automatically resize to fit their text. r=jmathies 2013-02-27 16:23:09 -05:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ehsan Akhgari
08ba6f9b51 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
486f369f1f Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
b855a12fa5 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Jonathan Mayer
4bd2d83991 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Jeff Gilbert
78f00c0f31 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Jim Chen
64c27ce017 Bug 842687 - Use uint32 instead of bool for certain plug-in values; r=bsmedberg 2013-02-20 15:19:06 -05:00
Georg Fritzsche
961f449d4a Bug 842687 - Test for uint32_t plug-in value; r=bsmedberg 2013-02-20 20:17:21 +01:00
Ryan VanderMeulen
b891b80fa0 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Cykesiopka
7af4e94e2a Bug 583566 - Remove old Java plugin scanning pref and related code. r=bsmedberg 2013-02-17 07:07:50 -05:00
David Keeler
c5d99fd5ae bug 838290 - make nsIPluginHost.getPermissionStringForType more robust r=bsmedberg 2013-02-13 10:15:40 -08:00
Drew Willcoxon
9815eb95b6 Bug 648675 - Allow comments and URL opt-in in content/plugin crash UI. r=dolske,ted 2013-02-14 15:57:50 -08:00
Yury Delendik
92e8ade290 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Aaron Klotz
96814ed3f4 Bug 834127 - Make Plugin Hang UI dialog unowned. r=bsmedberg 2013-02-14 18:03:05 -05:00
Ryan VanderMeulen
cf5adab5f1 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Jeff Gilbert
3375a513c3 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Georg Fritzsche
8c689a1dbd Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Ed Morley
ecf12df05c Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley
d284176066 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche
8780b762d1 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche
64e6c63551 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
James Willcox
b3cd64a23a Bug 839456 - Annotate crash reports with Flash version on Android r=bsmedberg 2013-02-12 15:33:38 -05:00
Aaron Klotz
4980f6147c Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric 2013-02-12 15:05:39 -05:00
Georg Fritzsche
3295cc97eb Bug 752422 - Add null-check for plugin tag. r=bsmedberg 2013-02-12 19:03:25 +01:00
Aaron Klotz
191953b041 Bug 839236 - Add nsRefPtr to a nsPluginHost::GetInst call. r=bsmedberg 2013-02-11 20:49:33 -05:00
Masatoshi Kimura
53f57c6f5a Bug 839731 - Kill try-safe stuff. r=benjamin 2013-02-12 01:28:08 +09:00
Daniel Holbert
5a45d4e7a1 Bug 836455: Sanity-check the result of 'fread()' in nptest.cpp to fix opt build warning. r=bsmedberg 2013-02-11 10:16:51 -08:00
Ryan VanderMeulen
67b204034f Backed out changeset 2861ef67390a (bug 837566) for Linux32 mochitest-other shutdown hangs. 2013-02-05 07:54:49 -05:00
Nicholas Nethercote
744586f40d Bug 837566 - Remove js_RemoveRoot. r=terrence. 2013-02-03 20:17:34 -08:00
Ehsan Akhgari
e2c29ce2df Merge the removal of global private browsing support 2013-01-29 13:13:58 -05:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Jet Villegas
ff15244009 Bug 832696 - gfx gets prefs in the plugin process r=jmuizelaar 2013-01-25 00:22:16 -05:00
Jeff Muizelaar
e3c696fc3e Bug 835533. Avoid adding an ambiguous TextureInfo type. r=snorp
TextureInfo conflicts with TextureInfo from the layers refactor.
It's not used in many places so just avoid the typedef

--HG--
extra : rebase_source : 2edffde4c50a228637a4f7ad29a354f406fa5f0c
2013-01-29 11:24:04 -05:00
Raymond Lee
72b1eac15e Bug 806723 - Port plugin test_privatemode.xul to the new per-tab PB APIs r=jdm
--HG--
rename : dom/plugins/test/mochitest/test_privatemode.xul => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
extra : rebase_source : 482bddf5f3af6be0aa92ef53783e2153860f5478
2013-01-25 13:59:54 +08:00
James Willcox
6dc79f9f2d Bug 768000 - Fix up the mutex handling in the prior patch r=blassey 2013-01-25 11:13:40 -05:00
Aaron Klotz
75031da002 Bug 828034 - Fix crash when PluginModuleParent::CleanupFromTimeout runs before channel error notification. r=bsmedberg 2013-01-24 21:10:02 -05:00
Ben Turner
65692dc256 Bug 831307 - Allow invalid file handles to not crash child processes. r=cjones. 2013-01-24 17:10:39 -08:00
James Willcox
5c231dd02f Bug 768000 - Don't race when destroying plugin audio tracks on Android r=blassey
--HG--
extra : rebase_source : 5e15ec8e1132cbc862b3f7f69555432beb0b9169
2013-01-23 15:18:36 -05:00
Steven Michaud
555c9efaae Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard 2013-01-23 16:19:15 -06:00
Steven Michaud
6c5b22cb18 Bug 833936 - NPNVcontentsScaleFactor inadvertently not supported for NPN_GetValue() when called from OOP plugins. r=bgirard 2013-01-23 15:55:41 -06:00
Benjamin Smedberg
eb8295ee03 Bug 321958 - Remove dead code nsIPluginTagInfo.getTagText, r=josh 2013-01-23 10:11:53 -05:00
James Willcox
774072ffdf Bug 800838 - Guard against invalid NPP when unscheduling plugin timers on Android r=blassey 2013-01-23 09:16:26 -05:00
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Georg Fritzsche
b8e8e1bc08 Bug 813245 - Sanity-check for mimetype count from pluginreg.dat. r=bsmedberg 2012-12-21 16:12:46 +01:00
Aaron Klotz
e70c449d32 Bug 829909 - Fix some Plugin Hang UI synchronization problems. r=bbondy 2013-01-17 21:22:21 -05:00
Bobby Holley
cecccc3751 Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
cbd37c2417 Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
9ae831b5d4 Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.

Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
a6e1ca0693 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Jacek Caban
f5c71a7955 Bug 827262 - Fix plugin hang UI compilation on mingw. r=bsmedberg 2013-01-09 17:34:14 -05:00
Ben Turner
4464b7b48e Bug 827330 - 'Windows build error in PluginHangUIParent.cpp', r=bbondy. 2013-01-07 16:11:35 +01:00
Trevor Saunders
de79e9aa39 bug 825281 - remove nsISupportsArray from plugins r=bsmedberg 2012-12-12 02:56:25 -05:00
Robert O'Callahan
e21ea6104a Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c2417fdf6c5e4c94ca759ac12175a2d3a0de52e6
2013-01-05 16:13:05 +13:00
Robert O'Callahan
a9f8b202ea Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
7b239f60e7 Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 8dadf01e7cab20f6e0b9b3e95e767687445260c2
2013-01-05 16:13:05 +13:00
Robert O'Callahan
9abe8bbe09 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Aaron Klotz
92d3361182 Bug 805591 - Win32 implementation of the Plugin Hang UI r=bsmedberg,bbondy 2013-01-04 17:59:05 -05:00
Benoit Girard
f11472ebcb Bug 787513 - Give the proper update rectangle for NPAPI for CoreGraphics plugins on mac. r=smichaud 2013-01-04 12:49:36 -05:00
David Keeler
59e22a4f43 bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
Benjamin Smedberg
f36d3dfedd Bug 559432 - Don't fail the assert if the cached actor is null... that probably just means we're in the process of tearing down the instance, r=josh
--HG--
extra : rebase_source : c7add3dc063f52127818fcdfc9b76e45ed45bf1a
2013-01-04 09:50:43 -05:00
Ehsan Akhgari
abfa459ddb Backed out changeset a6acebd9c9d5 (bug 805591) because of build failures 2013-01-03 22:55:45 -05:00
Aaron Klotz
d2999a8190 Bug 805591 - Win32 implementation of the Plugin Hang UI. r=bsmedberg,bbondy 2013-01-03 22:24:07 -05:00
Karl Tomlinson
b1fb68060d b=814200 don't redirect embedder socket window resize requests to Xt client r=stransky
--HG--
extra : rebase_source : 936d2fb8dbed72c064b158a106dde582b091454b
2013-01-04 12:37:08 +13:00
Michal Novotny
7135e494e7 Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in plugin code, r=joshmoz 2013-01-04 00:29:33 +01:00
Robert O'Callahan
106f5d95d1 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Benoit Girard
ad64bdfe48 Bug 825620 - Refactor plugin quirks on OSX to properly initialize values. r=smichaud 2013-01-02 16:05:03 -05:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Trevor Saunders
6380733341 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Nicholas Nethercote
346fb8670d Bug 824883 - Fix three warnings in dom/ code. r=bz.
--HG--
extra : rebase_source : 3763606a23b66493596787ca33cec32618efa2f1
2012-12-26 20:24:59 -08:00
Neil Rashbrook
d8fe604ecd Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Georg Fritzsche
04d8300993 Bug 823533 - Reject plugins with a different architecture in 32bit Mac builds. r=bsmedberg,smichaud 2012-12-20 21:30:19 +01:00
Josh Matthews
a48db0d88d Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Masatoshi Kimura
2a245d47d2 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Georg Fritzsche
5c2d13e53d Bug 823559 - Make _convertpoint fail instead of abort when called from outside the plugin thread. r=bsmedberg 2012-12-20 20:47:46 +01:00
Ed Morley
d44c70941b Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE 2012-12-19 23:46:07 +00:00
Josh Matthews
41c9fac2ff Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Daniel Holbert
9c4c24d5fb Bug 821528: Remove unused static function "pluginDrawWindow()" from nptest_droid.cpp. r=blassey 2012-12-19 13:12:46 -08:00
Ed Morley
fd8e004f01 Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews
f004d67bea Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Jim Mathies
f5523fcce2 Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
James Willcox
302b054059 Bug 809055 - Restore fullscreen plugins after document becomes active r=blassey 2012-12-17 10:05:59 -05:00
James Willcox
1da090c557 Bug 821777 - Get some kind of version information into nsPluginTag for Flash on Android r=josh 2012-12-17 10:05:53 -05:00
James Willcox
792b52fabc Bug 800838 - remove unnecessary delay when unscheduling plugin timers r=blassey 2012-12-17 10:05:49 -05:00
John Schoenick
6c4c40316f Bug 822040 - Cleanup the channel when plugins reject their initial stream. r=josh 2012-12-16 19:36:02 -08:00
Steven Michaud
0cc0df0f52 Bug 804606 - Stop Flash from crashing in CoreGraphics mode on accessing "our" CGContextRef outside of the call we use to pass it. r=bgirard 2012-12-16 16:39:29 -06:00
Masayuki Nakano
c8090c380d Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Daniel Holbert
e1f485a1c6 Bug 821843: Remove no-longer-used variable 'isJava' from nsPluginHost.cpp, to fix GCC 4.7 warning (treated as error in enable-warnings-as-errors builds). r=johns 2012-12-14 13:08:49 -08:00
Daniel Holbert
546cb6d420 back out FAIL_ON_WARNINGS labeling from bug 821392, since there's one remaining android-only warning in that directory. (CLOSED TREE) 2012-12-13 16:26:30 -08:00
Daniel Holbert
09458593c2 Bug 821392: Mark pluginSupportsAsyncDXGIDrawing as 'inline' instead of 'static' to fix build warning for .cpp files that #include it without using that method. r=Bas 2012-12-13 15:53:03 -08:00
John Schoenick
a054279c3b Bug 767638 - Rename InitializeEmbedded* plugin functions to just Initialize*. r=josh 2012-12-13 13:51:28 -08:00
John Schoenick
89e20b4b21 Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
John Schoenick
c41b2743fb Bug 767633 - Bonus - Clean up whitespace in nsPluginHost. r=josh 2012-12-13 13:51:26 -08:00
John Schoenick
134ca0fd66 Bug 767633 - Part 3 - Remove a ton of obsolete nsPluginHost code. r=josh 2012-12-13 13:51:23 -08:00
John Schoenick
c8191a8cd3 Bug 767633 - Part 2 - nsObjectLoadingContent should handle all initial streams for plugins. r=josh 2012-12-13 13:51:23 -08:00
James Willcox
4be75ccd23 Bug 820905 - backout ea1643fd4285
--HG--
extra : rebase_source : 50ddda21ab6942b6397366b9823b36df257b9482
2012-12-13 14:23:07 -05:00
Benjamin Smedberg
2d4b48dedb Bug 818664 - Report plugin version in plugin crash reports, r=josh
--HG--
extra : rebase_source : 4e9c0fe80cafe5294a85599c5f31bffbc78ebee6
2012-12-13 12:06:52 -05:00
Georg Fritzsche
d543e765a5 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
Kartikaya Gupta
8c2aeaa750 Bug 780831 - Guard against plugin code leaking refs in the JNI local ref table. r=snorp 2012-12-13 00:32:17 -05:00
Bobby Holley
c05806cc51 Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff 2012-12-12 17:09:37 -08:00
James Willcox
7314223817 Bug 800838 - Remove unnecessary delay when unscheduling plugin timers on Android r=blassey
--HG--
extra : rebase_source : 430d21db7ca1d513c1cd401f86d36a21e36e5f30
2012-12-10 10:00:44 -05:00
Robert O'Callahan
db76bf8271 Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats
--HG--
extra : rebase_source : 2ddabda92acc1364d3c24cf20f7d45896ac09849
2012-12-07 12:58:14 +13:00
Ehsan Akhgari
b3efcff124 Merge mozilla-central into mozilla-inbound 2012-12-06 01:08:07 -05:00
Ehsan Akhgari
7dafd40798 Bug 806723 - Part 0: Don't run test_privatemode.xul in per-window PB builds 2012-12-06 00:26:04 -05:00
Georg Fritzsche
7730958172 Bug 813906 - Resolve base URLs correctly for plugin streams. r=bz 2012-11-27 15:14:38 +01:00
Trevor Saunders
f98254ea98 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders
c2ce7ebb3a bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir 2012-12-05 02:55:37 -05:00
Tom Schuster
445a20e383 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Ms2ger
98621c6b91 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Trevor Saunders
d2a9c007b8 bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Kartikaya Gupta
2898501127 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Kartikaya Gupta
3060f98667 Bug 814418 - Disable warnings-as-errors in dom/plugins/base on Android because of switch errors in android when building with gcc 4.6. r=joshmoz 2012-11-30 11:05:28 -05:00
Boris Zbarsky
69ab92b7a0 Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
mmakrai
4e855ece6f Bug 770864 - NPAPI stream destroyed with reason NPRES_NETWORK_ERR when the user leaves the page. r=gfritzsche 2012-11-28 12:15:47 +01:00
David Keeler
220bb08031 bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz 2012-11-27 10:09:10 -08:00
Jeff Gilbert
f0fdb0504f Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
31671553a5 Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
08572e4b8e Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
Bobby Holley
645bf15f18 Bug 808608 - Fix up tests to work with new behavior. r=bz,me 2012-11-21 13:20:05 -08:00
Seth Fowler
c42d3467d8 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Benjamin Smedberg
15167b0f9e Bug 791244 test fixup - allow for the pref to be unset by default, r=gfritzsche
--HG--
extra : transplant_source : kuU%89j%A3%2A%DF%E0%D0%A5S%07%5D%99z%1D%7B%B1%C8
2012-11-20 10:32:41 -05:00
Masayuki Nakano
bc39d12867 Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00