Commit Graph

6548 Commits

Author SHA1 Message Date
Masatoshi Kimura
18fd56d251 Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-27 23:43:51 +09:00
Jon Coppeard
8a68ce4b84 Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz 2013-05-27 12:50:49 +01:00
Andrea Marchesini
30f3e235ca Bug 869002 - DocumentFragment should be constructable, r=Ms2ger 2013-05-23 03:59:00 -07:00
Masatoshi Kimura
fad511757b Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug 2013-05-26 06:05:36 +09:00
Masatoshi Kimura
7147a31a15 Backed out changeset db13e1fbc642 (bug 691151) because some in-tree callers are still using the function 2013-05-25 08:41:19 +09:00
Masatoshi Kimura
58666b20c5 Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-25 07:55:20 +09:00
Justin Lebar
46907ebf24 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
6d61db3877 Bug 875705 - Fix odd numbering of nsAttrValue::ValueType. r=smaug 2013-05-24 23:27:51 +10:00
Mike Shal
994cfe0b6b 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
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Vladimir Vukicevic
ff55db5503 b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz 2013-05-23 22:09:38 -04:00
Daniel Holbert
9ae3f5f736 Bug 875328: Remove stranded (and unnecessary) method-override Attr::AppendChildTo(). r=bz 2013-05-24 09:39:17 +08:00
John Schoenick
c8c753f060 Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin 2013-05-23 16:22:28 -07:00
Olli Pettay
6ac541ab4a 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
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
Cameron McCormack
29590443e9 Bug 839103 - Part 7: Only dispatch style sheet change events when enabled. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
2f16b7777c Bug 839103 - Part 6: Allow style sheet change event enabling to be controlled through a chrome-only attribute on Documents. r=bz 2013-05-16 17:13:35 +10:00
Cameron McCormack
26c2af43bb Bug 839103 - Part 5: Add a state bit on documents to control whether style sheet change events are dispatched. r=bz 2013-05-16 17:13:35 +10:00
Vladimir Vukicevic
f1a8f1660f b=871549, use Content-Length in XHR ArrayBuffer requests, and fix ResetResponse(); r=bz 2013-05-15 14:42:10 -04:00
David Zbarsky
d7a446f1c4 Bug 872367 Part 1: Mark some nsIDocument arguments as const r=reuben 2013-05-15 12:45:45 -07:00
Olli Pettay
dd044a0aca Bug 866915, update XHR.send to follow the spec, r=sicking
--HG--
extra : rebase_source : ee7ce01fa3a71db5327e42f40a725db99efbe345
2013-05-15 14:48:59 +03:00
Olli Pettay
cd7161f3f9 Bug 848535, simplify js object holding in XHR and FileReader, r=mccr8
--HG--
extra : rebase_source : d10c2315bf3eafb0e3ef7f4199c1439e96c47da3
2013-05-15 14:48:55 +03:00
Olli Pettay
2a40b81746 Bug 857883, don't assert about readyState when not needed, r=bz
--HG--
extra : rebase_source : 1dc9dc6bae5907cac3f2b8b1c31d79e7bcbb68f2
2013-05-15 14:35:41 +03:00
Ehsan Akhgari
67b44c27c9 Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky 2013-05-13 13:43:53 -04:00
Mounir Lamouri
4ba9420d46 Bug 851642 - Make sure fullscreenchange event is sent even when the document is being removed from the doctree. r=smaug
... instead of relying on nsScreen being destroyed which was causing flaky
behaviour on Firefox Android (based on GC) and was creating a race condition bug
on Firefox OS.
2013-05-13 12:00:42 +01:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Andrea Marchesini
575e465b04 Bug 869006 - Comment should be consructable. r=Ms2ger 2013-05-13 09:22:30 -04:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Vladimir Vukicevic
f5a6dcb943 b=866431, Create XHR ArrayBuffer directly instead of going via nsCString, r=bz,sfink 2013-04-27 15:25:24 -04:00
Boris Zbarsky
c9051013c6 Bug 870566. Make dataset gets faster by spending less time messing with strings. r=smaug 2013-05-10 18:57:58 -04:00
Boris Zbarsky
6994912da0 Bug 870667. Reinstate a way to turn off performance.timing bits using a pref. r=smaug
This is used by the Tor project, for example.
2013-05-10 18:57:58 -04:00
Ryan VanderMeulen
faa7131e2b Merge m-c to inbound. 2013-05-10 14:57:50 -04:00
David Zbarsky
ae680f2b5f Bug 868312 - Rooting fixes for dom r=bz 2013-05-10 14:22:21 -04:00
Justin Lebar
772e3b6ff9 Bug 870598 - Don't send the frameloader-visibility-changed notification if the frameloader's visibility didn't actually change. r=khuey 2013-05-10 11:46:08 -04:00
Ed Morley
345c8d111b Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
610f3c9bf8 Bug 868730 - Make nsDocument::ResetStylesheetsToURI return void; r=mounir 2013-05-10 09:13:37 +02:00
Bobby Holley
d0202a05c6 Bug 857356 - Remove XBL field auto-waiving. r=bz 2013-05-09 09:16:01 -07:00
Jon Coppeard
4aa94e46d9 Bug 868040 - GC: Fix some rooting hazards in content/base r=bz 2013-05-09 10:44:19 +01:00
L. David Baron
1afa49b221 Remove SimpleTest.expectAssertions() call now that bug 846137 is fixed. No review. 2013-05-08 13:45:34 -07:00
Terrence Cole
cd1aec056b Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Peter Van der Beken
3a19a30b85 Bug 869038 - Clear expando object the right way. r=bz.
--HG--
extra : rebase_source : c75c0ac7b07bbe9396f1b77b34c1e34575078a49
2013-05-08 09:20:13 +02:00
Boris Zbarsky
4f17ea0254 Bug 869311. More rooting in dom/bindings and content/base. r=smaug 2013-05-07 22:34:56 -04:00
Timothy Nikkel
2c413efad1 Bug 869476. nsImageLoadingContent::Track/UntrackImage should return void. r=khuey 2013-05-07 13:38:35 -05:00
Sumedh Shekhar
427e7549ee Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Peter Van der Beken
07b207de36 Bug 868929 - Convert ImageDocument to WebIDL, consolidate PostCreateWrapper call into nsIDocument::WrapObject. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 79780765f9e6be8846774344e0218631903478d4
2013-05-06 15:42:00 +02:00
Nathan Froyd
dc3bfcbc39 Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz 2013-05-06 15:28:13 -04:00
Iivari Äikäs
18ecd9248b Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
Aryeh Gregor
f99066cb93 Bug 867092 - Don't implicitly convert to already_AddRefed in nsNodeInfoManager; r=bz 2013-04-26 14:51:07 +03:00
Bobby Holley
023dfdb6f3 Bug 834707 - Disable SOWs for remote XUL domains. r=bz
We have to do this if we want to proceed with eliminating SOWs entirely. Given
the other restrictions around remote XUL, I don't think this is a problem.

Note that we shouldn't need any special handling in the wrapper reparenting
paths, because those all depend on whether a SOW was there already. So that
would only be an issue if it were possible to adoptNode from a non-remote-XUL
domain into a remote-XUL domain, which thankfully can't happen.
2013-05-06 19:38:22 -07:00
Olli Pettay
a5774cdaac Bug 868265 - Make Attr and AttrMap skippable, r=mccr8
--HG--
extra : rebase_source : f8eb50631ac35abda47b3a00be1093a8197979ec
2013-05-07 02:37:47 +03:00
Bobby Holley
5b4a6b5b06 Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
Sankha Narayan Guria
7f0c4baace Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Boris Zbarsky
a22cedc74c Bug 867844 part 2. Fix remaining rooting hazards in nsFrameMessageManager.cpp. r=smaug 2013-05-06 08:30:46 -04:00
Boris Zbarsky
eca92dda6d Bug 867844 part 1. Fix rooting hazards in LegacyCall. r=smaug 2013-05-06 08:30:40 -04:00
Phil Ringnalda
fedf6c0df7 Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
89a7551507 Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz 2013-05-05 09:03:20 +02:00
David Zbarsky
5d06a9a499 [Bug 868701] Remove classinfo for Attr r=Ms2ger 2013-05-04 03:55:53 -04:00
Boris Zbarsky
3200d7e8dc Bug 865969 part 4. Pass handles to WebIDL dictionary init. r=smaug,terrence 2013-05-03 19:29:08 -04:00
Boris Zbarsky
9d34cb3526 Bug 868266. Root the arguments list in nsObjectLoadingContent::LegacyCall. r=terrence 2013-05-03 19:28:32 -04:00
Bobby Holley
4ff0e41f8c Bug 829872 - Fix up tests that depend on contentDocument being non-null. r=imelven
These almost universally depend on some sort of special privileges, so I don't
think they're representative of any use-cases we might find on the web.
2013-05-03 14:47:10 -07:00
Bobby Holley
71b4e83ad1 Bug 829872 - Return null for cross-origin contentDocument. r=bz 2013-05-03 14:47:09 -07:00
Gregory Szorc
865b1ce89b Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Peter Van der Beken
01dccf283c Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
93361c60c0 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Ehsan Akhgari
5005320e02 Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
d6817f696b Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Peter Van der Beken
d6053b1cd0 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
--HG--
extra : rebase_source : 12dbaff8dd2acfeee87bdfa738a013344cb1977a
2013-04-20 18:04:09 +02:00
Tom Schuster
24561ef11c Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Trevor Saunders
3f07541a7a bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert 2013-04-01 06:26:37 -04:00
Trevor Saunders
3eb62774c5 bug 856779 - make PresShell::Init() return void and devirtualize it r=bz 2013-05-02 09:22:59 -04:00
Bobby Holley
f8786d3cd8 Bug 834699 - Fix tests that munge dom.xbl_scopes. r=bz 2013-05-02 16:02:04 -07:00
Bobby Holley
4d84f3f37c Bug 834699 - Stop checking dom.xbl_scopes. r=bz 2013-05-02 16:02:03 -07:00
David Zbarsky
c239a75547 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
eed350c7d0 Bug 866450 Part 5: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
e6b1eb46b4 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
33b84ccd33 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Martijn Wargers
fac134b729 Bug 865204 - Change remaining CSP tests that use enablePrivilege to SpecialPowers. r=bholley, f=imelven 2013-05-02 01:16:45 +02:00
Aryeh Gregor
d183f6f9bc Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Ed Morley
38f36edd9e Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures 2013-05-02 11:58:05 +01:00
Ed Morley
dfe0338333 Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Ed Morley
37db16cd09 Backed out changeset c5ba9c0dc252 (bug 866450) 2013-05-02 11:57:04 +01:00
Ed Morley
5cfaa67828 Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
2e0cd0171f Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
99642e1641 Bug 866450 Part 5: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
bc9b1bccdc Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
62df33d2a0 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Boris Zbarsky
583e53379d Bug 861022 part 2. Root the global object in WebIDL prototype and interface object setup. r=peterv,terrence 2013-05-01 23:44:12 -04:00
Boris Zbarsky
e418358f16 Bug 861022 part 1. Root the non-globals in WebIDL prototype and interface object setup. r=peterv,terrence 2013-05-01 23:44:11 -04:00
Jeff Walden
d349e7c9e0 Bug 866988 - Remove the HAVE_CPP_PARTIAL_SPECIALIZATION autoconf define, and the test for template specialization working at all. Any compiler not supporting either of these is so incredibly doomed it's not worth the pain of testing them. Plus we use both features liberally without testing these defines first, so they're basically pointless. r=ted 2013-04-13 19:04:38 -07:00
Steve Fink
5637b7f42d Bug 866432 - Replace AutoValueRooter with JS::Rooted<JS::Value> in gecko. r=smaug
--HG--
extra : rebase_source : 0897fc8f3968619185b754e13ca6119cb1c0f46d
2013-04-26 21:08:15 -07:00
Terrence Cole
e417ffe01a Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco 2013-04-16 16:20:44 -07:00
Andrew McCreight
fd769e05e8 Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Daniel Holbert
f078f3a3a1 Bug 866947: Make nsDocument.cpp's static-var "sOnloadDecodeLimit" unsigned, to fix build warning for signed/unsigned comparison. r=jlebar 2013-04-29 16:15:59 -07:00
Boris Zbarsky
15316b1400 Bug 865961. Root the scope argument of wrap-the-xpconnect-object helpers in WebIDL bindings. r=ms2ger 2013-04-29 17:33:42 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Peter Van der Beken
55be192bf5 Bug 866755 - Fix nsDocument::HasNameElement typo. r=bz.
--HG--
extra : rebase_source : ab46b6eaa2183d607c07b666ae52541fcdf089ec
2013-04-29 15:18:02 +02:00
Bobby Holley
e47507c912 Bug 865729 - Remove nsIJSContextStack. r=gabor
\o/
2013-04-29 11:16:24 -07:00
Bobby Holley
eb840cbdb4 Bug 865729 - Remove Context stack iterators. r=gabor 2013-04-29 11:16:23 -07:00
Bobby Holley
ee8843b983 Bug 865729 - Remove Push/Pop from public API. r=gabor 2013-04-29 11:16:22 -07:00
Bobby Holley
515a945b71 Bug 865729 - Make nsContentUtils munge the cx stack with sXPConnect directly. r=gabor 2013-04-29 11:16:21 -07:00
Bobby Holley
18707fd562 Bug 865729 - Remove nsIJSContextStack from content/foo. r=gabor
We leave it in nsContentUtils.cpp, which we'll handle in a separate patch.
2013-04-29 11:16:17 -07:00
Gabor Krizsanits
ae998df2a8 Bug 863140 - Remove GetInnerWindowInternal. r=bz 2013-04-29 17:34:16 +02:00
Olli Pettay
d62ca04f63 Bug 866225 - remove some useless #includes, r=mccr8
--HG--
extra : rebase_source : 6cfd39ac879e525fc02961dd002f6920b1c11775
2013-04-27 02:15:04 +03:00
Andreas Gal
943c3039a9 Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe 2013-04-25 18:36:53 -07:00
Ryan VanderMeulen
7c02acfe11 Merge m-c to inbound. 2013-04-26 08:00:50 -04:00
Ryan VanderMeulen
79db1c6ba4 Merge birch to m-c. 2013-04-26 08:00:07 -04:00
Ms2ger
fe234fbc7f Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
Ms2ger
51fac4ba10 Bug 852135 - Part c: Implement the remainder of the WebIDL API on nsDOMAttributeMap; r=bz 2013-04-26 08:48:23 +02:00
Ms2ger
639e21ee2d Bug 852135 - Part b: Get rid of some explicit namespace qualifications in nsDOMAttributeMap; r=bz 2013-04-26 08:48:19 +02:00
Ms2ger
58a9cc7ec7 Bug 852135 - Part a: Reindent some code in nsDOMAttributeMap; r=bz 2013-04-26 08:48:15 +02:00
Justin Lebar
9ea52325ff Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Tanvi Vyas
63b7851e10 Bug 855730 - Add more logging and change the order back to the original order. Reordering should reduce the number of timeouts that spiked when we first changed the order. r=smaug 2013-04-24 14:43:14 -07:00
Boris Zbarsky
676b9d422b Bug 864727 part 6. Make all the WrapNode methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
9c1973b5d2 Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
e0a4cd5848 Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Aryeh Gregor
eecc44edc5 Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan 2013-04-21 14:56:06 +03:00
Ms2ger
e12555a543 Merge m-c to m-i. 2013-04-26 12:32:27 +02:00
Boris Zbarsky
2fa24990ca Bug 704063. Add an unprefixed version of requestAnimationFrame. r=roc, sr=smaug 2013-04-25 11:13:21 -04:00
Boris Zbarsky
16f88da803 Bug 753453. Add a way for us to pass a high-res timestamp to requestAnimationFrame callbacks. r=roc 2013-04-25 11:13:21 -04:00
Bobby Holley
c85143a170 Bug 862404 - Make nsCxPusher MOZ_CRASH if there's no stack. r=gabor 2013-04-24 13:02:47 -07:00
Boris Zbarsky
20ab2b6db5 Bug 862629 part 2. Remove the now-unused scope object bit in js-to-native conversions. r=peterv 2013-04-24 14:59:15 -04:00
Boris Zbarsky
87e77a2b99 Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv 2013-04-24 14:59:15 -04:00
Olli Pettay
109adf1697 Bug 865076, follow the XPCOM rules when using parent pointer, r=mccr8
--HG--
extra : rebase_source : c4d45f53bb15df09495714cb0955e3d2d9c684b6
2013-04-24 21:09:25 +03:00
Henri Sivonen
b7678c120e Bug 856374 - Check if output string is empty when serializing. r=smaug. 2013-04-24 16:20:53 +03:00
David Zbarsky
82391d9a22 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Garrett Robinson
02b569fd5b Bug 863878 - The CSP logging from bug 821877 should go to the new Security Pane in the Web Console. r=bzbarsky r=ddahl 2013-04-23 17:39:10 -05:00
Tanvi Vyas
7629e7975b Bug 855730 - Remove failing test so that we can re-enable the rest of the tests here. r=smaug 2013-04-25 15:40:42 -07:00
John Schoenick
85b5cb5928 Bug 863792 - Handle re-entry during plugin instantiation. r=josh 2013-04-23 13:21:28 -07:00
John Schoenick
04af22695a Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
Sid Stamm
4e62b106c4 bug 761667 - update x-frame-options channel scanning to include multipart channels. (r=bz)
--HG--
extra : rebase_source : d7bf736b52f1d54b0ae9b3f111148feef29de02d
2013-04-22 16:01:39 -07:00
Simon Montagu
184c247fc9 Followup to bug 151407: use GetDir() on the root element. r=bz 2013-04-23 15:12:14 +03:00
Simon Montagu
ce51cb5120 Fix document.dir getters and setters to (a) work and (b) conform to HTML5. Bug 151407, r=ehsan 2013-04-14 05:37:48 -07:00
Garrett Robinson
6c7617d947 Bug 837351 - Log blocked mixed content to the Error and Web Consoles. r=smaug 2013-04-22 18:08:18 -07:00
John Schoenick
644f7bb6f0 Backout 9423207656dd and d226a39b4181 (Bug 863792) for triggering bug 854082 crashes, the fix for which was backed out. CLOSED TREE 2013-04-22 16:33:38 -07:00
John Schoenick
9221431f8e Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
Timothy Nikkel
bb030a3896 Bug 864448. Add crashtest. 2013-04-22 15:24:08 -05:00
John Schoenick
28a895674e Bug 863792 - Handle re-entry during plugin instantiation. r=josh 2013-04-22 13:20:59 -07:00
John Schoenick
6b517509a0 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
Timothy Nikkel
320b248b56 Bug 864448. Add cycle collection for mAnonymousContentNode in nsDOMCaretPosition. r=smaug 2013-04-22 15:18:25 -05:00
Olli Pettay
f89de95a8d Bug 861529 - Remove nsDOMEventTargetHelper::Init, ,r=khuey
--HG--
extra : rebase_source : 3c2e2d6511c26f41428399fc3622c30c4ea7ff6b
2013-04-22 20:24:48 +03:00
David Zbarsky
2dc9f54469 Remove TitleChangedListener dead code, no bug, r=jlebar over irc 2013-04-21 21:25:29 -04:00
David Zbarsky
204a17f3b2 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Ms2ger
88e0c63e61 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
David Zbarsky
a670bfb881 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
Ehsan Akhgari
e6ef206ecb Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc 2013-04-13 21:37:04 -04:00
David Zbarsky
ea2739d5d6 Bug 852055 - Pass an EventTarget argument to Document.createTouch in WebIDL r=bz 2013-04-19 04:49:20 -04:00
David Zbarsky
6595a220f8 [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 04:49:20 -04:00
Matt Brubeck
08b045fdd2 Back out cd218e07ede2, e57ac5581703, f53ad2a10ff8, ec91252c57d2, 2eca17711eff, 1997e63a1124 for build errors 2013-04-18 22:29:25 -07:00
David Zbarsky
0204cf180b Bug 852055 - Pass an EventTarget argument to Document.createTouch in WebIDL r=bz 2013-04-19 00:48:03 -04:00
David Zbarsky
25f835929b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-19 00:48:03 -04:00
David Zbarsky
862cfc8663 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 00:48:02 -04:00
David Zbarsky
a4f035b988 [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 00:48:01 -04:00
David Zbarsky
37f93ee59f Bug 836176 Part 1.5: Fix nsIDocument::AsHTMLDocument() r=bz 2013-04-18 21:06:57 -04:00
John Schoenick
5fdb27260e Bug 852315 - Use CheckPluginStopEvent for plugins when documents go inactive. r=bsmedberg 2013-04-18 16:43:57 -07:00
Bobby Holley
9630812ba7 Bug 860438 - Add assertion back in. r=gabor 2013-04-18 11:36:05 -04:00
Bobby Holley
629d0d4121 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Robert O'Callahan
5ee893ebd5 Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal
--HG--
extra : rebase_source : 067c9577f797350274783d3c7cc682b5f74b998a
2013-04-09 12:05:12 +12:00
Gabor Krizsanits
26880f8f17 Bug 820170 - Wrapping nodes into documents compartment. r=bholley 2013-04-17 10:11:53 +02:00
Randell Jesup
e297603e6f Bug 862302: Don't lose reference to queued DataChannels when they open r=mcmanus 2013-04-16 23:58:09 -04:00
Boris Zbarsky
891c5878af Bug 850090. Don't assert things about our stylesheets during unlink, since our state can be kinda inconsistent then. r=smaug 2013-04-05 00:57:39 -04:00
Boris Zbarsky
774766d13e Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Scott Johnson
807b65968f Bug 803719: Add a getClientRect API to CaretPosition and use it to maintain position for reflow-on-zoom feature. [r=kats,tn] 2013-04-16 16:12:03 -05:00
Scott Johnson
4c521342c5 Backed out changeset 6d29c583d5c0 due to incorrect commit message. 2013-04-16 16:10:20 -05:00
Scott Johnson
2ec78a1e54 Bug 803719: Add a toDOMRange API to CaretPosition and use it to maintain position for reflow-on-zoom feature. [r=kats,tn] 2013-04-16 16:08:38 -05:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Olli Pettay
3ed64f9c24 Bug 863950 - Crash with outdated CaretPosition object, r=bz 2013-04-20 16:11:20 +03:00
David Zbarsky
3c98334d35 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
691abfe5eb Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Ms2ger
d61b281c6d Backout changeset baf184596a7b for build errors on a CLOSED TREE. 2013-04-16 19:07:38 +02:00
Gabor Krizsanits
93fd95ba5e Bug 820170 - Wrapping nodes into documents compartment. r=bholley 2013-04-16 11:31:26 +02:00
Jon Coppeard
1f1c0e6af9 Bug 861281 - GC: Root the wrap object API r=terrence r=bholley
--HG--
extra : rebase_source : 1d3ed88299ad8e9ad6812fb41aa48f03cc7aabae
2013-04-15 18:32:55 +01:00
Masatoshi Kimura
145b5b5cd1 Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen 2013-04-16 21:19:29 +09:00
Cameron McCormack
79316007de Backout 64abee9b00f1 (bug 841363) for suspected test_bug375003-1.html failure. (CLOSED TREE) 2013-04-16 17:23:46 +10:00
Robert O'Callahan
1c8003fcdc Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal 2013-04-09 12:05:12 +12:00
Ehsan Akhgari
3be35f445c Bug 861897 - Cleanup nsComposeTxtSrvFilter to use nsGkAtoms; r=roc 2013-04-16 00:08:04 -04:00
Nicholas Nethercote
f5378cec64 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Ryan VanderMeulen
f36156f2ae Merge m-c to inbound. 2013-04-15 16:21:51 -04:00
Simon Montagu
c23b5a6d3d Remove elements from text node directionality map when they cease to have dir=auto, Bug 861610, r=ehsan 2013-04-15 23:14:42 +03:00
Simon Montagu
1bd37e7cad Add some assertions to DirectionalityUtils.cpp, Bug 861606, r=ehsan 2013-04-15 23:14:39 +03:00
Martijn Wargers
33a61cec39 Bug 861674 - Change some content mochitests from enablePrivilege to use SpecialPowers. r=jgriffin 2013-04-15 19:50:45 +02:00
Olli Pettay
bb863324be Bug 860971, if changing the visibility changes contentviewer, don't try to proceed in nsFrameLoader::Show, r=bz 2013-04-13 15:30:38 +03:00
Ryan VanderMeulen
f0a9fe5d92 Merge m-c to inbound. 2013-04-13 08:04:05 -04:00
Ms2ger
319deb013a Bug 861098 - Remove more classinfo; r=bz 2013-04-13 09:08:49 +02:00
Ms2ger
99a08555f8 Bug 856629 - Part b: Implement ChildNode.remove(); r=bz 2013-04-13 09:08:47 +02:00
Ms2ger
069d54680d Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
0bb1813be5 Bug 853818 - Followup: address missed review comment. 2013-04-13 08:56:44 +02:00
Ian Melven
30793d7261 Bug 858789 - CSP should use the spec compliant pref to determine what parser to use for apps (r=jst) 2013-04-12 11:39:14 -07:00
Boris Zbarsky
c72e933878 Bug 861064. Root WebIDL dictionary Init. r=smaug,terrence 2013-04-12 23:34:22 -04:00
Ryan VanderMeulen
b75fade323 Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE. 2013-04-12 13:57:46 -04:00
Randell Jesup
f127a3b455 Bug 859774: change DataChannel readyState names to match spec (capitalization) r=smaug 2013-04-12 10:08:47 -04:00
Joshua Cranmer
66e39d8aff Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz 2013-04-11 22:20:09 -05:00
Jacek Szpot
514f40e52a Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Scott Johnson
830b495b0e Bug 824965: Implement a method of getting correct CaretPosition from within anonymous content nodes. [r=ehsan] 2013-04-11 10:12:49 -05:00
Blake Kaplan
9f5f378676 Bug 840098. r=bz 2013-03-25 15:57:03 -07:00
Gabor Krizsanits
63583713b5 Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn 2013-04-11 11:59:42 +02:00
Aryeh Gregor
957e302fe1 Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz 2013-04-10 17:15:54 +03:00
Aryeh Gregor
3e99dc4f10 Bug 857102 part 4 - Make NS_NewCommentNode and nsIDocument::CreateCommentNode infallible; r=bz 2013-04-04 15:02:22 +03:00