Commit Graph

6413 Commits

Author SHA1 Message Date
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
Aryeh Gregor
6d2305a18c Bug 857102 part 3 - Make various GetNodeInfo callers infallible; r=bz 2013-04-04 15:01:11 +03:00
Aryeh Gregor
c446dbef0c Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Aryeh Gregor
af0856194e Bug 857102 part 1 - Make nsNodeInfoManager::GetNodeInfo infallible; r=bz 2013-04-04 15:00:07 +03:00
Boris Zbarsky
fa4a7c3979 Bug 851917. Get rid of the classinfo for HTMLObjectElement, HTMLEmbedElement, HTMLAppletElement, and rip out nsHTMLPluginObjElementSH. r=peterv,johns 2013-04-10 13:49:05 -04:00
David Keeler
8cef92685a bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Sid Stamm
c3a9c1e37a Bug 836132 - add more tests for x-frame-options ALLOW-FROM. (r=bz) 2013-04-10 10:08:49 -07:00
Stephen Pohl
21bdf5ab95 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Ryan VanderMeulen
dcda86fbdf Backed out changeset 9983874bfa63 (bug 854467) for bustage on a CLOSED TREE. 2013-04-09 13:45:39 -04:00
Kyle Huey
f0b8eea05a Bug 854799: Make image.src='' discard the image immediately even if the image is not in the document. r=jlebar 2013-04-09 09:50:35 -07:00
David Keeler
c5435bfca8 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Andrea Marchesini
88fb3bf458 Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Andrea Marchesini
6fcbcefc3b Bug 851470 - Rename nsDOMAttribute to Attr. r=Ms2ger
--HG--
rename : content/base/src/nsDOMAttribute.cpp => content/base/src/Attr.cpp
rename : content/base/src/nsDOMAttribute.h => content/base/src/Attr.h
2013-04-09 17:29:44 +02:00
Boris Zbarsky
ecc404d587 Bug 688691. Warn when LenientThis actually causes us to not throw. r=ms2ger 2013-04-08 17:04:21 -04:00
Ralph Giles
fca7e06bbc Bug 857022 - Remove MOZ_MEDIA from content. r=cpearce
Remove the MOZ_MEDIA build-time define in the content
module, enabling this code unconditionally.
2013-04-04 15:07:00 -07:00
Garrett Robinson
fa7624ae06 Bug 821877 - Log CSP errors to Web Console. r=bz 2013-04-08 14:35:30 -04:00
Bobby Holley
7ab3e34af6 Bug 839467 - Remove aCx parameter to CloneAndAdopt. r=mrbkap
Right now it has to be kept in sync with the nullness of aNewScope. Let's just
rely on the cx stack here and kill the param.
2013-04-08 10:24:21 -07:00
Bobby Holley
663cc022d5 Bug 839467 - Remove JSContext pushing in AdoptNode. r=mrbkap 2013-04-08 10:24:21 -07:00
Trevor Saunders
6c61278b66 bug 856779 - kill NS_NewPresShell() r=bz 2013-03-31 16:39:27 -04:00
Ehsan Akhgari
bfb42c373e Bug 856455 - Make nsCOMArray::SetCapacity return void; r=bsmedberg
--HG--
extra : rebase_source : 38cdef904f9b7fc33bd3f41bd19b1778dfbd7990
2013-03-31 16:06:18 -04:00
Aryeh Gregor
100ab0941f Bug 851916 part 2 - createHTMLDocument() should work with no arguments; r=bz 2013-03-21 14:55:08 +02:00
John Daggett
1055d1d3c6 Bug 854799 - backout changeset 0caf5937f8bc due to tp regression. r=roc 2013-04-08 14:46:36 +09:00
ishikawa@yk.rim.or.jp
9b1a78763b Bug 854888, don't warn when GetContextForEventHandlers fails, r=smaug 2013-04-07 18:08:14 +03:00
Andrew McCreight
bcd9623a38 Bug 856313 - Clean up some Traverse/Unlink declarations. r=smaug 2013-04-02 09:48:59 -07:00
Ryan VanderMeulen
24a4c17eff Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
8ce12e971c Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
David Zbarsky
785f24e28f Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
David Zbarsky
a3eafcf007 Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger 2013-04-05 20:44:15 -04:00
David Zbarsky
0180c76147 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Ms2ger
c89f422b19 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Boris Zbarsky
1406c535d2 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
Ryan VanderMeulen
e21d7c4218 Backed out changesets 715fce49a07b and abbc05319449 (bug 851916) for B2G mochitest-2 orange.
--HG--
rename : dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/ChildNode-remove.js => dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_ChildNode-remove.js
2013-04-04 12:02:50 -04:00
Ryan VanderMeulen
14b8ba5455 Bug 855730 - Disable test due to high failure rate. 2013-04-04 09:41:29 -04:00
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
957e2e77af Bug 854196 - Don't call GetWindowInternal directly, and make assertions harder to ignore; r=bz 2013-04-04 09:03:26 +02:00
Tanvi Vyas
e3d3299f40 Bug 855730 - Originally extended the timeout to 10 seconds to see if that would provide us data about the intermittent failure. Extended timeout is causing too many oranges and a longer timeout does not prevent the failures. r=smaug 2013-04-03 15:21:19 -07:00
Eitan Isaacson
79a685a6a4 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Aryeh Gregor
62c7f52161 Bug 851916 part 2 - createHTMLDocument() should work with no arguments; r=bz 2013-03-21 14:55:08 +02:00
Drew Willcoxon
345295f71d Bug 723163 - Improve about:crashes copy & paste by improving XHTML text/plain encoding. r=hsivonen,njn 2013-04-03 11:39:06 -07:00
matekm
00c2965124 Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Nathan Froyd
0a8a82bada Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Nathan Froyd
b2aae26008 Bug 839103 - part 1 - factor out StyleSheet{Added,Removed} notifications into separate nsDocument methods; r=bz 2013-03-27 11:20:54 -04:00
Kyle Huey
c1ef5de8fc Bug 854799: Make image.src='' discard the image immediately even if the image is not in the document. r=jlebar 2013-04-03 09:52:25 -07:00
Matthew Gregan
97ff5f7d61 Bug 855570 - Deprecate Audio Data API. r=ehsan 2013-03-28 14:36:29 +13:00
Tanvi Vyas
20b4cf81b2 Bug 855730 - To determine the root of the intermittent failures in the last mochitest from bug 840388, rearrange the tests so that the failing test is not the last test. Do this by first running the tests with the mixed active content allowed and then run them with mixed active content blocked. r=smaug 2013-04-02 17:23:41 -07:00
Matt Brubeck
0112a4cd84 Back out bug 839103 for build errors on a CLOSED TREE 2013-04-02 08:18:27 -07:00
Nathan Froyd
2ff029b601 Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Nathan Froyd
9d6d884187 Bug 839103 - part 1 - factor out StyleSheet{Added,Removed} notifications into separate nsDocument methods; r=bz 2013-03-27 11:20:54 -04:00
Boris Zbarsky
8497d2e6a5 Bug 856752. Reinstate Node.hasAttributes. r=khuey 2013-04-02 00:04:19 -04:00
Gabor Krizsanits
26d5b45a24 Bug 820170 - documents should know their globals. r=smaug 2013-04-04 11:32:29 +02:00
Gabor Krizsanits
4995dd1d6c Bug 820170 - nsDOMEventTarget holds a global. r=smaug 2013-04-04 11:30:36 +02:00
Gabor Krizsanits
b999241fc8 Bug 820170 - using nsIGlobalObject in documents. r=smaug 2013-04-04 11:27:41 +02:00
Gabor Krizsanits
fa14b1b757 Bug 820170 - Weak ref support for globals. r=bholley 2013-04-04 11:27:40 +02:00
Gabor Krizsanits
c38a4cd7da Bug 820170 - Turning BackstagePass into non-singleton. r=bholley 2013-04-04 11:27:38 +02:00
Gabor Krizsanits
23e12dce05 Bug 820170 - nsIGlobalObject. r=bholley 2013-04-04 11:27:06 +02:00
Gabor Krizsanits
670b243606 Bug 820170 - merge scope members on nsDocument. r=smaug 2013-04-04 11:24:40 +02:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Randell Jesup
f2b7036deb Bug 855623: DataChannel DOM changes for adding 'protocol' and external negotiation r=smaug 2013-03-31 21:09:25 -04:00
L. David Baron
7954febd82 Note bug number (bug 846137) for assertion annotation. 2013-03-31 00:50:29 -07:00
Ms2ger
2da2c38f03 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Boris Zbarsky
17e7741d9a Bug 851781. Make sure that we don't reenter scriptblocker removal when we don't expect to. r=smaug 2013-03-30 00:13:52 -04:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Tanvi Vyas
f05a952b19 Bug 855730 - Logging patch to see if I can determine the cause of the failures in bug 840388's mochitests. r=smaug 2013-03-29 11:54:18 -07:00
Joel Maher
88f3456d4d Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-29 08:43:27 -04:00
Tanvi Vyas
6e7ae74bf9 Bug 855730 - Extend the mochitest timeout for file_mixed_content_frameNavigation_secure_grandchild.html to 10 seconds instead of 5 seconds to prevent intermittent tests failures. r=smaug 2013-03-28 21:31:54 -04:00
Sid Stamm
9cffa13ce4 Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz 2012-10-15 13:54:58 -07:00
Bobby Holley
802ee774c5 Bug 790732 - Fix miscellaneous Components proliferation. r=me 2013-03-28 14:26:02 -07:00
Terrence Cole
9801ecf36c Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Tanvi Vyas
c163ea270b Bug 834836 - CSP - Fix tests that break when security.mixed_content.block_active_content is set to true and if/when security.mixed_content.block_display_content is set to true. r=sstamm 2013-03-28 13:18:44 -07:00
Andrea Marchesini
77ae8010d9 Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
Sid Stamm
78cd3bd3a4 Bug 832398 - change default-source to default-src in CSP error messages. r=l10n
--HG--
extra : rebase_source : 019f24639e72481cd31c1f935dd657d42c99dd26
2013-03-28 10:05:51 -07:00
Peter Van der Beken
9ce6bfc722 Fix for bug 820657 (Implement the NamedGetter functionality on HTMLDocument) - implement GetSupportedNames on HTMLDocument. r=bz.
--HG--
extra : rebase_source : 3d97a79286b3c4ec15f1515219d853e1914d739e
2013-03-27 18:15:37 +01:00
Gina Yeh
74476548cd Bug 853200 - Remove unused event handlers from idl, r=echou, sr=mrbkap 2013-03-28 18:05:58 +08:00
Daniel Holbert
7f2b6d4e18 Bug 840388 followup: Remove completely unused variable 'chromeParent' introduced in cf276949f2b6, to fix unused variable build warning. (trivial patch, no review) 2013-03-28 00:08:53 -07:00
Tanvi Vyas
1addbe8c8a Bug 841850 - Mochitests. r=smaug 2013-03-27 22:24:04 -07:00
Tanvi Vyas
d6f9bba4b9 Bug 840388 - Mochitests that navigate https frames to http frames, both when a secure parent exists and when no secure parents exist. Tested with the mixed active content pref enabled and disabled. r=smaug 2013-03-27 22:11:59 -07:00
Tanvi Vyas
7754617c3c Bug 840388 - Check if a iframe has any https parents. If not, then there is no mixed content since we are not on a secure page. r=smaug 2013-03-27 22:11:55 -07:00
David Zbarsky
3c59b61d13 Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger 2013-03-27 21:23:09 -04:00
Randell Jesup
1b2f6d1c80 Bug 842126: Avoid deadlock if we can't send an Open message r=mcmanus 2013-03-27 19:46:48 -04:00
Guilherme Goncalves
c48d442559 Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Ryan VanderMeulen
d86ac55e7c Backed out changeset 01ed911e67e1 (bug 685652) for possibly being the real OSX 10.6 mochitest-other culprit. r=OJ 2013-03-27 17:05:52 -04:00
Joel Maher
79f15d62bf Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-27 15:04:39 -04:00
Phil Ringnalda
caf3a38549 Back out bd91df842f2f (bug 840388)
CLOSED TREE
2013-03-26 20:34:02 -07:00
Phil Ringnalda
ab08c180ef Back out 196fbc36c878 (bug 840388) for asserting
CLOSED TREE
2013-03-26 20:18:34 -07:00
Tanvi Vyas
d1a8b8aecb Bug 840388 - Mochitests that navigate https frames to http frames, both when a secure parent exists and when no secure parents exist. Tested with the mixed active content pref enabled and disabled. r=smaug 2013-03-26 16:22:00 -07:00
Tanvi Vyas
4933a3f53b Bug 840388 - Check if a iframe has any https parents. If not, then there is no mixed content since we are not on a secure page. r=smaug 2013-03-26 16:20:39 -07:00
Boris Zbarsky
369ffe5696 Bug 848796 part 2. Add WebIDL API for XULDocument. r=peterv 2013-03-26 11:31:53 -04:00
Boris Zbarsky
0944e82e31 Bug 848796 part 1. Rename nsXULDocument to mozilla::dom::XULDocument. r=ms2ger
--HG--
rename : content/xul/document/src/nsXULDocument.cpp => content/xul/document/src/XULDocument.cpp
rename : content/xul/document/src/nsXULDocument.h => content/xul/document/src/XULDocument.h
2013-03-26 11:31:53 -04:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
William Chen
9ec88d1fbb Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Jose Cortes
9afd8ef534 Bug 842186 - Replace instances of jsval with JS::Value in the content/base directory. r=jwalden
--HG--
extra : rebase_source : a5b36ffacf32b74b4d58373ad1d1ac769859bed1
2013-03-22 22:11:52 -07:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Henri Sivonen
3ecde32d00 Bug 853170 - Revise the IID of nsIXMLHttpRequest as a follow-up to bug 843508. r=smaug. 2013-03-25 18:02:49 +02:00
Peter Van der Beken
7ad60eda0b Fix for bug 852979 (Remove unused nsContentUtils::JSArrayToAtomArray). r=smaug.
--HG--
extra : rebase_source : c61c3477d5686956a44d45685c59c0a3415dc3c3
2013-03-25 12:19:11 +01:00
Bobby Holley
bcb7ce6f0a Bug 854019 - Continue checking the XBL bit if remote XUL disables XBL scopes. r=bz 2013-03-24 09:27:10 -07:00
Olli Pettay
b83c5a57ac Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
Simon Montagu
9e9cb640e2 Set AncestorHasDirAuto on the descendants of a <bdi> having its dir attribute removed or set to an invalid value. Bug 849732, r=ehsan 2013-03-24 11:27:03 +02:00
Simon Montagu
dc0b05a650 Don't rerun the downward propagation algorithm from ResetNodeDirection after an element has had dir=auto removed. Bug 849727, r=ehsan 2013-03-24 11:27:02 +02:00
Mounir Lamouri
bdd72ba9e1 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-22 17:52:52 +00:00
Terrence Cole
2ae4b3c000 Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug 2013-03-19 10:20:21 -07:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
David Zbarsky
9a11ed834c Bug 847007: Remove nsIDocument includes r=Ms2ger 2013-03-21 20:05:19 -04:00
John Schoenick
3a3f711de5 Bug 843671 - Followup, properly rev interface IID. r=me DONTBUILD 2013-03-21 16:46:44 -07:00
Tom Schuster
c7dee7583c Bug 736324 - Give blob urls content-disposition filename based on the file. r=sicking 2013-03-21 23:23:48 +01:00
Ehsan Akhgari
bc42d0d0df Bug 853567 - Fix nsTArray::SetCapacity callers in nsContentIterator to not look at the return value; r=bzbarsky
--HG--
extra : rebase_source : ec485d86b13bfea3f27e51a793cdbb6937f83aee
2013-03-21 14:52:48 -04:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Aryeh Gregor
b5a262279a Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
Olli Pettay
5ffd2c48e3 Bug 849601, no need to have explicit AutoMutationBatch when setting outerHTML, r=bz 2013-03-21 11:37:14 +01:00
Johnny Stenback
f735d2b3ee Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
John Schoenick
0262903d6f Bug 784131 - Kill plugins that become unrendered (e.g. display:none). r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
d3237364ad Bug 784131 - nsObjectLoadingcontent: Minor cleanup around mPendingInstantiateEvent. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
ea1399f5ed Bug 784131 - Cleanup some dead code from nsObjectLoadingContent. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
961e5573aa Bug 843671 - Fix plugin instance owner teardown. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
aa811f364c Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
9035b2d85a Bug 851378 - Move removing the plugin prototype from objects to content. r=bsmedberg 2013-03-20 14:29:21 -07:00
Ted Mielczarek
bc92001c0b bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Boris Zbarsky
48065c3f32 Bug 848386 part 4. Rename nsXMLDocument to mozilla::dom::XMLDocument. r=peterv
--HG--
rename : content/xml/document/src/nsXMLDocument.cpp => content/xml/document/src/XMLDocument.cpp
rename : content/xml/document/src/nsXMLDocument.h => content/xml/document/src/XMLDocument.h
2013-03-20 12:22:26 -04:00
Boris Zbarsky
4a58e1fb8c Bug 848386 part 2. Implement a WebIDL equivalent for nsDocumentSH::PostCreate setting up the document as an own property on the Window. r=peterv 2013-03-20 12:22:26 -04:00
Boris Zbarsky
f5d074fcf0 Bug 852118. Stop window.name being malloc-happy. r=smaug 2013-03-19 21:47:47 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
1cfe288152 Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures. 2013-03-19 16:44:14 -04:00
Joe Drew
daa0ea8330 Bug 850441 - Allow BlockOnload/UnblockOnload from both the current and pending request. r=khuey
--HG--
extra : rebase_source : cd7bdc9f91b478be60fed5572dc8ee5e3faae380
2013-03-12 18:13:40 -04:00
Jared Wein
5f4a7a8d85 Bug 851230 - Framed plain text documents should not have word wrap applied. r=bz 2013-03-19 16:30:53 -04:00
Mounir Lamouri
cdeb0510c2 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-19 18:24:35 +00:00
Trevor Saunders
8b11739fc1 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Nathan Froyd
01a9f0728d Bug 852194 - remove #include "nsIURI.h" from a couple content/ headers; r=smaug 2013-03-18 11:38:19 -04:00
Andrea Marchesini
8c4773bbdb Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Trevor Saunders
67dff5d95a bug 850797 - add nsIDocument::IsVisibleConsideringAncestors() r=bz 2013-03-16 00:13:38 -04:00
Ian Melven
81f3218bcf Bug 846458 - intermittent TEST-UNEXPECTED-PASS | /tests/content/base/test/test_bug548193.html | Assertion count 0 is less than expected range 1-1 assertions. (r=sstamm) 2013-03-18 12:43:21 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Blake Kaplan
9d7aed4e2b Bug 850676 - test_mixed_content_blocker_bug803225.html is causing docshell/test/navigation tests to fail. r=tanvi 2013-03-18 09:19:15 -04:00