Commit Graph

8206 Commits

Author SHA1 Message Date
Gabor Krizsanits
e9acfc4dca Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Ehsan Akhgari
d4e19e65a6 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-22 11:26:59 -04:00
Masayuki Nakano
52e48a8cfa Bug 543789 part.2 Initialize data property of compositionstart event in nsEventStateManager::PreHandleEvent() r=smaug 2011-09-22 18:17:40 +09:00
Masayuki Nakano
46636681cc Bug 543789 part.1 Add DOM3 composition events r=smaug, sr=roc 2011-09-22 18:17:40 +09:00
Benoit Jacob
c8be5c56a0 Bug 686398 - WebGL crash, addressing Texture ImageInfo out of bounds - r=jrmuizel
We were not checking that ImageInfoAt(level, face) existed before dereferencing it.
2011-09-22 02:57:26 -04:00
Benoit Jacob
b26a2af7ce Bug 685793 - WebGL buffer overflow issue and access to out of range memory - r=jrmuizel
We were not checking for integer overflow in a required-buffer-size computation. Fixing this by using CheckedInt.
2011-09-22 02:55:10 -04:00
Ainsley Chong
1ceb754ade Bug 669578 - Add a reflectInt() method to reflect.js. r=Ms2ger,mounir 2011-09-21 10:46:46 -07:00
Ehsan Akhgari
e9cd0675a6 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-21 13:12:26 -04:00
Rob Campbell
7eef002771 merge m-c to fx-team 2011-09-21 08:28:43 -03:00
Robert Longson
df62def5e9 Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00
Matthew Gregan
49589fa033 Bug 682593 - Avoid possible null dereference during state machine shutdown. r=cpearce 2011-09-21 19:01:00 +12:00
Rob Campbell
7fe37c14f5 merge m-c to fx-team 2011-09-20 11:42:20 -03:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Olli Pettay
f2788cf525 Bug 682886 - menuitem should be serialized as a container, r=sicking 2011-09-20 08:50:43 +03:00
Jared Wein
942a1a8dc3 Bug 472942 - Centering video and applying some basic styling to make viewing videos directly more pretty. r=roc ui-r=shorlander 2011-09-19 22:30:30 -07:00
Olli Pettay
12f3b41155 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Robert Longson
31d473fc4f Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Olli Pettay
7dfe430f16 Bug 432698 - mouseenter and mouseleave, r=masayuki
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Olli Pettay
2f2d683768 Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger
f3b3dcbb15 Bug 687096 - Remove entries for removed folders from LOCAL_INCLUDES; r=khuey 2011-09-18 11:22:18 +02:00
Ms2ger
670b0e16b1 Bug 684470 - Remove the FromParser argument from nsHTMLMediaElement and subclasses' constructors; r=jst 2011-09-18 11:22:18 +02:00
Ms2ger
2e89d057d9 Bug 684471 - Make nsGenericHTMLFormElement::mFieldSet a nsHTMLFieldSetElement*; r=peterv 2011-09-18 11:22:18 +02:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Daniel Holbert
83154c3b65 Back out cset c3bf76213a6c (bug 665392) for breaking a testcase from the w3c svg testsuite, 'full-animate-elem-24-t.html'. 2011-09-17 09:18:13 -07:00
Ehsan Akhgari
c28978e1f3 Bug 686342 - Uninitialize the XUL template builder when XPCOM is being destroyed; r=bzbarsky 2011-09-13 12:49:59 -04:00
Ehsan Akhgari
97e0f80e7f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Kyle Huey
70eb6e2b02 Remove some silly LOCAL_INCLUDES from content/base/src. r=me 2011-09-15 16:47:29 -07:00
Ehsan Akhgari
7b45893388 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Matt Woodrow
a868d859af Bug 676690 - Don't release DataSourceSurface pointers until we have finished accessing the pixels. r=Bas 2011-09-14 16:16:23 -07:00
Martin Richard
398b044837 Bug 646333 - Make video constants consistently const T. r=cpearce 2011-09-15 07:39:50 +12:00
Phil Ringnalda
a0dbb25cfa Back out 307b5fa030fd (bug 683280) for timeouts in test_ipAddressOrigin.html 2011-09-14 09:10:41 -07:00
Ben Turner
d2770f97e2 Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking. 2011-09-08 17:07:11 -07:00
Robert O'Callahan
0580c4d643 Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Ehsan Akhgari
71ab4b195b Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures 2011-09-13 17:42:43 -04:00
Ehsan Akhgari
ba819d11ee Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari
6b8124559c Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux 2011-09-13 13:29:30 -04:00
Ehsan Akhgari
5964c37a93 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 11:45:54 -04:00
Olli Pettay
586e545839 Bug 685798 - Node.parentElement, r=bz 2011-09-11 16:05:19 -07:00
Olli Pettay
9efa44eaaa Bug 685798 - Node.parentElement, r=bz 2011-09-11 15:45:39 -07:00
Igor Bukanov
9dc4e22f8a bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Boris Zbarsky
7ddc04fb21 Bug 680922. Don't try to remove anonymous elements from the name map. r=sicking 2011-09-19 22:59:43 -04:00
Boris Zbarsky
d9ab900089 Bug 682554. Move onreadystatechange to live on Document only. r=smaug 2011-09-19 22:56:45 -04:00
Ed Morley
2dbae9bd42 Bug 687326 - Kill txAtoms.h and s/txXPathAtoms|txXMLAtoms|txXSLTAtoms|txHTMLAtoms/nsGkAtoms/g; r=sicking 2011-09-19 21:07:17 +01:00
julian.reschke@gmx.de
65f020bd47 Bug 656251: remove verbosity in Accept header for fetching XSLTs, r=sicking 2011-08-08 04:52:00 -07:00
Graeme McCutcheon
879f63c2f1 Bug 682338 - Focus context menu's target on platforms where the context menu is shown on mousedown, not where it's shown on mouseup. r=enndeakin 2011-08-26 18:56:16 +01:00
Justin Wood
f90fd5539e m-c -> m-i merge 2011-09-09 22:04:09 -04:00
Benoit Jacob
247aca9d4a Bug 684882 - work around a glGenerateMipmap bug on Mac - r=jrmuizel 2011-09-09 18:00:20 -04:00
Benoit Jacob
7a24dd63e2 Bug 682335 - crash [@ WebGLContext::BufferSubData_array] - r=jrmuizel 2011-09-09 18:00:20 -04:00
Ehsan Akhgari
3a950c12c0 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-09 10:05:52 -04:00
Olli Pettay
1c7334ba31 Bug 682058 - nsGenericElement::SetInnerHTML should suppress DOMNodeRemoved when dealing with a non-HTML5 document, r=sicking 2011-09-09 12:18:00 +03:00
Masayuki Nakano
e6baf66ee4 Bug 669028 part.7 content should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:12 +09:00
Ehsan Akhgari
d5610a5cbf Backout changesets 58d026601240, c5a9a439d72c and cfdf675266b2 because of mochitest-3 crash
--HG--
extra : rebase_source : e6774b1220eabb7b9e2dce59bd487f48920d76b2
2011-09-08 22:04:43 -04:00
Shawn Gong
9640476441 Bug 655727. Implemented responseType='moz-json', r=sicking 2011-09-08 15:12:18 -07:00
Neil Rashbrook
74f24154f1 Bug 684726 Add missing content types to nsContentBlocker r=bz 2011-09-08 21:20:44 +01:00
Ehsan Akhgari
9ced1bc054 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-08 11:46:37 -04:00
Tim Taubert
d96dbb66ff merge the last green changeset on m-c to fx-team 2011-09-08 11:03:35 +02:00
Nick Hurley
7400a85df3 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Matt Brubeck
f0f1558814 Merge mozilla-central to mozilla-inbound 2011-09-07 21:55:42 -07:00
Doug Sherk
f9a5610153 Bug 683710: added stripping of comments from shader sources before compiling and check for illegal characters, mostly from webkit code r=bjacob
This code is copied mostly from WebKit. It strips out comments from shader source code before actually compiling it, so that the comments can have illegal characters. It was benchmarked and it was noted that a test attached to the bug ticket took about twice as long with these changes.

This includes the patch from bug 680722 to check for illegal characters.
2011-09-07 17:17:44 -04:00
Ehsan Akhgari
99a7871114 Bug 686026 - test_mozGetAsFile.html runs finish three times, instead of once; r=joedrew 2011-09-09 18:17:50 -04:00
Boris Zbarsky
25316d6093 Bug 685518 part 3. Add crossorigin 2d canvas tests. r=roc 2011-09-09 17:58:40 -04:00
Boris Zbarsky
3b76a63272 Bug 685518 part 2. Move the crossorigin webgl test to a saner location so I can add cross-origin non-webgl tests. r=roc
--HG--
rename : content/canvas/test/webgl/crossorigin/image-allow-credentials.png => content/canvas/test/crossorigin/image-allow-credentials.png
rename : content/canvas/test/webgl/crossorigin/image-allow-credentials.png^headers^ => content/canvas/test/crossorigin/image-allow-credentials.png^headers^
rename : content/canvas/test/webgl/crossorigin/image-allow-star.png => content/canvas/test/crossorigin/image-allow-star.png
rename : content/canvas/test/webgl/crossorigin/image-allow-star.png^headers^ => content/canvas/test/crossorigin/image-allow-star.png^headers^
rename : content/canvas/test/webgl/crossorigin/image.png => content/canvas/test/crossorigin/image.png
rename : content/canvas/test/webgl/crossorigin/test_webgl_crossorigin_textures.html => content/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
2011-09-09 17:58:38 -04:00
Boris Zbarsky
f4ec90e1f0 Bug 685518 part 1. Look at the image CORS mode for drawImage into a canvas 2d context. r=roc 2011-09-09 17:58:35 -04:00
Olli Pettay
07fd1062c0 Bug 685139 - node.contains(node) should return true, r=bz
--HG--
extra : rebase_source : 28fb40bf63e90ea319c517f0c86104080f20cc1a
2011-09-07 18:04:04 +03:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Felix Fung
1efc4b73a9 Bug 577266 - Correct misspellings in source code: 'verion' -> 'version' 2011-09-06 22:50:26 -07:00
Tim Taubert
50de76cbc2 merge the last green changeset on m-c to fx-team 2011-09-06 14:27:23 +02:00
aceman
266607effb Bug 136556 - Image title should use "×", not "x". r=bz, r=dolske 2011-09-05 17:26:23 -07:00
Ed Morley
59e8ad1ced Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Chris Pearce
c28e8a66d9 Bug 545812 - Break out of DOM full-screen mode upon non-alpha-numeric key input. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
fb98936759 Bug 545812 - Only allow request and cancel full-screen api to work from a trusted event handler. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
1452491964 Bug 545812 - Mochitests for full-screen DOM API. r=jst 2011-09-05 08:40:18 +12:00
Chris Pearce
c782ba7555 Bug 545812 - Implement iframe.mozallowfullscreen. r=jst 2011-09-05 08:40:17 +12:00
Chris Pearce
0ae15dea93 Bug 545812 - Dispatch mozfullscreenchange event when we change full-screen mode. r=smaug 2011-09-05 08:40:11 +12:00
Chris Pearce
7c3df7aedd Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Chris Pearce
7c1b965126 Bug 545812 - DOM/content changes required for DOM full-screen API. r=jst 2011-09-05 08:39:05 +12:00
Ed Morley
6a60e22cca Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Ms2ger
79de18756d Bug 683457 - test_bug430392.html should not call SimpleTest.finish() twice; r=peterv 2011-09-04 12:49:29 +02:00
Marco Bonardo
f7ab1e5a89 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-03 11:49:40 +02:00
Justin Wood
7130d2f9b7 Backed out changeset 97216ae0fc04 due to accidentally landing to m-c rather than try. 2011-09-03 03:15:21 -04:00
Atul Aggarwal
a4698e8d6e Bug 668819 - HTMLTableColElement span should be unsigned long try: -b do -p linux,linux64,win32 -u all -t all 2011-09-03 12:15:03 +05:30
Olli Pettay
926e572e15 Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Jason Duell
ea66f51c13 Bug 678595: Remove test assumption that cancel causes cache invalidation. r=jdm 2011-09-02 13:03:24 -07:00
Benoit Jacob
d36cfc4ea7 back out 1b09c80c46c3 (bug 680722, WebGL shader validation) because of regression, see bug 684312 and 683710 2011-09-02 15:43:03 -04:00
Ehsan Akhgari
78f4e1ccb9 Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Brian Birtles
cfb3ac26f3 Bug 678938 - SMIL: Make sure current interval is properly cleared when doing a rewind; r=dholbert 2011-09-02 08:15:44 +09:00
Brian Birtles
2be626a78f Bug 678847 part 2 - SMIL: Fix recursion with self-referential end conditions on open intervals; r=dholbert 2011-09-02 08:14:58 +09:00
Brian Birtles
df8ff068d0 Bug 678847 part 1 - Crash test; r=dholbert 2011-09-02 08:14:38 +09:00
Brian Birtles
4471d78fff Bug 681645 - SMIL: accommodate floating-point errors in discrete animations; r=dholbert 2011-09-02 08:13:45 +09:00
Oleg Romashin
d75d28ff7c Bug 681443 - Fennec does not resize document properly in portrait mode; f=mbrubeck r=jst 2011-09-01 22:16:13 +01:00
Robert Longson
edacda1823 Bug 684479 - Bounding boxes for strokes are unnecessarily big for many shapes. r=roc 2011-09-05 18:53:34 +01:00
Peter Van der Beken
5333be4d3f Fix for bug 660453 (Don't use txExecutionState if init fails). 2011-09-02 15:06:23 -07:00
Doug Sherk
ffb5ce184d Bug 682172: fixed tex2DImage WebGL function, which was rejecting 0-size textures and doing an incorrect validation - r=bjacob
There was actually some surrounding logic breaking 0-size textures. It was because there was code that basically checked "did uint=negative_num*other_vars overflow". For incorrect validation, two copies of the same variable (one stored internally and one passed in) were available to the function, but the one stored internally was being validated, while the version passed in wasn't. The fix for this was simply checking the passed var instead.
2011-09-01 15:28:34 -04:00
Doug Sherk
384fd43041 Bug 681835: fixed a series of object deletion conformance issues r=bjacob
The bindX() commands were erroring with INVALID_VALUE when they're instead supposed to simply fail silently when they're given a deleted object. Additionally, the getParameter() function was failing after its associated variable was deleted, sometimes returning values when it should return null.
* * *
Bug 681835: WebGL fix for previous patch which introduced a bug with deletion

DeleteRenderbuffer and DeleteFramebuffer weren't checking if the deleted buffer was the currently bound buffer before deleting them. This patch implements this functionality. A separate test case patch was also submitted to Khronos:
http://www.khronos.org/bugzilla/show_bug.cgi?id=518
2011-09-01 15:28:34 -04:00
Doug Sherk
1be48befb7 Bug 593867: removed nvidia check for forcing getProgramParameter() so it now returns 1 on any Mac OSX setup 2011-09-01 15:28:34 -04:00
Benoit Jacob
4e7482058c Bug 658856 - implement drawingbufferWidth/Height - r=jmuizelaar
These are new WebGLRenderingContext attributes exposing the actual drawing buffer size
2011-09-01 15:28:34 -04:00
Benoit Jacob
982e3f2239 Bug 681715 - rework the WebGL test runner HTML to make more room for the test page - r=joe
This makes the buffer-offscreen-test.html test pass. It was failing because it relied on getting composited and fell outside the visible area.
2011-09-01 15:28:34 -04:00
arno renevier
72d929e113 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00