Commit Graph

6372 Commits

Author SHA1 Message Date
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
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Bobby Holley
8abc6c0ed9 Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-17 10:43:20 -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
Ed Morley
4384f18cd0 Backed out changeset 34c65a615373 (bug 860941) 2013-05-17 09:08:31 +01:00
Bobby Holley
9ff358e18b Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst 2013-05-16 23:33:15 -07: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
Phil Ringnalda
c19f6561ae Back out 9675dce26f53 (bug 839342) for browser-chrome bustage 2013-05-16 20:09:24 -07:00
Tim Abraldes
9948921421 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
3cb5f27888 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Bobby Holley
0a7cefa97a Bug 873253 Crash clicking on file input in XUL whitelisted site r=bz 2013-05-16 23:57:18 +01:00
Olli Pettay
8ce7010dfa Bug 873203 - Backout the patch for bug 814001, r=bz 2013-05-16 23:11:55 +03:00
John Schoenick
28d38a9d9d Bug 870216 - Fire SetWindow on plugins twice to make Adobe Reader happy. r=josh 2013-05-16 11:38:40 -07:00
Ryan VanderMeulen
600d2857cc 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
0b6b28c5d7 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ted Mielczarek
47d7af59de 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
7c7157c4da Bug 841402 - Remove last piece of EnablePrivilege usage from CSP tests. r=bholley 2013-05-16 11:16:22 +02:00
Maria Grazia Alastra
29ebfeceb8 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Cameron McCormack
9c655c183c Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
22bd6f92e0 Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
acb7e00fdf Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
0fb0159ada Bug 839103 - Part 7: Only dispatch style sheet change events when enabled. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
57b9594273 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
113b9456f0 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
03c80c63dc b=871549, use Content-Length in XHR ArrayBuffer requests, and fix ResetResponse(); r=bz 2013-05-15 14:42:10 -04:00
David Zbarsky
5050ca1645 Bug 872367 Part 1: Mark some nsIDocument arguments as const r=reuben 2013-05-15 12:45:45 -07:00
Olli Pettay
974ce415aa 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
f60f1ed2e1 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
f40cb9a33b 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
b757634fd8 Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky 2013-05-13 13:43:53 -04:00
Mounir Lamouri
171a9e7ce6 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
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Andrea Marchesini
edbf1b9d24 Bug 869006 - Comment should be consructable. r=Ms2ger 2013-05-13 09:22:30 -04:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87 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
4a7bee80e8 b=866431, Create XHR ArrayBuffer directly instead of going via nsCString, r=bz,sfink 2013-04-27 15:25:24 -04:00
Boris Zbarsky
bfc91fa0eb 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
580af7e244 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
eb21097a79 Merge m-c to inbound. 2013-05-10 14:57:50 -04:00
David Zbarsky
e521e7ffff Bug 868312 - Rooting fixes for dom r=bz 2013-05-10 14:22:21 -04:00
Justin Lebar
37fa0a4da8 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
cf8199da6c Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
b151a55d94 Bug 868730 - Make nsDocument::ResetStylesheetsToURI return void; r=mounir 2013-05-10 09:13:37 +02:00
Bobby Holley
2dcffbdb3d Bug 857356 - Remove XBL field auto-waiving. r=bz 2013-05-09 09:16:01 -07:00
Jon Coppeard
5640cfdc91 Bug 868040 - GC: Fix some rooting hazards in content/base r=bz 2013-05-09 10:44:19 +01:00
L. David Baron
66ca724357 Remove SimpleTest.expectAssertions() call now that bug 846137 is fixed. No review. 2013-05-08 13:45:34 -07:00
Terrence Cole
fd72fc252e Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Peter Van der Beken
e250018b41 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
49395eacab Bug 869311. More rooting in dom/bindings and content/base. r=smaug 2013-05-07 22:34:56 -04:00
Timothy Nikkel
1fa79f708d Bug 869476. nsImageLoadingContent::Track/UntrackImage should return void. r=khuey 2013-05-07 13:38:35 -05:00
Sumedh Shekhar
e409da4cb3 Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Peter Van der Beken
3fc20eeb1d 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
9fd3f3a56a Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz 2013-05-06 15:28:13 -04:00
Iivari Äikäs
c0b2ce3bd9 Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
Aryeh Gregor
90eab44d24 Bug 867092 - Don't implicitly convert to already_AddRefed in nsNodeInfoManager; r=bz 2013-04-26 14:51:07 +03:00
Bobby Holley
9a1a16ea75 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
6b68e3f99b Bug 868265 - Make Attr and AttrMap skippable, r=mccr8
--HG--
extra : rebase_source : f8eb50631ac35abda47b3a00be1093a8197979ec
2013-05-07 02:37:47 +03:00
Bobby Holley
be7264ecab Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
Sankha Narayan Guria
6349c5c599 Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Boris Zbarsky
7edad6e279 Bug 867844 part 2. Fix remaining rooting hazards in nsFrameMessageManager.cpp. r=smaug 2013-05-06 08:30:46 -04:00
Boris Zbarsky
efc16bb6f6 Bug 867844 part 1. Fix rooting hazards in LegacyCall. r=smaug 2013-05-06 08:30:40 -04:00
Phil Ringnalda
d3e92cd2f3 Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
651b9b2b24 Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz 2013-05-05 09:03:20 +02:00
David Zbarsky
c12529b9d3 [Bug 868701] Remove classinfo for Attr r=Ms2ger 2013-05-04 03:55:53 -04:00
Boris Zbarsky
545e5c8143 Bug 865969 part 4. Pass handles to WebIDL dictionary init. r=smaug,terrence 2013-05-03 19:29:08 -04:00
Boris Zbarsky
9ae8f0f383 Bug 868266. Root the arguments list in nsObjectLoadingContent::LegacyCall. r=terrence 2013-05-03 19:28:32 -04:00
Bobby Holley
d02fa60c1c 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
f267207f77 Bug 829872 - Return null for cross-origin contentDocument. r=bz 2013-05-03 14:47:09 -07:00
Gregory Szorc
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Peter Van der Beken
2c2b37c721 Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
6e95a2ccef 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
cfa035fed9 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
2b06e35158 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
97c5edb4da 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
b497643dd7 Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Trevor Saunders
f14f21d2de bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert 2013-04-01 06:26:37 -04:00
Trevor Saunders
305b3e3e1f bug 856779 - make PresShell::Init() return void and devirtualize it r=bz 2013-05-02 09:22:59 -04:00
Bobby Holley
b26fa028cb Bug 834699 - Fix tests that munge dom.xbl_scopes. r=bz 2013-05-02 16:02:04 -07:00
Bobby Holley
a25082424e Bug 834699 - Stop checking dom.xbl_scopes. r=bz 2013-05-02 16:02:03 -07:00
David Zbarsky
38f5841d1a Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
9e8a403300 Bug 866450 Part 5: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
David Zbarsky
3f7cb5e49c Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00