Commit Graph

122768 Commits

Author SHA1 Message Date
Ryan VanderMeulen
241ea91aef Merge the last PGO-green inbound changeset to m-c. 2013-02-25 14:16:48 -05:00
Nicholas D. Matsakis
f11e082c43 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
b87286ac46 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
0ed168173d merge m-c to fx-team 2013-02-25 10:04:10 +01:00
Nicholas Nethercote
89f5a487ae Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Phil Ringnalda
ba3b771a25 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
60fb1c5ce1 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
6fcbeaafcc Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
de0e5888ec Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Ehsan Akhgari
87b07b2898 Bug 844169 - Part 1: Rename nsHTMLIFrameElement to mozilla::dom::HTMLIFrameElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLIFrameElement.cpp => content/html/content/src/HTMLIFrameElement.cpp
rename : content/html/content/src/nsHTMLIFrameElement.h => content/html/content/src/HTMLIFrameElement.h
extra : rebase_source : 67c393954a0c46f80b8729277504e9ced5c64d33
2013-02-22 19:59:26 -05:00
Ehsan Akhgari
3a2fdeb18a Bug 780474 - Disable the struct/class mismatch warning on MSVC as well; r=glandium
--HG--
extra : rebase_source : 3e593b71e589df349abc41f9182739305478690f
2013-02-25 12:10:41 -05:00
Brian Hackett
b9530756ad Bug 844482 - Watch for OOM disabling TI under CreateThisForFunction, r=dvander. 2013-02-25 15:21:13 -07:00
Brian Hackett
59348db6ca Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem. 2013-02-25 15:17:12 -07:00
Kartikaya Gupta
0c513c127d Bug 843888 - Reduce LayerView overdraw by removing the background. r=sriram 2013-02-25 17:11:02 -05:00
Brian R. Bondy
d71109ac5f Bug 845008 - Metro's save file picker always throws on appendFilter. r=tabraldes 2013-02-25 16:56:45 -05:00
Bobby Holley
c014987e4f Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
f84dddd71f Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
83a57c8d91 Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-25 13:54:18 -08:00
Bobby Holley
15161f36d3 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
97705ea7e1 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
1c9777f504 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
a1a88275ee 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
6f2c3cdc97 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
43540aa59a 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
48eb0c311a 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
77c149b73d 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
Norbert Lindenberg
79c107aa93 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 11). r=jwalden
--HG--
extra : rebase_source : 4de3e1ccf4c5f5809ff517ac7190ea411119dac3
2013-02-22 15:31:09 -08:00
Norbert Lindenberg
66398bcef4 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 10). r=jwalden
--HG--
extra : rebase_source : 5e68b2c9aaa862152a80d870f0379d81db98fead
2013-02-22 15:31:07 -08:00
Norbert Lindenberg
1251bc9f6a Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 9). r=jwalden
--HG--
extra : rebase_source : f87af76e895dc145e73d0df0e44aec931ec1ffdf
2013-02-22 15:30:28 -08:00
Norbert Lindenberg
907883adcb Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 8). r=jwalden
--HG--
extra : rebase_source : 7d583e686ae7c2f830971e7282b5f1754d2c57f9
2013-02-22 15:30:09 -08:00
Justin Lebar
a9c8386f3a Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz 2013-02-26 11:24:41 -05:00
Bobby Holley
3ed822eacf Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Brian Hackett
e2d5ca1724 Bug 835587 - Add syntax only mode to parser, r=jorendorff. 2013-02-26 08:41:57 -07:00
James Willcox
26f696defb Bug 844289 - Guard against missing Surface.mNativeSurface on Android r=kats 2013-02-26 09:28:57 -05:00
Adam Roach [:abr]
85c5ad8da6 Bug 837523 - Additional checks for unsupported app behavior r=ehugg 2013-02-26 08:26:29 -06:00
Geoff Brown
d66ee68167 Bug 844797 - Avoid UnboundLocalError on dumpDir in checkForCrashes; r=edmorley 2013-02-26 07:19:58 -07:00
Geoff Brown
d9b8b01e2e Bug 798683 - Replace getChildCount() calls in robocop tests; r=bnicholson 2013-02-26 07:19:57 -07:00
Berker Peksag
47563a3e43 Bug 801618 - WebApps installer does not need asyncCopy. r=yoric 2013-02-26 09:48:35 +02:00
Nanci Bonfim
62aed6d8a3 Bug 800278 - FrameWorker.ports using Map instead of object. r=jaws 2013-02-24 02:36:03 -03:00
Tim Taubert
32704e37ba Backed out changeset 4d74fe8e6560 (bug 842511) 2013-02-22 22:23:28 +01:00
Tim Taubert
2328ef1751 Backed out changeset 7052d37a8b25 (bug 842512) 2013-02-22 22:23:27 +01:00
Tim Taubert
4a2b4cda74 Backed out changeset 96d8ca0dd540 (bug 842511) 2013-02-22 22:23:25 +01:00
Tim Taubert
44139238e8 Bug 842511 - Fix xpcshell bustage; r=me 2013-02-22 21:17:44 +01:00
Tim Taubert
b961fe94c2 Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Tim Taubert
879d3bd5cc Bug 842511 - Specify a character set for directory listings; r=Waldo 2013-02-22 19:56:14 +01:00
Nathan Froyd
d7ac1b7f6a 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
c791d8a2cd Bug 809219 - [WebPayment] mozPay unit tests; r=fabrice 2013-02-25 13:12:44 +01:00
Jim Mathies
bd1de90743 Bug 844113 - Add tests. r=mbrubeck 2013-02-22 14:11:45 -06:00
Jim Mathies
a895b99374 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
65fafe7a58 Bug 844113 - Cleanup work in ContextMenuHandler.js. r=fryn 2013-02-22 14:11:45 -06:00