Commit Graph

122663 Commits

Author SHA1 Message Date
Bobby Holley
48bda79df5 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
a9b42a6db0 Bug 836301 - Add tracking for whether we have a non-trivial enter() trap. r=mrbkap
This will allow us to skip the virtual function call for non-security-wrapper
proxies, which are the cases where we care most about performance.
2013-02-25 13:54:18 -08:00
Bobby Holley
f82f71bb85 Bug 836301 - Stop enter()ing with CALL for nativeCall. r=mrbkap
This is kind of nonsensical, because CALL means "the wrapped object is being
called", whereas nativeCall means "the wrapped object is being unwrapped to
have a JSNative invoked on it", which are two very different things.

We _could_ add a NATIVECALL enter() trap, but our current policy enforcement
around nativeCall involves overriding the trap itself, so we wouldn't use it
for anything. So let's just get rid of it.
2013-02-25 13:54:17 -08:00
Bobby Holley
22266c42fe Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-25 13:54:17 -08:00
Bobby Holley
3cd9119770 Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:

1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.

2 - Custom Xray props. None of these make sense in a |set| context. In fact,
    they generally have null setters anyway, so we can just assume GET.

The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-25 13:54:17 -08:00
Bobby Holley
6406390443 Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-25 13:54:17 -08:00
Peter Van der Beken
bd8a4c71df Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
--HG--
extra : rebase_source : 85b3d0ee270f24847b9425cda9f8b56a494f2546
2013-02-25 20:39:15 +01:00
Daniel Holbert
f82fd42806 Bug 845021: Add size_t cast in assertion, to silence build warning, in ObjectWrapperChild::AnswerNewEnumerateNext. r=Waldo 2013-02-25 13:46:56 -08:00
Sriram Ramasubramanian
694b88ff28 Bug 843619: Remove tabs tray menu. [r=mfinkle] [needs-clobber]
--HG--
extra : rebase_source : 1a5f82f47ea115d38ad96af61df7dcb77babdeca
2013-02-21 14:21:57 -08:00
Jonathan Griffin
ed8445c0f0 Bug 844942 - Let switching to top-level frame work even when current frame is invalid, r=mdas 2013-02-25 13:24:19 -08:00
Matt Woodrow
112a58adca Bug 835045 - Use CreateThebesSurfaceAliasForDrawTarget_hack to avoid having multiple cairo_surface_quartz objects for a single CGContext. r=nrc 2013-02-26 10:18:52 +13:00
Matt Woodrow
6b781787d7 Bug 841308 - Make WillPaintWindow be called for cocoa popups. r=roc 2013-02-26 10:18:48 +13:00
Matt Brubeck
c2e12d31ba Bug 840360 - Extract reftest-content.js's setTimeout implementation into new Timer.jsm [r=jwalker r=cjones sr=gavin]
--HG--
rename : browser/devtools/shared/Browser.jsm => toolkit/modules/Timer.jsm
rename : browser/devtools/shared/test/browser_browser_basic.js => toolkit/modules/tests/xpcshell/test_timer.js
2013-02-25 11:08:33 -08:00
Kartikaya Gupta
e15294782b Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Matt Brubeck
7681e4edfa Bug 844328 - Silence debug warning about _onTouchStart return value [r=jimm] 2013-02-25 11:08:25 -08:00
Ryan VanderMeulen
567f6121a3 Backed out changesets e8202e140fd8 and b1cd489945f5 (bug 844328) for mochitest-bc orange on a CLOSED TREE. 2013-02-25 15:37:23 -05:00
Sriram Ramasubramanian
0749d64f96 Bug 842609: Scroll to selected tab in tabs ui. [r=mfinkle]
--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
extra : rebase_source : c5a6cb3d09bd673b4ac01afa90de9bc8f350601b
2013-02-19 14:29:04 -08:00
Kannan Vijayan
4001489bf4 Bug 844253 - Change useNewType to be a flag on StackFrame instead of an explicitly passed argument. r=bhackett 2013-02-25 15:15:38 -05:00
Lucas Rocha
d8d30098b9 Bug 844592 - Define awesome_bar_entry on tablet toolbar layout (r=mfinkle) 2013-02-25 19:56:04 +00:00
Lucas Rocha
41418483b2 Bug 844588 - Set correct min-version for clone method in TwoWayView (r=mfinkle) 2013-02-25 19:56:04 +00:00
Ryan VanderMeulen
17aa5a4e53 Merge m-c to inbound. 2013-02-25 14:47:24 -05:00
Kartikaya Gupta
7b0ca109df Bug 844930 - Make deprecation warning more useful. r=bnicholson 2013-02-25 14:42:06 -05:00
Kartikaya Gupta
add4b29c97 Bug 842946 - When there is no selected tab, don't try to apply viewport updates. r=mfinkle 2013-02-25 14:40:44 -05:00
Andrew Halberstadt
370d4d8c1d Bug 843747 - Disable handful of b2g emulator mochitests that fail with an ubuntu vm as host, r=jgriffin
* * *
Bug 843747 - Disable dom/encoding/test/test_stringencoding.html for timeout on Ubuntu VM
* * *
Bug 843747 - disable mochitests that fail on Ubuntu 64 vm
2013-02-25 14:34:55 -05:00
Ryan VanderMeulen
998cb2929c Merge the last PGO-green inbound changeset to m-c. 2013-02-25 14:16:48 -05:00
Matt Brubeck
3d885cc63b Bug 840360 - Extract reftest-content.js's setTimeout implementation into new Timer.jsm [r=jwalker r=cjones sr=gavin]
--HG--
rename : browser/devtools/shared/Browser.jsm => toolkit/modules/Timer.jsm
rename : browser/devtools/shared/test/browser_browser_basic.js => toolkit/modules/tests/xpcshell/test_timer.js
2013-02-25 11:08:33 -08:00
Matt Brubeck
3e2eae31ce Bug 844328 - Silence debug warning about _onTouchStart return value [r=jimm] 2013-02-25 11:08:25 -08:00
Nicholas D. Matsakis
64d8c2fb56 Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn 2013-02-25 08:06:48 -05:00
Nicholas D. Matsakis
2790eb157e Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn 2013-02-25 08:06:48 -05:00
Tim Taubert
30a3ed0026 merge m-c to fx-team 2013-02-25 10:04:10 +01:00
Nicholas Nethercote
a5b0f7906e Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Phil Ringnalda
d00099ff16 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
a622234df9 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
a96c166f9a Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
535d766239 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Tim Taubert
49308ae82e Backed out changeset 4d74fe8e6560 (bug 842511) 2013-02-22 22:23:28 +01:00
Tim Taubert
59fd4b1047 Backed out changeset 7052d37a8b25 (bug 842512) 2013-02-22 22:23:27 +01:00
Tim Taubert
260e8d497c Backed out changeset 96d8ca0dd540 (bug 842511) 2013-02-22 22:23:25 +01:00
Tim Taubert
1f7ccc1c48 Bug 842511 - Fix xpcshell bustage; r=me 2013-02-22 21:17:44 +01:00
Tim Taubert
451d98d7f1 Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Tim Taubert
49aa971d09 Bug 842511 - Specify a character set for directory listings; r=Waldo 2013-02-22 19:56:14 +01:00
Nathan Froyd
9729f1010a Bug 844188 - use rcs.mk's functions for getting the source repo for telemetry revision ids; r=glandium 2013-02-22 13:49:05 -05:00
Fernando Jiménez
a1238254e9 Bug 809219 - [WebPayment] mozPay unit tests; r=fabrice 2013-02-25 13:12:44 +01:00
Jim Mathies
c7ea64e9c6 Bug 844113 - Add tests. r=mbrubeck 2013-02-22 14:11:45 -06:00
Jim Mathies
f89bce38cf Bug 844113 - Properly calculate offsets in context menu messages originating from sub frames. r=fryn 2013-02-22 14:11:45 -06:00
Jim Mathies
de000ae6e2 Bug 844113 - Cleanup work in ContextMenuHandler.js. r=fryn 2013-02-22 14:11:45 -06:00
Gina Yeh
cbe23cf219 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Jonathan Kew
aca250ca97 bug 700023 - enable graphite font shaping by default. r=jdaggett 2013-02-25 10:39:29 +00:00
Mike Hommey
a54fec7539 Bug 841011 - Use the parent directory of XRE_EXECUTABLE_FILE to find autoconf file. r=bsmedberg 2013-02-25 10:50:12 +01:00
Mike Hommey
526d2811c1 Bug 832272 - Allow mostly parallel build of NSS. r=ted 2013-02-25 10:49:34 +01:00