Commit Graph

1913 Commits

Author SHA1 Message Date
Robert Sayre
62ad0ec794 Merge tracemonkey to mozilla-central. 2010-01-31 10:12:39 -05:00
Masayuki Nakano
87066daf06 Bug 534420: Fix intermittent failure in browser_focus_steal_from_chrome.js r=enndeakin 2010-01-30 08:05:42 -05:00
Daniel Holbert
2d27756ba3 merge after backing out c7a04be6904 on suspicion of causing bug 543034 2010-01-29 18:56:08 -08:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Daniel Holbert
32a1fb0c00 Bug 542959: Add 'const' to NP_GetMIMEDescription's parameter, to fix "deprecated conversion from string constant to ‘char*’" warning. r=cjones 2010-01-29 12:18:50 -08:00
Chris Jones
bab3961fbc Prevent |ChildAsyncCallback|s from touching freed |PluginInstanceChild|s if NPP_Destroy() re-enters or races with the callback. r=bsmedberg 2010-01-29 13:24:11 -06:00
Robert Sayre
c7ce498f03 Merge mozilla-central to tracemonkey. 2010-01-29 09:51:21 -08:00
Chris Jones
07003cf347 Final merge of debug-spew backout 2010-01-26 20:09:07 -06:00
Chris Jones
6a65c0d728 Backout 8d0ad9632fd2 2010-01-26 20:09:04 -06:00
Chris Jones
a8ac13cd85 Intermediate merge of debug-spew backout 2010-01-26 20:08:59 -06:00
Chris Jones
b42dd35ca1 Backout f861b6e0a364 2010-01-26 20:08:56 -06:00
Chris Jones
fe90ea5e99 Intermediate merge of debug-spew backout 2010-01-26 20:08:44 -06:00
Chris Jones
e12332b1d9 Backout 76bf173816e8 2010-01-26 20:08:41 -06:00
Ben Turner
a5684857a3 Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml'. r=jimm. 2010-01-26 16:08:39 -08:00
Jim Mathies
ed02ce9b5d Bug 541362 - [OOPP] hang closing tab with Yahoo web messenger loaded. r=bent. 2010-01-26 15:40:43 -06:00
Jim Mathies
ed4ba1d2fa Bug 540052 - [OOPP] Test failure in test_plugin_focus.html. r=bent. 2010-01-26 15:40:15 -06:00
Benjamin Smedberg
cdf47037d7 Bug 540604 - silverlight doesn't work with OOPP because it doesn't set the stype outparam for NPP_NewStream, and relies on us initializing the value with NP_NORMAL, r=cjones 2010-01-26 12:05:54 -05:00
Chris Jones
e03c1f3854 More temporary debug spew to sort linux mochitest hang. 2010-01-25 14:10:12 -06:00
Benjamin Smedberg
0ba2d6e348 Merge mozilla-central with electrolysis. 2010-01-25 11:57:19 -05:00
Luke Wagner
89799b298a Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst) 2010-01-25 08:48:07 -08:00
Chris Jones
db57f114be Temporary spew part 2: convert fprintf(stderr into printf( so that child output shows up in the log. 2010-01-22 15:31:56 -06:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Chris Jones
7b53db6a22 Temporary debug spew for diagnosing Linux mochitest hang. 2010-01-22 12:53:18 -06:00
Benjamin Smedberg
25d837343c Bug 540868 part 3: when deallocating NPObjects in leakcount builds, let the leak monitor know that we cleaned them up correctly, r=bent
--HG--
extra : transplant_source : H%AC%29%DF8y%E8f%F1%2B%3B%5C%A3Z%10%D1R%7E%CC%10
2010-01-22 10:06:30 -05:00
Benjamin Smedberg
8adba8c2a2 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent
--HG--
extra : transplant_source : %96H%CA%BF%2BX%18s%C8%1B%2Bh%8F%92%05%F0%9F/N%01
2010-01-22 10:06:13 -05:00
Benjamin Smedberg
6f7867ca0f Bug 540858 part I: separate the refcount logging of NPObject (which works for both plugin and proxy NPObject) from ctor/dtor logging of ChildNPObject (proxy only), r=bent
--HG--
extra : transplant_source : %16%16%92s%8C%B1%AC%8AT%23%DF%DD%A0%B7RH%84C%A7%3A
2010-01-22 10:05:29 -05:00
Benjamin Smedberg
32dd918b29 Bug 540868 part 3: when deallocating NPObjects in leakcount builds, let the leak monitor know that we cleaned them up correctly, r=bent 2010-01-22 10:06:30 -05:00
Benjamin Smedberg
5ff7ecd852 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent 2010-01-22 10:06:13 -05:00
Benjamin Smedberg
1fc18fe407 Bug 540858 part I: separate the refcount logging of NPObject (which works for both plugin and proxy NPObject) from ctor/dtor logging of ChildNPObject (proxy only), r=bent 2010-01-22 10:05:29 -05:00
Chris Jones
1587357bc7 Bug 535612: Set GDK_NATIVE_WINDOWS in plugin processes to work around plugins that don't interact well with client-side GDK windows. r=karlt r=roc 2010-02-02 00:28:28 -06:00
Benjamin Smedberg
68f46ef6d9 Stupid logic error from bug 539755 2010-01-21 14:35:00 -05:00
Benjamin Smedberg
e6dec65946 Merge mozilla-central to electrolysis. 2010-01-21 13:37:08 -05:00
Jason Orendorff
0f530fd289 Bug 538440 - We never jit DOM workers. r=mrbkap. 2010-01-20 14:54:34 -06:00
Oleg Romashin
959dec8b52 Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Ted Mielczarek
6250f89d2e bug 539552 - make PluginModuleParent write out more data to .extra file. r=bsmedberg 2010-01-13 20:20:00 -05:00
Benjamin Smedberg
3b88ca3739 Bug 540775 - Implement NPP_SetValue(NPNVprivateModeBool), r=cjones 2010-01-19 22:23:35 -05:00
Benjamin Smedberg
ba9089ed7d Bug 540776 - Initialize NPRuntime scriptable result variants the same way the Mozilla plugin host does, r=cjones 2010-01-19 22:23:32 -05:00
Benjamin Smedberg
01a9072055 Bug 518924 - NPN_ScheduleTimer, and clean up asynccalls when the plugin instance is destroyed, r=cjones 2010-01-19 22:13:24 -05:00
Benjamin Smedberg
24a79f8598 Merge mozilla-central into electrolysis. 2010-01-19 17:37:26 -05:00
Karl Tomlinson
84cf829591 Bug 539897: Add missing socket_window reference due to GtkPlug bug. r=cjones 2010-01-19 15:45:56 -06:00
Karl Tomlinson
c047f15a1d Bug 538914: Undo incorrect unref of GtkPlug by plugin. r=roc r=cjones 2010-01-19 15:45:54 -06:00
Benjamin Smedberg
617c58608b Merge mozilla-central to electrolysis. 2010-01-19 14:51:19 -05:00
Benjamin Smedberg
abd04b1311 Merge mozilla-central into electrolysis. 2010-01-18 10:26:52 -05:00
Peter Van der Beken
2a74b42ee1 Fix for bug 539219 (Remove unused DOMCI). r=jst. 2010-01-16 15:25:58 +01:00
Benjamin Smedberg
9f8d31817d Bug 521377 build-bustage followup: make template instantiations available inline, r=bent
--HG--
rename : dom/plugins/PluginScriptableObjectUtils.cpp => dom/plugins/PluginScriptableObjectUtils-inl.h
2010-01-15 16:52:13 -05:00
Ben Turner
99e612c87d Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Benjamin Smedberg
8cf3963e32 Bug 539755 - Implement NPN_GetValueForURL, NPN_SetValueForURL, and NPN_GetAuthenticationInfo, r=bent 2010-01-15 11:26:46 -05:00
Benjamin Smedberg
5341e28bd6 Bug 539280 - Add support for NPNVnetscapeWindow query on Linux, r?karlt
--HG--
extra : rebase_source : 0537c32cb6491150fe85d76f1f5e90311bddc032
2010-01-14 10:18:34 -05:00
Benjamin Smedberg
3f9c685874 Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Benjamin Smedberg
89fff872c6 Merge mozilla-central into electrolysis 2010-01-13 10:51:41 -05:00
Peter Van der Beken
9612080734 Fix for bug 428229 (Unable to override addEventListener), quickstub addEventListener. r=bz.
--HG--
extra : rebase_source : 1e8779a8089e19f56c51ae34deed7284147df2ab
2010-01-13 14:50:01 +01:00
Peter Van der Beken
22fc8d3fe6 Fix for bug 428229 (Unable to override addEventListener), add nsIDOM(NS)EventTarget to all SVG elements. r=smaug.
--HG--
extra : rebase_source : f06870811a6644720826e2d16c900414d855a4c1
2010-01-13 14:50:01 +01:00
Peter Van der Beken
f83021152f Fix for bug 428229 (Unable to override addEventListener), add nsIDOMNSEventTarget to workers. r=bent.
--HG--
extra : rebase_source : 81ef9a9c3401c7b6b47c2da829903a02d61d51e3
2010-01-13 14:50:01 +01:00
Peter Van der Beken
d609cb9818 Fix for bug 428229 (Unable to override addEventListener), add security check to nsGlobalWindow::AddEventListener. r=mrbkap, sr=jst.
--HG--
extra : rebase_source : a5a35ee7301d276ef8194a639515f42f78e26328
2010-01-13 14:50:01 +01:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Chris Jones
709ae3ce2b Bug 538537: Guard BrowserStreams from being deleted from within their constructor. r=bsmedberg 2010-01-12 17:06:18 -06:00
Benjamin Smedberg
736201c0c2 Merge mozilla-central into electrolysis. 2010-01-11 10:08:36 -05:00
Tom Dyas
8209cf7fbc Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Robert Longson
79ae710023 Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc 2010-02-06 13:46:54 +00:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Jim Mathies
938c329d54 Bug 536369 - OOPP: Add NPNVnetscapeWindow support for windows. r=bsmedberg. 2010-01-13 19:47:38 -06:00
Jim Mathies
3960d009a6 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Saint Wesonga
9c08b77659 Bug 496198 - about:plugins lies when all plugins are disabled, r=joshmoz, ui-r=faaborg 2010-01-17 15:23:00 -08:00
Vladimir Vukicevic
a3b000cac9 ugh, backout this until I figure out what's wrong with linux 2010-01-22 18:28:19 -08:00
Vladimir Vukicevic
ad09806b1d [webgl] (no bug, just removing unused/stale files) 2010-01-22 16:50:24 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Benjamin Smedberg
d38ed37590 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones 2009-12-18 17:22:51 -05:00
Benjamin Smedberg
570f731f49 Merge mozilla-central to electrolysis. 2010-01-07 22:11:14 -05:00
Benjamin Smedberg
ba2a2920c7 Bug 536437 - work around a bug in the Mozilla plugin host where NPN_GetURLNotify can return an error and also call NPP_URLNotify, r=cjones 2010-01-05 12:12:30 -05:00
Benjamin Smedberg
75601d4658 Merge mozilla-central to Electrolysis. 2010-01-05 13:18:08 -05:00
Chris Jones
fc78df75e6 Fix windows bustage caused by 04d6f128da25 2010-01-04 16:41:34 -06:00
Chris Jones
a20ac7326a Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent 2010-01-04 15:46:34 -06:00
Boris Zbarsky
af71184cfe Bug 516747 part 3. Make TabChild and TabParent cooperate on window opening at least to the extent of doing all window opens in new tabs. r=bsmedberg 2009-12-31 20:35:55 -05:00
Boris Zbarsky
71944973e4 Bug 516747 part 2. Change nsIBrowserDOMWindow to allow some sort of setup where it works with frameloaders. r=bsmedberg 2009-12-31 20:34:38 -05:00
Boris Zbarsky
91fef6fc3b Bug 516747 part 1; make TabChild hand things out via nsIInterfaceRequestor. r=bsmedberg 2009-12-31 20:34:06 -05:00
Benjamin Smedberg
e418880c95 Merge mozilla-central to electrolysis. 2009-12-22 14:18:51 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Benjamin Smedberg
c85b1e45a9 Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Benjamin Smedberg
84db3ddf86 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones
--HG--
extra : transplant_source : fW%F0%06%1F%88%2C%F3l%B3%A0%F7b%D0%13%AE%D7%BD-%26
2009-12-18 17:22:51 -05:00
Benjamin Smedberg
dc4191cad2 Bug 536437 - work around a bug in the Mozilla plugin host where NPN_GetURLNotify can return an error and also call NPP_URLNotify, r=cjones
--HG--
extra : transplant_source : %07%7B%DBO%AF%069%16%F5%FF%1A%C5%F5Wi%E1%9D%E1%E6%83
2010-01-05 12:12:30 -05:00
Robert O'Callahan
68f4784a75 Bug 526394. Part 36: Store the overflow area explicitly whenever it's not exactly equal to the border-box; if they're both empty but with different dimensions or position, we should still store the explicit overflow area. Also fix test_offsets to compute the expected scrolled area correctly. r=mats 2010-01-12 10:45:21 +13:00
Benjamin Smedberg
e5c0bed1ab Merge mozilla-central to electrolysis. 2009-12-17 13:09:48 -05:00
Benjamin Smedberg
4164f7bfc5 Bug 518924 - Implement NPN_AsyncCallback r=cjones 2009-12-16 17:27:18 -05:00
Benjamin Smedberg
e9b0ccabad Bug 532751 - Notify the nsNPAPIPlugin and the related nsNPAPIPluginInstances when a plugin crashes so that reloading will create a new plugin process, r=josh 2009-12-16 15:08:45 -05:00
Chris Jones
cb0d649a87 bug 535073: prevent plugins from corrupting the stack by making word-size stores to pointers to NPBool (unsigned char). r=bsmedberg 2009-12-17 00:32:44 -06:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Chris Jones
b91d7c23b6 bug 534863: the plugin DLL path needs to be quoted on windows. irc r=bent 2009-12-15 17:10:41 -06:00
Josh Aas
514a6c5e9d Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Benjamin Smedberg
2010a569bb Merge mozilla-central into electrolysis. 2009-12-14 21:27:17 -05:00
Jim Mathies
1ea63e49c6 Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Masayuki Nakano
a7fc50d23b bug 534420 debug code for the test 2009-12-16 01:49:17 +09:00
Benjamin Smedberg
b7d1d5c7ba Followup to e10s landing (and back to bug 516509): on Mac, NP_GetMIMEDescription and NP_GetValue are optional entry points, because the metadata can be retrieved from the .plist file, r=josh
--HG--
extra : rebase_source : 0fc5db971736612606c66c20cc2f0a3cc62ca444
2009-12-14 16:19:25 -05:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Ben Turner
6e20a64631 Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg. 2009-12-11 12:48:37 -08:00
Masayuki Nakano
cb4ed98fcc Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00