Commit Graph

1804 Commits

Author SHA1 Message Date
Jim Chen
11c50badc0 Bug 847983 - Skip script text nodes for content events; r=masayuki 2013-04-04 12:29:59 -04:00
Gabor Krizsanits
4995dd1d6c Bug 820170 - nsDOMEventTarget holds a global. r=smaug 2013-04-04 11:30:36 +02:00
Gabor Krizsanits
b999241fc8 Bug 820170 - using nsIGlobalObject in documents. r=smaug 2013-04-04 11:27:41 +02:00
Ryan VanderMeulen
f47a78e842 Backed out changesets 35ba787bc3db, e95379bbcfd5, and fff4886f812c (bug 847983) for build bustage on a CLOSED TREE. 2013-04-03 21:24:24 -04:00
Jim Chen
123c7df9d5 Bug 847983 - Try harder to get a valid frame; r=masayuki 2013-04-03 20:46:06 -04:00
Jim Chen
94cd9aa1ba Bug 847983 - Don't include empty elements at end of range; r=masayuki 2013-04-03 20:46:06 -04:00
Jim Chen
ddf313ccd9 Bug 847983 - Skip script text nodes for content events; r=masayuki 2013-04-03 20:46:06 -04:00
matekm
00c2965124 Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Nathan Froyd
6d6b3771e3 Bug 839103 - part 2 - enable chrome dispatching of nsIDOMEvents in nsAsyncDOMEvent; r=bz 2013-03-27 14:15:58 -04:00
Olli Pettay
1b5f0652a5 Bug 856413 - Once UIEvent#view property is read, value of UIEvent#view property will be null, r=Ms2ger
--HG--
extra : rebase_source : d033288850b3d9594510a34f12ba43fe3097d969
2013-04-02 19:46:06 +03:00
Matt Brubeck
0112a4cd84 Back out bug 839103 for build errors on a CLOSED TREE 2013-04-02 08:18:27 -07:00
Nathan Froyd
0ef2405f91 Bug 839103 - part 2 - enable chrome dispatching of nsIDOMEvents in nsAsyncDOMEvent; r=bz 2013-03-27 14:15:58 -04:00
Aryeh Gregor
e63483552d Bug 853449 - Dispatching an event that's already being dispatched should throw InvalidStateError; r=smaug 2013-04-02 17:10:45 +03:00
Boris Zbarsky
fc8c6e8cc0 Bug 854439. Expose the underlying JS object of scripted event listeners on nsIEventListenerInfo. r=smaug 2013-04-01 17:17:56 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Sid Stamm
9cffa13ce4 Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz 2012-10-15 13:54:58 -07:00
Olli Pettay
3dbdf49651 Bug 855091 - Paris bindings for WheelEvent, r=peterv
--HG--
extra : rebase_source : 44424189a53331aef5ca2779ede262adaccc9800
2013-03-28 16:57:33 +02:00
Olli Pettay
11116a7b45 Bug 855486 - Paris binding for TextEvent, r=peterv
--HG--
extra : rebase_source : 381bfe275ff445140cbd667e9c9bcc7844eb4579
2013-03-28 16:25:59 +02:00
Olli Pettay
7e7d4afa9a Bug 854999 - Paris binding for SimpleGestureEvent, r=peterv
--HG--
extra : rebase_source : af491dbd2066c00a80a46d8a82e65403d12e83d5
2013-03-28 16:24:28 +02:00
Olli Pettay
856e4310fd Bug 855241 - Paris binding for ScrollAreaEvent, r=peterv
--HG--
extra : rebase_source : e838d252fdeba9c4effd7abae2c7f9843552ed04
2013-03-28 16:21:20 +02:00
Olli Pettay
6ede492f33 Bug 855110 - Paris binding for XULCommandEvent, r=peterv
--HG--
extra : rebase_source : cf971d766e2b07a56b0c8b79d1109f6d77eaad27
2013-03-28 16:19:10 +02:00
Olli Pettay
b355e7f232 Bug 855522 - Paris binding for ClipboardEvent, r=peterv
--HG--
extra : rebase_source : d88764afac5e7594d16c4d6625b18ec0b75440f2
2013-03-28 16:11:21 +02:00
Olli Pettay
91a593cfe1 Bug 854573 - Paris binding for CompositionEvent, r=peterv
--HG--
extra : rebase_source : 3e04e198a329649d7e1f306a31cf96485f0afc0d
2013-03-26 13:45:45 +02:00
Olli Pettay
509211e490 Bug 847590 - Paris binding for BeforeUnloadEvent, r=peterv
--HG--
extra : rebase_source : d249e7a7e61c39ccba52a10234e2260b048c941d
2013-03-26 13:45:39 +02:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
David Zbarsky
9a11ed834c Bug 847007: Remove nsIDocument includes r=Ms2ger 2013-03-21 20:05:19 -04:00
Terrence Cole
5f4e4d162b Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Ted Mielczarek
bc92001c0b bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Aryeh Gregor
a2d0d2fa32 Bug 852115 - initEvent should unset defaultPrevented; r=smaug 2013-03-20 16:15:58 +02:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
8b11739fc1 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Ehsan Akhgari
7ea6b92950 Bug 851073 - Move MouseEvent to Web IDL; r=smaug
--HG--
extra : rebase_source : 2b9f8e4f83a980838599bc4c0b6722651891c413
2013-03-14 11:30:47 -04:00
Bobby Holley
987ce68a69 Bug 851418 - Unscope the pusher in CompileEventHandlerInternal. r=mrbkap 2013-03-18 14:30:15 -07:00
Olli Pettay
84399f01de Bug 851996, Simplify MessageEvent's jsval handling, r=mccr8
--HG--
extra : rebase_source : d9c6b59555d6672c03068e9c5bae65712007515a
2013-03-18 16:50:37 +01:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Ms2ger
2ef57946b1 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
6da7a4d4da Bug 851134 - Part b: Implement the EventTarget getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +01:00
Ms2ger
f1fde4cfd5 Bug 851134 - Part a: Implement the primitive getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug 2013-03-17 08:55:17 +01:00
Ms2ger
ded9d214d0 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Jose Cortes
4091f6c1e4 Bug 842186 - Replace use of jsval with JS::Value in cpp and h files in the content/events directory. r=jwalden
--HG--
extra : rebase_source : b1436faef9ffb4c9396d97d956c1a8ede7a2ad20
2013-03-16 16:39:51 -07:00
L. David Baron
f283644eea Bug 850559: Fix tests that call advanceTimeAndRefresh without calling restoreNormalRefresh. r=vlad 2013-03-15 14:40:37 -07:00
Olli Pettay
9c45356a76 Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : 7e20d191d214a1ac8eea2b6cb51718fafd5d0555
2013-03-14 23:18:20 +02:00
Olli Pettay
488fc5e798 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : 0540a60c6a6d3ac1bef6df399e3feb7040f92a26
2013-03-14 23:16:13 +02:00
Olli Pettay
be6e8cf113 Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : 5987a31b2700481c17b0f430cd66c6e1bb7881e5
2013-03-14 23:16:03 +02:00
Masayuki Nakano
68f1050915 Bug 829952 Reimplement system scroll speed override stuff for D3E WheelEvent feedback=avih, r=smaug+roc, sr=roc 2013-03-15 18:03:16 +09:00
Gene Lian
83b9eea84a Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 6, dispatch MMS events). r=vicamo,mounir sr=sicking a=leo+ 2013-03-09 15:22:42 +08:00
Ed Morley
f2b1addbf9 Backed out changeset 46ba7eb77ae1 (bug 847589) for crashes on a CLOSED TREE 2013-03-14 13:25:28 +00:00
Ed Morley
42d2e301a0 Backed out changeset 6ab8497cb00f (bug 847599) 2013-03-14 13:23:32 +00:00
Ed Morley
0708b1cd92 Backed out changeset ea13caf078a7 (bug 847586) 2013-03-14 13:23:28 +00:00
Olli Pettay
2b6f518d2b Bug 847586 - Paris binding for MutationEvent, r=Ms2ger
--HG--
extra : rebase_source : ce847b7cef923334274474e34db66158c110646c
2013-03-14 13:31:54 +02:00
Olli Pettay
78f48977b6 Bug 847599 - Paris binding for TransitionEvent, r=Ms2ger
--HG--
extra : rebase_source : ac215dccab4fcf5a802669584eaa71168a73e085
2013-03-14 13:07:02 +02:00
Olli Pettay
d8cd39e476 Bug 847589 - Paris binding for AnimationEvent, r=Ms2ger
--HG--
extra : rebase_source : abe968ca08b2f2bed4355e1fd69ea4f005689fd8
2013-03-14 13:03:00 +02:00
Olli Pettay
47bb119d1d Bug 847591 - Paris binding for CommandEvent, r=peterv
--HG--
extra : rebase_source : f633d3c91764c38f7cec9a9e1c192773e3ea6f7f
2013-03-13 23:05:32 +02:00
Olli Pettay
cfb9cd3f1d Bug 847583 - Paris binding for MessageEvent, r=peterv
--HG--
extra : rebase_source : 1f43c32d1dd2e05a745fe105d5b7156148b3b900
2013-03-13 22:18:36 +02:00
Olli Pettay
5cc732201d Bug 847585 - Paris binding for UIEvent, r=peterv
--HG--
extra : rebase_source : 01c588b769f9a3fa0ed435b67b0e07dff4dda179
2013-03-13 22:02:32 +02:00
Jeff Walden
cc0ac55d6b Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
0bfefb7eed Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Neil Deakin
615637590a Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Neil Deakin
3bb302fb42 Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug 2013-03-11 11:49:48 -04:00
Trevor Saunders
43728598df bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Jonathan Watt
edc68e5cc4 Bug 849855 - Expose BaseEventFlags::mMultipleActionsPrevented to chrome JS. r=smaug. 2013-03-12 11:28:17 +00:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Mats Palmgren
3113ab0c9a Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Olli Pettay
25044dfc64 Bug 844313 - Call GC more likely when there are lots of Events to collect, r=mccr8
--HG--
extra : rebase_source : 675ad0e5b5e22b3ccc1ec2bddac7048df57f522a
2013-03-07 20:53:19 +02:00
Jon Coppeard
8d5fd16382 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
fe417ad697 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
fa71007e65 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Nicholas Nethercote
15094e5615 Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache (2nd attempt). r=smaug.
--HG--
extra : rebase_source : c46d667fbcc56bdc1826ea61bc62f656f79c3919
2013-03-04 20:59:29 -08:00
Jonathan Kew
3278f07503 bug 799523 pt 3 - work around fullscreen window-size error (bug 729011) by calculating center in integer CSS pixels instead of device pixels. r=bz 2013-03-06 17:16:55 +00:00
Jonathan Kew
9bdd635163 bug 799523 pt 1 - avoid mixing CSS-pix and device-pix coordinates in GetWindowInnerRectCenter. r=bz 2013-03-06 17:16:08 +00:00
Phil Ringnalda
7fbba09df0 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
3de595d32e bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Masatoshi Kimura
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Olli Pettay
58810c25e8 Bug 847600 - Remove SVGEvent, r=jwatt
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
Masayuki Nakano
11b866300f Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
b34fa8551e Bug 558976 part.1 Merge nsIWidget::ResetInputState(), nsIWidget::CancelComposition(), nsIWidget::OnIMEFocusChange() and nsIWidget::OnIMESelectionChange() r=roc, sr=roc 2013-03-06 15:14:31 +09:00
Ryan VanderMeulen
b3de841db6 Backed out changeset 74eaeeec2b9d (bug 847236) for crashes on a CLOSED TREE. 2013-03-04 22:46:22 -05:00
Nicholas Nethercote
b8ddb9a469 Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache. r=smaug.
--HG--
extra : rebase_source : 05e8756f0270ac7ed0b10f1ceb2f2825fa7bc6ae
2013-03-03 16:02:11 -08:00
William Chen
f3658e2a5e Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Nathan Froyd
e21cdea3c4 Bug 850270 - write a request's rectangle directly in nsDOMNotifyPaintEvent; r=smaug 2013-03-12 13:26:48 -04:00
Mounir Lamouri
2bea4e4640 Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
aa0fed2e03 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Peter Van der Beken
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Bobby Holley
51ba6ef50d Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
9190ce39d5 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
997dcc7d65 Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Masatoshi Kimura
0f451ab067 Bug 843489 - Drop support for .createEvent("progressevent"). r=smaug 2013-02-23 14:49:59 +09:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ryan VanderMeulen
858de2ee46 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Trevor Saunders
70d157e13c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Randy Lin
2887f23f47 Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
ef3a9cb704 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Masayuki Nakano
d7c9686558 Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug 2013-02-13 14:47:19 +09:00
Ryan VanderMeulen
1568f7d987 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley
363a88b529 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
70a369794a Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
b55e2ecc2b Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Mounir Lamouri
0158c575f8 Bug 840031 - Use IsTextControl() in nsEventStateManager.cpp. r=smaug 2013-02-12 16:41:58 +00:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Robert Strong
5c07fa06f7 Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
e5e20d9c36 Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc 2013-02-08 13:56:50 -08:00
Bobby Holley
c1612afa13 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Mats Palmgren
0b57a2f709 Bug 838931 - Don't include nsIFrameTraversal.h since it's not used in this file anymore. r=dholbert 2013-02-07 21:07:53 -05:00
Brad Lassey
16fe066050 bug 674739 - Implement DOM3 KeyboardEvent types for volume controls r=masayuki, sr=smaug 2013-02-04 15:50:41 -05:00
Vicamo Yang
f1c896b374 Bug 835148: Implement SmsEvent using event generator. r=smaug
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Boris Zbarsky
e4b4da3503 Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Masayuki Nakano
bed575604c Bug 838001 IME management code should use root widget instead of the nearest widget of the PresContext r=smaug 2013-02-06 11:50:02 +09:00
Alex Vincent
c1d7d36582 Bug 833879 - Move layout/xul/base/src/tree/ to layout/xul/tree, layout/xul/base/src/grid to layout/xul/grid. r=roc
--HG--
rename : layout/xul/base/src/grid/Makefile.in => layout/xul/grid/Makefile.in
rename : layout/xul/base/src/grid/crashtests/306911-crash.xul => layout/xul/grid/crashtests/306911-crash.xul
rename : layout/xul/base/src/grid/crashtests/306911-grid-testcases.xul => layout/xul/grid/crashtests/306911-grid-testcases.xul
rename : layout/xul/base/src/grid/crashtests/306911-grid-testcases2.xul => layout/xul/grid/crashtests/306911-grid-testcases2.xul
rename : layout/xul/base/src/grid/crashtests/311710-1.xul => layout/xul/grid/crashtests/311710-1.xul
rename : layout/xul/base/src/grid/crashtests/312784-1.xul => layout/xul/grid/crashtests/312784-1.xul
rename : layout/xul/base/src/grid/crashtests/313173-1-inner.xul => layout/xul/grid/crashtests/313173-1-inner.xul
rename : layout/xul/base/src/grid/crashtests/313173-1.html => layout/xul/grid/crashtests/313173-1.html
rename : layout/xul/base/src/grid/crashtests/321066-1.xul => layout/xul/grid/crashtests/321066-1.xul
rename : layout/xul/base/src/grid/crashtests/321073-1.xul => layout/xul/grid/crashtests/321073-1.xul
rename : layout/xul/base/src/grid/crashtests/382750-1.xul => layout/xul/grid/crashtests/382750-1.xul
rename : layout/xul/base/src/grid/crashtests/400790-1.xul => layout/xul/grid/crashtests/400790-1.xul
rename : layout/xul/base/src/grid/crashtests/423802-crash.xul => layout/xul/grid/crashtests/423802-crash.xul
rename : layout/xul/base/src/grid/crashtests/crashtests.list => layout/xul/grid/crashtests/crashtests.list
rename : layout/xul/base/src/grid/examples/borderedcolumns.xul => layout/xul/grid/examples/borderedcolumns.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns.xul => layout/xul/grid/examples/borderedrowscolumns.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns2.xul => layout/xul/grid/examples/borderedrowscolumns2.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns3.xul => layout/xul/grid/examples/borderedrowscolumns3.xul
rename : layout/xul/base/src/grid/examples/bordermargincolumns1.xul => layout/xul/grid/examples/bordermargincolumns1.xul
rename : layout/xul/base/src/grid/examples/collapsetest.xul => layout/xul/grid/examples/collapsetest.xul
rename : layout/xul/base/src/grid/examples/divcolumngrid.xul => layout/xul/grid/examples/divcolumngrid.xul
rename : layout/xul/base/src/grid/examples/divrowgrid.xul => layout/xul/grid/examples/divrowgrid.xul
rename : layout/xul/base/src/grid/examples/dynamicgrid.xul => layout/xul/grid/examples/dynamicgrid.xul
rename : layout/xul/base/src/grid/examples/flexgroupgrid.xul => layout/xul/grid/examples/flexgroupgrid.xul
rename : layout/xul/base/src/grid/examples/javascriptappend.xul => layout/xul/grid/examples/javascriptappend.xul
rename : layout/xul/base/src/grid/examples/jumpygrid.xul => layout/xul/grid/examples/jumpygrid.xul
rename : layout/xul/base/src/grid/examples/nestedrows.xul => layout/xul/grid/examples/nestedrows.xul
rename : layout/xul/base/src/grid/examples/rowspan.xul => layout/xul/grid/examples/rowspan.xul
rename : layout/xul/base/src/grid/examples/scrollingcolumns.xul => layout/xul/grid/examples/scrollingcolumns.xul
rename : layout/xul/base/src/grid/examples/scrollingrows.xul => layout/xul/grid/examples/scrollingrows.xul
rename : layout/xul/base/src/grid/examples/splitter.xul => layout/xul/grid/examples/splitter.xul
rename : layout/xul/base/src/grid/nsGrid.cpp => layout/xul/grid/nsGrid.cpp
rename : layout/xul/base/src/grid/nsGrid.h => layout/xul/grid/nsGrid.h
rename : layout/xul/base/src/grid/nsGridCell.cpp => layout/xul/grid/nsGridCell.cpp
rename : layout/xul/base/src/grid/nsGridCell.h => layout/xul/grid/nsGridCell.h
rename : layout/xul/base/src/grid/nsGridLayout2.cpp => layout/xul/grid/nsGridLayout2.cpp
rename : layout/xul/base/src/grid/nsGridLayout2.h => layout/xul/grid/nsGridLayout2.h
rename : layout/xul/base/src/grid/nsGridRow.cpp => layout/xul/grid/nsGridRow.cpp
rename : layout/xul/base/src/grid/nsGridRow.h => layout/xul/grid/nsGridRow.h
rename : layout/xul/base/src/grid/nsGridRowGroupFrame.cpp => layout/xul/grid/nsGridRowGroupFrame.cpp
rename : layout/xul/base/src/grid/nsGridRowGroupFrame.h => layout/xul/grid/nsGridRowGroupFrame.h
rename : layout/xul/base/src/grid/nsGridRowGroupLayout.cpp => layout/xul/grid/nsGridRowGroupLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowGroupLayout.h => layout/xul/grid/nsGridRowGroupLayout.h
rename : layout/xul/base/src/grid/nsGridRowLayout.cpp => layout/xul/grid/nsGridRowLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowLayout.h => layout/xul/grid/nsGridRowLayout.h
rename : layout/xul/base/src/grid/nsGridRowLeafFrame.cpp => layout/xul/grid/nsGridRowLeafFrame.cpp
rename : layout/xul/base/src/grid/nsGridRowLeafFrame.h => layout/xul/grid/nsGridRowLeafFrame.h
rename : layout/xul/base/src/grid/nsGridRowLeafLayout.cpp => layout/xul/grid/nsGridRowLeafLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowLeafLayout.h => layout/xul/grid/nsGridRowLeafLayout.h
rename : layout/xul/base/src/grid/nsIGridPart.h => layout/xul/grid/nsIGridPart.h
rename : layout/xul/base/src/grid/reftests/column-sizing-1-ref.xul => layout/xul/grid/reftests/column-sizing-1-ref.xul
rename : layout/xul/base/src/grid/reftests/column-sizing-1.xul => layout/xul/grid/reftests/column-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/not-full-basic-ref.xhtml => layout/xul/grid/reftests/not-full-basic-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-basic.xul => layout/xul/grid/reftests/not-full-basic.xul
rename : layout/xul/base/src/grid/reftests/not-full-grid-pack-align.xul => layout/xul/grid/reftests/not-full-grid-pack-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-align-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-align-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-align.xul => layout/xul/grid/reftests/not-full-row-group-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-direction-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-direction-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-direction.xul => layout/xul/grid/reftests/not-full-row-group-direction.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-pack-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-pack-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-pack.xul => layout/xul/grid/reftests/not-full-row-group-pack.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-align.xul => layout/xul/grid/reftests/not-full-row-leaf-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-direction.xul => layout/xul/grid/reftests/not-full-row-leaf-direction.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-pack-ref.xhtml => layout/xul/grid/reftests/not-full-row-leaf-pack-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-pack.xul => layout/xul/grid/reftests/not-full-row-leaf-pack.xul
rename : layout/xul/base/src/grid/reftests/reftest.list => layout/xul/grid/reftests/reftest.list
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-1.xul => layout/xul/grid/reftests/row-or-column-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-2.xul => layout/xul/grid/reftests/row-or-column-sizing-2.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-3.xul => layout/xul/grid/reftests/row-or-column-sizing-3.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-4.xul => layout/xul/grid/reftests/row-or-column-sizing-4.xul
rename : layout/xul/base/src/grid/reftests/row-sizing-1-ref.xul => layout/xul/grid/reftests/row-sizing-1-ref.xul
rename : layout/xul/base/src/grid/reftests/row-sizing-1.xul => layout/xul/grid/reftests/row-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/scrollable-columns-ref.xhtml => layout/xul/grid/reftests/scrollable-columns-ref.xhtml
rename : layout/xul/base/src/grid/reftests/scrollable-columns.xul => layout/xul/grid/reftests/scrollable-columns.xul
rename : layout/xul/base/src/grid/reftests/scrollable-rows-ref.xhtml => layout/xul/grid/reftests/scrollable-rows-ref.xhtml
rename : layout/xul/base/src/grid/reftests/scrollable-rows.xul => layout/xul/grid/reftests/scrollable-rows.xul
rename : layout/xul/base/src/grid/reftests/sizing-2d-ref.xul => layout/xul/grid/reftests/sizing-2d-ref.xul
rename : layout/xul/base/src/grid/reftests/sizing-2d.xul => layout/xul/grid/reftests/sizing-2d.xul
rename : layout/xul/base/src/grid/reftests/z-order-1-ref.xul => layout/xul/grid/reftests/z-order-1-ref.xul
rename : layout/xul/base/src/grid/reftests/z-order-1.xul => layout/xul/grid/reftests/z-order-1.xul
rename : layout/xul/base/src/grid/reftests/z-order-2-ref.xul => layout/xul/grid/reftests/z-order-2-ref.xul
rename : layout/xul/base/src/grid/reftests/z-order-2.xul => layout/xul/grid/reftests/z-order-2.xul
rename : layout/xul/base/src/tree/src/Makefile.in => layout/xul/tree/Makefile.in
rename : layout/xul/base/src/tree/src/crashtests/307298-1.xul => layout/xul/tree/crashtests/307298-1.xul
rename : layout/xul/base/src/tree/src/crashtests/309732-1.xul => layout/xul/tree/crashtests/309732-1.xul
rename : layout/xul/base/src/tree/src/crashtests/309732-2.xul => layout/xul/tree/crashtests/309732-2.xul
rename : layout/xul/base/src/tree/src/crashtests/366583-1.xul => layout/xul/tree/crashtests/366583-1.xul
rename : layout/xul/base/src/tree/src/crashtests/380217-1.xul => layout/xul/tree/crashtests/380217-1.xul
rename : layout/xul/base/src/tree/src/crashtests/382444-1-inner.html => layout/xul/tree/crashtests/382444-1-inner.html
rename : layout/xul/base/src/tree/src/crashtests/382444-1.html => layout/xul/tree/crashtests/382444-1.html
rename : layout/xul/base/src/tree/src/crashtests/391178-1.xhtml => layout/xul/tree/crashtests/391178-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/391178-2.xul => layout/xul/tree/crashtests/391178-2.xul
rename : layout/xul/base/src/tree/src/crashtests/393665-1.xul => layout/xul/tree/crashtests/393665-1.xul
rename : layout/xul/base/src/tree/src/crashtests/399227-1.xul => layout/xul/tree/crashtests/399227-1.xul
rename : layout/xul/base/src/tree/src/crashtests/399227-2.xul => layout/xul/tree/crashtests/399227-2.xul
rename : layout/xul/base/src/tree/src/crashtests/399692-1.xhtml => layout/xul/tree/crashtests/399692-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/399715-1.xhtml => layout/xul/tree/crashtests/399715-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/409807-1.xul => layout/xul/tree/crashtests/409807-1.xul
rename : layout/xul/base/src/tree/src/crashtests/414170-1.xul => layout/xul/tree/crashtests/414170-1.xul
rename : layout/xul/base/src/tree/src/crashtests/430394-1.xul => layout/xul/tree/crashtests/430394-1.xul
rename : layout/xul/base/src/tree/src/crashtests/454186-1.xul => layout/xul/tree/crashtests/454186-1.xul
rename : layout/xul/base/src/tree/src/crashtests/479931-1.xhtml => layout/xul/tree/crashtests/479931-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/509602-1-overlay.xul => layout/xul/tree/crashtests/509602-1-overlay.xul
rename : layout/xul/base/src/tree/src/crashtests/509602-1.xul => layout/xul/tree/crashtests/509602-1.xul
rename : layout/xul/base/src/tree/src/crashtests/601427.html => layout/xul/tree/crashtests/601427.html
rename : layout/xul/base/src/tree/src/crashtests/crashtests.list => layout/xul/tree/crashtests/crashtests.list
rename : layout/xul/base/src/tree/public/nsITreeBoxObject.idl => layout/xul/tree/nsITreeBoxObject.idl
rename : layout/xul/base/src/tree/public/nsITreeColumns.idl => layout/xul/tree/nsITreeColumns.idl
rename : layout/xul/base/src/tree/public/nsITreeContentView.idl => layout/xul/tree/nsITreeContentView.idl
rename : layout/xul/base/src/tree/public/nsITreeSelection.idl => layout/xul/tree/nsITreeSelection.idl
rename : layout/xul/base/src/tree/public/nsITreeView.idl => layout/xul/tree/nsITreeView.idl
rename : layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp => layout/xul/tree/nsTreeBodyFrame.cpp
rename : layout/xul/base/src/tree/src/nsTreeBodyFrame.h => layout/xul/tree/nsTreeBodyFrame.h
rename : layout/xul/base/src/tree/src/nsTreeBoxObject.cpp => layout/xul/tree/nsTreeBoxObject.cpp
rename : layout/xul/base/src/tree/src/nsTreeBoxObject.h => layout/xul/tree/nsTreeBoxObject.h
rename : layout/xul/base/src/tree/src/nsTreeColFrame.cpp => layout/xul/tree/nsTreeColFrame.cpp
rename : layout/xul/base/src/tree/src/nsTreeColFrame.h => layout/xul/tree/nsTreeColFrame.h
rename : layout/xul/base/src/tree/src/nsTreeColumns.cpp => layout/xul/tree/nsTreeColumns.cpp
rename : layout/xul/base/src/tree/src/nsTreeColumns.h => layout/xul/tree/nsTreeColumns.h
rename : layout/xul/base/src/tree/src/nsTreeContentView.cpp => layout/xul/tree/nsTreeContentView.cpp
rename : layout/xul/base/src/tree/src/nsTreeContentView.h => layout/xul/tree/nsTreeContentView.h
rename : layout/xul/base/src/tree/src/nsTreeImageListener.cpp => layout/xul/tree/nsTreeImageListener.cpp
rename : layout/xul/base/src/tree/src/nsTreeImageListener.h => layout/xul/tree/nsTreeImageListener.h
rename : layout/xul/base/src/tree/src/nsTreeSelection.cpp => layout/xul/tree/nsTreeSelection.cpp
rename : layout/xul/base/src/tree/src/nsTreeSelection.h => layout/xul/tree/nsTreeSelection.h
rename : layout/xul/base/src/tree/src/nsTreeStyleCache.cpp => layout/xul/tree/nsTreeStyleCache.cpp
rename : layout/xul/base/src/tree/src/nsTreeStyleCache.h => layout/xul/tree/nsTreeStyleCache.h
rename : layout/xul/base/src/tree/src/nsTreeUtils.cpp => layout/xul/tree/nsTreeUtils.cpp
rename : layout/xul/base/src/tree/src/nsTreeUtils.h => layout/xul/tree/nsTreeUtils.h
2013-02-04 07:11:49 -05:00
Mounir Lamouri
9565607ae2 Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/events/. r=smaug 2013-01-23 19:39:34 +00:00
Jeff Walden
582b2e961d Bug 835648 - Move typed enum support to a new header. r=Ms2ger 2013-01-28 16:33:17 -08:00
Ryan VanderMeulen
18cfd86d7e Backed out changeset 3eb633a97c1f (bug 835648) for suspected Windows orange on a CLOSED TREE. 2013-01-29 19:01:45 -05:00
Jeff Walden
129a025dee Bug 835648 - Move typed enum support to a new header. r=Ms2ger
--HG--
extra : rebase_source : 8c912fba889c1c5435e3619714071502fbfb30a3
2013-01-28 16:33:17 -08:00
Boris Zbarsky
60309d1fc9 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
9b5a16619b Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
Edwin Casasola
30e8b06b43 Bug 835171 - get rid of remaining traces of nsPIDOMEventTarget; r=smaug 2013-01-29 11:46:07 +01:00
Olli Pettay
eeb0d5b6b1 Bug 834417, don't even try to open context menu without widget, r=jst 2013-01-24 23:19:15 +02:00
Mounir Lamouri
78aa4c4e95 Bug 819871 - Make ":-moz-placeholder" parsable but without any effect on styling. r=dbaron,bz 2013-01-24 09:30:28 +00:00
Bobby Holley
86175f16d4 Bug 832041 - Actually push code for the followup. r=doh 2013-01-23 07:18:51 +01:00
Bobby Holley
cec2ed5339 Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz 2013-01-23 07:12:50 +01:00
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
4e2a77b182 bug 829288 - remove extra ';'s in content/ r=ehsan 2013-01-10 02:32:03 -05:00
Mounir Lamouri
6393630aee Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug 2013-01-08 17:10:00 +00:00
William Chen
8fc8c7cc9a Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey 2013-01-08 09:36:05 -08:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Masayuki Nakano
dfe3307bf9 Bug 819252 WheelEvent along x-axis with a modifier key on Mac shouldn't cause zoom action for not preventing following horizontal swip event which will cause going back/forward in the history r=smaug+smichaud 2013-01-05 21:14:27 +09:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
William Chen
7cd5470029 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Trevor Saunders
96c9daa6be bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Ryan VanderMeulen
743cecf4c4 Merge m-c to inbound. 2013-01-03 17:01:32 -05:00
Olli Pettay
d8a5030410 Bug 816340 - Propagate events to chrome even if there is a disabled form control in the event target chain, r=jst,gavin 2013-01-03 17:17:36 +02:00
Robert O'Callahan
f9b9491b81 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Raphael Catolino
957775fb4a Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir 2012-12-27 16:06:53 +00:00
Peter Van der Beken
6b82e32e41 Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Ms2ger
1db66739bf Merge m-c to inbound. 2012-12-22 14:42:37 +01:00
Ms2ger
4e7e2a5d51 Merge PGO-green changeset from inbound to m-c. 2012-12-22 12:06:37 +01:00
Ms2ger
e1d87b9f1f Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Ms2ger
962b5131ac Bug 796902 - Part c: Implement Paris bindings for PaintRequest; r=bent 2012-12-22 09:16:55 +01:00
Ms2ger
cb548afc52 Bug 796902 - Part b: Make nsPaintRequest implement nsWrapperCache; r=bent 2012-12-22 09:04:33 +01:00
Ms2ger
ea9a7704ff Bug 796902 - Part a: Make nsPaintRequestList hold a list of nsPaintRequests instead of nsIDOMPaintRequests; r=bent 2012-12-22 09:04:33 +01:00
Boris Zbarsky
20a6d96dc4 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Gavin Sharp
001499e5ee Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures 2012-12-21 18:50:00 -05:00
William Chen
b1c9a409b2 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent 2012-11-01 11:18:08 -07:00
Masayuki Nakano
2455263ab2 Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
160a2495d0 Bug 813445 part.13 nsEventDispatcher shouldn't use the flags defined in nsGUIEvent.h r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
322db055c2 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
8ef3cf1583 Bug 813445 part.11 Don't use NS_EVENT_FLAG_NO_CONTENT_DISPATCH for nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
b5bfba81cc Bug 813445 part.10 Remove NS_EVENT_FLAG_DONT_FORWARD_CROSS_PROCESS and NS_EVENT_RETARGET_TO_NON_NATIVE_ANONYMOUS r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
0b4728f158 Bug 813445 part.9 Remove NS_EVENT_FLAG_EXCEPTION_THROWN r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
0dced195ab Bug 813445 part.8 Remove NS_EVENT_FLAG_SYNTHETIC_TEST_EVENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
f214472f22 Bug 813445 part.7 Remove NS_EVENT_DISPATCHED and NS_EVENT_FLAG_DISPATCHING r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
e26d8738b2 Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
170ab43d48 Bug 813445 part.4 Remove NS_EVENT_FLAG_STOP_DISPATCH and NS_EVENT_FLAG_STOP_DISPATCH_IMMEDIATELY r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
792137f340 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
28cc7d378c Bug 813445 part.2 Don't use NS_EVENT_FLAG_BUBBLE and NS_EVENT_FLAG_CAPTURE for nsEvent::flags r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
eb6b871bcb Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Ms2ger
f522f4fcde No bug - Fix typo in comment. DONTBUILD. 2012-12-15 14:10:46 +01:00
Masatoshi Kimura
4a07dc4302 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Boris Zbarsky
7cbdd79ac6 Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking 2012-12-13 17:08:44 -05:00
Mats Palmgren
07d94a3093 Bug 819766 - Fix operator< ambiguity. r=smaug 2012-12-09 19:28:49 +01:00
Masatoshi Kimura
9370910259 Bug 786120 - Implement mousewheel.*.action.override_x. r=smaug 2012-12-08 13:08:19 +09:00
Boris Zbarsky
52ea909e8e Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv 2012-12-06 20:39:51 -05:00
Jim Chen
37ce65e628 Bug 811755 - Send notification when BR nodes become content/non-content; r=masayuki 2012-12-05 11:09:56 -05:00
Jim Chen
aa04223795 Bug 811755 - Use PreContentIterator to correctly handle boundary cases; r=masayuki 2012-12-05 11:09:55 -05:00
Mats Palmgren
60ccae9fe3 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Ms2ger
25360fe5d5 Bug 810669 - Cleanup GetDocumentForReport in nsDOMEvent.cpp a bit; r=smaug 2012-12-02 09:59:29 +01:00
Olli Pettay
e182fcc338 Bug 816480 - crash in nsEventListenerManager::RemoveEventListener, r=jst 2012-11-30 11:13:16 +02:00
Boris Zbarsky
6fa18e5571 Bug 815671 part 2. Make some content code use array references instead of array objects with implicit copies. r=smaug 2012-11-29 11:14:13 -05:00
Olli Pettay
1e72329799 Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Andrew McCreight
033e25a0c1 Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Tim Taubert
26b536ebb1 Bug 813277 - Unable to long-tap hold on the home-screen to invoke the wallpaper menu r=smaug 2012-11-26 19:13:53 +01:00
Benoit Jacob
ec39e2a150 Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Boris Zbarsky
3c57975890 Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Ryan VanderMeulen
47710276d9 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
a03434327e Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Alexander Surkov
3b163f2f8c Bug 813008 - get rid nsEventStateManager::IsHandlingUserInputExternal, r=tbsaunde, smaug 2012-11-21 14:25:20 +09:00
Masayuki Nakano
cd10f6e624 Bug 812427 part.3 Remove NS_POPUP_EVENT r=roc+smaug 2012-11-20 15:05:56 +09:00
Masayuki Nakano
0fb3fbdd2c Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00
Zack Weinberg
b90cc17174 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
401bd9646a Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
c1f34c416f Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Jim Chen
24fffe9d69 Bug 808287 - Make sure focus and blur IME notifications always match; r=masayuki 2012-11-16 11:43:04 -05:00
Ed Morley
58c3ec8021 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-15 16:17:36 +00:00
Olli Pettay
533f6f83e2 Bug 656311 - Remove XML Events, r=bz 2012-11-15 14:29:58 +02:00
Ryan VanderMeulen
8187210f11 Merge the last PGO-green inbound changeset to m-c. 2012-11-14 21:43:07 -05:00
Olli Pettay
389c95eaa3 Bug 800947, check the existence of widget only when the event is actually nsGUIEvent, r=bz 2012-11-14 19:45:04 +02:00
Boris Zbarsky
bc9949138a Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug 2012-11-14 10:05:41 -08:00
Bobby Holley
46b9d205df Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Benoit Jacob
a1d7e0f511 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
ee1217da86 Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Masayuki Nakano
84fc70f3a0 Bug 808287 nsTextStateManager shouldn't notify widget of selection changes and text changes after IME loses focus r=smaug 2012-11-13 10:20:40 +09:00
Ehsan Akhgari
894e1bca85 Merge mozilla-central into mozilla-inbound 2012-11-14 17:51:31 -08:00
Masayuki Nakano
b7ca37a234 Bug 805767 part.1 nsTextStateManager should use nsIWidget::GetIMEUpdatePreference() instead of the result of nsIWidget::OnIMEFocusChange() r=smaug 2012-11-13 22:04:44 +09:00
Justin Lebar
8c64b0474c 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-10 10:32:37 -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
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
Boris Zbarsky
e1ded25637 Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
8e705c1123 Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
ec6ddc39d0 Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
6bb2c5dffa Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
2daa94afcd Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
bf51164dc8 Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
3fff1fa34b Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug 2012-11-09 08:00:24 -08:00
Boris Zbarsky
f05491aec8 Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley 2012-11-09 07:43:57 -08:00
Mounir Lamouri
58aa0a96d8 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
Masayuki Nakano
85e4e24816 Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug 2012-11-09 17:40:40 +09:00
Masayuki Nakano
7ae8174ff1 Bug 806996 part.4 Make sure to recreate nsTextStateManager instance in OnFocusInEditor() and UpdateIMEState() if the focused editor isn't being managed r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
20ea1ebbf7 Bug 806996 part.3 Make sure to call nsIWidget::OnIMEFocusChange(false) at destroying nsTextStateManager instance only once per calling nsIWidget::OnIMEFocusChange(true) r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
2a122ad59f Bug 806996 part.2 nsTextStateManager::IsManaging() should check if mRootContent is still in the mEditableNode r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
305c137140 Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug 2012-11-09 17:40:39 +09:00
Ehsan Akhgari
ac35497057 Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Mounir Lamouri
7805230a8b Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug 2012-11-07 18:10:40 +00:00
Olli Pettay
fde2f7a7f4 Bug 805749, validate the view parameter of initUIEvent, r=jst 2012-11-05 10:59:12 +02:00
Olli Pettay
05782f593d Bug 779306 - Wildcard for 'all events', nsIEventListenerService.addListenerForAllEvents(target, listener), r=jst 2012-11-01 13:42:29 +01:00
Justin Lebar
d75eb03310 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Masayuki Nakano
8c03368fdb Bug 801101 Allow to scoll over one page scroll with mouse wheel if delta mulitipliers are large enough r=smaug 2012-10-31 08:22:23 +09:00
Masayuki Nakano
8ecdaabd92 Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc 2012-10-31 08:22:23 +09:00
Masayuki Nakano
36985553ef Bug 805357 part.1 nsIMEStateManager should always call nsIWidget::OnIMEFocusChange(false) when our editor loses focus r=smaug 2012-10-31 08:22:22 +09:00
Justin Lebar
7e748f5b3a Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
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.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
6bd563b2ee Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar
c936f604ec Bug 802367 - 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.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Mats Palmgren
ab048c47bd Bug 804486 - Tweak a few scrolling tests that makes the assumption that a horizontal "line" scroll scrolls the same amount of pixels as a vertical line scroll. r=roc 2012-10-29 06:44:31 +01:00
Mats Palmgren
cbfa147ac8 Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
Robert O'Callahan
443a476988 Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00
Masayuki Nakano
d76bb01beb Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc 2012-10-27 08:35:20 +09:00
Masayuki Nakano
072949e794 Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug 2012-10-26 09:49:13 +09:00