Commit Graph

2619 Commits

Author SHA1 Message Date
Mounir Lamouri
32493e2680 Bug 729854 - Improve test_bug353415-1.html and test_bug353415-2.html. r=Ms2ger 2012-03-09 15:26:56 +01:00
Jacob Holzinger
86f648606c Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Rob Campbell
44c93895a1 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
78363fbd82 Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Makoto Kato
8e7fa7d23a Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Justin Lebar
c07407a766 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Justin Lebar
3e68e04f09 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Frank Yan
9e491189e7 Bug 726402 - Fix intermittent test_bug369370.html. r=bz 2012-02-18 03:42:44 -08:00
Frank Yan
496861d60e Bug 717143 - Remove bogus margins when force-reloading standalone image. r=bz 2012-03-07 22:11:45 -08:00
Peter Van der Beken
615a5bd90d Fix for bug 717013 (Add new DOM binding for DOMTokenList). r=jst.
--HG--
extra : rebase_source : 6ae0abe3bbe33a140c62c193685e23529d44e6d4
2011-08-22 11:14:13 +02:00
Nicholas Nethercote
94c77b94d3 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Boris Zbarsky
93fdc40674 Bug 615595. Set the form submission's mCharset to the charset we're actually using to encode the data. r=sicking 2012-03-02 00:19:30 -05:00
Nicholas Nethercote
29ca78c292 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Ryan VanderMeulen
f20c50e238 Backout bug 492921 due to mochitest crashing. 2012-02-29 20:29:49 -05:00
Emanuel Hoogeveen
09bd2b6a82 Bug 492931 - Part 1b: Change to ASCII case conversion in content/ where appropriate. r=sicking 2012-02-29 19:32:13 -05:00
Emanuel Hoogeveen
36698a56aa Bug 492931 - Part 1a: Change to ASCII case conversion in content/ where appropriate. r=sicking 2012-02-29 19:31:45 -05:00
Mounir Lamouri
e31b86b169 Bug 618876 - Support internationalized <input type="email">. r=sicking 2012-02-29 23:35:47 +01:00
Mounir Lamouri
71f79ca110 Bug 670883 - Add UTF-8 tests for <input type=url>. r=sicking 2012-02-29 23:37:38 +01:00
Henri Sivonen
95c3b0eac7 Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug. 2012-02-27 13:57:48 +02:00
Jeff Muizelaar
bb4ffcdb3c Bug 730508. Clip canvas invalidations to the content area of the canvas. r=roc
Previously, operations like drawImage() could invalidate areas outside of the
canvas. This hurt performance of runfield on maple.
2012-02-27 01:05:10 -05:00
Masayuki Nakano
910c88091a Bug 728132 test_bug583533.html shouldn't use nsIDOMNSEvent::*_MASK r=smaug 2012-02-27 12:02:35 +09:00
Matthew Gregan
b4bd6bbd9d Bug 634564 - Don't reset load-in-background flag when moving completed media load into the foreground. r=cpearce 2012-02-24 14:07:35 +13:00
Nathan Froyd
a3e91bce47 Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
Mounir Lamouri
dd30b62b06 Bug 729854 - Fix intermittent failure in test_bug353415-2.html. r=Ms2ger 2012-02-24 14:11:30 +01:00
Mounir Lamouri
a38c6837bd Bug 720385 - Make option.index follows the specifications. r=Ms2ger 2012-02-24 21:30:54 +01:00
Rafael Ávila de Espíndola
ec2d4903e9 Bug 723534 - Remove dead default cases. r=ehsan. 2012-02-24 08:36:53 -05:00
Richard Newman
200c9a86f4 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Matthew Schranz
62d6dff935 Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Olli Pettay
ae99f8a2eb Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan 2012-02-23 22:47:37 +02:00
Ms2ger
9e65d6abe7 Bug 725977 - Update table cellpadding / cellspacing to spec; r=bz 2012-02-21 10:34:01 +01:00
David Seifried
f3faca678f Bug 680321 - Media preload state should reset in resource selection algorithm. r=cpearce 2012-02-20 10:02:08 +13:00
Chris Pearce
45a6bbad67 Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc 2012-02-20 10:02:08 +13:00
Rafael Ávila de Espíndola
aa5bff7299 Bug 727222 - mark some classes in content/html/content/src/ final. r=smaug. 2012-02-15 10:42:34 -05:00
Robert O'Callahan
ad4c67538b Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00
Robert O'Callahan
8b57a3e190 Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec 2012-02-15 17:35:01 +13:00
Jonathan Kew
026918c9c1 bug 726981 - remove stray instances of PRBool in content. r=mounir 2012-02-14 16:17:19 +00:00
Brian Birtles
8703bcb41f Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Brian Birtles
8e36f98441 Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Neil Deakin
a104105bd5 Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug 2012-02-13 14:24:28 -05:00
Mounir Lamouri
c6703a91ee Bug 709448 - File input click() handling should perhaps allow openControlled popups; r=bz 2011-12-21 18:03:52 +01:00
Marco Bonardo
f05785c238 Backout 683c21514e28, c22a4f1815c6, adb8a322cbe3, 415f3b807d45, 25edb41d0119 (bug 629200) for Dromaeo(DOM) regressions 2012-02-07 15:57:03 +01:00
Jignesh Kakadiya
fb39b87dad Bug 596515 - Add a possibility of styling form:invalid. r=mounir 2012-02-07 13:51:49 +01:00
Mounir Lamouri
71d98e28e8 Bug 720130 - Tab key shouldn't focus plugins unless tabindex is set. r=smaug 2012-02-07 13:52:45 +01:00
Marco Bonardo
fcf9ccd8c0 Merge central to inbound 2012-02-07 14:25:00 +01:00
Mats Palmgren
272a198ef1 merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren
75acf9d506 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Brian Birtles
c0c319ccbe Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-07 15:54:38 +09:00
Brian Birtles
a9bc61b8d3 Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz 2012-02-07 15:54:38 +09:00
Ed Morley
abd2c4311d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-05 11:10:53 +00:00
Tim Taubert
013824d68d merge m-c to fx-team 2012-02-04 11:28:09 +01:00
Tim Taubert
afc94a754a Bug 723852 - Use a runnable for canvas.mozFetchAsStream(); r=khuey 2012-02-03 15:23:18 +01:00
Panagiotis Koutsourakis
583eb38038 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Tim Taubert
456b0bba2b merge m-c to fx-team 2012-02-02 10:03:01 +01:00
Tim Taubert
36e10603d3 Bug 720697 - Provide internal API to get canvas image data as nsIInputStream; r=khuey 2012-02-01 01:13:44 +01:00
Josh Aas
1d82a76ecf Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Michal Novotny
01d74edf5f Bug 649778 - document.write may cause a document to be written to disk cache even when the page has Cache-Control: no-store 2012-01-30 18:03:52 +01:00
Mats Palmgren
8fc86a6d69 Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00
Rafael Ávila de Espíndola
e9ddfaa8cb Bug 723525 - Mark classes final or add virtual destructor in content/*. r=jmuizelaar. 2012-02-02 17:15:18 +01:00
Ed Morley
9b8aaafa74 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-02 10:22:32 +00:00
Matthew Gregan
037bfc693c Bug 687927 - Remove vestigial logging. r=roc 2012-02-02 15:28:12 +13:00
Matt Brubeck
6eb3db5623 Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Justin Lebar
eff9052a37 Bug 719459 - Add onmozbrowsertitlechange event. r=smaug
--HG--
extra : rebase_source : b5e8ee64c85e0090a38a849bf077a68055ff56b9
2012-01-26 18:03:22 -05:00
Jon Buckley
a1ada7a67d Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Jon Buckley
350374a515 Bug 682299 - Move CORS attributes and enumerations to nsGenericHTMLElement. r=bz 2012-01-25 17:31:29 -05:00
Ms2ger
2d51bac031 Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
4bcb2cb24d Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan 2012-01-25 08:50:05 +01:00
Ms2ger
9d656c56e1 Bug 720124 - Remove dead code from HTMLContentSink: AddComment; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
70306e5407 Bug 720124 - Remove dead code from HTMLContentSink: AddProcessingInstruction; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
05ed36cc33 Bug 720124 - Remove dead code from HTMLContentSink: IsFormOnStack; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
9d2a246cea Bug 720124 - Remove dead code from HTMLContentSink: form; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
8f95286164 Bug 720124 - Remove dead code from HTMLContentSink: meta; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
281995d3a8 Bug 720124 - Remove dead code from HTMLContentSink: mInsideNoXXXTag; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
63df7a3a51 Bug 720124 - Remove dead code from HTMLContentSink: mNumOpenIFRAMES; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
4a0736a867 Bug 720124 - Remove dead code from HTMLContentSink: AddDocTypeDecl; r=hsivonen 2012-01-25 08:50:02 +01:00
Ms2ger
76993967e0 Bug 720124 - Remove dead code from HTMLContentSink: frameset - link - style - doctype; r=hsivonen 2012-01-25 08:48:59 +01:00
Ms2ger
0912b0ab3d Bug 715112 - Remove HTMLContentSink::ProcessSCRIPTEndTag; r=hsivonen 2012-01-25 08:48:59 +01:00
Simon Montagu
5881e8809b Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Phil Ringnalda
deb06f5a95 Backed out changeset a57b82b18bde (bug 622232) for build bustage 2012-01-23 16:07:47 -08:00
Steve Workman
96e0190997 Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2012-01-20 15:14:46 -08:00
Justin Lebar
e6de49c6d0 Bug 720157 - Don't crash when OnLocationChange sends a null URI. r=smaug 2012-01-22 15:46:55 -05:00
Bas Schouten
f41ddf02da Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
aceman
e6ea5dc25d Bug 711839 - --disable-ogg configure option breaks build after bug 689834. r=bz 2012-01-20 19:23:58 +00:00
Justin Lebar
235e524f0e Bug 710231 - Part 3: Add mozbrowserloadstart, mozbrowserloadend, mozbrowserlocationchange events to <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 01d82c02f56afd6aebf94443f223bc537536cc57
2012-01-20 12:02:48 -05:00
Justin Lebar
8b4101d719 Bug 710231 - Part 2: Move nsGenericHTMLFrameElement into its own file. r=smaug
--HG--
extra : rebase_source : 91a8636ff2d6cc5892ceb8f0235079f8201b6065
2012-01-20 12:02:48 -05:00
Justin Lebar
ff743fa577 Bug 710231 - Part 1: Back out bug 708176 part 2 (rev 1bdcd84ae727). r=smaug
--HG--
extra : rebase_source : 1c5768b85524a2c7ad63901e7d1f7acdbc075dcb
2012-01-20 12:02:28 -05:00
Henri Sivonen
7bcb2df73f Bug 102699 - Support text/html in DOMParser.parseFromString(). r=smaug.
--HG--
rename : content/base/test/file_html_in_xhr.sjs => parser/htmlparser/tests/mochitest/file_bug102699.sjs
2012-01-20 14:03:49 +02:00
Henri Sivonen
556cef528f Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
6db281e157 Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
d06cb2cc48 Bug 715739 - Make document.write from inside a script-created parser not add to the wyciwyg channel. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
3b854aa20f Bug 715112 - Remove duplicate document.close() state tracking. r=smaug. 2012-01-20 13:16:26 +02:00
Chris Pearce
eb006e51ef Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-20 07:30:29 +13:00
Chris Pearce
a323c9b649 Bug 713381 - Commit backout. r=backout 2012-01-19 11:57:44 +13:00
Chris Pearce
feca30f47a Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout 2012-01-19 11:56:54 +13:00
Chris Pearce
c7db97f406 Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-19 09:15:57 +13:00
Jignesh Kakadiya
4163c7144f Bug 717066 - Make nsGenericHTMLElement::GetLayoutHistoryAndKey return void. r=ms2ger 2012-01-18 16:10:06 -05:00
Steve Workman
c542c8f61b Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2012-01-20 15:14:46 -08:00
Jeff Muizelaar
223038ca63 Bug 719917. Add some more network and plugin related SAMPLE_LABELs. r=bgirard
--HG--
extra : rebase_source : d21f4ffb244ae661e1ca222c02a8fa8b40a071bd
2012-01-18 19:53:35 -05:00
Jonathan Watt
9fb3c8bb9f Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Marco Bonardo
036fc8bd62 Merge central to inbound 2012-01-17 16:24:46 +01:00
Oleg Romashin
9bb744d90a Bug 718494 - nsHTMLTableSectionElement.cpp:188:12: error: variable 'rv' set but not used; r=Ms2ger 2012-01-17 12:52:36 +01:00
Tim Taubert
dc0feeb24e merge m-c to fx-team 2012-01-16 11:20:19 +01:00
Justin Wood
09b3d2e3d1 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
c3ac307be0 Bug 717195 - Export dombindings.h; r=bholley 2012-01-15 09:13:12 +01:00
Diogo Golovanevsky Monteiro
327bec7ba7 Bug 718133 - Remove keyboard shortcuts for zooming to 1:1 scale when viewing standalone images. r=roc 2012-01-14 22:31:18 -08:00
Henri Sivonen
13f10df581 Bug 717198 - Remove the tag observer code from the tree. r=mrbkap. 2012-01-11 17:49:56 +02:00
Ms2ger
10ae9ad9d2 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger
badf95659c Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
41e5f45d47 Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01:00
Justin Lebar
07be7f4331 Bug 708176 - Followup: Fix busted test. rs=smaug
--HG--
extra : rebase_source : dcfb6aa83e6a1b5751cd5ddfbae7547a8aa1f28b
2012-01-10 14:50:21 -05:00
Justin Lebar
e79f17be95 Bug 708176 - Part 2: Add {i,}frame.queryInnerState(), which allows privileged pages to peer into an iframe's state. r=smaug
--HG--
extra : rebase_source : dfd89eb7d451bac9ae4e4eb05d090c767f42ab8e
2012-01-10 12:57:40 -05:00
David Zbarsky
785e84c27d Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Markus Stange
99c74550c0 Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc 2011-12-23 22:52:21 -05:00
Ehsan Akhgari
a29289ec54 Bug 717819 - Remove the special casing of getting the offset parent for children of tables now that bug 10209 has been fixed; r=bzbarsky 2012-01-13 13:44:06 -05:00
Steve Workman
125f1d7847 Bug 697830 - Delayed DNS prefetch queue is disabled for e10s. r=jduell 2012-01-13 22:21:08 -08:00
Mounir Lamouri
5d0ca55b99 Bug 716338 - Use FAIL_ON_WARNINGS in content/html/content/src. r=bz 2012-01-09 18:58:30 +01:00
Henri Sivonen
898a4771fc Bug 655261 - Remove nsIParserFilter from the tree. r=mrbkap. 2012-01-09 14:20:43 +02:00
Henri Sivonen
e5f6c55e15 Bug 655255 - Remove nsICharsetDetectionAdaptor from the tree. r=smontagu. 2012-01-09 14:19:51 +02:00
Tim Taubert
b80865c944 merge m-c to ux 2012-01-08 15:02:29 +01:00
Jared Wein
876c18b050 Bug 708431 - Video controls fail to initialize if an extension implementing nsIContentPolicy is present. r=roc r=bz 2012-01-07 18:43:48 -08:00
Olli Pettay
27dbf00d52 Bug 715615 - unlink nsHTMLTableElement, r=bz 2012-01-08 01:37:43 +02:00
Santiago Gimeno
c5a094d7d4 Bug 710292 - Add a common HTMLSplitOnSpacesTokenizer tokenizer. r=khuey 2012-01-04 05:08:00 -05:00
Marco Bonardo
27b788e814 Merge mozilla-central and mozilla-inbound 2012-01-06 13:26:21 +01:00
Chris Pearce
756594de5d Bug 711866 - Don't null deref when shutting down during media load algorithm. r=roc 2012-01-06 19:40:51 +13:00
Neil Rashbrook
e7ecf3a5d5 Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc 2012-01-05 21:33:41 +00:00
Ehsan Akhgari
418e53bb8b Bug 712510 - Initialize the return value in the extremely odd case where it's never assigned to before returning; r=roc 2012-01-03 19:28:45 -05:00
Henri Sivonen
757bd59f6a Bug 708620 - Whine to console when a form is submitted in an encoding that cannot represent all of Unicode. r=smaug. 2012-01-02 16:18:30 +02:00
Bobby Holley
92e001c11a Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Bobby Holley
4b6add2c77 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Geoff Lankow
eb732e76d2 Bug 712518 - Improve MockFilePicker.jsm; r=jmaher 2011-12-23 11:10:52 +13:00
Neil Rashbrook
985ba4520e Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
Chris Pearce
c998f71a55 Bug 712134 - Log media load algorithm failures to web console. r=roc 2011-12-22 12:33:39 +13:00
Daniel Holbert
0b10e8edb8 Bug 717004: Drop unused/unnecessary rv from GetLayoutHistoryAndKey, and check rv of nsILayoutHistoryState::GetState before using its output. r=volkmar 2012-01-10 15:32:58 -08:00
Chris Pearce
176bb0c176 Bug 716417 - Don't add media elements to the element table twice if when we hit decode thread limit. r=roc 2012-01-11 11:58:43 +13:00
Olli Pettay
c35f7bb3a9 Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Jeff Walden
f73124604d Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Chris Pearce
1511fb7d91 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Matt Brubeck
ac7dca5992 Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Ms2ger
ee10d28665 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Ms2ger
b7ac5cb250 Bug 707448 - Cleanup nsHTMLFormElement::DoSubmitOrReset a bit; r=mounir 2011-12-18 11:06:27 +01:00
Ms2ger
c480d4db80 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Matthew Schranz
5eb12bc3ef Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Matt Brubeck
bbee5ef69a Merge mozilla-central to mozilla-inbound 2011-12-16 14:39:31 -08:00
Matt Brubeck
0b0e4462a3 Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00
Ms2ger
b584f33714 Merge m-c to m-i. 2011-12-16 21:04:41 +01:00
Rob Campbell
6103bfc002 merge fx-team to m-c
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Masayuki Nakano
b4506dd72f Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Jeff Walden
476c7d19c5 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Ed Morley
e4b8f88136 Bug 700490 - Remove nsICharsetResolver; r=smontagu 2011-12-16 09:13:29 +00:00
Carlo Alberto Ferraris
f397e142ef Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Carlo Alberto Ferraris
5c2ef67719 Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Ed Morley
8e0d79be44 Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
17d1a329d9 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Andrew Quartey
e782621700 Bug 706731: Support for defaultMuted DOM attribute on media elements. r=kinetik,bzbarsky 2011-12-15 14:36:46 -05:00
Andrew Quartey
346a8e3478 Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky 2011-12-15 14:36:46 -05:00
Gabor Krizsanits
108063a5d0 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Masatoshi Kimura
26a3901298 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Henri Sivonen
b4494c19b4 Bug 648252 - Remove nsViewSourceHTML from the tree. r=mrbkap, a=khuey. 2011-04-07 16:41:53 +03:00
Robert O'Callahan
2a55a7e9fc Bug 687972. More logging... 2011-12-10 00:57:34 +13:00
Chris Pearce
3ccf31c360 Bug 704010 - Disable test_fullscreen-api on WinXP cos it's purple most of the time. r=philor 2011-12-09 17:22:02 +13:00
William Chen
ce168cb0a0 Bug 669903 - check for double unlink in nsDOMStringMap's unlink. r=sicking
Added a check to ensure that the element exists prior to clearing the element's dataset member. This is done as a precaution in the case where the dataset is unlinked twice by the cycle collector.
2011-07-25 12:24:59 -07:00
Masayuki Nakano
b26f243504 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
67ab8bc88a Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Chris Pearce
801e705807 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Ed Morley
25b5e3e769 Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Ms2ger
68e1ed1f12 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Steve Fink
6c8d84aa61 Bug 700202 - Propagate errors from ReparentContentWrappersInScope (r=smaug)
--HG--
extra : rebase_source : c8590dfa093620e92520a617d69d7f3ebf5edd5f
2011-11-21 09:35:26 -08:00
Andrew Quartey
782713b602 Bug 689834 - Respect the muted attribute on media elements. f=josh r=kinetik 2011-12-03 13:04:03 +01:00
Tobias Markus
e5a8e25dbc [Bug 706113] Removing null checks from VideoDocument.cpp 2011-11-30 20:06:33 +01:00
Robert O'Callahan
30ee186c84 Bug 687972. More logging... 2011-12-01 23:16:26 +13:00
Henri Sivonen
ced0005834 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
a2398505d6 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
559bf46562 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Robert O'Callahan
508f509754 Bug 687972. Try 2: Run autoplay for an element after reaching loadedmetadata if all download streams for its resource are suspended by the media cache. r=cpearce 2011-11-30 18:05:49 +13:00
Robert O'Callahan
1171f7cdd0 Bug 687972. Make sure that if ResourceLoaded fires before MetadataLoaded, we go to HAVE_ENOUGH_DATA when MetadataLoaded eventually fires. r=cpearce 2011-11-30 11:04:38 +13:00
Boris Zbarsky
947ce13fde Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap 2011-11-29 17:32:31 +01:00
Masayuki Nakano
10df4c7960 Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Ms2ger
1afa52a375 Bug 648171 - Ensure to call JS_DestroyIdArray in nsHTMLCanvasElement::GetContext; r=gal 2011-11-26 11:22:28 +01:00
Robert O'Callahan
7cda52b8aa Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-25 15:06:22 +13:00
Robert O'Callahan
882adb220d Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Robert O'Callahan
e5c5e6b988 Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
f734db7521 Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-24 12:05:13 +13:00
Robert O'Callahan
84b2fe0e79 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-24 12:05:12 +13:00
Masayuki Nakano
27c741ccf6 Bug 704049 Restore radio button state when click event is prevented default and there was no checked radio button r=smaug 2011-11-22 21:38:37 +09:00
Chris Pearce
011644c901 Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13:00
Chris Pearce
b3d1462d40 Bug 687687 - Log helpful messages to web-console when full-screen is denied/revoked. r=bz 2011-11-22 10:23:48 +13:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matthew Gregan
37527f99d1 Bug 449157 - Implement loop attribute on media elements. r=roc 2011-11-21 11:59:01 +13:00
Andrew
b4dc0e784e Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Ms2ger
e484fee84c Bug 703374 - Add back an assignment to rv in nsHTMLDocument::StartDocumentLoad; r=hsivonen 2011-11-18 15:09:25 +01:00
Chris Pearce
4a535a78eb Bug 703079 - Always dispatch mozfullscreenchange to owning document. r=bz 2011-11-18 16:53:33 +13:00
Matt Brubeck
41f27a05ad Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Ed Morley
f40e833352 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
4441d352ad Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Ms2ger
216407f38d Bug 679332 - Kill GET_BOOLBIT/SET_BOOLBIT; r=volkmar 2011-11-16 08:50:19 +01:00
Ms2ger
b35c5c1aef Bug 698275 - Various cleanup in HTML element implementations; r=mounir 2011-11-16 08:50:19 +01:00
Ms2ger
824a7d2eb5 Bug 669012 - Part d: Make nsIScriptElement::MaybeProcessScript return a boolean; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
ff51eaf751 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
c8b7c1e16a Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
921d8dd46e Bug 669012 - Part a: ignore for and event attributes for SVG elements; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Rob Campbell
7676da77c5 merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Chris Pearce
7bbdb66a3b Bug 700764 - ESC keypress in subdoc of full-screen doc should cause full-screen exit. r=smaug 2011-11-15 09:33:37 +13:00
Henri Sivonen
6c2a6cdc90 Bug 693399 - r=bzbarsky. 2011-11-14 10:50:15 +02:00
David Zbarsky
71021df43b Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Jared Wein
6f10f021c6 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao 2011-11-10 15:08:47 -08:00
Jared Wein
7bcfcf1d17 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc 2011-11-10 15:08:07 -08:00
Jared Wein
eddcc53a6c Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein
7d55f14a91 Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
5a3da30ed1 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
85b2808752 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content 2011-11-10 15:02:21 -08:00
Chris Pearce
5068ebe3cb Bug 699885 part 3 - Update full-screen mochitests wait for focus. r=roc 2011-11-08 12:58:48 +13:00
Bill McCloskey
5ef98ce429 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Oonishi Atsushi
5db5ec8f54 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Henri Sivonen
3e51b8fc49 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
59ec018765 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
00241c62cd Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Atul Aggarwal
fcd78105e2 Bug 688093 - Updating the reflect.js post spec changes. r=Ms2ger 2011-11-08 18:44:48 +05:30
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Chris Pearce
4c680b0622 Bug 695935 - Make document.mozRequestFullScreen() asynchronous. r=bz 2011-11-05 08:05:16 +13:00
Chris Pearce
848ff16c8c Bug 685402 part 1 - Exit DOM full-screen on document hide (navigation). r=bz 2011-11-04 20:30:09 +13:00
Geoff Lankow
c8c427d8b9 Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Chris Pearce
b448de5ebb Bug 697636 - Don't grant full-screen requests in hidden documents. r=bz 2011-11-02 13:03:04 +13:00
Chris Pearce
5210c8bcb2 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Henri Sivonen
8b1f8a82bb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
17cf658b47 Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
3b72f9a1ea Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Chris Pearce
7169da2adb Bug 691583 - Ensure Unix EOL in full-screen API tests. r=whitespace 2011-11-01 18:11:47 +13:00
Chris Pearce
861af8c44e Bug 691583 - Dispatch showfullscreenwarning chrome event when restricted key pressed in DOM full-screen mode. r=smaug 2011-11-01 18:11:40 +13:00
Chris Pearce
ec9520006e Bug 694204 - Prevent default action on ESC key press to exit full-screen mode, prevents <video> loads being cancelled on full-screen exit. r=smaug 2011-11-01 18:11:29 +13:00
Chris Pearce
7ad0a326f4 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Ed Morley
7275a8d455 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
a505598085 Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz 2011-10-29 22:20:37 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Olli Pettay
45e86aeaaf Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz 2011-10-29 13:44:50 +03:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Chris Pearce
e1ec457253 Bug 684618 - Deny requests for full-screen in documents containing windowed plugins. Exit full-screen when windowed plugin added document. r=roc 2011-10-27 15:57:09 +13:00
Marco Bonardo
f82a1e1d17 Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression. 2011-10-26 14:13:07 +02:00
Ehsan Akhgari
dbe53002d5 Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Steve Workman
04250bd744 Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2011-10-04 16:22:43 -07:00
Ehsan Akhgari
fc1380fcac Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv 2011-10-20 12:27:48 -04:00
Ehsan Akhgari
317cb20a80 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).

--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Benoit Girard
4ee20d1356 Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Quentin Headen
2fe3ac75d0 Bug 364914 - Do not spell check the contents of a textarea until it's focused for the first time; r=ehsan 2011-10-16 22:06:24 -04:00