Граф коммитов

2262 Коммитов

Автор SHA1 Сообщение Дата
Aaron Klotz 6761a65f68 Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm
--HG--
rename : dom/plugins/ipc/ScopedMethodFactory.h => dom/plugins/ipc/TaskFactory.h
extra : rebase_source : 72c4a338eb9b5a556a3d42545d7f07dd380a5e65
2015-01-08 17:38:49 -07:00
Aaron Klotz 8dbfc84a1c Bug 1136930: Hook PluginAsyncSurrogate into NPP_DestroyStream; r=jimm
--HG--
extra : rebase_source : 379d6a8bee1d6f608872e17aa10606b24dbde764
2015-02-25 16:25:33 -07:00
Wes Kocher 01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen 6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Steven Michaud 37a4046738 Bug 1130435 - Mouse cursor doesn't disappear over Flash object when it should. Works in non-e10s. r=josh 2015-03-02 15:36:29 -06:00
Tooru Fujisawa 7056893560 Bug 1137897 - Do not throw exception from nsPluginTag::GetMimeTypes if a plug-in has no MIME-Types. r=bz 2015-02-28 13:32:27 +09:00
David Parks 8bb33e6cbc Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. 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-02-04 04:17:15 -08:00
Jan de Mooij db18ff3df9 Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
John Schoenick a11862a8ae Bug 1136379. Clean up the nsPluginHost API a bit. r=bzbarsky 2015-02-25 11:36:39 -05:00
Ryan VanderMeulen ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks 0bb693520e Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. 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-02-04 04:17:15 -08:00
Ted Mielczarek c08cd3fbff bug 1121845 - Don't include generated IPDL header from nsPluginHost.h. r=bsmedberg
--HG--
extra : rebase_source : 7f0961a8fefe21372647eae9739b5da7475c5974
2015-02-05 07:56:19 -05:00
Aaron Klotz 47d9c9ef45 Bug 1127888: Fix bustage; r=bustage 2015-02-22 00:15:50 -07:00
Aaron Klotz 9ff9f9c026 Bug 1115437: Part 1 - Update plugin tests to be compatible with asynchronous plugin initialization; r=gfritzsche
--HG--
extra : rebase_source : 7a1000a50aab5f2aa98d2b1a4e89aa7cc9eaac12
2015-02-05 15:00:44 -07:00
Aaron Klotz b0db5872ec Bug 1127888: Fix causes of async plugin init hangs; r=jimm
--HG--
extra : rebase_source : 985242b352dd3b579279c09fa2c91ba9d538946a
2015-02-21 23:07:24 -07:00
Benjamin Smedberg 0510928e0d Bug 1133003 part A - send a global observer notification when Flash hangs, r=aklotz
--HG--
extra : rebase_source : 74be4ef59f2e179304668ac3b2d8cdff2ffb9fdc
extra : histedit_source : adedbe0f9b251f35d501d82a08d5f6fe2b5fd5d7
2015-02-19 14:52:04 -05:00
Steven Michaud 68e8327d5b Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
Jim Mathies 57bcfa87be Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Jim Mathies d6954d90ce Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
Gabriele Svelto fafc282f1a Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
Jim Mathies 2cf73763f7 Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz 2015-02-13 12:27:56 -06:00
Aaron Klotz 59f10b1061 Bug 1130747: Ensure that we check that an actor is still valid before calling into it; r=jimm
--HG--
extra : rebase_source : efd238b4c540a74bf9447d931b483f8c93f421cc
2015-02-12 16:56:47 -07:00
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Benjamin Smedberg d7fc6d77c0 bug 1131136 part A - watch the registry and reload plugins when it changes, r=jimm
--HG--
extra : rebase_source : 4257e7c33a3689ee70450bbc376a289d12091029
2015-02-10 14:58:01 -05:00
Tom Schuster 797b78de4b Bug 1124934 - Add a HasProperty ObjectOp. r=jorendorff 2015-02-13 12:20:02 +01:00
Andrea Marchesini ce77626266 Bug 1134280 - Get rid of Tag() - patch 2.10 - dom/events, dom/mathml, dom/plugins, dom/smil - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
David Parks 3be0c38f3a Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position r=josh 2015-02-04 04:17:15 -08:00
Tom Schuster 43324bd36f Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust 2015-02-11 23:40:47 +01:00
Nicholas Nethercote 3a7b0a9f57 Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Bob Owen 78f86d5dec Bug 1132021 - Add a new sandbox level for Windows NPAPI to use USER_LIMITED access token level. r=bsmedberg, r=bbondy 2015-02-11 16:25:43 +00:00
Carsten "Tomcat" Book 4da2cda544 Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks b212f2e36a Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
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-02-04 04:17:15 -08:00
Nicholas Nethercote 63e3218e4c Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Ryan VanderMeulen 74f80ff51c Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Benjamin Smedberg e2d51dfba7 Back out bug 1131136 part A (revision 9101eb40b8a6 and 9733e78176b2) for assertion failures on a CLOSED TREE 2015-02-10 13:28:25 -05:00
Benjamin Smedberg dc049ffe73 Bug 1131136 part A followup to revision 9101eb40b8a6: Add proper Windows #ifdef r=bustage 2015-02-10 11:24:35 -05:00
Benjamin Smedberg 3242d99cd0 Bug 1131136 part A - Watch Windows registry keys to reload plugins when they have changed, r=jimm
--HG--
extra : rebase_source : 27fae332e20fbc515e15b080ad2881d00d7e0e0d
2015-02-10 11:07:44 -05:00
Ryan VanderMeulen e7e0e7b5cb Merge m-c to fx-team. a=merge 2015-02-09 16:40:25 -05:00
Jim Mathies e753794c1e merge backout 2015-02-09 12:38:30 -06:00
Jim Mathies 52282e7b53 Backout ee13449af6e7 (bug 1127378) on the suspicion that it caused bug 1130734. 2015-02-09 12:37:46 -06:00
Steven Michaud 46ad522230 Bug 1129267 - Fix by backing out patch for bug 1118615. r=mstange 2015-02-09 12:10:33 -06:00
Jim Mathies b1be9d7ce4 Bug 1127378 - When tabs close notify PluginWidgetChild earlier in shutdown. Prevents PluginWidgetProxy messages sent to dead parent actors triggering content process aborts. r=akotz 2015-02-03 13:58:32 -06:00
Makoto Kato 7b1576eed0 Bug 1126185 - Need hook CreateFileA for Windows 8 RTM. r=bsmedberg 2015-02-04 00:33:39 +09:00
Jason Orendorff 8f9fef2147 Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett.
--HG--
extra : rebase_source : dab65791e3efc9fc625365b6aa5dc26d5cad19fb
2015-01-28 17:12:44 -06:00
James Willcox f7e81fc366 Bug 1116469 - Correctly orient Android Flash video surfaces r=gcp 2015-02-02 15:25:22 -06:00
James Willcox eb1eb961c9 Bug 1121647 - Use correct wake lock topic for Flash on Android r=esawin 2015-02-02 15:25:22 -06:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Phil Ringnalda 7b3840d642 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky 7d34edce07 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
Jim Mathies a8bf5c7379 Bug 1103177 - When tabs are torn out, swap plugin widget parents. r=roc 2015-02-08 17:50:01 -06:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Aaron Klotz a42a0725b0 Bug 1130747: Add more error checking to PluginAsyncSurrogate::GetPropertyHelper; r=jimm
--HG--
extra : rebase_source : 61f90caee29ea9776c0ebf89d70bec3d82f23d8e
2015-02-08 19:42:08 -07:00
Aaron Klotz 2a85205cdf Bug 1123916: Ensure that plugin entry points are correctly set on MacOS when async plugin init and e10s are both true; r=jimm
--HG--
extra : rebase_source : 60122498466d3dbc7c4136f32008cdb5dd1e563c
2015-02-08 09:49:35 -07:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Bob Owen 1a4af9dc4c Bug 1127230: Change the NPAPI sandbox prefs to integers to indicate the level of sandboxing. r=bsmedberg 2015-01-30 17:48:15 +00:00
Robert O'Callahan 7a165b59ca Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jim Mathies 6ce384ea6b Bug 1129575 - In the PPluginWidget Create handler fail via return result vs. abort the child process when there's no parent window available. r=roc 2015-02-05 15:48:44 -06:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Nicholas Nethercote b5913e0b3d Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Carsten "Tomcat" Book 920952d8c4 merge mozilla-inbound to mozilla-central a=merge 2015-02-04 14:10:05 +01:00
Wes Kocher be06c25d52 Bug 870553 - bump uuids CLOSED TREE 2015-02-03 17:31:12 -08:00
Yury Delendik 95a9559c37 Bug 870553 - Adds whitelist to PlayPreview API. r=joshmoz 2015-02-03 13:41:11 -06:00
Tom Schuster f605ba3799 Bug 1127443 - Remove JS_NewObject proto argument. 2015-01-31 16:18:51 +01:00
Jim Mathies 65a742643b Bug 1127374 - Make ContentParent::RecvLoadPlugin less failure prone. r=billm 2015-01-30 10:37:03 -06:00
John Schoenick c7e6692f43 Bug 1061967 part 2 - Bonus whitespace cleanup. r=bsmedberg 2015-01-30 10:54:19 -05:00
John Schoenick 73b9b08920 Bug 1061967 part 1 - Move checking for special-cased plugin types to a central spot. r=bsmedberg 2015-01-30 10:54:19 -05:00
Wes Kocher d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jim Mathies 5221ab1283 Bug 1095754 - Disable two plugin tests under e10s that perma-fail with these changes. r=me 2015-01-29 13:41:58 -06:00
Jim Mathies f93fc49262 Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies d5d37f938c Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me 2015-01-29 13:41:57 -06:00
Jim Mathies aa597c8906 Bug 1095754 - Transfer bounds information from native plugin widgets to GTK socket widgets when the native plugin widget bounds update. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies ba6bf1ca56 Bug 1095754 - Provide a way to force an update on a plugin window asyncronously from chrome. Trigger an update when we adjust the widget configurations. r=aklotz 2015-01-29 13:41:56 -06:00
Jim Mathies acff6ed2a4 Bug 1095754 - Update PPluginWidget shutdown logic. r=aklotz 2015-01-29 13:41:56 -06:00
Jim Mathies 5bfb6ea21a Bug 1095754 - Add various debug assertions to PluginWidgetParent. r=aklotz 2015-01-29 13:41:56 -06:00
Jim Mathies 2dd6786d1f Bug 1095754 - Remove obsolete PPluginWidget apis and code. r=aklotz 2015-01-29 13:41:56 -06:00
Jim Mathies 159b20ef6c Bug 1095754 - In the content process provide a way to track and access PluginInstanceParent objects from PluginWidgetChild. r=aklotz 2015-01-29 13:41:53 -06:00
Jim Mathies 21a997ff89 Bug 1095754 - Provide a way to track and access native plugin widgets so they can be accessed from global scope. r=aklotz 2015-01-29 13:41:53 -06:00
Jeff Gilbert 95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Bob Owen 183a6391ad Bug 1126402: Add a pref to enable a more strict version of the Windows NPAPI process sandbox. r=bsmedberg, r=bbondy 2015-01-29 08:13:07 +00:00
Aaron Klotz 10beb31187 Bug 1121162: Resume stream listener when async NPP_NewStream returns with failure; r=jimm
--HG--
extra : rebase_source : 870a2961c46c518594f03594c1301204864440dd
2015-01-26 14:54:50 -07:00
Bill McCloskey 60707d7dcf Back out 94a2a4a7c84c (bug 1075670) for breaking context menu in e10s CLOSED TREE 2015-01-28 16:12:36 -08:00
zhoubcfan@163.com 7ad60563e0 Bug 1126711 - Fix incorrect PluginWidgetChild.h include guards. r=jimm 2015-01-27 02:45:01 +00:00
Nicholas Nethercote 180f639233 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 3163cfc2c1 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
David Parks 0116f36abe 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
Benjamin Smedberg ab611eb3ac Bug 1126450 - When Flash has a blocklist entry, we should keep protected-mode on, no matter the value of the pref setting. r=aklotz
--HG--
extra : rebase_source : a814490e67487409ef86895506cfe4f2d622f6c2
2015-01-27 15:49:48 -05:00
Ehsan Akhgari 9cd10b7b4f Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
Wes Kocher dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari d080be3549 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari 56e3b70f4e Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Jeff Gilbert ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Makoto Kato b1177def75 Bug 1123966 - Use FILE_FLAG_DELETE_ON_CLOSE instead of RemoveFile. r=akloyz 2015-01-25 15:37:39 +09:00
Tom Schuster 7f95393f87 Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff 2015-01-24 16:38:08 +01:00
Jim Mathies 0dd5439fbf Bug 1092121 - Get plugin quirks modes and nsPluginInstanceOwner::GetNetscapeWindow working with remote content. r=billm 2015-01-23 04:10:52 -06:00
Bob Owen 5e05a962e1 Bug 1123245 Part 3: Add prefs for the Windows NPAPI process sandbox. r=bsmedberg 2015-01-23 08:32:21 +00:00
Bob Owen f6a727b6c9 Bug 1123245 Part 1: Enable an open sandbox on Windows NPAPI processes. r=josh, r=tabraldes 2015-01-23 08:32:20 +00:00
Tom Schuster 269e651092 Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz 2015-01-22 17:17:26 +01:00