Граф коммитов

289375 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 6559feed97 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 13:27:59 +01:00
Bobby Holley f485a6c791 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 13:27:59 +01:00
Jim Mathies e21debf331 Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy 2012-11-02 06:54:44 -05:00
Graeme McCutcheon 7c6e0f8608 Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras 2012-10-11 09:50:41 +01:00
Graeme McCutcheon 4007709169 Bug 724513 - Part 2 - nsAppRunner shouldn't assume the deletion of invalid startup cache file succeeded. r=mwu 2012-10-23 17:46:51 +01:00
Graeme McCutcheon 75b6269d53 Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu 2012-10-11 09:17:15 +01:00
Hannes Verschore 87a6dd92fb Bug #807380: Report to the compiler the function is constructing when entering at a branch, r=dvander 2012-11-02 11:45:25 +01:00
Jonathan Kew bb8f6f0e44 bug 803030 - convert display to device pixels before creating the popup child view. r=smichaud 2012-10-18 11:38:26 +01:00
Chris Lord f3f7e1b020 Bug 797021 - Allow unsigned start parameter in NS_FOR_VISIBLE_BACKGROUND_LAYERS_BACK_TO_FRONT_WITH_RANGE. r=me
This was causing build failures on debug builds, as unsigned compare >= 0 is
always true.
2012-11-02 09:28:03 +00:00
Chris Lord f6f6bc2090 Bug 797021 - Reftest for multiple background content/border box clipping. r=roc 2012-11-02 08:35:39 +00:00
Chris Lord 6c37dfc536 Bug 797021 - Fix border clipping with multiple background layers. r=roc
Bug 786502 broke border clipping with multiple background layers as it stopped
iterating from the bottom-most layer when drawing, and thus skipped background
clip setting.
2012-11-02 08:35:32 +00:00
Chris Jones 061dec3e69 Bug 807142: Make containers for DisplayRemote behave like leaf layers when we're resolution-scaling. r=mattwoodrow 2012-11-02 00:13:08 -07:00
Shu-yu Guo f70dbc0250 Bug 807525 - Have embedjs.py append newlines when not present. (r=till) 2012-11-01 23:40:38 -07:00
David Anderson 6b1639d999 Update Yarr to WebKit rev 130234 (bug 740015, r=dmandelin). 2012-11-01 21:35:25 -07:00
Luke Wagner 555fb4ae35 Bug 805294 - Don't use the RegExpShared cache to track all live RegExpShareds (r=billm) 2012-11-01 21:27:07 -07:00
Ben Turner 038e0fa5f4 Bug 753981 - 'XHR in Web Workers bypasses Offline AppCache'. r=smaug. 2012-11-01 20:37:55 -07:00
Karl Tomlinson b51b4ca7f7 b=807728 Finish() only Xlib old surfaces r=roc
--HG--
extra : transplant_source : %DB%1B%92%BA%27%25%05%DE%B2-%E5j%EB%A8%06T%C8%24_%F5
2012-11-02 15:04:41 +13:00
Anthony Jones d9992f0b5d Bug 802787 - Work around misreported stride. r=cpeterson 2012-11-01 22:41:03 -04:00
Ryan VanderMeulen 72e40024f1 Merge m-c to inbound. 2012-11-01 22:40:34 -04:00
Ryan VanderMeulen 7e0c3a74ef Merge the last PGO-green inbound changeset to m-c. 2012-11-01 21:26:34 -04:00
Andrew Quartey d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Mats Palmgren dac41839af Bug 805153 - Check with the focus manager if our *content* is already focused. r=roc 2012-11-02 01:52:59 +01:00
Mats Palmgren 1a123c0b7d Bug 806056 - Add a frame bit that says if a frame is allowed to have abs/fixed pos. children when the style so indicates (position/transform usually). Copy the bit to next-in-flows. Don't call MarkAsAbsoluteContainingBlock for style changes on an existing frame unless that bit is set (style changes that recreates the frame resets it of course). Assert in MarkAs[Not]AbsoluteContainingBlock() that the bit is set. r=bz 2012-11-02 01:52:59 +01:00
Mats Palmgren 7eb78c7eb5 Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
Nicholas Nethercote 0a726cdb19 Bug 806283 - Split up and add native iterators to "object/misc" memory reports. r=jorendorff.
--HG--
extra : rebase_source : 867e178d0c921de9e144fb274e1c0d77c8845b81
2012-11-01 16:51:04 -07:00
Ryan VanderMeulen 357ab39ee9 Backout e35f252ca573 for mochitest-other orange.
CLOSED TREE
2012-11-01 19:31:02 -04:00
Gregor Wagner 5e3cfff15b Bug 807779 - [settings] allow readonly transactions. r=bent 2012-11-01 14:31:29 -07:00
Jonathan Griffin c4e87bc8f7 Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Benoit Jacob 0ed67f9ee7 Bug 806369 - Stagefright blacklisting. Also extends Android Gfxinfo to support blacklist rules by Android API version, Model, Product, Hardware, Manufacturer - r=joe,doublec 2012-11-01 17:13:10 -04:00
Erick Dransch 8a0ed325e5 bug 801986 - restore renderbuffer attachments on detach when necessary; r=bjacob 2012-10-31 15:11:40 -04:00
Chris Jones 4ac48c6333 Bug 807478 - fix timeout argument to waitFor(), r=cjones 2012-10-31 23:51:30 -07:00
Jim Chen 326f025bd7 Bug 805162 - l. Avoid unnecessarily setting selection, which can lead to side-effects in automated tests; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen b6ae6262b9 Bug 805162 - k. Use AutoIMEMask class to manage IME update masking variables; r=blassey 2012-11-01 16:11:03 -04:00
Jim Chen fa575ee5fa Bug 805162 - j. Implement GeckoEditable to encapsulate and marshal Gecko-Java IME communication; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen 5d6c93b431 Bug 805162 - i. Refactor DebugGeckoInputConnection to be smaller by using reflection; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen 175924643e Bug 805162 - h. Remove unused fields in GeckoInputConnection; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen bd6c2861ac Bug 805162 - g. Reimplement key events in GeckoInputConnection using GeckoEditable; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen 545278cfdc Bug 805162 - f. Reimplement InputConnection methods using GeckoEditable; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen a1955057d1 Bug 805162 - e. Implement GeckoEditableListener in GeckoInputConnection; r=cpeterson 2012-11-01 16:11:02 -04:00
Jim Chen e21d03744f Bug 805162 - d. Redefine and implement Gecko to Java IME notifications in widget; r=blassey 2012-11-01 16:11:02 -04:00
Jim Chen 596636582d Bug 805162 - c. Implement new Java to Gecko IME events in widget; r=blassey 2012-11-01 16:11:02 -04:00
Jim Chen 1ca53980b0 Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey 2012-11-01 16:11:02 -04:00
Jim Chen 3ec7856ec9 Bug 805162 - a. Expose GeckoAppShell only to Gecko-side IME interface; r=blassey 2012-11-01 16:11:02 -04:00
Benoit Girard 3199c21e12 Bug 805355 - Disabling screenshoting by default to fix startup crash in _pixman_implementation_fill. r=blassey 2012-11-01 16:04:55 -04:00
Jim Mathies 87bdde83e4 Bug 807756 - Fix bad gre paths in browser debugger jsm. r=gavin 2012-11-01 14:28:49 -05:00
Dão Gottwald df6e8c9772 Bug 807404 - Remove the 'switchingtabs' attribute after the next paint rather than depending on a synchronous layout flush. r=enn 2012-11-01 20:28:33 +01:00
Boris Zbarsky 51460ee660 Back out rev 2682f9a1fc58, bug 807222, because it assumes that people aren't putting completely broken stuff on Window, which b2g does. CLOSED TREE 2012-11-01 15:19:08 -04:00
Benoit Girard 9d5df74579 Bug 807311 - Add a CompileScript profile label. r=ehsan
--HG--
extra : rebase_source : 34ad974b46270487d6ae47c50d63479096413653
2012-11-01 14:50:56 -04:00
Boris Zbarsky ab8ad9588a Bug 807222. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Rob Wood 58d700003b Bug 807055 - Fix SMS test_timestamp.js random orange, update manifest; r=jgriffin, DONTBUILD(NPOTB) 2012-10-31 14:45:21 -04:00