Commit Graph

123183 Commits

Author SHA1 Message Date
Gregory Szorc
bab4f2e930 Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger 2013-02-25 12:47:17 -08:00
Gregory Szorc
7c93b1a42f Bug 784841 - Part 18b: Convert /b2g; r=ted f=Ms2ger 2013-02-25 12:47:17 -08:00
Gregory Szorc
ddc427fc66 Bug 784841 - Part 18a: Convert /accessible; r=glandium f=Ms2ger 2013-02-25 12:47:17 -08:00
Gregory Szorc
0c3801b322 Bug 784841 - Part 17: Handle unicode during packaging; r=glandium 2013-02-25 12:47:17 -08:00
Gregory Szorc
15c748cb14 Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium 2013-02-25 12:47:11 -08:00
Gregory Szorc
c0f7a6b9ad Bug 784841 - Part 15: Produce moz.build files for dom imported tests; r=Ms2ger
--HG--
rename : dom/imptests/writeMakefile.py => dom/imptests/writeBuildFiles.py
2013-02-25 12:46:50 -08:00
Ryan VanderMeulen
998cb2929c Merge the last PGO-green inbound changeset to m-c. 2013-02-25 14:16:48 -05:00
Nicholas D. Matsakis
64d8c2fb56 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
2790eb157e 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
Robert O'Callahan
de4bc36a35 Bug 843214. Make SourceMediaStream::AddTrack/AppendToTrack/HaveEnoughBuffered/DispatchWhenNotEnoughBuffered/EndTrack smoothly handle cases where track does not exist. r=jesup
--HG--
extra : rebase_source : adcfa0e92b5e498c597e16e013fdcba2dae4b8e5
2013-02-25 22:25:07 +13:00
Robert O'Callahan
77cfbea40e Bug 845526. Limit complexity of invalid region in RemoveFrameFromLayerManager. r=mattwoodrow
--HG--
extra : rebase_source : ca0a1d7928c991604d5979bcf35b4fcea462c31a
2013-02-27 16:05:32 +13:00
Robert O'Callahan
21bba7fe47 Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.

--HG--
extra : rebase_source : 815683c3027b906c4744495e8e1cfdb261e0c557
2013-02-28 00:50:28 +13:00
Robert O'Callahan
1b97fac2e6 Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
Fernando Jiménez
78d199cf94 Bug 844243 - Installing a packaged app in which the mini-manifest app name is different than the webapp manifest app name is allowed, but should not be; r=fabrice 2013-02-27 12:39:15 +01:00
Ed Morley
6e6164088a Merge mozilla-central to mozilla-inbound 2013-02-27 11:07:25 +00:00
Ed Morley
0ab42c2eb9 Backed out changeset d9d90bf85bcf (bug 845569) for bug839758.js assertions 2013-02-27 10:31:18 +00:00
Simon Montagu
fefdde4762 When unsetting dir=auto, don't clear the AncestorHasDirAuto flag on descendants if the parent itself has AncestorHasDirAuto set. Bug 844404, r=ehsan 2013-02-27 09:32:53 +02:00
Simon Montagu
f24942c07e Test for bug 844404 2013-02-27 09:32:50 +02:00
Simon Montagu
880ff19a9f Test for bug 841205 2013-02-27 09:32:48 +02:00
Alexander Surkov
0acc905b8e Bug 845095 - enable logging for states/test_tree.xul 2013-02-27 16:37:01 +09:00
Makoto Kato
40e6fe5a4d Bug 843992 - rename nsJISX4501 to nsJISX4051. r=masayuki
--HG--
rename : intl/lwbrk/src/jisx4501class.h => intl/lwbrk/src/jisx4051class.h
rename : intl/lwbrk/src/nsJISx4501LineBreaker.cpp => intl/lwbrk/src/nsJISx4051LineBreaker.cpp
rename : intl/lwbrk/src/nsJISx4501LineBreaker.h => intl/lwbrk/src/nsJISx4051LineBreaker.h
rename : intl/lwbrk/tools/anzx4501.html => intl/lwbrk/tools/anzx4051.html
rename : intl/lwbrk/tools/anzx4501.pl => intl/lwbrk/tools/anzx4051.pl
rename : intl/lwbrk/tools/jisx4501class.txt => intl/lwbrk/tools/jisx4051class.txt
rename : intl/lwbrk/tools/jisx4501simp.txt => intl/lwbrk/tools/jisx4051simp.txt
2013-02-27 16:04:38 +09:00
Tim Taubert
30a3ed0026 merge m-c to fx-team 2013-02-25 10:04:10 +01:00
Nicholas Nethercote
a5b0f7906e Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Phil Ringnalda
d00099ff16 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
a622234df9 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
a96c166f9a Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
535d766239 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Ehsan Akhgari
621cb2d14d 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
60360c9ef7 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
bb2637505a Bug 844482 - Watch for OOM disabling TI under CreateThisForFunction, r=dvander. 2013-02-25 15:21:13 -07:00
Brian Hackett
9516ebc71c Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem. 2013-02-25 15:17:12 -07:00
Kartikaya Gupta
6fc048316e Bug 843888 - Reduce LayerView overdraw by removing the background. r=sriram 2013-02-25 17:11:02 -05:00
Brian R. Bondy
0a16b248cb Bug 845008 - Metro's save file picker always throws on appendFilter. r=tabraldes 2013-02-25 16:56:45 -05:00
Bobby Holley
71a3669399 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
c3361bfc99 Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
256ed2c8ba 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
48bda79df5 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
a9b42a6db0 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
f82f71bb85 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
22266c42fe 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
3cd9119770 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
6406390443 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
bd8a4c71df 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
f82fd42806 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
Tim Taubert
49308ae82e Backed out changeset 4d74fe8e6560 (bug 842511) 2013-02-22 22:23:28 +01:00
Tim Taubert
59fd4b1047 Backed out changeset 7052d37a8b25 (bug 842512) 2013-02-22 22:23:27 +01:00
Tim Taubert
260e8d497c Backed out changeset 96d8ca0dd540 (bug 842511) 2013-02-22 22:23:25 +01:00
Tim Taubert
1f7ccc1c48 Bug 842511 - Fix xpcshell bustage; r=me 2013-02-22 21:17:44 +01:00
Tim Taubert
451d98d7f1 Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Tim Taubert
49aa971d09 Bug 842511 - Specify a character set for directory listings; r=Waldo 2013-02-22 19:56:14 +01:00