Commit Graph

7796 Commits

Author SHA1 Message Date
Bas Schouten
756d1c7e15 Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel 2011-07-05 06:28:14 +00:00
Jason Duell
45ea24eb5d Bug 664860. Rename nsIWebSocketHandler -> nsIWebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketChannel.idl
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketListener.idl
2011-07-04 21:18:32 -07:00
Jason Duell
ebaf20a075 bug 664860: Rename websockets mochi test. r=biesi
--HG--
rename : content/base/test/file_ws_basic_tests_wsh.py => content/base/test/file_websocket_basic_wsh.py
rename : content/base/test/test_ws_basic_tests.html => content/base/test/test_websocket_basic.html
2011-07-04 21:18:30 -07:00
Daniel Holbert
b05ff8ffad Bug 669237: Fix init list order in nsBuiltinDecoderReader.h r=cpearce 2011-07-04 18:31:28 -07:00
Robert Longson
308f373d21 Bug 669216 - Simplify some of the number-optional-number implementation. r=dholbert 2011-07-04 22:19:54 +01:00
Bas Schouten
d23cf9b6df Bug 668801: Backed out Bug 656844 - changeset a565838cfc3a. 2011-07-04 16:35:50 +00:00
Bas Schouten
f61d114004 Bug 668801: Backed out Bug 656844 - changeset 22ec5982eca7. 2011-07-04 16:32:36 +00:00
Neil Deakin
fb8acde484 Bug 663728, use ids of nodes in xml datasources, r=jonas 2011-07-04 10:39:06 -04:00
Marco Bonardo
c6859b3730 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-04 12:46:07 +02:00
Peter Van der Beken
8e31bc0d69 Fix for bug 667315 (Make unknown handler forward to new handler). r=sicking. 2011-07-01 12:55:05 +02:00
Phil Ringnalda
902b4e6f6f Back out 29ec386d969f and ed18b0cca283 (bug 462959) for a very frequent assertion loop in test_played.html 2011-07-03 18:26:00 -07:00
Ms2ger
87578b97f7 Bug 383383 - Don't throw NS_ERROR_DOM_NOT_SUPPORTED_ERR from nsHTMLScriptElement::MaybeProcessScript; r=smaug 2011-07-03 11:53:41 +02:00
Phil Ringnalda
b60fccfd72 Merge m-c to m-i 2011-07-03 19:21:16 -07:00
Robert Longson
b1a2285137 Bug 669025 - class name and proto chain interface mismatch with number-optional-number and integer-optional-integer. r=dholbert 2011-07-03 20:49:11 +01:00
Ms2ger
11413e95a1 Merge m-c to m-i 2011-07-03 21:54:56 +02:00
Ms2ger
e6aaa3671f Bug 668184 - Make nsIDocument::AddXMLEventsContent return void; r=smaug 2011-07-03 11:53:41 +02:00
Ms2ger
ae8afde742 Bug 647433 - Rename mContent to mElement in implementations of nsIContentSerializer; r=bz 2011-07-03 11:53:40 +02:00
Paul ADENOT
0ffaf34b2d Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik 2011-07-03 11:53:39 +02:00
Paul ADENOT
011480680d Bug 462959 - Implement HTMLMediaElement.played; r=kinetik 2011-07-03 11:53:38 +02:00
Marco Bonardo
e46465dc77 No bug - Fix merge conflict across mozilla-inbound and mozilla-central. 2011-07-02 11:22:57 +02:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Brian Birtles
e5b308da49 Bug 665334 part 3 - Don't remove instance times used as fixed interval endpoints, r=dholbert 2011-07-02 12:37:56 +09:00
Brian Birtles
dbea318c75 Bug 665334 part 2 - Add fallback to detect infinite recursion when updating the interval and bail out, r=dholbert 2011-07-02 12:37:47 +09:00
Brian Birtles
2501c9b116 Bug 665334 part 1 - crashtest, r=dholbert 2011-07-02 12:37:38 +09:00
Brian Birtles
3606b29e7b Bug 664343 - Batch updates to current interval, r=dholbert 2011-07-02 12:37:10 +09:00
Robert Longson
e5b43ca994 Bug 668889 - simplify boolean attribute parsing. r=dholbert 2011-07-01 22:15:04 +01:00
Kyle Huey
3d981011e9 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
938ba969e8 Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -07:00
Olli Pettay
d99aaa1cc3 Bug 664470, unlink document some more, r=peterv
--HG--
extra : rebase_source : dbafa0618f381c4dc9360f972676de137d2d9885
2011-07-01 17:05:37 +03:00
Olli Pettay
2d2630f2b5 Bug 664452, unlink XUL some more, r=peterv
--HG--
extra : rebase_source : e17e5ed7c6a5d6565758ce2835df559b6abdcf32
2011-07-01 17:02:04 +03:00
Matt Brubeck
27d39ad214 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Marco Bonardo
b164bf7cd7 Backout due to mobile failures these changesets: 9f451a1901dd, e99f86ba7278, 447b48b79e6a, cef046665c53, c9237cc1fae0, d77a331a6d5a, f8f3afb95355, a050168887ee, 3ec4303ebf4d, 671b7c0d99f0, 56b17efbb62b, beceddeee3f4 on a CLOSED TREE 2011-07-01 16:28:07 +02:00
Felipe Gomes
b0be6a9593 Bug 583976. Part 4 pre - some clean up and adjustments to enable needs-focus tests for OOP content. r=cjones 2011-06-22 13:43:05 -07:00
Felipe Gomes
4daf8a243a Bug 583976. Part 3 - Automatically forward mouse and key input events to out-of-process content, and add cursor support in PuppetWidget. r=smaug,stechz 2011-06-21 17:32:43 -07:00
Felipe Gomes
4c5c4c7163 Bug 583976. Part 1 - Add focus manager support for focus activation/deactivation in remote content. r=enn,smaug 2011-06-17 17:08:32 -07:00
Felipe Gomes
463ef55fb5 Bug 663035. Retrieving docShell of remote frames should simply return null instead of throwing. r=bsmedberg 2011-06-14 17:29:10 -07:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Robert Longson
1371deaee4 Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert 2011-07-01 08:19:52 +01:00
Marco Bonardo
8f1f6418cb Backout changesets ed9bdae57981 due to permanent R2 Android failure on a CLOSED TREE 2011-07-01 18:04:13 +02:00
Shawn Gong
552c301b28 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
L. David Baron
3a7637ff21 Convert canvas text measurement widths from app units to pixels *after* they switch from integers to floats. (Bug 667947) r=roc
--HG--
extra : transplant_source : %9C%BA%C8%F9%2C%83%8C%F3%F7%A9%B1%00Wn%FF%A6%40%E6%D4%CC
2011-06-30 17:39:30 -07:00
Chris Pearce
55651bb5b6 Bug 655648 - Update media readyState more often, exit decode thread when decode finishes. r=kinetik 2011-07-01 11:00:22 +12:00
Mats Palmgren
8968056a3a Bug 667518 - Don't ignore <link> href white-space only values. r=bzbarsky 2011-06-30 22:09:26 +02:00
Josh Matthews
defee71441 Bug 668328 - Initialize members of nsEventListenerManager on construction. r=sicking 2011-06-29 16:40:01 -04:00
Matheus Kerschbaum
37f901a791 Test for bug 383383. r=smaug 2011-06-30 14:31:41 +02:00
Matheus Kerschbaum
f1c2a21293 Bug 383383 - Remove nsIScriptEventManager and nsIScriptEventHandler. r=smaug 2011-06-30 14:30:08 +02:00
Paul ADENOT
913b92aa91 Bug 667929 - OGG media buffered member is not correct when the stream is infinite; r=cpearce 2011-06-30 14:25:27 +02:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Jonas Sicking
e66eecfd3e Bug 647603: a.replaceChild(b, b) does not remove and re-insert the affected node. r=bz 2011-06-29 23:16:09 -07:00
Jonas Sicking
08ce29756c Bug 649150: Make sure that all blobs and files sent using FormData have a filename in the encoded submission. r=mounir 2011-06-29 11:03:36 -07:00
Mounir Lamouri
6e599087e2 Bug 667497 - Add documents' element size to documents' size computation. r=jst 2011-06-29 13:19:21 +02:00
Mounir Lamouri
722f1a262b Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Mounir Lamouri
8360e45f4c Bug 665865 - Make test_bug590363.html apply for all input types. r=smaug 2011-06-29 12:51:57 +02:00
Mounir Lamouri
08091f9f6f Bug 667866 - Misc fixes and improvements to reflect.js. r=Ms2ger
Add license boilerplate, header comment, check for the attribute being in the
IDL and the attribute type. Finally, fixing some typos.
2011-06-29 12:50:43 +02:00
Mounir Lamouri
5c99b0421a Bug 667864 - Tests more nsHTMLInputElement attributes reflection. r=Ms2ger
--HG--
rename : content/html/content/test/test_bug557628-1.html => content/html/content/test/test_bug557628.html
2011-06-29 12:48:56 +02:00
Mounir Lamouri
7250efb1bf Bug 668166 - Add reflectString method to reflect.js. r=Ms2ger 2011-06-29 12:49:06 +02:00
L. David Baron
599e0599d7 Bug 667948: Convert canvas text measurement widths from app units to pixels *after* they switch from integers to floats. r=roc 2011-06-28 16:58:00 -07:00
Boris Zbarsky
b5da919e09 Bug 667618 followup. The maemo compiler doesn't like arrays ending with ',', apparently 2011-06-28 22:41:27 -04:00
Boris Zbarsky
3299eef867 Bug 668030. Warn when enablePrivilege is used. r=sicking 2011-06-28 21:05:45 -04:00
Boris Zbarsky
fba2e87316 Bug 667618. Prevent mismatches between our enum and our strings. r=sicking 2011-06-28 21:05:34 -04:00
Ehsan Akhgari
d6b4429b37 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Doug Turner
d4487fbc34 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Joe Drew
770bb721ef Merge m-c to m-i 2011-06-28 12:21:04 -04:00
Ms2ger
8fc42dbaa6 Bug 667582 - Stop const_casting in nsHTMLOptionElement; r=bz 2011-06-28 12:45:51 +02:00
Marco Bonardo
e42980dbde Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-28 11:17:15 +02:00
Ehsan Akhgari
ae43b09354 Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-06-27 16:22:20 -04:00
Chris Leary
31076ac1d6 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Benoit Jacob
383b5010a2 Bug 663823 - Cross-domain textures generate NS_ERROR_FAILURE instead of NS_ERROR_DOM_SECURITY_ERR - r=jrmuizel
This is a quite stupid patch in already stupid code; the reason why it's so dumb is that it has to determine whether the argument is a DOMElement or ImageData and we don't have a real ImageData interface, see bug 637077, so it has to use duck typing. We should revisit this whole code once bug 637077 is fixed.
2011-06-27 13:27:04 -04:00
Benoit Jacob
47b4b6b59e Bug 664066 - Initialize GL values - r=karlt
This patch initializes by zero the GL max values before we query them, just in case a buggy OpenGL implementation's glGetIntegerv function would fail to set them.

This patch also manually sets the initial values of mPixelStorePackAlignment and mPixelStoreUnpackAlignment as per the spec, rather than querying them from the GL.
2011-06-27 13:27:04 -04:00
Benoit Jacob
51ff318cf1 Bug 667465 - Fix unused variable warnings in WebGL - r=jrmuizel 2011-06-27 13:27:04 -04:00
Benoit Jacob
870132fa1d Bug 664066 - remove useless C casts in WebGL code - r=karlt
Just to make the code a little more robust.
2011-06-27 13:27:04 -04:00
Jonas Sicking
6c6cdfc752 Bug 665609: Remove Add/RemoveEventListenerByIID API usage from nsXULPopupListener. r=smaug. Also r=ms2ger on killing NS_NewXULPopupListener. 2011-06-27 12:25:55 -07:00
Mounir Lamouri
aae725b72d Bug 665866 - Use reflect.js for input.type and button.type reflection tests. r=Ms2ger 2011-06-27 15:33:16 +02:00
Ehsan Akhgari
5f50b55b6b Bug 665858 - Part 2: Optimize nsContentEventHandler::GetFlatTextOffset; r=roc,masayuki 2011-06-27 08:59:01 -04:00
Ehsan Akhgari
23a49cd25d Bug 665858 - Part 1: Optimize the conversion of native and cross platform text offsets; r=roc,masayuki 2011-06-27 08:58:43 -04:00
Mounir Lamouri
45fde43e01 Merging mozilla-inbound and mozilla-central. 2011-06-27 11:04:05 +02:00
Cameron McCormack
56d9b00e15 Bug 667370 - Fix uncaught exception in test_2d.gradient.radial.cone.top.html. r=philor 2011-06-27 13:45:45 +12:00
Bas Schouten
dd84e816fe Bug 667225 - Part 2: Add a crash test for 0px size fonts. r=jrmuizel 2011-06-26 20:00:08 +02:00
Bas Schouten
6d51fdb1ed Bug 667225 - Part 1: Do not attempt to draw runs with no glyphs. r=jrmuizel 2011-06-26 20:00:06 +02:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Marco Bonardo
5fe0614d99 Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-25 12:04:08 +02:00
Jonas Sicking
874223b9ae Bug 665609: Remove Add/RemoveEventListenerByIID from nsTextEditorState. r=jst 2011-06-24 22:56:13 -07:00
Jonas Sicking
48f2403186 Bug 665599: Remove Add/RemoveEventListenerByIID from nsXBLStreamListener. r=jst 2011-06-24 16:12:34 -07:00
Jonas Sicking
8db51d6b1f Bug 665599: Remove AddRemoveEventListenerByIID from nsXBLWindowKeyHandler. r=jst 2011-06-24 16:12:34 -07:00
Marco Bonardo
d50a414c3e Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Boris Zbarsky
794437f593 Back out bug 665564 (rev 9de9b3a9458c) and bug 666790 (rev 7d3d5b9710ea) due to Mac test orange. 2011-06-24 00:42:23 -04:00
Jonas Sicking
5e5e6bd544 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
864793d608 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
de9773c785 Bug 658714 Part 8: Improve the nsEventListenerManager API. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking
976231a975 Bug 658714 Part 3: Move nsIDOMEventTarget implementation to nsINode. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking
6c4113f213 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking
8fed9108b1 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Andrew McCreight
c5b8664e7a Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Chris Pearce
b364e365c4 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Ehsan Akhgari
e1fb854f4f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-23 12:28:57 -04:00
Ms2ger
4955fdd963 Merge backout. 2011-06-23 16:36:56 +02:00
Ms2ger
2d5d8b8638 Backed out changeset 831fabb406a1 (Bug 664821) for WinXP opt M3 crashes. 2011-06-23 16:36:07 +02:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mounir Lamouri
05a1e8b365 Bug 655240 - Trying to fix intermittent failure in content/html/document/test/test_bug448564.html f=ehsan r=sicking 2011-06-23 12:03:18 +02:00
Mounir Lamouri
3c638f1884 Merge last green changeset of mozilla-inbound into mozilla-central. 2011-06-23 11:15:52 +02:00
Ms2ger
474ed763c5 Bug 661327 - Warn in to-be-removed Attr functions; r=sicking 2011-06-23 10:30:48 +02:00
Daniel Holbert
1324a1faec Bug 665209: Disable recursive image loads in content(). r=bz 2011-06-22 22:21:47 -07:00
Ehsan Akhgari
f742585a1f Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Josh Matthews
694db62906 Bug 664821 - Use WrapNative correctly and wrap objects array to avoid compartment errors. r=mrbkap
--HG--
extra : rebase_source : 11cff24ec53820ef845f6b8c7cec910107399be0
2011-06-16 16:45:07 -04:00
Robert O'Callahan
59cfc47b23 Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Mounir Lamouri
face2086d2 Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz 2011-06-22 12:41:00 +02:00
Makoto Kato
f8772e188e Bug 182279 - select.add() should have the second parameter optional. r=smaug 2011-06-22 16:33:30 +09:00
Ehsan Akhgari
0459d9e1ab Merge mozilla-central into mozilla-inbound 2011-06-22 03:06:01 -04:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Ehsan Akhgari
006b4e90d7 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Mounir Lamouri
da18a8f130 Merging last green changeset of mozilla-inbound into mozilla-central. 2011-06-22 16:13:49 +02:00
Olli Pettay
09162c6b73 Bug 664464 - Unlink XBL some more, r=sicking 2011-06-22 15:56:44 +03:00
Ehsan Akhgari
6b630402fa Merge the last green changeset on mozilla-inbound into mozilla-central 2011-06-21 17:46:35 -04:00
Olli Pettay
b8bc9bfead Bug 664467 - Unlink content/html some more, r=sicking
--HG--
extra : rebase_source : 8821bba1a7651bf96f862ca98a0cf179aaf5ea60
2011-06-22 00:12:50 +03:00
Mounir Lamouri
12f4cc8dcb Bug 665845 - Fixes to content/html/content/test/test_bug561634.html. r=ehsan 2011-06-21 18:50:12 +02:00
Mounir Lamouri
826e399a68 Bug 665841 - Move some tests to HTML Forms test directory. rs=smaug
--HG--
rename : content/html/content/test/test_bug566160.html => content/html/content/test/forms/test_formaction_attribute.html
rename : content/html/content/test/test_bug589696.html => content/html/content/test/forms/test_formnovalidate_attribute.html
rename : content/html/content/test/test_bug555559.html => content/html/content/test/forms/test_input_email.html
rename : content/html/content/test/test_bug344615.html => content/html/content/test/forms/test_input_url.html
rename : content/html/content/test/test_bug562932.html => content/html/content/test/forms/test_label_control_attribute.html
rename : content/html/content/test/test_bug565538.html => content/html/content/test/forms/test_mozistextfield.html
rename : content/html/content/test/test_bug556013.html => content/html/content/test/forms/test_novalidate_attribute.html
rename : content/html/content/test/test_bug346485.html => content/html/content/test/forms/test_output_element.html
rename : content/html/content/test/test_bug345512.html => content/html/content/test/forms/test_pattern_attribute.html
rename : content/html/content/test/test_bug345822.html => content/html/content/test/forms/test_required_attribute.html
2011-06-21 18:50:47 +02:00
Mounir Lamouri
7fe60a0e4d Bug 665012 - r=bz 2011-06-21 18:51:34 +02:00
Mounir Lamouri
d70fb8c1d9 Bug 658037 (2/2) - r=bz 2011-06-21 18:52:01 +02:00
Mounir Lamouri
d0fc863efa Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Ed Morley
ae93e8e8ed Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc 2011-06-21 17:37:45 +02:00
Ed Morley
bf14db12d1 Bug 665390 - Remove unused variable 'count' from nsXULPrototypeCache::WritePrototype; r=jst 2011-06-21 17:37:44 +02:00
Jonas Sicking
11d6c1d870 Bug 665596: Get rid of loadlistenerproxy as it's no longer used. r=jst 2011-06-21 08:12:33 -07:00
Ehsan Akhgari
d71311ff57 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
Chris Leary
7922cf2289 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Robert Longson
3235a831cb Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Jesse Ruderman
16693ed945 Add crashtest from bug 605672 2011-06-20 11:42:05 -07:00
Mounir Lamouri
71c623646b Bug 665027 - Remove confusing code that is no longer used. f=ehsan r=bz 2011-06-20 13:44:05 +02:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Brian Birtles
1ffb9cb392 Bug 663288 - Don't allow instance times to be self-dependent, r=dholbert 2011-06-22 10:12:35 +09:00
Felipe Gomes
091d656e1b Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Felipe Gomes
3040e61e93 Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Kyle Huey
e335bde887 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey
c0b3196c33 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
75d0f42aa6 Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -07:00
Olli Pettay
209c56c874 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Mounir Lamouri
fd95950bb7 Merging mozilla-central into mozilla-inbound. 2011-06-23 16:39:46 +02:00
Ehsan Akhgari
c4436101c8 Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
f31ca46f1c Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Jeff Walden
0a61156473 Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Josh Matthews
79feb948a8 Bug 537787 - Update websocket test to use SpecialPowers. r=ctalbert try: -b do -p all -u mochitests -t none 2011-05-24 02:43:05 +03:00
Boris Zbarsky
84f53e7260 Merge mozilla-central into mozilla-inbound 2011-06-21 17:05:11 -04:00
Nikhil Marathe
8d1eed62d4 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Blake Kaplan
83446b873d Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
ced65c9a25 Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Jeff Walden
e84bb50504 Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Nikhil Marathe
524b87e3d5 Bug 656519 - Fix consumers outside SpiderMonkey to use new ArrayBuffer APIs. r=mrbkap
--HG--
extra : rebase_source : f359987831611155029114b5f85080155c6a12d5
2011-06-14 15:37:21 -04:00
Josh Matthews
180c7a5397 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Mats Palmgren
fbe6472f30 Bug 667518 - Don't ignore <link> href white-space only values. r=bzbarsky 2011-07-02 23:50:02 +02:00
Chris Pearce
0cf7b30f03 Bug 671438 - Make nsOggCodecState::PacketOutUntilGranulepos() return an error on failure. r=doublec 2011-07-19 09:36:30 +12:00
Chris Pearce
c863a795c0 Bug 671978 - Make nsRawReader build after changes added in bug 592833. r=doublec 2011-07-19 09:35:58 +12:00
Patrick McManus
a4f443af86 bug 670687 - ws origin handling bogus r=bz 2011-07-18 16:51:28 -04:00
Benjamin Stover
e2377d2b80 Bug 626792 Content view contentWidth/Height do not update immediately after scaling r=roc r=mbrubeck 2011-07-18 11:04:47 -07:00
Ehsan Akhgari
a6b5feed16 Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc 2011-07-14 17:06:37 -04:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Patrick McManus
d0453f20a5 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Marco Bonardo
e6d7be7e60 Merge mozilla-central to mozilla-inbound 2011-07-26 11:53:11 +02:00
Josh Matthews
4ade623280 Bug 661035 - Print frame script errors to stdout. r=smaug 2011-07-08 16:15:58 -04:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Matthew Gregan
5ed522c02f Bug 645773 - Reorder a sensitive computation to avoid signed vs unsigned issues. Return a null range from SelectSeekRange when stream length is unknown. r=cpearce 2011-04-01 17:18:43 +13:00
Ehsan Akhgari
b85c178117 Merge mozilla-central and mozilla-inbound 2011-07-22 15:51:08 -04:00
Jeff Muizelaar
7d4f014e45 Bug 629875/bug 669366. Switch back to our old behaviour for source rects larger than the source image for both Cairo and Azure canvas implementations. r=joe a=dveditz
We haven't decided what the behaviour for source rects larger than
the source image should be, and 4ede7b9b55bc breaks content like
20thingsilearned.com.
2011-07-22 15:35:16 -04:00
Mounir Lamouri
60e4b00054 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Mounir Lamouri
91ef97c1f9 Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
4d1f52da24 Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:04:09 -07:00
Mounir Lamouri
c513cd9d9f Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
00b4aa4898 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
7e7c6831b6 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Chris Leary
f819c3428e Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Robert O'Callahan
83ccc7f3f6 Bug 662898. Set canvas drawImage source pattern after any shadow is drawn, so the source doesn't get clobbered by the shadow drawing. r=jrmuizel 2011-06-13 13:41:51 +12:00
Olli Pettay
5110041744 Bug 643062, more generic null pointer check for ExecuteDetachedHandler, r=sicking
--HG--
extra : rebase_source : f65d5dc9665ac836d1d2fb0c3617dcb9ffc684c5
2011-06-11 23:43:33 +03:00
Daniel Holbert
714ee4b051 Bug 578564 followup: Make text after #endif into a comment to fix build warning. (comment-only, basically) DONTBUILD 2011-06-11 17:13:30 -07:00
Ted Mielczarek
c7f40506bf merge m-c to b-s 2011-06-10 12:58:21 -04:00
Wellington Fernando de Macedo
839d923f61 Bug 659559 - Speed up test_bug338583.html. r=smaug 2011-06-11 19:09:41 +02:00
Josh Matthews
98c106a0db Bug 663465 - Avoid derefencing null connection pointer when closing a websocket. r=mcmanus 2011-06-10 15:31:47 -04:00
Ms2ger
d0671160d0 Bug 663190 - Calling strokeRect with zero width or height should do nothing; r=smaug 2011-06-11 09:57:47 +02:00
Ms2ger
a6c4503b05 Bug 663194 - Calling drawImage with zero-size canvas should throw INVALID_STATE_ERR; r=sicking 2011-06-11 09:52:27 +02:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Benoit Jacob
46f5712e1f Bug 659842 - about:support was creating a WebGL context even if webgl.disabled=true - r=karlt
This patch removes SafeToCreateCanvas3DContext, and checks webgl.disabled in WebGLContext::SetDimensions.
2011-06-10 15:02:06 -04:00
Benoit Jacob
66919c207e Bug 663162 - Update ANGLE to r686 - r=joedrew
Just an ANGLE update, plus updating the list of failed tests on WinXP, also now properly reporting on unexpeced success (using todo(true) instead of ok(false))
2011-06-10 14:59:08 -04:00
Kyle Huey
2e0d728356 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Mounir Lamouri
454f172816 Merging cedar with mozilla-central. 2011-05-31 12:17:48 +02:00
Robert O'Callahan
0375caa915 Bug 646757. Fix faulty test for bug 463104. 2011-05-31 12:26:36 +12:00
Mounir Lamouri
897866ef5b Bug 660200 - Fix intermittent failure in content/html/content/test/test_bug514437.html. r=ehsan 2011-05-30 17:50:41 +02:00
Mounir Lamouri
1ddcd22588 Bug 651902 - Make content/base/test/test_bug592366.html non flaky. r=hsivonen 2011-05-30 17:49:56 +02:00
Mitchell Field
5e5f1a616a Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
a28bd9e01f Bug 659913 part.3 Use AddObservers and RemoveObservers if the caller uses these methods of Preferences two or more times r=roc 2011-05-29 08:39:27 +09:00
Masayuki Nakano
1593568b21 Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc 2011-05-29 08:39:27 +09:00
Phil Ringnalda
f9c489d0b9 Bug 657251 - Finish off the removal of content_xmldoc.xpt, r=bz
--HG--
extra : rebase_source : 3373f89c6d45a16656e73426bbac192bfec014a1
2011-05-15 18:09:54 -07:00
Julian Reschke
58bfed45f8 Bug 655238 - add "application/xslt+xml" as media type for XSLT, affects stylesheet loading both from processing instruction and HTTP Link header field, also adding it to the Accept header sent when fetching XSLTs. r=sicking 2011-05-28 14:34:36 +02:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Ms2ger
bfe60518ca Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv 2011-05-28 09:43:44 +02:00
Ms2ger
655b045151 Bug 587021 - drop HTMLImageElement.x/.y; r=sicking sr=jst 2011-05-28 09:43:43 +02:00
Michael Wu
d064b6eefe Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07: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
Josh Matthews
cb7c398cc6 Bug 644325 - Enter the listener's compartment sooner, and use the correct scope for wrapping to avoid compartment mismatches. r=mrbkap 2011-05-12 11:26:05 +01:00
Josh Matthews
35aa67d539 Bug 644325 - Backout changeset 7e3efb1073a9. 2011-05-30 14:59:37 -04:00
Luke Wagner
0d7bf8cc22 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Alon Zakai
2f4274045c Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Kyle Huey
7d5b6f2285 Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking 2011-06-05 11:54:50 -07:00
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
Jeff Walden
1a51bb7cb1 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07: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