Commit Graph

122386 Commits

Author SHA1 Message Date
Jonathan Mayer
55b948dec0 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
Jonathan Kew
696cf350b6 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Ryan VanderMeulen
de0eaf91ad Backed out changeset 78c3801aed19 (bug 825329) for intermittent orange. 2013-02-22 11:45:32 -05:00
Phil Ringnalda
f3f16b4069 Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
CLOSED TREE
2013-02-22 08:41:37 -08:00
Brian Hackett
8a81455c46 Bug 844048 - Track uses of 'var arguments' within eval scripts, always make arguments objects for generators, r=luke. 2013-02-22 09:29:28 -07:00
Bobby Holley
c1bc13e0dd 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-22 08:14:34 -08:00
Bobby Holley
1b08378825 Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
c9d462848e 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-22 08:14:33 -08:00
Bobby Holley
6fd640a029 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
6599e1d10f 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-22 08:14:33 -08:00
Bobby Holley
ad7ec801bd 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-22 08:14:33 -08:00
Bobby Holley
bc476a22e1 Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
31e8680c22 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-22 08:14:32 -08:00
Bobby Holley
93807eff69 Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-22 08:14:32 -08:00
Adam Roach [:abr]
81f3f2c18d Bug 839647 - Remove crash test workaround r=jesup 2013-02-22 10:08:54 -06:00
Adam Roach [:abr]
36f1d91887 Bug 839647 - Synchronize CCApp thread start-up r=ehugg 2013-02-22 10:08:47 -06:00
Bobby Holley
722e4eafbb Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz 2013-02-22 07:56:03 -08:00
Bobby Holley
c8f55e8889 Bug 843231 - Alter the XBL scope test to make it compatible with reading the dom.xbl_scopes only once per global. r=bz
--HG--
rename : content/xbl/test/test_bug821850.xhtml => content/xbl/test/file_bug821850.xhtml
2013-02-22 07:56:03 -08:00
Bobby Holley
dbc130d113 Bug 843231 - Remove SetGlobal. r=bz
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
2013-02-22 07:56:03 -08:00
Bobby Holley
0352ac2f47 Bug 843231 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. r=bz
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
2013-02-22 07:56:02 -08:00
Robert O'Callahan
7901100c08 Bug 842089. MediaStream doesn't implement EventTarget yet. r=bz 2013-02-22 10:33:30 -05:00
David Humphrey (:humph)
019ece73e5 Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen 2013-02-22 10:07:42 -05:00
Boris Zbarsky
90617e5775 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Boris Zbarsky
2b330ac631 Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Boris Zbarsky
7b6087807f Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul 2013-02-22 09:56:28 -05:00
Trevor Saunders
70d157e13c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Sriram Ramasubramanian
88f982fd77 Bug 843557: Revert part of 7547bf5fe166 (bug 843313). [r=kats] 2013-02-21 15:02:22 -08:00
Kartikaya Gupta
a505e190df Bug 843557 - Get rid of unneeded generic. r=sriram 2013-02-21 16:49:09 -05:00
Jon Coppeard
ec46a9f3a3 Bug 843626 GC: Rooting analysis failures in parallel array jittests r=terrence
--HG--
extra : rebase_source : a671dd445040312bdd464555f18844c993357129
2013-02-21 15:50:50 +00:00
Till Schneidereit
46048fb061 Bug 842192 - Self-host Array.map. r=jorendorff 2013-02-19 21:36:37 +01:00
Jonathan Kew
1233b9cff5 bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-02-22 13:36:02 +00:00
Jonathan Kew
99396a59d3 bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-02-22 13:36:00 +00:00
Peter Van der Beken
953cadf9c4 Fix for bug 825628 (Implement NamedConstructor) - use NamedConstructor for Image() and Option(). r=bz.
--HG--
extra : rebase_source : f48e0ded2374d84b89d585309309b1a42a95d868
2013-01-22 11:53:13 +01:00
Peter Van der Beken
c485f6afee Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Paul Adenot
5b1a9444bb Bug 825329 - Properly implement AudioStream::GetPlaybackRate. r=kinetik 2012-12-28 23:01:38 +01:00
Jonathan Kew
110efd96e8 bug 843588 - font table cache management should not rely on hashtable entry pointers remaining valid. r=karlt 2013-02-22 13:14:33 +00:00
Daniel Holbert
05681efc3b Bug 843929 - Part 3: Add '(void) mFps' to silence Wunused-private-field warnings, until the code that uses it is turned on. r=jesup 2013-02-22 06:59:45 -05:00
Daniel Holbert
b473241461 Bug 843929 - Part 2: Add '(void) mEchoCancel' to silence Wunused-private-field warnings, until the code that uses it is turned on. r=jesup 2013-02-22 06:59:29 -05:00
Daniel Holbert
37c9f647b8 Bug 843929 - Part 1: Remove no-longer-used private variables mTrackID & mLastEndTime from MediaEngineWebRTCVideoSource. r=jesup 2013-02-22 06:59:11 -05:00
Cykesiopka
259c0200d2 Bug 841527 - Update the FX_IDENTITY_POPUP_OPEN_MS telemetry probe to use the TelemetryStopwatch. r=felipe 2013-02-22 06:57:31 -05:00
Chuck Lee
e329997fd6 Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08:00
Chuck Lee
001b809b6e Bug 835719 - 0002. Encode command string into UTF-8 byte array. r=terrence 2013-02-21 17:48:15 +08:00
Chuck Lee
198c348330 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Ryan VanderMeulen
95e06b2bb6 Bug 817721 - Update CLOBBER file since the push was needs-clobber. DONTBUILD on a CLOSED TREE. 2013-02-22 06:18:54 -05:00
Jonathan Kew
5219b8ae03 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Lucas Rocha
6e93f5db82 Bug 817721/817735/817732 - New tabs tray layout with horizontal scrolling (r=mfinkle) (needs-clobber)
--HG--
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/menu.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/tabs_carat_contracted.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_carat_contracted.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/tabs_carat_expanded.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_carat_expanded.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/tabs_menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_menu.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml => mobile/android/base/resources/drawable-large-land-v11/tabs_button.xml
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_level.xml => mobile/android/base/resources/drawable-large-land-v11/tabs_level.xml
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/menu.png => mobile/android/base/resources/drawable-large-mdpi-v11/menu.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_carat_contracted.png => mobile/android/base/resources/drawable-large-mdpi-v11/tabs_carat_contracted.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_carat_expanded.png => mobile/android/base/resources/drawable-large-mdpi-v11/tabs_carat_expanded.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_menu.png => mobile/android/base/resources/drawable-large-mdpi-v11/tabs_menu.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/menu.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/tabs_carat_contracted.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_carat_contracted.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/tabs_carat_expanded.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_carat_expanded.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/tabs_menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_menu.png
rename : mobile/android/base/resources/layout-xlarge-v11/tabs_panel.xml.in => mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml.in
rename : mobile/android/base/resources/layout-xlarge-v11/tabs_panel_footer.xml => mobile/android/base/resources/layout-large-land-v11/tabs_panel_footer.xml
rename : mobile/android/base/resources/layout-xlarge-v11/tabs_panel_header.xml => mobile/android/base/resources/layout-large-land-v11/tabs_panel_header.xml
2013-02-22 07:23:16 +00:00
Lucas Rocha
2dcd7d298d Bug 817721/817735/817732 - Always scroll on tabs tray animation (r=mfinkle) 2013-02-22 07:22:37 +00:00
Lucas Rocha
a09a4ed0f0 Bug 817721/817735/817732 - Change sidebar state to be dynamic (r=mfinkle) 2013-02-22 07:22:37 +00:00
Lucas Rocha
d7c82552a4 Bug 817721/817735/817732 - Add more granular API to query tablet form-factors (r=mfinkle) 2013-02-22 07:22:37 +00:00
Lucas Rocha
61beed7d46 Bug 817721/817735/817732 - New TabsPanel sizing (r=mfinkle) 2013-02-22 07:22:37 +00:00