Commit Graph

10161 Commits

Author SHA1 Message Date
Masatoshi Kimura
0ff5d04537 Bug 881252 - Warn use of getUserData() or setUserData(). r=bz 2013-06-11 07:41:42 +09:00
Kyle Huey
bbf045f825 Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-09 16:02:02 -07:00
Jon Coppeard
83c2b6e94b Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug 2013-06-08 09:54:59 +01:00
Boris Zbarsky
7a3587f2d2 Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
David Zbarsky
109e1728e5 [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
52786066c5 Bug 880037: Don't try to mark message managers when we're not in the root process r=jlebar 2013-06-07 14:05:36 -07:00
Ryan VanderMeulen
1c6e0c1045 Merge inbound to m-c. 2013-06-07 11:10:54 -04:00
Ryan VanderMeulen
9396cf715d Merge m-c to fx-team. 2013-06-06 15:21:01 -04:00
Tim Taubert
af69b32d1d Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug 2013-06-06 21:05:21 +02:00
Ed Morley
78c8627464 Merge mozilla-central and inbound 2013-06-06 10:46:45 +01:00
Michael Wu
834c271ce8 Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
David Bolter
b83dad4641 Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz 2013-06-05 17:03:52 +02:00
Peter Van der Beken
98b9e5058e Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Robert O'Callahan
befd890f1e Bug 865537. Part 1: Add nsRange::SetEnableGravitationOnElementRemoval to suppress 'gravitation' behavior on node removal. r=smaug
--HG--
extra : rebase_source : 3823c3a0400c80b6f22021f22195f73febd5d85e
2013-06-07 16:26:28 +12:00
Peter Van der Beken
5a6257bfce Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Bobby Holley
f06e741959 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
17992acedf Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Wellington Fernando de Macedo
c4260f6d65 Bug 869882 - [eventsource] Check HTTP status:204,205,210,299 readyState returns CONNECTING but not CLOSED and throws unreached assertion; r=bugs@pettay.fi 2013-06-04 12:34:15 +03:00
Randell Jesup
6249d89fc4 Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug 2013-06-03 17:34:42 -04:00
Robert O'Callahan
ab85da27f3 Bug 874295. Fix viewport tests. r=mbrubeck
--HG--
extra : rebase_source : 48252cd24f804fbac3c6a7eaf7792fbc9c7584b8
2013-06-03 19:02:46 +12:00
Robert O'Callahan
9f6e44dd7a Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
--HG--
extra : rebase_source : 92e6c476f847349969430d96fa363b6f46bb8d5b
2013-05-30 16:34:32 +12:00
Kyle Huey
3c18bb93bd Back out bug 877584 on this CLOSED TREE. 2013-06-06 10:49:09 -07:00
Kyle Huey
a983f728ac Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-06 10:23:45 -07:00
Scott Johnson
54e7d7ca28 Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey] 2013-06-03 11:27:48 -05:00
Chia-hung Tai
ba0d852318 Bug 810099 - B2G MMS: support onretrieving event. r=vyang 2013-05-10 13:39:22 -07:00
Trevor Saunders
efd48bef1e bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley 2013-05-17 01:49:41 -04:00
Boris Zbarsky
ac87784e7f Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Boris Zbarsky
6871042269 Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Phil Ringnalda
d45cb1d6e2 Back out 87e2bfbb427d (bug 874295) for mochitest-1 failures
CLOSED TREE
2013-05-29 23:55:29 -07:00
Arnaud Sourioux
3259f595c7 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Robert O'Callahan
072bee6956 Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
--HG--
extra : rebase_source : 9c0544baccfe277e9340d185f189eda174923eb4
2013-05-30 16:34:32 +12:00
Kyle Huey
0d78767303 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Ryan VanderMeulen
0a2c0872da Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Arnaud Sourioux
6629173032 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Jon Coppeard
9c540a5368 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ed Morley
8a9ae6677a Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
1daad09663 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Simon Montagu
9825cbf993 Assert that entry exists before removing it. Bug 876155, r=ehsan 2013-05-29 10:36:59 +03:00
Zachary Easterbrook
88276eb0f8 Bug 875409 - Replace nsINode::Trace() with nsWrapperCache::TraceWrapper(). r=mccr8 2013-05-28 16:58:29 -07:00
Ryan VanderMeulen
7e21728f5f Merge m-c to inbound. 2013-05-28 15:55:17 -04:00
Garrett Robinson
109adb2480 Bug 858836 - CSP inline style blocking doesn't work in the Firefox OS emulator. r=bz, r=imelven 2013-05-28 13:29:34 -04:00
Ms2ger
38872ca343 Bug 876282 - Add unprefixed cancelAnimationFrame; r=bz
--HG--
rename : content/base/test/test_bug647518.html => content/base/test/test_bug876282.html
2013-05-28 19:31:31 +02:00
Mats Palmgren
37adbfdaca Bug 871099. r=bzbarsky 2013-05-28 03:00:08 +00:00
Andrew McCreight
60ea412b96 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Phil Ringnalda
a7f63b8156 Merge m-c to a CLOSED TREE m-i 2013-05-27 11:46:31 -07:00
Masatoshi Kimura
7bfc74c6ff Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-27 23:43:51 +09:00
Jon Coppeard
a07d2309af Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz 2013-05-27 12:50:49 +01:00
Andrea Marchesini
2fb9924e99 Bug 869002 - DocumentFragment should be constructable, r=Ms2ger 2013-05-23 03:59:00 -07:00
Masatoshi Kimura
aa5a423a3b Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug 2013-05-26 06:05:36 +09:00
Masatoshi Kimura
6c62e3f1ba Backed out changeset db13e1fbc642 (bug 691151) because some in-tree callers are still using the function 2013-05-25 08:41:19 +09:00