Commit Graph

7142 Commits

Author SHA1 Message Date
Benoit Jacob
ee5166d905 Bug 636913 - state tracking needed for WebGL clear semantics - r=joedrew
We needed to remember more values instead of just passing them to the GL.
2011-05-20 15:53:53 -04:00
Benoit Jacob
841076288a Bug 636913 - fix context options - r=joedrew
The WebGL context options were out of date.
2011-05-20 15:53:53 -04:00
Benoit Jacob
779f99fd6c Bug 630672 - fixes for WebGL OES_texture_float extension - r=joedrew
This fixes a few issues in Vlad's patch: pass test, break reference cycle, fix leak
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Benoit Jacob
398859cfe4 Bug 657201 - we must really avoid glValidateProgram() on Mac - r=cdiehl
We thought it was only crashy with NVIDIA, but it's now confirmed on ATI on Mac OS 10.6.7 too

It's OK to just not call it, as it's only a developer feature and not really useful in actual content.
2011-05-20 15:53:53 -04:00
Benoit Jacob
b9642f26a8 Bug 657190 - the WebGL mochitest is downloading images from internet - r=philor
This patch checks in the image in question so we don't download it from internet anymore. Was causing intermittent test failures.
2011-05-20 15:53:53 -04:00
Kyle Huey
7da7ee7e4b Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Shawn Gong
9fe184ef18 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=bent,sicking 2011-05-20 10:17:28 -07:00
William Chen
db78afb329 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Mounir Lamouri
64a8d3688b Merging cedar with mozilla-central. 2011-05-17 15:32:32 +02:00
Paul ADENOT
6f534e4407 Bug 657447 : adding include guard aroung nsTimeRanges class. 2011-05-17 11:14:40 +12:00
Benoit Jacob
d1bac4c182 Bug 656752 - WebGL crash [@gleRunVertexSubmitImmediate()] - r=jrmuizel, a=clegnitto
Fix bookkeeping in webgl.bindBuffer()
2011-05-16 17:18:04 -04:00
Masayuki Nakano
1d3f3a321b Bug 605648 Support high resolution scrolling on Windows r=jimm+smaug 2011-05-17 09:23:23 +09:00
Paul ADENOT
fd896d6eec Bug 620331 - Remote nsAudioStreamRemote::GetMinWriteSamples; r=kinetik 2011-05-15 12:53:55 +02:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ms2ger
a49c5db9c8 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Kyle Huey
4c49faddb7 Bug 656647: Followup for missed review comment. DONTBUILD 2011-05-14 16:45:19 -07:00
Kyle Huey
5b218f0873 Bug 656647: File constructor should take nsIFiles. r=sicking 2011-05-14 16:41:20 -07:00
Kyle Huey
0fca46149e Bug 656640: DOM File objects should DEFER_OPEN their streams. r=sicking 2011-05-14 16:37:41 -07:00
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Bas Schouten
6a5507939e Backed out changeset eb3239a968ac 2011-05-18 00:21:49 +00:00
Bas Schouten
472d5df9be Bug 620216: Use EXTEND_PAD when doing DrawImage. r=roc 2011-05-17 23:10:09 +00:00
Phil Ringnalda
36bee1bcfe Bug 565245 - Disable test_bug493251.html on Linux because of | Wrong number events (16 through 21, one short on each), r=smaug 2010-12-20 21:06:00 -08:00
Jonathan Watt
b4856a95b9 Bug 580983. Fix broken test, but disable it since it would now be virtually permaorange. 2011-05-14 20:10:18 +01:00
Jonathan Watt
42626a794e Bug 580983. Invert the args to is() so that the 'expected...got...' message is the correct way round. 2011-05-14 18:06:02 +01:00
Jonathan Watt
8efe0687fe Bug 580983. Use path instead of rect to eliminate ambiguity about which rect is being hit.
--HG--
extra : rebase_source : 9608b39c80a8a7a1b88c61db1ebd5cfa21e7ff09
2011-05-14 17:56:47 +01:00
Jonathan Watt
de09de0254 Bug 580983. Clean up test before another attempt at orange fix.
--HG--
extra : rebase_source : c5dcaec1516041578c9db5af4682b52a0c67d1d0
2011-05-14 17:55:53 +01:00
Olli Pettay
132add9eb2 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Olli Pettay
aac1b3c0a8 Fix a comment in the testcase for bug 656954
--HG--
extra : rebase_source : c25c9105205dceea2af11312059fba493b343b76
2011-05-14 14:14:06 +03:00
Jonathan Watt
414d346a76 Bug 580983. Attempt to fix random orange. 2011-05-14 14:12:32 +01:00
Olli Pettay
a5e935bc3c Bug 656954 - Add defaultPrevented to nsIDOMEvent, r=sicking
--HG--
extra : rebase_source : f491aa3d1b40980ca0f6b8cc38a5e9e60d80b9e7
2011-05-13 23:44:35 +03:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Bobby Holley
3fa8eba250 Bug 653930 - Setting marginWidth and marginHeight on an iframe should trigger a reflow.r=bz 2011-05-13 10:41:00 -07:00
Josh Matthews
828f07a165 Bug 642419 - Add error reporting for content scripts. r=smaug 2011-03-18 00:08:18 -04:00
Mounir Lamouri
a497a31e83 Merging cedar with mozilla-central. 2011-05-13 10:59:05 +02:00
Henri Sivonen
f5d2683307 Bug 651441 - Make sure the HTML5 application cache selection algorithm runs properly when there is no manifest attribute. r=honzab.moz. 2011-05-13 11:31:12 +03:00
Daniel Holbert
72a7071032 Bug 654015 patch 2: Assert that page is hidden when document disconnects from nsSMILAnimationController. r=bz 2011-05-12 10:50:14 -07:00
Henri Sivonen
4fe663e3bc Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Chris Pearce
6d6e37a982 Bug 651023 - Round up wait times to 1ms to ensure we drop the decoder monitor when presenting video frames. r=kinetik 2011-05-12 14:02:34 +12:00
Chris Pearce
055f6af4bb Bug 656480 - Make test_bug495300 use MediaTestManager. r=roc 2011-05-12 14:02:34 +12:00
Chris Pearce
83fc85f024 Bug 655648 - Go to readyState HAVE_ENOUGH_DATA if resource is fully loaded at loadeddata state. r=roc 2011-05-12 14:02:34 +12:00
Nicholas Nethercote
fe667a591e Bug 655638 - Make the canvas memory reporter a non-heap reporter. r=bas. 2011-05-11 16:09:50 -07:00
Olli Pettay
5a3d01a7ee Bug 656218, document.activeElement should not throw, r=bz 2011-05-11 23:52:32 +03:00
Masatoshi Kimura
d304cf7c20 Bug 656253: Fix intermittent orange due to variables colliding. r=sicking 2011-05-11 11:06:47 -07:00
Mats Palmgren
9b597207cc Bug 649134 - Add a comment explaining the extra subdirectory for the test. r=me 2011-05-11 18:49:57 +02:00
Mats Palmgren
3d592e7e8c Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Mats Palmgren
691c173afd Bug 649134 - Ignore an empty or whitespace only href in the Link HTTP header. r=bzbarsky 2011-05-11 11:46:59 +02:00
Mats Palmgren
2e345f50e8 Bug 649134 - Ignore an empty or whitespace only <link> href. r=bzbarsky 2011-05-11 11:46:59 +02:00
Olli Pettay
aaa8063f93 comparing with ssh://opettay@mozilla.com@hg.mozilla.org/mozilla-central/
searching for changes
changeset:   68981:5f295573b22d
tag:         tip
user:        Olli Pettay <Olli.Pettay@helsinki.fi>
date:        Mon May 09 18:47:13 2011 +0300
summary:     Bug 427537 - Implement CustomEvent DOM3 specification, r=sicking
2011-05-11 09:33:11 +03:00
Masatoshi Kimura
4d700c8562 Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Julian Reschke
e74e4501f5 Implement exslt-date:date-time (bug 603159) r=sicking 2011-04-26 13:46:43 +01:00
Jonas Sicking
549cf0a0a2 Bug 643786. Don't fire DOMNodeRemoved when removing the editor created <br>. r=ehsan 2011-05-09 12:33:04 -07:00
Jonas Sicking
75de75934d Bug 650493 Part 2: Simplify userdata by firing adoption handlers off of scriptrunners. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Jonas Sicking
2e8c6fa6c5 Bug 650493 tests. rs=smaug 2011-05-09 12:33:03 -07:00
Jonas Sicking
f2e68647d5 Bug 651598: Make test_bug288392.html report better errors. r=smaug 2011-05-09 12:33:03 -07:00
L. David Baron
6a18dd0f0f In cycle collector dumps, allow much more room for document URLs. (Bug 652056) r=peterv 2011-05-09 15:02:34 -04:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Matt Woodrow
9d7dd64918 Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Timothy Nikkel
8e6d2ba938 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4 Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking 2011-05-12 10:36:21 -05:00
Josh Matthews
8c15a97e09 Bug 644325 - Wrap message receiver to avoid compartment errors. r=jst 2011-03-23 17:50:03 -04:00
Mounir Lamouri
e4b3883c74 Bug 633913 - Add a pseudo-class to access indeterminate <progress> elements. r=bz 2011-05-04 16:53:17 +02:00
Mounir Lamouri
9841889de9 Bug 514437 - Tests for progress element (content part). r=smaug 2011-04-20 13:05:59 +02:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Henri Sivonen
c2d3c63d91 Bug 650001 - Make the HTML serializer pay attention to namespaces. r=bzbarsky. 2011-05-09 09:48:46 +03:00
Chris Pearce
8b87c69da8 Bug 566779 - Don't move media to readyState HAVE_ENOUGH_DATA when resource loaded, if metadata not loaded yet r=roc 2011-05-09 09:10:44 +12:00
Chris Pearce
c47b80f93b Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Ms2ger
b0ed41d802 Bug 655512 - Forward implementation of nsIDOMDocument from nsHTMLDocument to nsDocument; r=smaug 2011-05-08 20:15:49 +02:00
Chris Pearce
ccae22ade2 Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Olli Pettay
d5431f150a Bug 652752 - Click event isn't fired if mousedown event and mouseup event are fired on different textnode of same element, r=masayuki
--HG--
extra : rebase_source : 90c84bb703c5e314dcdcf3b435b842e680d591ad
2011-05-07 12:42:45 +03:00
Boris Zbarsky
ae3f14f1ba Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Patrick McManus
6b73f3780b Bug 654197 - nsWebSocket::Initialize uses an unanchored JSString unsafely r=jorendorff
--HG--
extra : rebase_source : 53e857796305b1a54601ff9125721d6c0f9e67aa
2011-05-05 17:16:44 -04:00
Benoit Jacob
1f4e4cc378 Bug 653419 - check for null gl ptr in SetDimensions NOP path - r=joedrew
WebGLContext::SetDimensions has an early success exit path when the dimensions are unchanged. However it wasn't checking that the gl pointer was non-null. Thus, after a failed WebGL context creation, such a SetDimensions call could incorrectly "succeed", only to crash when dereferencing the gl pointer.
2011-05-06 14:44:26 -04:00
Benoit Jacob
d715011bf4 Bug 653419 - correctly mark WebGL context creation as successful - r=joedrew
WebGLContext::SetDimensions has early return paths in cases where the WebGL context does not need to get recreated. A bug made that be recorded as WebGL creation failures, giving "WebGL-" in crash reports. This patch fixes that.
2011-05-06 14:44:25 -04:00
Benoit Jacob
219a0971fb Bug 648705 - memory corruption due to dangling pointers in WebGLProgram - r=joedrew
WebGLProgram has a data member,

nsTArray<WebGLShader*> mAttachedShaders;

and bug 648705 showed that the pointers in this array were sometimes dangling, leading to invalid writes at non-null addresses.

This patch makes these pointers be refptrs, so that they will keep alive the WebGLShaders they point to. So the mAttachedShaders member becomes

nsTArray<nsRefPtr<WebGLShader> > mAttachedShaders;
2011-05-06 14:44:23 -04:00
Ehsan Akhgari
e4c89e2e5d Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Olli Pettay
f83cc47bbe Bug 654770, fix few AddEventListener calls now that it has 2 optional parameters, r=sicking
--HG--
extra : rebase_source : d0a27a6ba059d5862f10ab49f0a079e8928b30fb
2011-05-05 23:33:13 +03:00
Boris Zbarsky
667ff6ed5e Bug 614171 part 5. Inline the cheap Equals() methods on nsINodeInfo. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
162c571d02 Bug 614171 part 4. Eliminate nsINodeInfo::GetLocalName in favor of GetName. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
4ad0368a58 Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
288e7c4072 Bug 614171 part 2. Cache the qualified name, in normal and corrected case, on the nsINodeInfo. r=sicking 2011-05-05 12:26:32 -04:00
Boris Zbarsky
19229d0372 Bug 614171 part 1. Switch away from Init() to using a constructor for nodeinfo. r=sicking 2011-05-05 12:26:32 -04:00
Paul ADENOT
2d28100bc1 Bug 654956 : Added private: statement in nsAudioStreamRemote. r=kinetik 2011-05-05 12:18:06 +02:00
Boris Zbarsky
885c07dc20 Merge cedar with mozilla-central 2011-05-04 13:58:26 -04:00
Mounir Lamouri
27b0510f87 Bug 641720 - Make nsHTMLInputElement::GetRadioGroupContainer saner. r=sicking,bz 2011-05-04 14:49:59 +02:00
Mounir Lamouri
15cbf347cf Backout f68a9bfc9bfd (bug 641720). 2011-05-04 14:53:06 +02:00
Mounir Lamouri
fba6327793 Bug 639490 - Remove nsHTMLInputElement::GetNameIfExists. r=sicking 2011-05-04 14:46:09 +02:00
Mounir Lamouri
b8dfaebbb5 Bug 641720 - Make nsHTMLInputElement::GetRadioGroupContainer saner. r=sicking,bz 2011-05-04 14:45:47 +02:00
Olli Pettay
5c2503795f Bug 613634, make the 3rd paramater of add/removeEventListener optional, r=sicking
--HG--
extra : rebase_source : 9c720d865ed24e5b54cda287360b0fec508df359
2011-05-04 17:13:28 +03:00
Jonathan Kew
916e9b8b24 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Ed Morley
ff5f79b83b Bug 654463 - Remove WinCE code from content/* ; r=sicking 2011-05-04 09:25:50 +02:00
Henri Sivonen
35f3c40695 Bug 654106 - Avoid registering a script observer in the fragment parsing case. r=bzbarsky. 2011-05-04 09:35:14 +03:00
Chris Pearce
ed9ece16c8 Bug 600020 - Don't dispatch error events for media loads on cancelled channels. r=roc 2011-05-04 14:43:48 +12:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Dão Gottwald
ca1f9f0f94 Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Olli Pettay
a4d206d66a Bug 654182, svgnumberlist keeps a strong pointer to element, r=dholbert 2011-05-02 22:19:20 +03:00