Commit Graph

6754 Commits

Author SHA1 Message Date
Ehsan Akhgari
c06813a2c5 Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc 2011-03-11 00:40:31 -05:00
Ehsan Akhgari
4e4ea2876d Bug 637807 - Use GetEntry on the ID hashtable in nsDocument::LookupImageElement; r=bzbarsky 2011-03-02 13:57:33 -08:00
Yury
83ae98f843 Bug 629875 - Handle negative arguments to drawImage; r=jmuizelaar 2011-03-30 14:55:13 +02:00
Ms2ger
3aac8958f3 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Ms2ger
e68c465383 Bug 632469 - Handle non-finite values for clearRect per spec; r=smaug 2011-03-29 22:24:53 -04:00
Ms2ger
bf7288aa6e Bug 630511 - Lowercase mime type argument to toDataURL; r=sicking 2011-03-29 22:24:53 -04:00
Ms2ger
94eeb9d959 Bug 641219 - Fix HTMLElement.getElementsByTagName with foreign children; r=sicking 2011-03-29 22:24:53 -04:00
Ehsan Akhgari
ca0a27ab24 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
Boris Zbarsky
0ca24831fd Bug 644069. Fix the caching logic for cross-site requests. r=sicking 2011-03-29 00:41:01 -04:00
Boris Zbarsky
81fa8bcec6 Bug 645938. Make sure to set mFlushesNeeded for all content lists. r=dbaron 2011-03-29 00:41:01 -04:00
Ms2ger
e1868789c3 Bug 628353 - Expose the DATA_CLONE_ERR constant on DOMException; r=jst 2011-03-28 23:32:11 -04:00
Ms2ger
06e2459b57 Bug 604596. Stop using an out param for the return value of GetSMILOverrideStyle. r=bzbarsky 2011-03-28 23:32:11 -04:00
Boris Zbarsky
e7675b4602 Bug 633271 part 2. Simplify nsEventStateManager::SetContentState. r=dbaron 2011-03-28 23:32:11 -04:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Benoit Jacob
c39751ce2b Bug 636906 - GFX blacklisting not affecting WebGL; r=joe a=hardblocker 2011-02-28 15:14:33 -08:00
Henri Sivonen
5bc865c4b0 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Henri Sivonen
25669709c5 Bug 627729 - Force the old HTML parser for document.open()ed documents whose host name ends with ".mail.live.com". r=bzbarsky, a=blocking2.0-final. 2011-02-26 10:57:00 +02:00
Boris Zbarsky
0638d090ff Bug 634986. Don't act like we're redirecting if we don't have a channel. r=jst, a=blocker 2011-02-28 14:26:05 -05:00
Ehsan Akhgari
d17f60d328 Bug 636655 - Back out bug 582852 because of the performance regression it caused in creating large textnodes (while it was supposed to improve the performance); r,a=bzbarsky 2011-02-28 13:04:59 -08:00
Vivien Nicolas
edaa05f5dd Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec] 2011-02-28 19:06:29 +01:00
Josh Matthews
4df99b7101 Bug 631553 - Avoid caching frame scripts during xpcom shutdown. r=smaug a=johnath 2011-02-16 12:11:27 -05:00
Mounir Lamouri
244dad67e9 Bug 635008 (4/4) - More tests for required radio groups. r=bz a=tests 2011-02-25 19:13:55 +01:00
Mounir Lamouri
729c57b0b5 Bug 635008 (3/4) - Keep track of the validity state of radio groups. r=bz a=hardblocker 2011-02-25 19:16:04 +01:00
Mounir Lamouri
1c0e6ffecf Bug 635008 (2/4) - Remove dead code. r=bz a=hardblocker 2011-02-25 19:12:35 +01:00
Mounir Lamouri
ecb1ecf813 Bug 635008 (1/4) - Keep track of the required state of radio groups. r=bz a=hardblocker 2011-02-25 19:12:47 +01:00
Benoit Jacob
84ea51cd32 Bug 636002 - better messages about attrib index validation - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
16d3658b63 Bug 636356 - WebGL crash [@mozilla::WebGLBuffer::ZeroDataIfElementArray] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
ad8f7fa5c9 Bug 635666 - part 3/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
7b38bd3532 Bug 635666 - part 2/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
39d78774a8 Bug 635666 - part 1/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
d6905754de Bug 631420 - OS X WebGL crash with too-small attrib 0 + optimizations - r=vlad, a=blocking2.0 2011-02-24 17:17:34 -05:00
Olli Pettay
3db9425ee4 Bug 572129, restrict data transfer data handling, r=enn,bz, a=hardblocker
--HG--
extra : rebase_source : 40c47b84fe99850c218bb8d5803fd2219ff9362e
2011-02-24 19:58:20 +02:00
Mounir Lamouri
45af7761d9 Tests for bug 628938; r=smaug a=test-only 2011-02-23 17:14:44 +01:00
Craig Topper
0dfe0ca7a6 Bug 628938 - Treewalker not working properly in Mozilla Treewalker Demo; r=sicking,smaug a=jst 2011-02-23 15:58:55 -08:00
Chris Jones
07f1b97335 Bug 635014: Don't draw a checkerboard behind undefined <browser remote> content in sync mode. r=tn a=a 2011-02-23 11:45:09 -06:00
timeless@mozdev.org
41f1725f80 Bug 615437 warning: comparison between signed and unsigned integer expressions in nsXULCommandDispatcher::UpdateCommands
r=neil
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
6954dc5d05 Bug 586648 NS_NewXHTMLParanoidFragmentSink should call nsXHTMLParanoidFragmentSink::Init before allocating it
r=smaug
2011-03-28 17:18:30 -04:00
timeless@mozdev.org
097a89fcc3 Bug 586607 BuildContentLists should allocate contentList after getting parent
r=neil
2011-03-28 17:18:08 -04:00
Mounir Lamouri
29eb25883f Bug 621056 - Prevent the timer to be eaten alive by the GC. r=bz a=tests 2011-03-10 17:03:39 +01:00
Mounir Lamouri
4f4e2b1dc1 Bug 589502 - Don't use two images in content/base/test/test_bug421602.html to prevent race conditions. r=bz a=tests
Instead, use one image and finish the test if the load or error event happens.
If none of them happen, that means the test failed and it will properly time
out.
2011-03-09 19:43:02 +01:00
Doug Turner
eff01baa10 Backing out 99f6b3acc464 (bug 618975). Bug This caused a reftest crash. a=bustage 2011-03-08 22:02:50 -08:00
Benjamin Stover
6fd6388bc0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-08 21:28:18 -08:00
Alon Zakai
3145ec77d2 bug 634407 - Going to a canvas based tetris game will cause the content not to redraw r=cdouble a=blocking-fennec 2011-03-07 17:44:49 -08:00
Boris Zbarsky
9fe041c03d Bug 630465. Don't pretend everything is ok when allocating image surfaces failes. r=vlad, a=joe 2011-02-08 16:30:54 -05:00
Robert Longson
60a6329a4b Bug 619503 - Support SMIL animation of the class attribute r=dholbert,jwatt 2011-01-23 17:08:17 +00:00
Ehsan Akhgari
73a35597a9 Merge mozilla-central into cedar 2011-03-28 14:39:03 -04:00
Jonathan Watt
b3192a3ab4 Bug 631946 - SVG DOM lists should limit the number of items to the number they can index. r=roc, a=roc. 2011-02-08 13:43:34 +00:00
Jonathan Watt
4c64bd4173 Bug 631939 - New SVG list item DOM wrappers get confused if there are more than 256 items in list. r=roc, a=roc. 2011-02-08 13:43:02 +00:00
Jacek Caban
12e7bbaa2a Bug 631937 - Use case insensitive string comparison in TypeForClassID for clsid test r=bzbarsky a=jst 2011-02-08 13:35:25 +00:00
Markus Stange
635a2437ca Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc 2011-03-26 00:30:19 -04:00
Josh Matthews
ac701c8321 Bug 620206 - Make nsFrameMessageManager::ReceiveMessage return consistent error values.
r=smaug a=bsmedberg
2011-02-08 17:05:11 -05:00
Robert Longson
ebf398f4ac Bug 635442 - Crash [@ nsSVGComponentTransferFunctionElement::DidAnimateNumberList]
r=dholbert a=shaver
2011-02-22 13:04:51 +01:00
timeless@mozdev.org
d890c10426 Bug 620434 useless null check of result in nsXULTreeBuilder::ReplaceMatch
r=enn a=beltzner
2011-02-22 13:04:47 +01:00
Matthew Gregan
b3b3f3320b Bug 546700 - Recover gracefully from servers that send Accept-Ranges but don't. r=roc a=roc 2011-02-21 16:38:29 +13:00
Matthew Gregan
a2f5d89538 Bug 634787 - Fix frame wait calculation and early return from Wait(). r=cpearce a=roc 2011-02-18 15:30:33 +13:00
Matthew Gregan
9dc00ae210 Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc 2011-02-18 16:42:15 +13:00
Chris Pearce
87d3601f97 Bug 627153 - Be less conservative when determining video readyState. r=kinetik a=roc 2011-02-21 10:21:40 +13:00
Kyle Huey
f76b74a821 Bug 631421: Teach nsImageDocument to say the magic password to nsImageLoadingContent::RemoveObserver. r=jst a=b 2011-02-20 09:40:45 -05:00
Mike Shaver
85c4348adc Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange 2011-02-19 20:46:44 -08:00
Daniel Holbert
f281072fde Bug 596765, followup 2: Bail out of nsObjectLoadingContent::LoadObject for SVG-as-an-image documents (and re-enable reftest). r+a=roc 2011-02-18 23:55:39 -08:00
Jeff Walden
414ac259f6 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
--HG--
extra : rebase_source : a2f6a11ac3bcc7925cbf122057b694a0aafac970
2011-02-08 17:20:06 -08:00
Peter Van der Beken
d78216fbaf Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst. 2011-02-16 13:07:47 +01:00
Daniel Holbert
ff37234560 Bug 596765 followup: Disable plugin instantiation in SVG-as-an-image. r+a=roc 2011-02-17 21:52:03 -08:00
Jonas Sicking
b816bf46cf Bug 634435: Add a property to expose the current pushState-state. r=jlebar a=beltzner 2011-02-17 12:44:04 -08:00
Wes Johnston
1ae3289ab2 backout logging for bug 634532 a=cleanup-test, DONTBUILD 2011-02-17 11:33:50 -08:00
Doug Turner
ff1d41e7b6 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Mats Palmgren
59d8eaa785 Bug 633164 - Zoomed ogg video renders at the wrong size until I move the mouse. r+a=roc 2011-02-17 17:12:17 +01:00
Mounir Lamouri
de374e43dc Bug 634616 - Fix build bustage when --disable-ipc. r=romaxa a=NPOTB 2011-02-17 11:50:35 +01:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Ben Turner
855fe52f2e Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-16 12:47:08 -08:00
Neil Rashbrook
a72ae3b0a1 Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
Wes Johnston
6f5dee4313 Bug 634532 - Add some logging to debug random oranges r=dougt, a=input-is-good 2011-02-16 09:45:26 -08:00
timeless@mozdev.org
22c57b9bbd Bug 620421 - remove useless check of mTokenPos from nsSVGTransformListParser::GetTransformToken
r=jwatt a=dbaron
2011-02-16 14:14:22 +01:00
Daniel Holbert
8febb4269b Bug 632143 patch 4: Extend SVGxxxList mochitest to check animVal up-to-date-ness after baseVal's length is mutated. r=roc a=tests 2011-02-15 23:54:37 -08:00
Daniel Holbert
c8abad09b2 Bug 632143 patch 3: Update animVal after modifying baseVal length, for DOMSVGPathSegList. r=roc a=blocking-final+ 2011-02-15 23:54:37 -08:00
Daniel Holbert
a0613a7dd3 Bug 632143 patch 2: Update animVal after modifying baseVal length, for DOMSVGPointList. r=roc a=blocking-final+ 2011-02-15 23:54:37 -08:00
Jonathan Watt
0ae30986fa Bug 632143 patch 1: Update animVal after modifying baseVal length, for DOMSVGLengthList and DOMSVGNumberList. r=roc a=blocking-final+ 2011-02-15 23:54:26 -08:00
Daniel Holbert
6db3fddfca Bug 632143 patch 0: Add helper-method 'UpdateListIndicesFromIndex' to DOMSVGxxxList classes. r=roc a=blocking-final+ 2011-02-15 23:54:04 -08:00
Daniel Holbert
83f62938a9 Bug 633315: Make "namespace mozilla" usage consistent across DOMSVG*List.cpp files. r+a=roc 2011-02-15 23:53:43 -08:00
Wes Johnston
39a572652e Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec 2011-02-15 20:31:08 -08:00
Doug Turner
15b16004ce Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston
d04cf02a60 Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston
6979a59264 Bug 631058 - Set WebM decoder mDataOffset to zero. r=kinetik a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston
a97733eea4 Bug 631058 - Part 1 - Allow specifying default preload behavior through a pref. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Hiroyuki Ikezoe
0a3d5cd1ed Bug 496673 - Needless check in nsCanvasRenderingContext2D::Render; r=vlad a=joe
--HG--
extra : rebase_source : 530762971207ea48fefd60c477e3bb7379ba00eb
2011-02-15 17:09:35 -05:00
Chris Pearce
800f4fd200 Bug 629618 - Correct Ogg seek bisection's backoff and termination. r=doublec a=roc 2011-02-16 11:08:31 +13:00
Matthew Gregan
a442ddf24b Bug 631953 - Check codec is initialized before using cached serial number. r=cpearce a=roc 2011-02-08 15:45:20 +13:00
Chris Jones
be71251a17 Bug 631575: Clear the old window when setting a new document, and re-enable tests disabled in bug 631359. r=roc a=a 2011-02-15 15:45:02 -06:00
Ms2ger
2833e49ecc Bug 620359 - Reorder members in nsAudioStreamRemote::nsAudioStreamRemote() constructor; r=kinetik a=dbaron 2011-02-15 13:34:38 -08:00
Oleg Romashin
1a7991e619 Bug 622470 - "Decode on draw must be enabled for Mobile Fennec" [r=bzbarsky] a=blocking-fennec 2011-01-29 02:02:00 -08:00
Matthew Gregan
9e97be122e Bug 633051 - Remove LOAD_BACKGROUND flag from media channel when load completes. r=roc a=roc 2011-02-15 12:21:32 +13:00
Daniel Holbert
34236c78f0 (no bug) comment typo fix in 2 tests: s/the affect/the effect/ a=comment-only+test-only DONTBUILD 2011-02-15 10:10:40 -08:00
Brandon Sterne
489b9b523d Bug 558431 - Make fetching CSP policy-uri asyn, r=jst, a=blocking-betaN 2011-02-15 09:05:02 -08:00
Doug Turner
cee16d2b7f Backed ou Johnston – Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
changeset a8d213604ca6
2011-02-14 21:25:06 -08:00
Wes Johnston
1f8d9514ad Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
--HG--
extra : rebase_source : 743cb30aea1bd8cb6e9a189b9142c5ef8abce964
2011-02-14 17:01:03 -08:00
Ehsan Akhgari
4d76d777f1 Back out changeset 0fd8793db7f3 (bug 633738) because of various oranges in different test suites on multiple platforms; a=orange 2011-02-14 18:45:23 -05:00
Peter Van der Beken
b9ca9b2552 Fix for bug 633738. Fix leak due to session history code keeping an editor alive too long. Patch by peterv and bz, r=jst@jstenback.com, a=blocker 2011-02-14 14:26:14 -08:00
Benoit Jacob
bf6803e6ae Bug 634032 - remove FIXME in test list filenames - r=vlad, a=joe
--HG--
rename : content/canvas/test/webgl/00_testFIXME_list.txt => content/canvas/test/webgl/00_test_list.txt
rename : content/canvas/test/webgl/conformance/00_testFIXME_list.txt => content/canvas/test/webgl/conformance/00_test_list.txt
2011-02-14 16:39:55 -05:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
7f6e80fbdd Bug 633622 - Make the webgl mochitest use ANGLE on test machines - r=vlad, a=hardblocker 2011-02-14 12:04:54 -05:00
Kyle Huey
c9434a9a90 Backing out Bug 632587. a=bsmedberg 2011-02-14 10:58:35 -05:00
Kyle Huey
af523adca3 Backed out changeset 7ed4cb02ffbf 2011-02-14 10:57:49 -05:00
Vladimir Vukicevic
cbdf33fdbe Bug 632587 - implement getSupportedExtensions - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
414569f071 oops -- fix list of webgl tests expected to fail -- r+a=bustage 2011-02-12 17:12:08 -05:00
Benoit Jacob
b0a4e99d3c Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
a271bc267f Bug 631707 - pass buffer-data-array-buffer... again - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Kyle Huey
029b5aaed4 Bug 605264: Stop content script from mucking around with nsHTMLMediaElement::Observe. r=jst a=b 2011-02-12 13:04:15 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
aeb24b4fe0 Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
9d4789070f Bug 631707 - pass buffer-data-array-buffer... again - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
4ff6fe0115 Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Vladimir Vukicevic
5a9819225e Bug 632587 - implement getSupportedExtensions - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Chris Leary
7cd988f331 Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
Jonas Sicking
0d87556628 Bug 629982: Attempt to fix crashes due to too deep DOM trees by making GetBaseURI non-recursive. r=jst a=blocker 2011-02-10 23:47:00 -08:00
Brian Birtles
6c0c23ca0b Bug 628888 - Ensure external documents loaded after page show get page show update - tests; r=dholbert; a=roc 2011-02-11 16:02:04 +09:00
Brian Birtles
fecda7de07 Bug 628888 - Ensure external documents loaded after page show get page show update; r=dholbert, bzbarsky; a=roc 2011-02-11 16:01:59 +09:00
Brian Birtles
7560786ee4 Backing out bug 628888, changeset e3a645b56973 and changeset 4327761b6350 due to failing test, a=bustage 2011-02-11 11:15:18 +09:00
Brian Birtles
08d2b25e19 Bug 628888 - Ensure external documents loaded after page show get page show update - tests; r=dholbert; a=roc
--HG--
extra : rebase_source : 759db44bceb4b681f72e3d40ee16a7d81dac7f30
2011-02-11 10:07:38 +09:00
Brian Birtles
6d7e1a7bf4 Bug 628888 - Ensure external documents loaded after page show get page show update; r=dholbert, bzbarsky; a=roc
--HG--
extra : rebase_source : 0f17e5fb3e7e831b0a7222697ec87631dc879286
2011-02-11 10:04:36 +09:00
Mounir Lamouri
350253af3e Bug 629845 (1/2) - Don't make nsHTMLDocument::EditingStateChanged fails if BeginningOfDocument fails. r=ehsan a=blocking-final 2011-02-11 01:59:37 +01:00
Mehdi Mulani
86a8f731a1 Bug 632994 - When previewing personas, tab bar jitters. r=bz a=blocking2.0 2011-02-09 16:45:54 -08:00
Luke Wagner
89d7214860 Bug 627954, part 2: ensure nsXPCConvert::VariantData2JS et al are in the correct compartment (r=mrbkap)
--HG--
extra : rebase_source : c924f5e87e2f5a6339f4c83c78db1c7f05b600f7
2011-02-05 04:56:05 -08:00
Ben Turner
e29dc44bff Backout 10ebc5ea11ac due to test failures. 2011-02-09 15:29:31 -08:00
Ben Turner
3fb884d2a6 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-09 12:51:16 -08:00
Jim Blandy
b775bfcb46 Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
314aa75aac Backout bug 614347 due to test failures 2011-02-08 22:15:48 -08:00
Ben Turner
3dd9784466 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-08 18:54:14 -08:00
Jonathan Watt
2a399a00e4 Bug 630760 - DOMSVGLengthList ctor synchronizes animVal instances to the baseVal internal list, plus sync some divergence between comments and code in list types. r=roc, a=blocking. 2011-02-06 22:11:26 +13:00
Zack Weinberg
59157fdf7c Bug 631615: suppress CSS parser diagnostics in ParseSelectorString. r=dbaron a2.0=dbaron 2011-02-04 14:17:00 -08:00
Brad Lassey
25aae18952 bug 614356 - default to next action hint for form inputs r=roc,masayuki,smaug f=volkmar a=blocking-fennec 2011-01-31 06:23:58 -08:00
Peter Van der Beken
dd918d1876 Fix for bug 603844 (Leak txUnknownHandler+ with transformToDocument(textnode)). r=sicking.
--HG--
extra : rebase_source : 5ebf6165e6cbd8fe6207fdbb533a32bade467a9c
2010-12-02 11:12:27 -05:00
Peter Van der Beken
0ba34f47fc Fix for bug 626262 (Don't allow parent's ownerDocument to change during appendChild). r=bz.
--HG--
extra : rebase_source : a591ab1b85579ced5fc750253cf2204c5ca021f8
2011-02-07 15:36:16 +01:00
Chris Pearce
d213c7a734 Bug 644045 - Handle Theora granulepos 'pframe' of 0 when decrementing granulepos. r=derf 2011-04-01 11:10:49 +13:00
Chris Pearce
526f101e8a Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-01 11:10:49 +13:00
Chris Double
eddc958618 Bug 646819 - Fix incorrect position calculation in nsWaveDecoder::DecodeAudioData causing OOM - r=kinetik 2011-04-01 03:49:07 +13:00
Chris Pearce
781dcec68c Bug 646766 - Make test_info_leak use MediaTestManager so it can be parallelized. r=roc 2011-04-01 11:10:48 +13:00
Chris Double
85bb421dd4 Bug 646682 - Fix range check in test_wave_data media tests - r=kinetik 2011-03-31 14:08:49 +13:00
Robert O'Callahan
c6e4498a20 Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Robert O'Callahan
e865324942 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Mounir Lamouri
f3db6089ca Bug 597525 - Remove GetDefaultValueFromContent method; r=ehsan 2010-12-02 02:39:46 +01:00
timeless@mozdev.org
298e408f3f Bug 620167 nsEventStateManager::SetContentState inconsistently handles mPresContext [@ nsEventStateManager::EnsureDocument | nsEventStateManager::SetContentState]
r=smaug
2011-03-22 15:12:30 -04:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
Alex Vincent
ba2291ebc4 Bug 401276 - Fix comment that claims that Range.ExtractContents should merge resulting adjacent nodes, r=smaug 2011-03-23 15:13:40 -04:00
Ms2ger
d6c0009d84 Bug 601590 - Make AppendElementStart, AppendElementEnd take Element. r=bzbarsky 2010-10-22 23:25:22 +02:00
Ms2ger
82697a892d Bug 581644 - Make nsHTMLDocument::GetImageMap return dom::Element; r=peterv 2011-03-28 12:51:59 -04:00
Ms2ger
4add4dff80 Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron 2011-03-28 12:51:59 -04:00
Ms2ger
f3bff9fd12 Bug 562701, part a: Use Element in nsSMILCSSValueType::ValueFromString; r=smaug 2011-03-28 12:49:11 -04:00
Ms2ger
548bbd157d Bug 494744. Fix testcase to actually test what it means to test. r=roc 2011-03-28 12:49:11 -04:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ms2ger
ff9e7daf3f Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Henri Sivonen
91f8167664 Bug 629621 - Make the content sink no longer write http-equivs back to Necko. r=bzbarsky. 2010-09-15 11:37:54 +03:00
Chris Double
bf27fe5198 Bug 639721 - Fix data race on nsBuiltinDecoderReader::mInfo - r=kinetik
--HG--
extra : rebase_source : 5e58af70c75f563ae7dd7d62e3be897a3c244e85
2011-03-24 16:53:03 +13:00
Chris Double
5acb08ef86 Bug 614445 - delete used to free memory allocated by operator new[] in Ogg backend - r=cpearce
--HG--
extra : rebase_source : 6cbd41821bbe489ab2fa443c57b710aa1527d1e2
2011-02-24 16:53:35 +13:00
Chris Double
143856bc77 Bug 556821 - Use Ogg Skeleton presentation time for start of videos - r=cpearce
--HG--
extra : rebase_source : 83020ac5028e9f94cabe6a3c959cf84eeb25449f
2011-03-24 14:16:30 +13:00
Robert O'Callahan
6880cc64d6 Bug 639689. Part 5: Track whether the current path in the canvas context is empty. If it is, then optimize path save/restore to not make a copy of the current path. r=joe 2011-03-24 16:13:59 +13:00
Robert O'Callahan
6efae32538 Bug 639689. Part 4: Optimize Redraw by creating custom RedrawUser, which avoids having to do user->device rectangle transformation if we've already invalidated the full canvas. Also, if the last batch of canvas drawing operations contained many operations causing us to invalidate the full canvas, assume that the next batch will also contain many operations and invalidate the full canvas in the first operation of the batch, r=joe 2011-03-24 16:13:58 +13:00
Robert O'Callahan
3dd0479a61 Bug 639689. Part 3: Remove unnecessary full context save/restore, and redundant SetPattern call. r=joe 2011-03-24 16:13:58 +13:00
Robert O'Callahan
4bccc6ddf8 Bug 639689. Part 2: Some trivial cleanup and microoptimizations. r=joe 2011-03-24 16:13:58 +13:00
Robert O'Callahan
6826c493e7 Bug 639689. Part 1: Cache nsIImageLoadingContent pointer to avoid expensive do_QueryInterface in CanvasImageCache::Lookup hit path. r=joe 2011-03-24 16:13:58 +13:00
Robert O'Callahan
82c852c903 Bug 638241. Test that painting an <img>, changing its src attribute and then painting the <img> again paints the new image. 2011-03-24 16:13:58 +13:00
Robert O'Callahan
0788ccd0dd Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky 2011-03-24 16:13:56 +13:00
Robert O'Callahan
c83de15a66 Bug 638241. Part 1: remove useless QI. r=bzbarsky 2011-03-24 16:13:18 +13:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Ehsan Akhgari
5553692d78 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mounir Lamouri
700ff02968 Bug 639175 - Do not throw an exception when select.size is set to 0. r=smaug 2011-03-24 12:49:19 +01:00
Mounir Lamouri
7729756851 Bug 630889 - textarea.rows and textarea.cols should be unsigned long and limited to only non-negative numbers greater than zero. r=smaug 2011-03-24 13:04:23 +01:00
Mounir Lamouri
ac7a700dc6 Bug 640946 - Add a method to nsIFormControl to know if a form control can have draggable children. r=smaug 2011-03-24 15:55:32 +01:00
Mounir Lamouri
c1af012c99 Bug 563669 - Move nsGenericHTMLFormElement::AcceptAutofocus to nsIFormControl. r=smaug 2011-03-24 16:10:42 +01:00
Mounir Lamouri
bdebc24a2b Bug 641409 - Move methods using only using GetType from nsGenericHTMLFormElement to nsIFormControl. r=bz 2011-03-24 17:06:58 +01:00
L. David Baron
65ba1c0595 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00
L. David Baron
12b806cced Check for the |var| element rather than the |variable| element in nsHTMLCopyEncoder::IncludeInContext. (Bug 642716) r=bzbarsky 2011-03-18 14:02:44 -07:00
L. David Baron
9cd361a5d0 Remove support for the variable attribute on the HTML pre element. (Bug 642227) r=bzbarsky 2011-03-17 20:14:32 -07:00
L. David Baron
019db3ab80 Convert custom style rules to property getters instead of accessing struct members. (Bug 636039, patch 8) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
77e8bd5e22 Convert attribute mapping functions to property getters instead of accessing struct members. (Bug 636039, patch 7) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
4e2ed0d43c Fix error in CSS vs. HTML precedence for the variable atttribute on the pre element. (Bug 636039, patch 6) r=bzbarsky 2011-03-17 20:14:30 -07:00
Mounir Lamouri
f65b113add Bug 640963 - Add nsHTMLInputElement::IsValueEmpty() const. r=bz 2011-03-12 02:07:34 +01:00
Mounir Lamouri
8d00fff243 Bug 585097 - Add a GetValue() const to nsHTMLInputElement and make some other methods const. r=bz 2011-03-09 19:25:20 +01:00
Olli Pettay
01a16652cf Bug 461066 - Add support for XHR's loadend event, r=sicking
--HG--
extra : rebase_source : f4db116cdd195d0319189a5800ee991370649072
2011-03-24 15:22:03 +02:00
Olli Pettay
ad819c7832 Bug 639130, document.load should check script handling object, r=jst 2011-03-24 13:37:32 +02:00
Olli Pettay
1b2a7b1e35 Bug 641499 - Don't throw when event.type is called before initEvent, r=sicking 2011-03-24 13:34:48 +02:00
Olli Pettay
26c20e1988 Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking 2011-03-24 13:34:03 +02:00
Josh Aas
e2dffb6660 Bug 556873: Fix bugs in our secure input implementation for Mac OS X. More reliably enable and disable secure input mode. r=masayuki a=jst 2011-02-09 14:00:58 -05:00
Justin Lebar
099591cc66 Bug 622088 - Make XHRs' referrers reflect changes to document's URI from history.push/replaceState. r=sicking, a=bz 2011-01-30 13:46:34 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Daniel Holbert
7898bd203a Bug 614649, patch 0: In SVG-as-an-image internals, rename "mNeedsPreserveAspectRatioFlush" & friends to "mImageNeedsTransformInvalidation". r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Ehsan Akhgari
deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
Alon Zakai
31bcbec613 Bug 586321 - Crash in TabChildGlobal due to mListenerManager not Disconnected(); r=Olli.Pettay 2010-08-11 09:59:00 -04:00
Justin Lebar
776b8e6a2f Bug 585978 - Add SSE implementation of is-ascii check in nsTextFragment. r=derf,jst 2010-08-09 15:32:18 -07:00
timeless@mozdev.org
e0efbae0ff Bug 620258 add additional fall through comments to nsEventStateManager::PreHandleEvent
r=smaug
2010-12-19 19:46:00 -05:00
Ehsan Akhgari
44c6ad0a4f Merge backout of bug 622072 2011-03-29 14:32:11 -04:00
Ehsan Akhgari
931bd6ee19 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Boris Zbarsky
88fda2a22f Bug 631837. Stop doing recursive tree traversal in querySelector(All). r=sicking 2011-03-29 13:29:22 -04:00
Boris Zbarsky
2bad4d16d0 Bug 598832 part 15. Make RuleProcessorData not inherit from TreeMatchContext anymore, so we can decouple the lifetimes. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
1d0038c7b8 Bug 598832 part 13. Stop using RuleProcessorData in the DOM-exposed selector-matching methods. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
1450ef8e9f Bug 598832 part 1. Move TreeMatchContext out to where things other than the rule processor can get at it. r=dbaron 2011-03-29 13:29:20 -04:00
Robert Longson
8b57446931 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
7c5a1f227d Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Daniel Holbert
141b29162d Bug 639728: Retain temporary owning references to new-style SVGxxxList DOM tearoffs where necessary. r=jwatt 2011-03-29 08:47:53 -07:00
L. David Baron
b2e59587e8 Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Ms2ger
1a17fa9d41 Bug 623589 - Remove aCanBePercent parameter from nsAttrValue::ParseSpecialIntValue; r=peterv a=jst 2011-02-04 14:46:16 -05:00