Commit Graph

97635 Commits

Author SHA1 Message Date
Bobby Holley
753fcb6e9e Bug 754202 - Remove mContextPrincipal usage from within nsScriptSecurityManager. r=mrbkap 2012-06-28 23:47:55 +02:00
Bobby Holley
22171babc1 Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Bobby Holley
21f7b2dc0e Bug 754202 - Disallow calling EvaluateString{,WithValue} with a principal that doesn't match the global. r=mrbkap 2012-06-28 23:47:55 +02:00
Bobby Holley
7d7de37247 Bug 754202 - Pull subject principals directly off the compartment. r=mrbkap It would be nice to check these principals against the principals acquired using the old mechanism. Unfortunately, they often differ. Because CAPS uses JS stack frames, any time we enter a compartment and do an operation (even throwing an Access-Denied exception) without running any JS code, we'll end up with a different principal.
Our security story is pretty darn tied to compartments at this point, so let's
just pull the trigger.
2012-06-28 23:47:55 +02:00
Bobby Holley
471ef74edf Bug 754202 - Pull object principals directly off the compartment and assert that behavior doesn't change. r=bz 2012-06-28 23:47:55 +02:00
Bobby Holley
3da2fdb7fa Bug 754202 - Fix content->chrome postMessage mochitest. r=bz This isn't something we actually support, and were using enablePrivilege to do it before. When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not very interesting) and the source window becomes null (which we do explicitly in nsGlobalWindow for chrome callers). So those tests stop being useful. 2012-06-28 23:47:55 +02:00
Saurabh Anand
a88bf282b6 Bug 722984 - nsBrowserGlue uses global private browsing service to make decisions; r=ehsan 2012-06-29 02:52:41 +05:30
Michal Novotny
6735dbcad7 Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith
--HG--
extra : rebase_source : 626a90178480b47f24956a86914fdc3e76cbd20b
2012-06-12 14:23:32 -07:00
Brian Smith
50de53bdaf Bug 764171: Fix crash in nsStorageStream by avoiding pre-buffering for items we will validate, r=honzab
--HG--
extra : rebase_source : e1229663f56643ef25805b26126893df51aaace7
2012-06-28 12:18:25 -07:00
Brian Smith
3c7495e4a0 Bug 760955 - Fix null pointer dereference in mozilla::net::nsHttpChannel::InstallOfflineCacheListener, r=hurley
--HG--
extra : rebase_source : 7cc662e898a48b05836441591b72587d8e988b2f
2012-06-12 14:25:24 -07:00
Brian Smith
d283191db1 Bug 760380 - Stop calling mOfflineCacheEntry->GetLastModified when processing response from normal cache, r=honzab
--HG--
extra : rebase_source : a649fa6e59638bf1e6d220cfc08960f7848a28ba
2012-06-12 14:23:06 -07:00
Wes Kocher
154cc27240 no bug - Update revision of Jetpack tests used on m-c to green things up. r=me 2012-06-28 14:28:23 -05:00
Ed Morley
4886fe3f3c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-28 15:02:03 +01:00
Jim Mathies
65b601bac4 merge backout 2012-06-28 07:29:26 -05:00
Jim Mathies
cd5e62eefd Bug 769212 - backout of bug 733630 due to bug 769212. r=backout 2012-06-28 07:29:15 -05:00
Mark Capella
08c39ca55b Bug 765110 - TextLeafAccessibleWrap is never instanciated, r=tbsaunde 2012-06-28 05:09:14 -04:00
Chris Pearce
560d593c08 Bug 760102 - Enable fullscreen API for web apps. r=vingtetun 2012-06-28 20:55:33 +12:00
Vivien Nicolas
714578e283 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Chris Pearce
407767521d Bug 762191 - Make video controls mute/volume widgets do nothing if the video doesn't have audio. r=jaws 2012-06-28 17:31:09 +12:00
Boris Zbarsky
b080cc3a18 Bug 558220 part 2. Fix a bug in the test HTTP header that caused it to misread headers when a packet boundary fell between the CR and LF at the end of a header value. r=waldo 2012-06-28 00:26:13 -04:00
Boris Zbarsky
6a3462cdd6 Bug 558220 part 1. Add more debugging spew to the test HTTP server. r=waldo 2012-06-28 00:26:12 -04:00
Masayuki Nakano
bacb625593 Bug 733630 Use native window border size if there is no content under mouse cursor r=jimm 2012-06-27 21:47:50 +09:00
Saurabh Anand
5e79fe788a Bug 722994 - globalOverlay.js uses global Private Browsing state to control display of a prompt; r=ehsan 2012-06-27 15:14:45 +05:30
Ehsan Akhgari
e9c88c4e63 Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky 2012-06-27 16:24:01 -04:00
Eddy Bruel
ea3e60175e Bug 70357 - Add Wrapper base class; r=bholley 2012-06-28 04:10:37 +02:00
Trevor Saunders
829d31a16c bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
Ryan VanderMeulen
9b1e597076 Merge m-c to inbound...again. 2012-06-27 20:16:43 -04:00
David Rajchenbach-Teller
6602b73b11 Bug 768381 - OS.Constants.Sys.Version should be OS.Constants.Sys.Name. r=yoric 2012-06-27 20:15:33 -04:00
David Rajchenbach-Teller
44b7a7150b Bug 768381 - Size of type mode_t depends on the platform. r=yoric 2012-06-27 20:15:33 -04:00
Christopher Finke
83c787ba35 Bug 763139 - Add the "DEPRECATED_" prefix to the LS_createLivemark function name. r=mak77 2012-06-27 20:15:33 -04:00
David Rajchenbach-Teller
b0fcfa6d82 Bug 760035 - Adapt main clients to async API (mobile FF). r=mbrubeck 2012-06-27 20:15:33 -04:00
Felipe Gomes
3475561154 Bug 767672. Enable smooth scrolling on webapp runtime. r=myk 2012-06-27 17:14:58 -07:00
Marco Castelluccio
3491e473c9 Bug 764172. Preserve profile when reinstalling webapp over existing installation. r=felipe 2012-06-27 17:14:55 -07:00
Steve Fink
eb11f4ed66 Bug 734215 - Typed array property access should allow proxies. r=luke 2012-06-25 17:22:37 -07:00
Peter Van der Beken
c523f2d06a Fix for bug 768669 (Move remaining DOM list proxy bindings from behind the pref). r=bz.
--HG--
extra : rebase_source : 738cd6df3aa353b682f931beaabde74de8c1a2bd
2012-06-22 12:34:26 +02:00
Peter Van der Beken
ac35c66b60 Fix for bug 768533 (Make mozilla::dom::Uint8ClampedArray::Create call JS_NewUint8ClampedArray). r=bz.
--HG--
extra : rebase_source : baaf7494f64a91a9315a6e1bed3f75239f8eab81
2012-06-27 11:24:46 +02:00
Peter Van der Beken
e18ac6a285 Fix for bug 768050 (Make TypedArray::Create take a wrapper cache and create JS objects in the compartment of the cache's wrapper). r=bz.
--HG--
extra : rebase_source : 3ec03b33913e14a113bf9283566a68fe3be5fe02
2012-06-25 18:37:46 +02:00
Ed Morley
97ccea1f07 Merge mozilla-central to mozilla-inbound 2012-06-27 11:35:03 +01:00
Brian Nicholson
9784b4c6f0 Bug 766867 - Use null-safe string comparison for oldURL. r=mbrubeck 2012-06-26 23:18:02 -07:00
Brian Nicholson
eafb7a19b9 Bug 762064 - Part 4: Add instance state support to MultiChoicePreference. r=blassey 2012-06-26 23:15:24 -07:00
Brian Nicholson
c636ea1613 Bug 762064 - Part 3: Add toast notification for cleared private data. r=blassey 2012-06-26 23:15:24 -07:00
Brian Nicholson
2a75281c83 Bug 762064 - Part 2: Enable clearing individual privacy items. r=mfinkle 2012-06-26 23:15:24 -07:00
Brian Nicholson
e81b8223a2 Bug 762064 - Part 1: Implement MultiChoicePreference. r=blassey 2012-06-26 23:15:23 -07:00
Yoshi Huang
5ad40fa4ad Bug 768428 - B2G RIL: REQUEST_GET_IMSI doesn't have response on Akami. r=philikon 2012-06-26 17:34:15 +02:00
Ed Morley
95c1dd9e55 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-27 11:29:26 +01:00
Jan Varga
1fddd6b475 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Phil Ringnalda
dcd5e0401d Back out e3ec1bc37d8c (bug 762561) for debug make check orange 2012-06-26 19:53:59 -07:00
Masayuki Nakano
a9a8364195 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Benoit Girard
0752a03cfe Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-26 17:57:43 -04:00
Gary Kwong
47c3b97093 Backout 431fa10c63a6 for orange. Thanks philor for pointing it out, r=orange 2012-06-26 18:19:55 -07:00