Olli Pettay
610190eb17
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
dcd6ed49c6
Back out 4fd41b93f97c (bug 865654) for mochitest-1 failure
2013-05-22 21:35:41 -07:00
Matthew Gregan
34633b64df
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Scott Johnson
28ef4985bf
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
d98efa09c2
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
d1daeb827a
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
91448a9dac
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
fbfc8f9abe
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
54ef3d2952
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
14dca53fc9
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
c65c7d599a
Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor
2013-05-22 10:05:24 -06:00
Bobby Holley
b8b8c5bd4d
Bug 868130 - Make sure the new cx is stack-top in nsFrameMessageManager. r=gabor
2013-05-22 10:05:23 -06:00
Matthew Gregan
5529ef2ac1
Backout fbc3ef777ded (bug 855130).
2013-05-22 15:50:03 +08:00
Matthew Gregan
ff93a26cd1
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Garrett Robinson
4781a07b87
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
1fdceffe8b
Bug 869000 - Text should be constructable. r=Ms2ger
2013-05-21 14:34:36 -04:00
Andrea Marchesini
4911358f5f
Bug 868999 - Range should be constructable. r=Ms2ger
2013-05-21 14:33:28 -04:00
Wellington Fernando de Macedo
410fd9530b
Bug 869432 - [eventsource] readyStage on eventsource:close() returns CONNECTING instead of CLOSED. r=smaug
2013-05-21 08:29:31 -04:00
Bobby Holley
a457b1a245
Bug 834701 - Stop depending on the XBL bit in IsCallerXBL. r=bz
2013-05-20 22:34:17 -06:00
Andrew McCreight
45b08b78f1
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
85b06d58a3
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Boris Zbarsky
8fdfd3f823
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
Ms2ger
f919a15533
Bug 868778 - Part d: Actually move DataChannel to WebIDL.
2013-05-20 11:48:16 +02:00
Ms2ger
0ed0441e1e
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
be663c2829
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
6d4b3079a3
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
38fc5d8909
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Boris Zbarsky
fd290b314c
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
8fc54ee80a
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
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
David Zbarsky
8649b6e814
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Bobby Holley
77d1e43d75
Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst
2013-05-17 10:43:20 -07:00
Jan-Ivar Bruaroey
724cdbf7ac
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Ed Morley
aadfc4d36c
Backed out changeset 34c65a615373 (bug 860941)
2013-05-17 09:08:31 +01:00
Bobby Holley
7f49ad21dd
Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst
2013-05-16 23:33:15 -07:00
Tim Abraldes
4a868b408f
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
Phil Ringnalda
eb385de2df
Back out 9675dce26f53 (bug 839342) for browser-chrome bustage
2013-05-16 20:09:24 -07:00
Tim Abraldes
b11ea57c38
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. r=bbondy
2013-05-16 17:47:46 -07:00
Ian Melven
48879dbfb8
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Bobby Holley
2e42030f56
Bug 873253 Crash clicking on file input in XUL whitelisted site r=bz
2013-05-16 23:57:18 +01:00
Olli Pettay
37d16b90a3
Bug 873203 - Backout the patch for bug 814001, r=bz
2013-05-16 23:11:55 +03:00
John Schoenick
953e5b39a3
Bug 870216 - Fire SetWindow on plugins twice to make Adobe Reader happy. r=josh
2013-05-16 11:38:40 -07:00
Ryan VanderMeulen
dcdda90f46
Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
...
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Ian Melven
6937a45eae
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Martijn Wargers
62dbb66e47
Bug 841402 - Remove last piece of EnablePrivilege usage from CSP tests. r=bholley
2013-05-16 11:16:22 +02:00
Maria Grazia Alastra
d645d2e812
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
2013-05-16 08:26:55 -04:00
Cameron McCormack
5cffb9cbd6
Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz
2013-05-16 17:13:36 +10:00
Cameron McCormack
26cb31824b
Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz
2013-05-16 17:13:36 +10:00
Cameron McCormack
0a241ee395
Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz
2013-05-16 17:13:36 +10:00