Commit Graph

1698 Commits

Author SHA1 Message Date
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Kartikaya Gupta
d8c768311d Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Trevor Saunders
b2dc01f1a7 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
David Zbarsky
eb7e83b422 Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz 2013-08-07 16:23:08 -04:00
Nicholas Nethercote
c1d8302699 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Jon Coppeard
0f31f8c399 Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz 2013-08-05 14:01:53 +01:00
Jon Coppeard
ef396b7874 Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz 2013-08-02 13:15:39 +01:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
b96218de59 Bug 898311 - #error qmetatype.h must be included before any header file that defines Bool. r=mounir 2013-08-01 21:21:32 -04:00
Tom Schuster
8ac55e5939 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
John Schoenick
ebffa20762 Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg,roc 2013-07-30 13:24:18 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Bobby Holley
99246966e4 Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Jon Coppeard
fd4d274d46 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Benjamin Smedberg
691f786729 Followup to bug 888510 - windowless-layers reftest should be skip-if no testplugin, not fails-if
--HG--
extra : rebase_source : 283a63049eb382168f64ec2b554dd4c31ad59994
2013-07-26 12:25:27 -04:00
Carsten "Tomcat" Book
ac22f0d0ad Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Jon Coppeard
4258a261db Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
John Schoenick
c49e871f9d Bug 889614 - Fix and cleanup plugin re-parenting tests to catch this in the future. r=josh 2013-07-25 14:02:34 -07:00
Jon Coppeard
bd28d643f7 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Ms2ger
87cac1ab60 Bug 896275 - Use MOZ_THIS_IN_INITIALIZER_LIST in dom/; r=mounir 2013-07-24 09:41:03 +02:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
f44c71b4ef Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Jon Coppeard
da545dc61a Bug 888338 - 6 - more browser post barriers r=mccr8 2013-07-23 10:58:27 +01:00
Mihnea Dobrescu-Balaur
e54eb27318 Bug 890098 - Cannot run dom/plugins xpcshell tests concurrently. r=bsmedberg 2013-07-18 18:01:25 -07:00
Benjamin Smedberg
a9720868ea Bug 889480 - When NP_Initialize fails, we should not try to call NP_Shutdown later, r=gfritzsche
--HG--
extra : rebase_source : d6749449a9ef910b65336ce69aa0ad558711f6e7
2013-07-19 10:02:47 -04:00
Ehsan Akhgari
5eb237bdcc Bug 895168 - Part 2: Stop using LL_ZERO in the tree; r=jcranmer
--HG--
extra : rebase_source : 03a8c9d0905ceef8dde58316ee4b4c7c09b34305
2013-07-18 16:48:15 -04:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura
9b846c9c52 Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm 2013-07-12 06:26:55 +09:00
Gregory Szorc
7b97260199 Bug 891626 - Consistent filename casing for "ipc"; r=bsmedberg
"ipc" and "IPC" are used to refer to the same directory. "ipc" is more
popular than "IPC" so the latter has been downcased.

--HG--
extra : rebase_source : 378d442df62b8e401ed2a10f36889cfce6e88227
2013-07-10 12:08:23 -07:00
Gregory Szorc
0a41c9c2f9 Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Ryan VanderMeulen
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Aaron Klotz
1993af6269 Bug 891035: Provide mutual exclusion in Plugin Hang UI to protect against concurrent shutdown and user response. r=bsmedberg
--HG--
extra : rebase_source : c7960c2d74af8af57aa7e97867df61a975f4d7fe
2013-07-10 11:00:55 -06:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Kyle Huey
afae5b1108 Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff 2013-07-09 07:28:15 -07:00
Johnny Stenback
7faf821ddb Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org. 2013-07-09 06:58:21 -07:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Joey Armstrong
df6123b0bc bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
David Zbarsky
7c1e9e4d0f Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Michael Brennan
c91799e4ad Bug 837232 - Use whenDelayedStartupFinished in private mode test. r=gavin 2013-07-05 18:52:32 +02:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Joey Armstrong
f183040ef5 bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
John Schoenick
1e16605fd8 Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst 2013-06-27 13:59:37 -07:00
Benjamin Smedberg
82eede8f1b Bug 880735 test fixups:
* Add a test-only setter to the center-item XBL binding
* add a head.js function to remove plugin permissions for use in cleanup functions
* browser_pluginnotification.js - lots of fixes for the core feature tests
* Alter test_bug751809 not to assume that clicking the page overlay will directly activate the plugin
* Alter browser_CTP_plugins.js because disabled plugins now do show up in the plugin doorhanger
* remove browser_CTPScriptPlugin.js and supporting files because we no longer auto-pop based on scripting
* fix browser_CTP_drag_drop.js so that active plugins still show the doorhanger icon, and other fixup
* fix browser_bug743421.js to expect the doorhanger all the time and activate it correctly
* fix browser_bug752516.js to check for doorhanger activation instead of plugin activation
* remove browser_bug818009.js and supporting files because they are testing something that no longer exists
* alter browser_bug820497.js so that it shows the popup notification before checking .centerActions, since we populate that data lazily now
* browser_plugins_added_dynamically.js: remove the "activate all" tests which are no longer relevant and fix the rest to match the new doorhanger structure.
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
9185c2daf0 Bug 880735 part B - add .getPluginTagForType and make .getBlocklistStateForType scriptable, r=johns 2013-06-24 08:51:07 -04:00
Gabor Krizsanits
2efc3017e5 Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Jon Coppeard
19b426b223 Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz 2013-06-21 14:12:46 +01:00
Benjamin Smedberg
53169fb9e6 Bug 882339 part B - nsPluginTag::IsBlocklisted should use the cached blocklist state, since it gets called in some tight loops via plugintag.IsActive r=johns Once more with feeling!
--HG--
extra : rebase_source : 50342011c886109a25a7a38d18b23cde7c4e4c85
2013-06-20 15:20:14 -04:00
Bobby Holley
7a9309f7be Bug 883450 - Miscellaneous requests. r=gabor 2013-06-20 11:05:34 -07:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Benjamin Smedberg
3b87991102 Bug 882339 - Cache the blocklist state on plugin tags to avoid querying the blocklist service constantly, r=johns 2013-06-19 11:07:28 -04:00
Jon Coppeard
da723794cd Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz 2013-06-19 11:32:27 +01:00
Georg Fritzsche
620e73924b Bug 883671 - Get rid of plugin.expose_full_path. r=bsmedberg 2013-06-17 12:35:29 +02:00
Chris Peterson
303c9286de Bug 827407 - Back out Flash fullscreen video bug 809055 to test whether FlashPaintSurface crashes are correlated. r=snorp 2013-06-11 10:09:57 -07:00
Benjamin Smedberg
d31cc62de5 Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Benjamin Smedberg
e1d1d600ef Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
Martin Stransky
d846e03b29 Bug 879515 - Port GTK2 to GTK3 - dom/plugins fixes. r=karlt 2013-06-10 08:36:26 -04:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Johnny Stenback
27fed2a3cd Bug 855613. Stop exposing nsIDOMMimeType in nsIPluginTag. r=joshmoz@gmail.com 2013-03-27 22:19:41 -07:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Brad Lassey
ac960c354c bug 876270 - crash in mozilla::plugins::parent::_getvalue r=snorp 2013-05-28 12:49:04 -04:00
Brian R. Bondy
545121b371 Bug 607832. r=ehsan 2013-05-28 10:16:58 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
b8a53552ce Bug 873698 - Remove JS_GetGlobalObject from plugins. r=gabor 2013-05-22 15:42:44 -06:00
Bobby Holley
1b2f22fe61 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
c34a6c0e71 Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -06:00
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Boris Zbarsky
810766595d Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley 2013-05-20 08:44:18 -04:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
David Keeler
1931d4ed1e bug 866390 - add plugin.default.state pref r=bsmedberg 2013-05-15 13:30:40 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
David Zbarsky
57233197b3 Bug 868312 - Rooting fixes for dom r=bz 2013-05-14 16:25:32 -07:00
David Zbarsky
cbead1c2c7 Backed out changeset 3b73e9c7a5d0 for orange 2013-05-14 01:00:11 -07:00
David Zbarsky
7519411b1e Bug 868312 - Rooting fixes for dom r=bz 2013-05-14 00:15:53 -07:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
David Zbarsky
e521e7ffff Bug 868312 - Rooting fixes for dom r=bz 2013-05-10 14:22:21 -04:00
Brian O'Keefe
3f66654fdb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Terrence Cole
fd72fc252e Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Makoto Kato
132da51875 Bug 800220 - Part 3. Add null check to avoid strlen(nullptr). r=ehsan 2013-05-08 12:47:33 +09:00
Makoto Kato
0ec059eb04 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Sumedh Shekhar
e409da4cb3 Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Sankha Narayan Guria
6349c5c599 Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
David Zbarsky
ef70ce04b7 Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
Bobby Holley
d02fa60c1c Bug 829872 - Fix up tests that depend on contentDocument being non-null. r=imelven
These almost universally depend on some sort of special privileges, so I don't
think they're representative of any use-cases we might find on the web.
2013-05-03 14:47:10 -07:00
Ryan VanderMeulen
a940e46079 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
9305158b76 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Steve Fink
bb2447230f Bug 866432 - Replace AutoValueRooter with JS::Rooted<JS::Value> in gecko. r=smaug
--HG--
extra : rebase_source : 0897fc8f3968619185b754e13ca6119cb1c0f46d
2013-04-26 21:08:15 -07:00
Terrence Cole
60ff037fa7 Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco 2013-04-16 16:20:44 -07:00
Ryan VanderMeulen
4f020afd30 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
fd2b88f265 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
402c35b1ff Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor 2013-04-29 11:16:18 -07:00
Landry Breuil
818f4155fa Bug 866239 - Fix build on platforms without profiler after bug 853358 r=bgirard 2013-04-27 16:20:23 +02:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Jeff Gilbert
2c93e9b902 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Benoit Girard
d981caa7ec Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 70dfd31809cb644f6405bd144a2e8373268a461c
2013-03-21 10:17:23 +01:00
Matt Woodrow
5ffc497bd0 Bug 863922 - Use the device pixel size of plugin IOSurfaces since layers handles resolution scaling already. r=BenWa 2013-04-25 10:31:12 +12:00
David Keeler
740c10c2f8 bug 549697 - add click-to-play plugin UI to the addon manager r=unfocused r=jaws
--HG--
rename : browser/base/content/test/test_bug787619.html => browser/base/content/test/browser_bug787619.js
rename : browser/base/content/test/test_bug787619.html => browser/base/content/test/plugin_bug787619.html
2013-04-23 16:21:22 -07:00
Nicolas Silva
b18dc950c7 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
John Schoenick
54a10ae3a7 Bug 863792 - Test. r=josh 2013-04-23 13:21:29 -07:00
John Schoenick
156b1d3e6b Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
John Schoenick
e274d300a6 Bug 854082 - Test. r=bsmedberg 2013-04-23 13:21:26 -07:00
John Schoenick
a84b022fb0 Bug 854082 - Attribute bug 621618 assertions to the proper test. r=gfritzsche 2013-04-23 13:21:20 -07:00
Benjamin Smedberg
261998a5da Bug 418615 - Neuter the code which tries to reframe existing plugin instances when navigator.plugins.refresh(true) is called. Instead, only scan for new plugins, unload unused plugins. The DOM code will continue to refresh the current page which calls navigator.plugins.refresh(true). r=jschoenick sr=bz 2013-04-23 16:02:12 -04:00
John Schoenick
da79205d6c Backout 9423207656dd and d226a39b4181 (Bug 863792) for triggering bug 854082 crashes, the fix for which was backed out. CLOSED TREE 2013-04-22 16:33:38 -07:00
Ehsan Akhgari
34e21f4536 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
John Schoenick
cb724a84c5 Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
Nicolas Silva
e4c0f3bbfd Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
John Schoenick
50a915a030 Bug 863792 - Test. r=josh 2013-04-22 13:20:59 -07:00
John Schoenick
a4e365d0c5 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
John Schoenick
3dd9eae1e8 Bug 854082 - Test. r=bsmedberg 2013-04-22 13:20:58 -07:00
Ryan VanderMeulen
4272b0bfcf Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
b00da928b1 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
David Zbarsky
335c6fc326 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Bobby Holley
869a5a1997 Bug 860438 - Remove plugin-specific cx pusher. r=bsmedberg
The old code does two little bits of special sauce that are worth mentioning:

1 - It calls OnWrapper{Created,Destroyed} to maintain the lifetime of the
    addref'd context stack pointer. But that whole thing is gone now.

2 - It calls ScriptEvaluated to potentially invoke termination functions in
    certain cases. nsCxPusher does this too, but with slightly different logic.
    In particular, nsCxPusher checks whether the given JSContext was already
    on the stack, whereas AutoCXPusher checked whether there was another cx on
    the stack above this one. As far as I can tell from my investigations of
    this stuff, this is all total voodoo, and I think it should probably be fine
    to just use an nsCxPusher here.

Also, termination functions are going away soon in bug 841312.
2013-04-18 11:36:04 -04:00
Bobby Holley
288399f5c0 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Ben Kelly
4e0ea91f2c Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck 2013-04-18 10:32:25 -04:00
L. David Baron
611d0a66d9 Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-18 10:32:25 -04:00
Daniel Holbert
6ad32cb40a backout 8e0af273404e (Bug 847279) for android M-8 orange 2013-04-17 17:13:02 -07:00
Daniel Holbert
52802eaf5f backout b1096811620f (Bug 847279) for android M-8 orange 2013-04-17 17:12:10 -07:00
Ben Kelly
68002a88f5 Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck 2013-04-17 18:00:14 -04:00
L. David Baron
b525977bdc Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-17 18:00:14 -04:00
Matt Woodrow
36d0957dbb Bug 860615 - Use SharedTextureHandle for plugins on OSX. r=BenWa 2013-04-17 14:21:07 +12:00
Matt Woodrow
0b2d2c65a4 Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Aaron Klotz
97a44be958 Bug 826851: Back out Plugin Hang UI unit tests due to intermittent WinXP oranges on inbound. r=bustage 2013-04-16 18:50:22 -06:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Aaron Klotz
516e3cbadd Bug 826851: Unit tests for Plugin Hang UI. r=bsmedberg 2013-04-16 13:19:17 -06:00
Jeff Walden
6539207aee Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Joshua Cranmer
292c1594b0 Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Aaron Klotz
eb4321380d Bug 858800: Removes premature cleanup of Plugin Hang UI's browser-side IPC. r=bsmedberg
--HG--
extra : rebase_source : a587db8df51399a1b68e2912dcc9063c05319080
2013-04-11 15:08:55 -06:00
Jacek Szpot
8123bfdfc5 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
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