Commit Graph

112945 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
a341352f04 Bug 807822 - No noise added to completion request in some circumstances. r=dcamp 2012-11-03 01:53:11 +01:00
Gian-Carlo Pascutto
daa4d4e6ad Bug 807847 - Noise entries are erroneously entered into the misscache. r=dcamp 2012-11-03 01:53:10 +01:00
Gian-Carlo Pascutto
c38ef41d04 Bug 782106 - Disable the per-client randomization in the url-classifier. r=dcamp 2012-11-03 01:53:10 +01:00
Wes Johnston
9376ac9e48 Bug 807872 - Follow up to address description comment. r=gcp 2012-11-02 17:52:42 -07:00
Bobby Holley
8b06fa3c7e Bug 805807 - Rearchitect filtering policies so that check() doesn't throw on denial. r=mrbkap
This is another one of those annoying situaitons in XPConnect right now where we
can't ask a question without potentially throwing if the answer is no. There's
also a bunch of unused cruft in here (like the Perm*Access stuff), so this stuff
was ripe for a spring cleaning. Unfortunately, I wasn't able to divide this patch
up nicely. Sorry for the big diff. :-(

In a nutshell, this patch changes things so that Policy::check() just becomes
a predicate that says whether the access is allowed or not. There's the remote
possibility that one of the underlying JSAPI calls in a ::check() implementation
might throw, so callers to ::check() should check JS_IsExceptionPending
afterwards (this doesn't catch OOM, but we can just continue along until the
next OOM-triggering operation and throw there).

Aside from exceptional cases, callers should call Policy::deny if they want to
report the failure. Policy::deny returns success value that should be returned
to the wrapper's consumer.
2012-11-02 21:47:49 -03:00
Bobby Holley
c351c18d32 Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
There's really no reason to use the wishy-washy static COW Deny() here.

Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 21:47:49 -03:00
Wes Johnston
8ff1353b52 Bug 807872 - Add telemetry probes for database seizes. r=gcp 2012-11-02 17:44:20 -07:00
Ryan VanderMeulen
902212e8a0 Merge m-c to inbound. 2012-11-02 20:38:14 -04:00
Mike Habicher
a2479ba94d Bug 808030 - Make camera default to smallest non-0x0 thumbnail size with reduced quality. r=cjones 2012-11-02 19:53:40 -04:00
Andrea Marchesini
de1a8c19b0 Bug 807056 - BrowserElement* purgeHistory(). r=jlebar 2012-11-02 19:50:54 -04:00
Zach Carter
39d5a7ad62 Bug 804143 - [Identity] Make id flow OOP. r=benadida 2012-11-02 19:48:57 -04:00
Ryan VanderMeulen
2dc3b09305 Merge the last PGO-green inbound changeset to m-c. 2012-11-02 19:45:46 -04:00
Jason Orendorff
3556bc2bcd Change some GC tests to only check the output of findReferences in builds that actually have it. Fixing orange introduced by dc4f417ef79a (bug 805003). No bug, no_r=me, pushing to a CLOSED TREE.
--HG--
extra : rebase_source : a460dbedcfd32ed8f24a1fc9db10922fe182398f
2012-11-02 18:34:50 -05:00
Trevor Saunders
ffdc7ebf7f bug 808229 - rm a11yGeneric.h r=surkov 2012-11-02 19:20:39 -04:00
Terrence Cole
1fe5192896 Backed out changeset f0d7c7806a90 2012-11-02 16:00:27 -07:00
Trevor Saunders
1078ce3801 bug 808229 - remove the pointless use of the one remaining macro r=surkov 2012-11-02 18:52:56 -04:00
Terrence Cole
865ea27360 Bug 808181: Do not allow implicit conversion of Return<T>; r=jorendorff
This will allow the compiler to catch more usage errors.

--HG--
extra : rebase_source : b424e2a8dfb88a340fc298cd9a11cd5779664c9d
2012-11-02 15:48:08 -07:00
Trevor Saunders
e9211429c0 bug 808229 - remove unused NS_ENSURE_ macro and associated success error code r=surkov 2012-11-02 18:36:58 -04:00
Daniel Holbert
da9265efff Bug 784061: add crashtest for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:18 -07:00
Daniel Holbert
04c7908b09 Bug 612736: add crashtests for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:16 -07:00
Jonathan Griffin
207fa92e87 Bug 806138 - Disable permaorange test_voicemail_statuschanged.py, DONTBUILD(NPOTB) 2012-11-02 15:19:57 -07:00
Bill McCloskey
aa7be0f282 Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes (r=gwagner,till) 2012-11-02 15:06:56 -07:00
Trevor Saunders
721eb8a06b bug 808229 - inline the one use of the 2 arg runnable r=surkov 2012-11-02 18:06:27 -04:00
Trevor Saunders
1475054b0e bug 808229 - remove unused runnable macros r=surkov 2012-11-02 17:49:05 -04:00
Alexander Surkov
0b55b444d6 Bug 809751 - presentational table related elements referred or having global ARIA attributes must be accessible, r=tbsaunde 2012-11-10 19:26:58 +09:00
Alexander Surkov
40ed8b9452 Bug 628649 - remove obsolette xlink support, r=tbsaunde 2012-11-10 17:39:44 +09:00
Trevor Saunders
8a18462c3a bug 810554 - add logging 2012-11-10 00:36:36 -05:00
Anant Narayanan
b541c1dade Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 21:04:27 -08:00
Brian R. Bondy
3575d54ab6 Bug 795887 - Close cache on suspend_process_notification observer notifiations. r=michal 2012-11-09 10:34:03 -05:00
Brian R. Bondy
a0ee1a91ab Bug 795887 - Mirror existing sleep notification handling with process suspend notification handling. r=bsmedberg 2012-11-09 10:34:10 -05:00
Brian R. Bondy
d9bee4aec7 Bug 795887 - Document sleep and process suspend notifications. r=roc 2012-11-09 10:34:10 -05:00
Jesse Ruderman
4b65132129 Testcase for bug 806310. 2012-11-09 20:18:36 -08:00
L. David Baron
4eb72418fe Fix CheckFontCallback to match 'rem' unit changes. (Bug 806310) r=bzbarsky 2012-11-09 20:18:36 -08:00
Robert Strong
d030241e2d Bug 810509 - stub installer ping does not happen if user cancels while it is downloading. r=bbondy 2012-11-09 19:36:15 -08:00
Ben Turner
9572705866 Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Nathan Froyd
4e5b08cbda Backout fe44be80d09f (bug 810332) for Windows build bustage 2012-11-09 21:21:22 -05:00
Nathan Froyd
482199a5d6 Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones 2012-11-09 11:07:09 -05:00
Benoit Jacob
637a173e95 Bug 800612 - actually increase WebGL element array test repetitions, patch didnt apply cleanly - r=jgilbert 2012-11-09 20:49:15 -05:00
Wes Johnston
02e09f52e0 Bug 810415 - Support miniApp mode on samsung devices. r=mfinkle 2012-11-09 17:35:24 -08:00
Mike Habicher
abaad879d5 Bug 810440 - Add missing rotation parameter to SetupRecording function call, drop default parameter values. r=daleharvey 2012-11-09 20:32:10 -05:00
Philipp von Weitershausen
c7830976fa Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv 2012-11-09 20:32:10 -05:00
Seth Fowler
db5b4c84bf Bug 802849 - Refactor nsPresContext::MediaFeatureValuesChanged so that it can handle rebuilding style data for all callers. r=dbaron 2012-11-08 22:40:41 -08:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
9a60759573 Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-09 16:37:41 -08:00
Justin Lebar
8c926613e7 Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-09 16:37:41 -08:00
Justin Lebar
f2125bbc72 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.
2012-11-09 16:37:40 -08:00
Justin Lebar
aa329ec788 Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz 2012-11-09 16:37:40 -08:00
Justin Lebar
de0e89fed5 Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking 2012-11-09 16:37:40 -08:00
Justin Lebar
f72344a7a4 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-09 16:37:40 -08:00
Justin Lebar
19b287d268 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00