Commit Graph

300263 Commits

Author SHA1 Message Date
Andrea Marchesini
61365d669d Bug 842986 - Implement MozFrameLoaderOwner on HTMLFrameElement. r=bz 2013-02-26 12:02:32 -05:00
Ryan VanderMeulen
8b939472b0 Merge m-c to inbound. 2013-02-26 12:02:29 -05:00
Robert Longson
f5c4f10b18 Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt 2013-02-26 16:58:06 +00:00
Rail Aliiev
8e0d30baca Bug 837019 - update mozilla-central gonk snapshot (otoro). r=hwine 2013-02-26 11:55:44 -05:00
Rail Aliiev
102ca6d742 Bug 837019 - update mozilla-central gonk snapshot (unagi & panda). r=hwine 2013-02-26 11:55:06 -05:00
Rafael Ávila de Espíndola
efb6d5492c Bug 845277 - Asan builds burning with "js/src/jsproxy.h:346:7: error: visibility does not match previous declaration". r=bholley. 2013-02-26 11:43:13 -05:00
Ehsan Akhgari
f99402c482 Bug 845341 - Make sure that PrivateBrowsingUtils.permanentPrivateBrowsing does not throw if the autostart pref doesn't have a default value; r=jdm 2013-02-26 11:31:35 -05:00
Ryan VanderMeulen
c2cdffdb0d Merge the last PGO-green inbound changeset to m-c. 2013-02-26 10:44:46 -05:00
Matt Brubeck
0cde40a91f Bug 840643 - Fix exception in WeaveGlue.init that breaks Metro sync setup [r=ally] 2013-02-26 06:58:38 -08:00
Gina Yeh
7f34829d6d Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Ed Morley
2f417022fb Merge mozilla-central to mozilla-inbound 2013-02-26 10:45:52 +00:00
Hannes Verschore
7067f66e5d Bug 843866: IonMonkey: Make sure inference ran before inlining empty script, r=jandem 2013-02-26 11:20:03 +01:00
Mike Hommey
487f6796a4 Bug 844785 - Fix xulrunner mac builds. r=ted 2013-02-26 08:13:30 +01:00
Zuhao(Joe) Chen
0f670c7f48 Bug 805811 - Support bootstrapping with MacPorts; r=gps
DONTBUILD (NPOTB)
2013-02-25 19:52:36 -08:00
Ryan VanderMeulen
86edf921e8 Merge inbound to m-c. 2013-02-25 21:27:56 -05:00
Seth Fowler
18e5025cef Bug 844403 - Make VectorImage cancel all listeners when destroyed. r=dholbert 2013-02-25 17:40:13 -08:00
Ryan VanderMeulen
d0a295de5b Backed out changeset 71a93fff7311 (bug 840360) for B2G reftest/crashtest bustage on a CLOSED TREE. 2013-02-25 19:49:19 -05:00
Ryan VanderMeulen
3c9738c6b5 Backed out changeset ea8134dfa481 (bug 843619) for robocop failures. 2013-02-25 18:21:08 -05:00
Brian Hackett
5fe9eeef8d Bug 841530 - Tweaks to fit JIT inspector after the decompilerectomy, r=pierron. 2013-02-25 15:31:49 -07:00
Ryan VanderMeulen
8612caaf5c Merge the last PGO-green inbound changeset to m-c. 2013-02-25 14:16:48 -05:00
Nicholas D. Matsakis
0b968f5ce7 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
6598183003 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
7f97958100 merge m-c to fx-team 2013-02-25 10:04:10 +01:00
Nicholas Nethercote
f759056e02 Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Phil Ringnalda
cd3ba96b65 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
63884b088c Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
41104cbff1 Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
75d88ff353 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Ehsan Akhgari
e844e1acf3 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
e0ecd62fb0 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
a9b7937e44 Bug 844482 - Watch for OOM disabling TI under CreateThisForFunction, r=dvander. 2013-02-25 15:21:13 -07:00
Brian Hackett
b7f111bf33 Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem. 2013-02-25 15:17:12 -07:00
Kartikaya Gupta
dacf91473d Bug 843888 - Reduce LayerView overdraw by removing the background. r=sriram 2013-02-25 17:11:02 -05:00
Brian R. Bondy
9a2b453364 Bug 845008 - Metro's save file picker always throws on appendFilter. r=tabraldes 2013-02-25 16:56:45 -05:00
Bobby Holley
0c9994db1d 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
59d3c6c36d Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
d916a1015e 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
be3814c47e Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
ea8d501a0c 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
4591fd0a3d 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
e969932415 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
141e362856 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
1c8920e364 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
07afde82fb 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
9fbb71c834 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
bf593b3710 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
a6357c3246 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
78bf555c82 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
26561239d9 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
c84199fbeb Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz 2013-02-26 11:24:41 -05:00