Commit Graph

2614 Commits

Author SHA1 Message Date
Makoto Kato
2c1e47f122 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
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Justin Lebar
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Frank Yan
e66884af41 Bug 726402 - Fix intermittent test_bug369370.html. r=bz 2012-02-18 03:42:44 -08:00
Frank Yan
3bed1b6227 Bug 717143 - Remove bogus margins when force-reloading standalone image. r=bz 2012-03-07 22:11:45 -08:00
Peter Van der Beken
c1cb66d9c8 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
9d7b189319 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
62f1a60074 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
726ecd352b 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
602d2c3be1 Backout bug 492921 due to mochitest crashing. 2012-02-29 20:29:49 -05:00
Emanuel Hoogeveen
d74bad509f 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
a59e8cb2be 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
e2d3d0bc2d Bug 618876 - Support internationalized <input type="email">. r=sicking 2012-02-29 23:35:47 +01:00
Mounir Lamouri
f044931788 Bug 670883 - Add UTF-8 tests for <input type=url>. r=sicking 2012-02-29 23:37:38 +01:00
Henri Sivonen
c8d46ba72d Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug. 2012-02-27 13:57:48 +02:00
Jeff Muizelaar
594829d2d3 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
1b68741c61 Bug 728132 test_bug583533.html shouldn't use nsIDOMNSEvent::*_MASK r=smaug 2012-02-27 12:02:35 +09:00
Matthew Gregan
c69a06cb4a 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
e37b12ca9b Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
Mounir Lamouri
2b99166180 Bug 729854 - Fix intermittent failure in test_bug353415-2.html. r=Ms2ger 2012-02-24 14:11:30 +01:00
Mounir Lamouri
1322f3e7b5 Bug 720385 - Make option.index follows the specifications. r=Ms2ger 2012-02-24 21:30:54 +01:00
Rafael Ávila de Espíndola
8db92c8db2 Bug 723534 - Remove dead default cases. r=ehsan. 2012-02-24 08:36:53 -05:00
Richard Newman
85840c2035 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Matthew Schranz
7e8fb26c1e Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Olli Pettay
6139688226 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
f9c094140f Bug 725977 - Update table cellpadding / cellspacing to spec; r=bz 2012-02-21 10:34:01 +01:00
David Seifried
ebecfda977 Bug 680321 - Media preload state should reset in resource selection algorithm. r=cpearce 2012-02-20 10:02:08 +13:00
Chris Pearce
b683a7c0e3 Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc 2012-02-20 10:02:08 +13:00
Rafael Ávila de Espíndola
a58735e465 Bug 727222 - mark some classes in content/html/content/src/ final. r=smaug. 2012-02-15 10:42:34 -05:00
Robert O'Callahan
4840bbe976 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
1e90444bb6 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
bed1534a90 bug 726981 - remove stray instances of PRBool in content. r=mounir 2012-02-14 16:17:19 +00:00
Brian Birtles
b01aa376a5 Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Brian Birtles
6d87e35dd1 Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz 2012-02-14 11:00:56 +09:00
Neil Deakin
62ea709480 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
44102832a0 Bug 709448 - File input click() handling should perhaps allow openControlled popups; r=bz 2011-12-21 18:03:52 +01:00
Marco Bonardo
fbdf8f5998 Backout 683c21514e28, c22a4f1815c6, adb8a322cbe3, 415f3b807d45, 25edb41d0119 (bug 629200) for Dromaeo(DOM) regressions 2012-02-07 15:57:03 +01:00
Jignesh Kakadiya
3d1848660e Bug 596515 - Add a possibility of styling form:invalid. r=mounir 2012-02-07 13:51:49 +01:00
Mounir Lamouri
23a4b67dfc Bug 720130 - Tab key shouldn't focus plugins unless tabindex is set. r=smaug 2012-02-07 13:52:45 +01:00
Marco Bonardo
f73c8b5198 Merge central to inbound 2012-02-07 14:25:00 +01:00
Mats Palmgren
a331194ebb merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren
b9dc5684a2 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Brian Birtles
b23a7225c5 Bug 629200 part 3 - Make AfterSetAttr take an nsAttrValue; r=bz 2012-02-07 15:54:38 +09:00
Brian Birtles
e3a01c5e60 Bug 629200 part 2 - Make BeforeSetAttr take an nsAttrValue; r=bz 2012-02-07 15:54:38 +09:00
Ed Morley
ad99016d73 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-05 11:10:53 +00:00
Tim Taubert
ce8456e7af merge m-c to fx-team 2012-02-04 11:28:09 +01:00
Tim Taubert
3b39b7c97c Bug 723852 - Use a runnable for canvas.mozFetchAsStream(); r=khuey 2012-02-03 15:23:18 +01:00
Panagiotis Koutsourakis
791aa57b19 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
67644c2dbd merge m-c to fx-team 2012-02-02 10:03:01 +01:00
Tim Taubert
ad9e14771c Bug 720697 - Provide internal API to get canvas image data as nsIInputStream; r=khuey 2012-02-01 01:13:44 +01:00
Josh Aas
b0e5e866d9 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Michal Novotny
5f0cb87300 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
e1cd471539 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
b3cfb69371 Bug 723525 - Mark classes final or add virtual destructor in content/*. r=jmuizelaar. 2012-02-02 17:15:18 +01:00
Ed Morley
8be2a077dc Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-02 10:22:32 +00:00
Matthew Gregan
705a8a8166 Bug 687927 - Remove vestigial logging. r=roc 2012-02-02 15:28:12 +13:00
Matt Brubeck
7e74c1f71e Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Justin Lebar
fa98b1192c Bug 719459 - Add onmozbrowsertitlechange event. r=smaug
--HG--
extra : rebase_source : b5e8ee64c85e0090a38a849bf077a68055ff56b9
2012-01-26 18:03:22 -05:00
Jon Buckley
53fcaffe40 Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Jon Buckley
d7b16744b1 Bug 682299 - Move CORS attributes and enumerations to nsGenericHTMLElement. r=bz 2012-01-25 17:31:29 -05:00
Ms2ger
924b63075d Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
e81715cf11 Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan 2012-01-25 08:50:05 +01:00
Ms2ger
6306abaa95 Bug 720124 - Remove dead code from HTMLContentSink: AddComment; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
a4b59bc806 Bug 720124 - Remove dead code from HTMLContentSink: AddProcessingInstruction; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
3d62d2cdcf Bug 720124 - Remove dead code from HTMLContentSink: IsFormOnStack; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
df932476eb Bug 720124 - Remove dead code from HTMLContentSink: form; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
9e0ccf6431 Bug 720124 - Remove dead code from HTMLContentSink: meta; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
8bbfc355d5 Bug 720124 - Remove dead code from HTMLContentSink: mInsideNoXXXTag; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
d4f442d47c Bug 720124 - Remove dead code from HTMLContentSink: mNumOpenIFRAMES; r=hsivonen 2012-01-25 08:50:03 +01:00
Ms2ger
4d51def3be Bug 720124 - Remove dead code from HTMLContentSink: AddDocTypeDecl; r=hsivonen 2012-01-25 08:50:02 +01:00
Ms2ger
437f03c00c Bug 720124 - Remove dead code from HTMLContentSink: frameset - link - style - doctype; r=hsivonen 2012-01-25 08:48:59 +01:00
Ms2ger
8ef2e25f2d Bug 715112 - Remove HTMLContentSink::ProcessSCRIPTEndTag; r=hsivonen 2012-01-25 08:48:59 +01:00
Simon Montagu
4feaa1e8f3 Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Phil Ringnalda
bcce192c89 Backed out changeset a57b82b18bde (bug 622232) for build bustage 2012-01-23 16:07:47 -08:00
Steve Workman
12888e1608 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
e6f6e05b55 Bug 720157 - Don't crash when OnLocationChange sends a null URI. r=smaug 2012-01-22 15:46:55 -05:00
Bas Schouten
f987b74374 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
aceman
f08eba2139 Bug 711839 - --disable-ogg configure option breaks build after bug 689834. r=bz 2012-01-20 19:23:58 +00:00
Justin Lebar
75c69ae51d 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
f66fb17c3d 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
c8a9747c72 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
60292745ec 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
9b60bd476a Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
3fee03c38e Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
838c272dbe 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
334ab5df47 Bug 715112 - Remove duplicate document.close() state tracking. r=smaug. 2012-01-20 13:16:26 +02:00
Chris Pearce
0fa5e90cfa Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-20 07:30:29 +13:00
Chris Pearce
cde21ae60f Bug 713381 - Commit backout. r=backout 2012-01-19 11:57:44 +13:00
Chris Pearce
841966d0b2 Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout 2012-01-19 11:56:54 +13:00
Chris Pearce
b748373b98 Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-19 09:15:57 +13:00
Jignesh Kakadiya
249fb26bc3 Bug 717066 - Make nsGenericHTMLElement::GetLayoutHistoryAndKey return void. r=ms2ger 2012-01-18 16:10:06 -05:00
Steve Workman
3627f3a4b8 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
dbe0e87287 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
cb807222d1 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Marco Bonardo
f8a16f0d49 Merge central to inbound 2012-01-17 16:24:46 +01:00
Oleg Romashin
7f06df26c9 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
d798b882da merge m-c to fx-team 2012-01-16 11:20:19 +01:00
Justin Wood
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
877acb1064 Bug 717195 - Export dombindings.h; r=bholley 2012-01-15 09:13:12 +01:00
Diogo Golovanevsky Monteiro
e764a9e424 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
3e5498bf1d Bug 717198 - Remove the tag observer code from the tree. r=mrbkap. 2012-01-11 17:49:56 +02:00
Ms2ger
d0513e5d06 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger
27ed38a4d4 Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
d7850e8af7 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
4f9dad5c11 Bug 708176 - Followup: Fix busted test. rs=smaug
--HG--
extra : rebase_source : dcfb6aa83e6a1b5751cd5ddfbae7547a8aa1f28b
2012-01-10 14:50:21 -05:00
Justin Lebar
e1048acb82 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
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Markus Stange
b4421e4a3b 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
e36848b82c 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
e5d5b09ad2 Bug 697830 - Delayed DNS prefetch queue is disabled for e10s. r=jduell 2012-01-13 22:21:08 -08:00
Mounir Lamouri
e66f29953f Bug 716338 - Use FAIL_ON_WARNINGS in content/html/content/src. r=bz 2012-01-09 18:58:30 +01:00
Henri Sivonen
d54df1015f Bug 655261 - Remove nsIParserFilter from the tree. r=mrbkap. 2012-01-09 14:20:43 +02:00
Henri Sivonen
8cea7fca5d Bug 655255 - Remove nsICharsetDetectionAdaptor from the tree. r=smontagu. 2012-01-09 14:19:51 +02:00
Tim Taubert
94dcf4720e merge m-c to ux 2012-01-08 15:02:29 +01:00
Jared Wein
cfa04bcd7d 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
bcf0a0bfbc Bug 715615 - unlink nsHTMLTableElement, r=bz 2012-01-08 01:37:43 +02:00
Santiago Gimeno
5aab353df7 Bug 710292 - Add a common HTMLSplitOnSpacesTokenizer tokenizer. r=khuey 2012-01-04 05:08:00 -05:00
Marco Bonardo
803a44e0dd Merge mozilla-central and mozilla-inbound 2012-01-06 13:26:21 +01:00
Chris Pearce
1514caafbd 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
b0a7bafbb1 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
72177f690f 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
516c6aaccd 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
9fb9ba7af0 Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Geoff Lankow
48d0dde864 Bug 712518 - Improve MockFilePicker.jsm; r=jmaher 2011-12-23 11:10:52 +13:00
Neil Rashbrook
5d0063889c Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
Chris Pearce
018966cbbb Bug 712134 - Log media load algorithm failures to web console. r=roc 2011-12-22 12:33:39 +13:00
Daniel Holbert
740a80e827 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
1ea03d38a1 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
35ff281448 Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Jeff Walden
a0ca3d8af2 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Chris Pearce
23331bfab8 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
dde6ccdccc Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Ms2ger
6fd0287787 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Ms2ger
aa784e7937 Bug 707448 - Cleanup nsHTMLFormElement::DoSubmitOrReset a bit; r=mounir 2011-12-18 11:06:27 +01:00
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Matthew Schranz
91b4e4faac 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
b4f06555b3 Merge mozilla-central to mozilla-inbound 2011-12-16 14:39:31 -08:00
Matt Brubeck
a33e8cc7f3 Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00
Ms2ger
ca077369c2 Merge m-c to m-i. 2011-12-16 21:04:41 +01:00
Rob Campbell
11ba15c7c7 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
d82ad83346 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
87d3f92e61 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
a3c4d5c7c1 Bug 700490 - Remove nsICharsetResolver; r=smontagu 2011-12-16 09:13:29 +00:00
Carlo Alberto Ferraris
489a3d2e7e 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
bff065abc9 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
c1da559e35 Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
4db0927892 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
401bb33b35 Bug 706731: Support for defaultMuted DOM attribute on media elements. r=kinetik,bzbarsky 2011-12-15 14:36:46 -05:00
Andrew Quartey
80d00b8b88 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
873b2b62fc Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Masatoshi Kimura
ef45bcacdc Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Henri Sivonen
a02e20cb9f Bug 648252 - Remove nsViewSourceHTML from the tree. r=mrbkap, a=khuey. 2011-04-07 16:41:53 +03:00
Robert O'Callahan
f534295eba Bug 687972. More logging... 2011-12-10 00:57:34 +13:00
Chris Pearce
3a492ec27b 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
cd840cc61c 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
5aaeb19ce0 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
0cf8dbff4b 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
c2405549e1 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Ed Morley
1ffbd8940f Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Ms2ger
4879be0711 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Steve Fink
aeed3c5c72 Bug 700202 - Propagate errors from ReparentContentWrappersInScope (r=smaug)
--HG--
extra : rebase_source : c8590dfa093620e92520a617d69d7f3ebf5edd5f
2011-11-21 09:35:26 -08:00
Andrew Quartey
e92d22200b Bug 689834 - Respect the muted attribute on media elements. f=josh r=kinetik 2011-12-03 13:04:03 +01:00
Tobias Markus
ac3949fc12 [Bug 706113] Removing null checks from VideoDocument.cpp 2011-11-30 20:06:33 +01:00
Robert O'Callahan
e6de305808 Bug 687972. More logging... 2011-12-01 23:16:26 +13:00
Henri Sivonen
4c62e04846 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
41aa9b3c38 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
6f9a5aed13 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Robert O'Callahan
57e160644f 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
4ee9e331b8 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
a8e2aab4ff 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
1360b0f19b Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Ms2ger
9165b245d9 Bug 648171 - Ensure to call JS_DestroyIdArray in nsHTMLCanvasElement::GetContext; r=gal 2011-11-26 11:22:28 +01:00
Robert O'Callahan
5755e41c5c 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
4f2e71dc44 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Robert O'Callahan
1a60edba9a Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
58e9a065d6 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
fc5886fa9f Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-24 12:05:12 +13:00
Masayuki Nakano
006c23c9fe 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
b01fd7d70f 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
ae9d24eaf5 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
44e424ee00 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matthew Gregan
edb53b6bfa Bug 449157 - Implement loop attribute on media elements. r=roc 2011-11-21 11:59:01 +13:00
Andrew
a7c87d3b14 Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Ms2ger
014b2f8c22 Bug 703374 - Add back an assignment to rv in nsHTMLDocument::StartDocumentLoad; r=hsivonen 2011-11-18 15:09:25 +01:00
Chris Pearce
462f0f7bd1 Bug 703079 - Always dispatch mozfullscreenchange to owning document. r=bz 2011-11-18 16:53:33 +13:00
Matt Brubeck
2c50849fa3 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
6000587a19 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
3cc9466821 Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Ms2ger
988c5605e0 Bug 679332 - Kill GET_BOOLBIT/SET_BOOLBIT; r=volkmar 2011-11-16 08:50:19 +01:00
Ms2ger
dcee1d89ad Bug 698275 - Various cleanup in HTML element implementations; r=mounir 2011-11-16 08:50:19 +01:00
Ms2ger
6ec04dde40 Bug 669012 - Part d: Make nsIScriptElement::MaybeProcessScript return a boolean; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
118e48e9c1 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
87cfab5086 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
536d2c6baa 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
bf422e9c17 merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Henri Sivonen
09985ff269 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Chris Pearce
9ad43e595e 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
d07c761e20 Bug 693399 - r=bzbarsky. 2011-11-14 10:50:15 +02:00
David Zbarsky
4a23b35179 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Jared Wein
4bba1c0780 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
7240245900 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
8a6dfb9392 Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein
79ad1b014a Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
92e233900f Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
8a76a2a508 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
632d0d2d8a Bug 699885 part 3 - Update full-screen mochitests wait for focus. r=roc 2011-11-08 12:58:48 +13:00
Bill McCloskey
8e7a5d934a 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
ebc58fb880 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
432c879f24 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
460f68e384 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
4da5564d58 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Atul Aggarwal
d9f697a0d8 Bug 688093 - Updating the reflect.js post spec changes. r=Ms2ger 2011-11-08 18:44:48 +05:30
Ed Morley
6a998be2c5 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
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Chris Pearce
5b5d9d0d9d Bug 695935 - Make document.mozRequestFullScreen() asynchronous. r=bz 2011-11-05 08:05:16 +13:00
Chris Pearce
6c93977fbc Bug 685402 part 1 - Exit DOM full-screen on document hide (navigation). r=bz 2011-11-04 20:30:09 +13:00
Geoff Lankow
05b39c14b0 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
6c2ed85b04 Bug 697636 - Don't grant full-screen requests in hidden documents. r=bz 2011-11-02 13:03:04 +13:00
Chris Pearce
c46ab13671 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Henri Sivonen
dc6ff15cba Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
e0a7b8950f 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
ca7381838d 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
545303ae64 Bug 691583 - Ensure Unix EOL in full-screen API tests. r=whitespace 2011-11-01 18:11:47 +13:00
Chris Pearce
a7a9544801 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
9c5634653e 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
427807cc7c Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Ed Morley
d3095eb7a4 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
c4bb29bcff 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
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Olli Pettay
9f362a60d2 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
b15078098b Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Chris Pearce
183224c060 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
955deb60f0 Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression. 2011-10-26 14:13:07 +02:00
Ehsan Akhgari
74d9b6f1fb Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Steve Workman
9a67e43559 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
f3be362757 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
8cfbed187e 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
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
091dcad0ea Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-15 12:19:29 +01:00
Yazen Ghannam
03ce28c74a Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Ms2ger
cd715d9c9b Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Ms2ger
1a7c12e69a Bug 328908 - Remove null-check for nsHTMLSelectElement::mOptions now 'new' is infallible; r=volkmar+sicking 2011-10-15 09:26:41 +02:00