Kyle Huey
7c8feff73e
Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods.
2011-06-05 11:54:14 -07:00
Joel Maher
10820d7496
Bug 663213 - move content/xbl/*.xul tests to mochitest-chrome. r=bz, a=test-only
2011-06-10 11:11:26 -04:00
Joel Maher
05796a596e
Bug 663204 - move content/events/*.xul tests to mochitest-chrome. r=ted, a=test-only
2011-06-10 11:11:25 -04:00
Chris Jones
a8b0ac4f8e
Bug 655926: Implement canvas.mozFillRule. sr=vlad
2011-06-09 19:15:13 -07:00
Ehsan Akhgari
5876f2d3b7
Backout changeset 322d3d456f5b, cc8b37b43c5a, fba5bf34ad72, b9dab5588ce1 because they break the desktop mobile build on Windows
2011-06-09 17:02:48 -04:00
Neil Rashbrook
d392f96caa
Bug 660536 Remove useless uses of PromiseFlat(C)String r=smaug
2011-06-09 21:17:58 +01:00
Daniel Holbert
8ca46b58eb
Bug 662685: Add parens around "||" condition in txTransformNotifier::SignalTransformEnd to fix logic (& fix build warning). r=bz
2011-06-09 12:10:42 -07:00
Joel Maher
7317499f54
Bug 659315 - move content/base/test/*.xul to mochitest-chrome. r=jonas, a=test-only
...
--HG--
rename : content/base/test/test_bug339494.xul => content/base/test/chrome/test_bug339494.xul
rename : content/base/test/test_bug357450.xul => content/base/test/chrome/test_bug357450.xul
rename : content/base/test/test_bug571390.xul => content/base/test/chrome/test_bug571390.xul
2011-06-09 11:10:14 -04:00
Joel Maher
9ba59becc7
Bug 659263 - move content/xul/*.xul tests from mochitest-plain to mochitest-chrome. r=bzbarsky, a=test-only
...
--HG--
rename : content/xul/templates/tests/bug441785-1.rdf => content/xul/templates/tests/chrome/bug441785-1.rdf
rename : content/xul/templates/tests/bug441785-2.rdf => content/xul/templates/tests/chrome/bug441785-2.rdf
rename : content/xul/templates/tests/test_bug441785.xul => content/xul/templates/tests/chrome/test_bug441785.xul
rename : content/xul/templates/tests/test_sortservice.xul => content/xul/templates/tests/chrome/test_sortservice.xul
2011-06-09 11:10:12 -04:00
Peter Van der Beken
ae44770a16
Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
...
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Peter Van der Beken
a6322dcbd6
Fix for bug 659580 (Flush CanvasImageCache on shutdown). r=roc.
...
--HG--
extra : rebase_source : 9752189ce8c9bd13795979cfa8d50311b5bf5b56
2011-04-13 17:34:06 -07:00
Simon Montagu
b202223ff2
Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc
2011-04-11 10:59:30 +03:00
Ehsan Akhgari
c29fd423ea
Merge cedar into mozilla-central
2011-06-08 17:46:13 -04:00
Chris Pearce
0ce10721e9
Bug 655648 - Don't enqueue expired theora frames. r=roc
2011-06-09 08:56:45 +12:00
Kyle Huey
3c43cf4d3f
Bug 661529: Make <canvas>.toDataURL more efficient by avoiding unnecessary copying/allocation. r=vlad
...
--HG--
extra : rebase_source : 38e535e3d9835ab6ffc298263d39ca75c606cc3f
2011-06-08 11:12:18 -07:00
Sebastian Kromp
1052ad8280
Bug 578564. Remove nsIFrameSetElement and just use nsHTMLFrameSetElement instead. r=bzbarsky
...
--HG--
rename : content/html/content/public/nsIFrameSetElement.h => content/html/content/src/nsHTMLFrameSetElement.h
2011-06-08 12:04:10 -07:00
Kyle Huey
d2da8f5e6c
Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push
2011-06-07 13:23:03 -07:00
Julian Reschke
e65dadbf3c
Bug 507976: Check the anchor parameter while processing link header fields. r=bz
2011-06-07 13:19:06 -07:00
Benoit Jacob
3f7d139bd9
Bug 656277 - Prevent loading WebGL textures from cross-domain images - r=bzbarsky, a=jpr
...
This blocks using cross-domain images and tainted canvases as WebGL textures, in response to a timing attack allowing to get approximations of cross domain images' pixel data.
This is known to break legitimate Web content (e.g. bug 662570), so it's sad to have to land this. In the hopefully near future, a way forward will be implemented allowing affected Web content to resume working: we will allow cross-domain textures that have CORS approval. This is being coordinated with other WebGL implementers on the WebGL mailing lists.
2011-06-07 13:47:54 -04:00
Mounir Lamouri
dbc8f56eea
Merging cedar with mozilla-central.
2011-06-07 11:06:50 +02:00
Patrick McManus
20b80a25e4
Bug 662554 - Make websocketestablishedconnection getinterface and close() check mOwner != nsnull r=biesi
...
--HG--
extra : rebase_source : 2a5e0df5d61f52445b2db8e08431df6987a07e5c
2011-06-08 08:27:11 -04:00
Mounir Lamouri
bb91918b3b
Bug 350022 (2/2) - Tests. r=bz
...
This patch also creates a forms/ directory inside content/html/content/tests/
to host the forms test suite.
2011-06-08 00:01:09 +02:00
Mounir Lamouri
bca99c125b
Bug 350022 (1/2) - Don't save a radio button state if the user didn't interact with the group. r=bz
2011-06-08 00:01:25 +02:00
Dão Gottwald
4e4ac318f3
Bug 658738 - remove event listeners in browser chrome tests
2011-06-07 16:45:26 +02:00
Bjarne
c8814a65f7
Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz
2011-06-05 18:20:53 +02:00
Chris Leary
52221a8477
Merge mozilla-central and tracemonkey.
2011-05-23 00:02:05 -07:00
Nicholas Nethercote
30e92c3349
Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc.
2011-05-22 19:49:56 -07:00
Chris Leary
b2d9eba98e
Merge mozilla-central and tracemonkey.
2011-05-20 14:29:36 -07:00
Jonathan Watt
f709b31a75
Bug 657862 - Relative SVG arc path segments are broken. r=longsonr.
...
--HG--
extra : rebase_source : 8897f5f5358f67708f92f50e1061d1947ae011a1
2011-05-20 21:00:35 +01:00
Matt Woodrow
6ce859c7db
Bug 656947 - NULL check the current canvas context when attempting to increment the malloc count. r=bz
2011-05-20 10:12:12 -07:00
Joel Maher
6993636556
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Mounir Lamouri
77c1d76262
Merging cedar with mozilla-central.
2011-05-20 15:55:16 +02:00
Mounir Lamouri
de7cd2d1a0
Bug 658282 (2/2) - Notify state change when a radio button checkness changes. r=bz
2011-05-20 00:33:33 +02:00
Benjamin Peterson
6ca89b9ae1
Bug 649618: toDataURL on a zero canvas should return "data:," r=joe
2011-05-20 00:28:45 +02:00
Olli Pettay
f0c0c8b1b6
Bug 657997 - loadFrameScript should never use http and should use a script runner when needed, r=bz+mfinkle
2011-05-19 17:48:17 +03:00
Craig Topper
52d9de655d
Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc
2011-05-18 22:26:45 -07:00
Craig Topper
4e38ca20a7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Olli Pettay
2d023944de
Bug 656386 - nsUIEvent should generate nsDOMUIEvent, r=sicking
2011-05-19 16:40:52 +03:00
Mounir Lamouri
3646f63577
Merging cedar with mozilla-central.
2011-05-19 15:05:34 +02:00
Benjamin Peterson
00688a9856
Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc
2011-05-19 12:49:18 +02:00
Chris Pearce
ecc5e88894
Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc
2011-05-19 21:00:39 +12:00
Masatoshi Kimura
ded3a051e0
Bug 649133 followup. Remove the 'moz' prefix on response/responseType, since Chrome has already shipped these unprefixed. r=sicking
2011-05-19 01:11:51 -04:00
Benjamin Peterson
f41c05a7d6
Bug 656183: remove duplicate call to SetCanvasElement. r=joe
2011-05-18 21:23:00 -04:00
Masayuki Nakano
24127357de
Bug 657648 Don't use high resolution scrolling when acceleration is enabled r=smaug
2011-05-19 08:12:34 +09:00
Bas Schouten
007db48f46
Bug 620216 - Part 1: Use EXTEND_PAD when doing DrawImage. r=roc
2011-05-17 23:10:09 +00:00
Chris Pearce
7245639e75
Bug 652475 - Add media.volume_scale pref to scale output volume without changing reported volume. r=roc
2011-05-19 09:12:25 +12:00
Mounir Lamouri
3614c727b5
Merging cedar with mozilla-central.
2011-05-18 11:42:37 +02:00
Craig Topper
d3aa297de2
Bug 657548 - Part 2: Remove more unused CIDs. r=jst
2011-05-16 23:46:22 -07:00
Craig Topper
1ff7cbe0ed
Bug 657548 part 1. Remove some duplicate and unused CIDs from nsContentCID.h and nsLayoutCID.h. r=jst
2011-05-16 22:25:39 -07:00
Zack Weinberg
c2d2dd84db
Bug 541496 part 5: use the string-taking API for sync sheet loads. r=bzbarsky
2011-05-18 21:22:59 -04:00
Zack Weinberg
eb1ebebbd0
Bug 541496 part 3: use the new string-taking API in LoadInlineStyle. r=bzbarsky
2011-05-18 21:22:59 -04:00
Zack Weinberg
1a37e44f98
Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky
2011-05-18 21:22:59 -04:00
Zack Weinberg
4528c43578
Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky
2011-05-18 21:22:59 -04:00
Simon Montagu
104d732e9a
Cache in-flow content length. Bug 566066, r=roc
2011-05-22 11:20:29 +03:00
Randell Jesup
f9901669f2
Bug 655084 - Remove nsWeakFrame's from editor scripts and the nsTextInputListener to improve perf on pages with lots of text widgets. r=ehsan
2011-05-21 04:25:27 -04:00
Masayuki Nakano
edb717f467
Bug 657634 Don't use high resolution scrolling when scrolling speed is customized by prefs r=smaug
2011-05-22 14:39:16 +09:00
Patrick McManus
2ded010403
bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz
2011-05-21 21:27:52 -04:00
Patrick McManus
c2f7522f58
bug 640003 - websockets, fixup tests for new server r=smaug r=biesi
2011-05-21 21:27:52 -04:00
Daniel Holbert
ff123ba64d
Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz
2011-05-21 18:12:46 -07:00
Daniel Holbert
c0b880ca57
Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi
2011-05-21 18:12:45 -07:00
Daniel Holbert
2ebeeb1a30
Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi
2011-05-21 18:12:45 -07:00
Daniel Holbert
f3cc3a9d15
Merging cedar with mozilla-central.
2011-05-21 16:18:49 -07:00
Jonas Sicking
5a46947588
Add a test for bug 644069. r=bzbarsky
2011-05-20 16:21:27 -04:00
Kyle Huey
601d68ae79
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
Doug Turner
7ae2a4a388
Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh
2011-05-21 11:21:49 -04:00
Josh Aas
998050c725
Bug 657952: Minimize methods in nsIPluginHost. r=jst
2011-05-21 09:28:54 -04:00
Jonas Sicking
14b0c5d3de
Back out another suspect just in case. CLOSED TREE. a=orange
2011-05-20 17:20:37 -07:00
Kyle Huey
6a71698a53
Back it all out on this CLOSED TREE. a=mfbt
2011-05-20 17:00:46 -07:00
Kyle Huey
0018d52058
Backed out changeset b8404a1d3153
2011-05-20 17:00:13 -07:00
Benoit Jacob
fedd4697f5
Bug 657556 - crash in WebGL uniform setters when no program is bound - r=cdiehl
...
This crash was occurring when no program is bound and the uniform object isn't bound to a program either. The fix is to properly check if a program is bound.
2011-05-20 15:53:54 -04:00
Benoit Jacob
fc2bfc20c7
Bug 656215 - null out failed canvas contexts - r=roc
...
This is needed to correctly handle exceeding large canvases. The previous patch lets us know that the canvas is too large, and this canvas then correctly marks it as 'bad' so that we no longer crash.
2011-05-20 15:53:53 -04:00
Benoit Jacob
3b22833d8a
Bug 636942 - stencil separate param validation must now occur on draw calls - r=jrmuizel
...
We were validating these params when they're set, and that was non-conformant behavior.
2011-05-20 15:53:53 -04:00
Benoit Jacob
a392b3f339
Bug 636913 - fix buffer-preserve-test.html so it works in the mochitest - r=joedrew
...
This was filed upstream at:
http://www.khronos.org/bugzilla/show_bug.cgi?id=472
This just moves around the canvas in the html so it's visible, so it actually gets composited. Otherwise the test fails.
2011-05-20 15:53:53 -04:00
Benoit Jacob
c8c2f484a2
Bug 636913 - implement the WebGL backbuffer clear semantics - r=joedrew
...
This implements the WebGL backbuffer clearing behavior when preserveDrawingBuffer=false
2011-05-20 15:53:53 -04:00
Benoit Jacob
58ec34d2c2
Bug 636913 - implement ForceClearFramebufferWithDefaultValues from the existing renderbuffer init code - r=joedrew
...
This is just moving code around, in preparation for implementing the WebGL buffer clear semantics in the next part.
2011-05-20 15:53:53 -04:00
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
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
Ms2ger
b0ad3b3419
Bug 660539 - Remove nsIDOM3TypeInfo, schemaTypeInfo; r=sicking
2011-06-04 08:57:23 +02:00
Ms2ger
6b82352a35
Bug 635194 - Don't resolve body.background; r=bz
2011-06-04 08:57:23 +02:00
Ms2ger
910b553f57
Bug 660669 - Remove nsHTMLDocument::OpenCommon; r=bz
2011-06-04 08:57:23 +02:00