Ryan VanderMeulen
bc0ed36f8d
Backed out changeset c1c441c9edce (bug 845668) for frequent Windows mochitest-2 crashes.
...
CLOSED TREE
2013-06-13 18:31:27 -04:00
Ryan VanderMeulen
917e565db3
Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
...
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
David Zbarsky
5c7d28b756
Bug 845668 Part 0: Remove nsFrameLoader::mChildHost r=jdm
2013-06-13 11:53:13 -07:00
Bobby Holley
824c9ddd7a
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-13 10:09:26 -07:00
Bobby Holley
670e4b4d9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
James Kitchener
aaa284cd89
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
Ehsan Akhgari
d6628d6d1a
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Trevor Saunders
436b3b902e
bug 882079 - merge nsIDocShellHistory into nsIDocShell r=smaug
2013-02-15 11:07:29 -05:00
Martin Stransky
3399b67572
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Ed Morley
aa048e78a3
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
7cdd3a5243
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Ms2ger
1b26c4e37a
Bug 854231 - Remove Element::GetOffsetRect; r=jst
2013-06-12 09:00:08 +02:00
Ehsan Akhgari
1c87d49b30
Backed out changeset 149475141471 (bug 877626) for apparently breaking mochitest-4 on Linux
...
Landed on a CLOSED TREE
2013-06-11 19:23:37 -04:00
Martin Stransky
bacd5b73f7
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-11 15:09:29 -04:00
Cameron McCormack
0cd7505ec6
Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz
2013-06-12 13:20:19 +10:00
Ed Morley
64b2bc1c50
Merge mozilla-central and inbound
2013-06-11 16:24:51 +01:00
Ed Morley
71b7df3bfd
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Masatoshi Kimura
5adf56e2de
Bug 881252 - Warn use of getUserData() or setUserData(). r=bz
2013-06-11 07:41:42 +09:00
Kyle Huey
756f02ce3d
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
af7d9a0531
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
9f09fecc19
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
Benjamin Smedberg
d31cc62de5
Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
...
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
David Zbarsky
00b41d8ad2
[Bug 879998] Remove some dead code in content/ r=Ms2ger, emk
2013-06-07 14:05:57 -07:00
David Zbarsky
31ba17013e
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
bb43b9b6b6
Merge inbound to m-c.
2013-06-07 11:10:54 -04:00
Ryan VanderMeulen
045f0037c4
Merge m-c to fx-team.
2013-06-06 15:21:01 -04:00
Tim Taubert
fcc2d91629
Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug
2013-06-06 21:05:21 +02:00
Ed Morley
51e8d1b8e5
Merge mozilla-central and inbound
2013-06-06 10:46:45 +01:00
Michael Wu
d2b4696cee
Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam
2013-06-05 22:42:02 -04:00
David Bolter
7196865a21
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
0eae5efa79
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
f86452b02b
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
131db2e8fe
Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
...
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Wellington Fernando de Macedo
781a2dcd48
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
9ff8467bf0
Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug
2013-06-03 17:34:42 -04:00
Robert O'Callahan
f476fe7554
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
86d6d2b6ae
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb
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
2e74bc5ce5
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
5907ab07e3
Bug 810099 - B2G MMS: support onretrieving event. r=vyang
2013-05-10 13:39:22 -07:00
Trevor Saunders
f1e455a13f
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
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
7c5e61e873
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
1eecaa780b
Back out 87e2bfbb427d (bug 874295) for mochitest-1 failures
...
CLOSED TREE
2013-05-29 23:55:29 -07:00
Arnaud Sourioux
1aded9ba34
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Robert O'Callahan
d276e5355f
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
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Ryan VanderMeulen
eb4d754279
Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE.
2013-05-29 17:56:10 -04:00
Arnaud Sourioux
83d60db473
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Jon Coppeard
6d32ef3678
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Ed Morley
1e88f4e513
Backed out changeset 7acdb79e4d71 (bug 876639)
2013-05-29 12:09:10 +01:00
Jon Coppeard
27ffea6482
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Simon Montagu
8470cb13e3
Assert that entry exists before removing it. Bug 876155, r=ehsan
2013-05-29 10:36:59 +03:00
Zachary Easterbrook
dfb8523493
Bug 875409 - Replace nsINode::Trace() with nsWrapperCache::TraceWrapper(). r=mccr8
2013-05-28 16:58:29 -07:00
Garrett Robinson
fada4dd76a
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
Mats Palmgren
f563b37b96
Bug 871099. r=bzbarsky
2013-05-28 03:00:08 +00:00
Andrew McCreight
d1266ee9b7
Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug
2013-05-21 16:23:53 -07:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jon Coppeard
f53a29e132
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Andrea Marchesini
8fbebab530
Bug 869002 - DocumentFragment should be constructable, r=Ms2ger
2013-05-23 03:59:00 -07:00
Masatoshi Kimura
407e00e58c
Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug
2013-05-26 06:05:36 +09:00
Justin Lebar
72301329cf
Bug 832609 - Make memory reporter for blobs threadsafe. r=khuey
...
--HG--
extra : rebase_source : 4dc2387ae3867699085139545ff2b57104b1f72a
2013-05-24 13:10:48 -04:00
Cameron McCormack
c2cd7e77c2
Bug 875705 - Fix odd numbering of nsAttrValue::ValueType. r=smaug
2013-05-24 23:27:51 +10:00
Aryeh Gregor
b14c2cbab2
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Vladimir Vukicevic
d04afec683
b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz
2013-05-23 22:09:38 -04:00
Daniel Holbert
be55143fd6
Bug 875328: Remove stranded (and unnecessary) method-override Attr::AppendChildTo(). r=bz
2013-05-24 09:39:17 +08:00
John Schoenick
4b6ada0e6d
Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin
2013-05-23 16:22:28 -07:00
Olli Pettay
5a3ad723a0
Bug 874592 - nsFrameMessageManager::NewProcessMessageManager may construct child process managers with no parent, r=jdm
...
--HG--
extra : rebase_source : faa0b708e9e0e5f88db2319215144540622fbd3a
2013-05-23 21:17:57 +03:00
Olli Pettay
471f526583
Bug 875050, make WebSocket to use EventListenerAdded/Removed, r=bz
...
--HG--
extra : rebase_source : fa0995983c4a6c738bae2d88152db65e59cc1d72
2013-05-23 14:41:32 +03:00
Phil Ringnalda
c8ee9cd4c3
Back out 4fd41b93f97c (bug 865654) for mochitest-1 failure
2013-05-22 21:35:41 -07:00
Matthew Gregan
cd12c2a8c7
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Scott Johnson
3ad466da31
Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey]
2013-05-23 11:20:50 +08:00
Ralph Giles
3d52d52549
Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
...
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.
Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.
HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.
This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Bobby Holley
11f2396ec2
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
772a8da25d
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
...
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.
--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
1e55f9d52e
Bug 868130 - Separate nsCxPusher an friends into their own file. r=gabor
...
We want to put a JSAutoRequest into nsCxPusher, but that would involve
including jsapi.h in nsContentUtils.h, which we'd probably rather avoid doing.
Let's just bite the bullet and do this.
2013-05-22 10:05:25 -06:00
Bobby Holley
f23454d0dc
Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor
2013-05-22 10:05:24 -06:00
Bobby Holley
0f7b40d94e
Bug 868130 - Make sure the new cx is stack-top in nsFrameMessageManager. r=gabor
2013-05-22 10:05:23 -06:00
Matthew Gregan
6ff7d76356
Backout fbc3ef777ded (bug 855130).
2013-05-22 15:50:03 +08:00
Matthew Gregan
613691856d
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Garrett Robinson
395daa67a0
Bug 791284 - Add debugging code to nsDocument::StartDocumentLoad and fix and re-enable test. r=sicking
2013-05-21 14:50:26 -04:00
Andrea Marchesini
d01e941254
Bug 869000 - Text should be constructable. r=Ms2ger
2013-05-21 14:34:36 -04:00
Andrea Marchesini
88446b2e01
Bug 868999 - Range should be constructable. r=Ms2ger
2013-05-21 14:33:28 -04:00
Wellington Fernando de Macedo
78967c14cb
Bug 869432 - [eventsource] readyStage on eventsource:close() returns CONNECTING instead of CLOSED. r=smaug
2013-05-21 08:29:31 -04:00
Bobby Holley
5992a6d8ac
Bug 834701 - Stop depending on the XBL bit in IsCallerXBL. r=bz
2013-05-20 22:34:17 -06:00
Andrew McCreight
5eae3f10e5
Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug
2013-05-20 13:08:11 -07:00
Boris Zbarsky
810766595d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Boris Zbarsky
be0882e3a1
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
Ms2ger
2c648ae666
Bug 868778 - Part d: Actually move DataChannel to WebIDL.
2013-05-20 11:48:16 +02:00
Ms2ger
2750a39e8f
Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
...
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Ms2ger
bc8c594b8f
Bug 868778 - Part b: Move the declaration of nsDOMDataChannel into nsDOMDataChannel.h; r=jesup
...
--HG--
rename : content/base/src/nsDOMDataChannel.cpp => content/base/src/nsDOMDataChannel.h
2013-05-20 09:10:59 +02:00
Ms2ger
e247330e29
Bug 868778 - Part a: Move nsDOMDataChannel.h to nsDOMDataChannelDeclarations.h; r=jesup
...
--HG--
rename : content/base/src/nsDOMDataChannel.h => content/base/src/nsDOMDataChannelDeclarations.h
2013-05-20 09:10:59 +02:00
Andrea Marchesini
0e20d68ea0
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Boris Zbarsky
620839f027
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
081b1f0e2e
Bug 873337. Change the order of the decl and holder in js-to-native conversions to clean up the code some. Now the holder always comes after the decl. r=smaug
2013-05-17 21:48:25 -04:00
David Zbarsky
66e862daca
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Jan-Ivar Bruaroey
7921c9c1e4
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Tim Abraldes
b5a70d488d
bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. This time without bustage! r=bbondy
2013-05-16 21:22:21 -07:00