Граф коммитов

20553 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari bb9dc8698d Bug 665858 - Part 2: Optimize nsContentEventHandler::GetFlatTextOffset; r=roc,masayuki 2011-06-27 08:59:01 -04:00
Ehsan Akhgari ec96f2cbb8 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 9eb0c74ba3 Merging mozilla-inbound and mozilla-central. 2011-06-27 11:04:05 +02:00
Cameron McCormack 90acc515f7 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 05d6988a19 Bug 667225 - Part 2: Add a crash test for 0px size fonts. r=jrmuizel 2011-06-26 20:00:08 +02:00
Bas Schouten b3b2bd973e 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 23ca7dc3e9 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 a7a1cf546a Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-25 12:04:08 +02:00
Jonas Sicking 184cf9d323 Bug 665609: Remove Add/RemoveEventListenerByIID from nsTextEditorState. r=jst 2011-06-24 22:56:13 -07:00
Jonas Sicking de40daaf73 Bug 665599: Remove Add/RemoveEventListenerByIID from nsXBLStreamListener. r=jst 2011-06-24 16:12:34 -07:00
Jonas Sicking 693c5b0749 Bug 665599: Remove AddRemoveEventListenerByIID from nsXBLWindowKeyHandler. r=jst 2011-06-24 16:12:34 -07:00
Marco Bonardo 37e29c9063 Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Boris Zbarsky 8b69ec36c6 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 0af47d0f6c Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 8dbe4b2b42 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking fcfc94525f Bug 658714 Part 8: Improve the nsEventListenerManager API. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 2d5bd7162c Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking b065d276a3 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking fc78c37b4d Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking c14857b1f0 Bug 658714 Part 3: Move nsIDOMEventTarget implementation to nsINode. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking fb803f4ae4 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking 680175e0d5 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Andrew McCreight e0c0345249 Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Chris Pearce f54bdc2910 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Ehsan Akhgari 9f6667c675 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-23 12:28:57 -04:00
Ms2ger f23cd5ddf9 Merge backout. 2011-06-23 16:36:56 +02:00
Ms2ger 51b5e3235c Backed out changeset 831fabb406a1 (Bug 664821) for WinXP opt M3 crashes. 2011-06-23 16:36:07 +02:00
Igor Bazarny 837e53d81d bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mounir Lamouri ba5c515884 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 60887d9c49 Merge last green changeset of mozilla-inbound into mozilla-central. 2011-06-23 11:15:52 +02:00
Ms2ger d1b6cdede5 Bug 661327 - Warn in to-be-removed Attr functions; r=sicking 2011-06-23 10:30:48 +02:00
Daniel Holbert 934bdc8765 Bug 665209: Disable recursive image loads in content(). r=bz 2011-06-22 22:21:47 -07:00
Ehsan Akhgari db43f89fbf Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Josh Matthews 1b709bd708 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 5204f44c72 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 c1af47f4bc Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz 2011-06-22 12:41:00 +02:00
Makoto Kato 253f894c83 Bug 182279 - select.add() should have the second parameter optional. r=smaug 2011-06-22 16:33:30 +09:00
Ehsan Akhgari 52784f3bd7 Merge mozilla-central into mozilla-inbound 2011-06-22 03:06:01 -04:00
Jonas Sicking 64221c913d Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Ehsan Akhgari 39836938cc Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Mounir Lamouri e1642429c3 Merging last green changeset of mozilla-inbound into mozilla-central. 2011-06-22 16:13:49 +02:00
Olli Pettay b8bfc0f4c4 Bug 664464 - Unlink XBL some more, r=sicking 2011-06-22 15:56:44 +03:00
Ehsan Akhgari d85f5185bc Merge the last green changeset on mozilla-inbound into mozilla-central 2011-06-21 17:46:35 -04:00
Olli Pettay f6dd8a3099 Bug 664467 - Unlink content/html some more, r=sicking
--HG--
extra : rebase_source : 8821bba1a7651bf96f862ca98a0cf179aaf5ea60
2011-06-22 00:12:50 +03:00
Mounir Lamouri 38a07e82d1 Bug 665845 - Fixes to content/html/content/test/test_bug561634.html. r=ehsan 2011-06-21 18:50:12 +02:00
Mounir Lamouri e13dc602b0 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 ad18ae0754 Bug 665012 - r=bz 2011-06-21 18:51:34 +02:00
Mounir Lamouri 1dcae4d624 Bug 658037 (2/2) - r=bz 2011-06-21 18:52:01 +02:00
Mounir Lamouri cb7ece5357 Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Ed Morley cb8614b686 Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc 2011-06-21 17:37:45 +02:00
Ed Morley 3299021cd9 Bug 665390 - Remove unused variable 'count' from nsXULPrototypeCache::WritePrototype; r=jst 2011-06-21 17:37:44 +02:00
Jonas Sicking eec414fad6 Bug 665596: Get rid of loadlistenerproxy as it's no longer used. r=jst 2011-06-21 08:12:33 -07:00
Ehsan Akhgari 0aa045dc7a Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
Chris Leary 211fa60264 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Robert Longson 6d3759f98c Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Jesse Ruderman 8f9de07d93 Add crashtest from bug 605672 2011-06-20 11:42:05 -07:00
Mounir Lamouri 79446d835a Bug 665027 - Remove confusing code that is no longer used. f=ehsan r=bz 2011-06-20 13:44:05 +02:00
Doug Turner 7bf710d4a2 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 2762282cb3 Bug 663288 - Don't allow instance times to be self-dependent, r=dholbert 2011-06-22 10:12:35 +09:00
Felipe Gomes d045014db8 Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Felipe Gomes 76eb0ba78d Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Kyle Huey 8c7452a624 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey 6814734d80 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura c59c4be82b 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 d09611dbd4 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) ab1b3db5e6 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Mounir Lamouri 1aff17a347 Merging mozilla-central into mozilla-inbound. 2011-06-23 16:39:46 +02:00
Ehsan Akhgari f3e14ab46c 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 c52862cdb8 Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Jeff Walden 999a0f66a3 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 fd773ea96d 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 0b57460761 Merge mozilla-central into mozilla-inbound 2011-06-21 17:05:11 -04:00
Nikhil Marathe 3f17f2139e 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 d6fb0989a0 Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe 680df01627 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 ff2bd140cf 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 e8a2d9bc3e 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 e82af43465 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Mats Palmgren 99c4a56358 Bug 667518 - Don't ignore <link> href white-space only values. r=bzbarsky 2011-07-02 23:50:02 +02:00
Matt Brubeck a451a3a928 Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Chris Leary 547ed94093 Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Ted Mielczarek 0e96cd6602 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Robert O'Callahan 7dc881c2a0 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 8c7dcd534c 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 98d425ab9f 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 97e5b018ed merge m-c to b-s 2011-06-10 12:58:21 -04:00
Wellington Fernando de Macedo c83d55e542 Bug 659559 - Speed up test_bug338583.html. r=smaug 2011-06-11 19:09:41 +02:00
Josh Matthews 95c402dc46 Bug 663465 - Avoid derefencing null connection pointer when closing a websocket. r=mcmanus 2011-06-10 15:31:47 -04:00
Ms2ger 23ad77aa47 Bug 663190 - Calling strokeRect with zero width or height should do nothing; r=smaug 2011-06-11 09:57:47 +02:00
Ms2ger c38d0435c8 Bug 663194 - Calling drawImage with zero-size canvas should throw INVALID_STATE_ERR; r=sicking 2011-06-11 09:52:27 +02:00
Ms2ger 05ead9048b Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Benoit Jacob 1e80ace2f5 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 663f35434b 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 de0ed57319 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Mounir Lamouri 0b763ccc08 Merging cedar with mozilla-central. 2011-05-31 12:17:48 +02:00
Robert O'Callahan 249bac3eb0 Bug 646757. Fix faulty test for bug 463104. 2011-05-31 12:26:36 +12:00
Mounir Lamouri 63b47d2877 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 0d5f89ba29 Bug 651902 - Make content/base/test/test_bug592366.html non flaky. r=hsivonen 2011-05-30 17:49:56 +02:00
Mitchell Field e2d829f092 Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Masayuki Nakano f6d218f2cd Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano 18e8405bf9 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 69832a5d09 Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc 2011-05-29 08:39:27 +09:00
Phil Ringnalda 2f5c682427 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 7c848ad558 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 90960c65a7 Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger d5b5dc43f8 Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Ms2ger 05a54f951c Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv 2011-05-28 09:43:44 +02:00
Ms2ger 8a0a7da423 Bug 587021 - drop HTMLImageElement.x/.y; r=sicking sr=jst 2011-05-28 09:43:43 +02:00
Michael Wu a071926b63 Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07:00
Kyle Huey c757b2dabc Bug 656647: Followup for missed review comment. DONTBUILD 2011-05-14 16:45:19 -07:00
Kyle Huey 21a940e6f6 Bug 656647: File constructor should take nsIFiles. r=sicking 2011-05-14 16:41:20 -07:00
Kyle Huey edb1eef978 Bug 656640: DOM File objects should DEFER_OPEN their streams. r=sicking 2011-05-14 16:37:41 -07:00
Josh Matthews 1f517beb34 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 31784e991b Bug 644325 - Backout changeset 7e3efb1073a9. 2011-05-30 14:59:37 -04:00
Luke Wagner 1e408d1478 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 fbc445ff09 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Alon Zakai 7c246895a1 Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Kyle Huey 2f850e3936 Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking 2011-06-05 11:54:50 -07:00
Kyle Huey b8cbb9f08d Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Joel Maher 29658a7ff5 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 1f89e9dfa9 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 0cacaf7b7d Bug 655926: Implement canvas.mozFillRule. sr=vlad 2011-06-09 19:15:13 -07:00
Ehsan Akhgari 2c02fcfa39 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 df178f63b5 Bug 660536 Remove useless uses of PromiseFlat(C)String r=smaug 2011-06-09 21:17:58 +01:00
Daniel Holbert 3cf84ed3ba 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 f17c1b8870 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 bd59a90483 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 7fc6bbc91f 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 93df84ab84 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 5b461a7e98 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Ehsan Akhgari 7d70a794d9 Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Chris Pearce 55f659d1ba Bug 655648 - Don't enqueue expired theora frames. r=roc 2011-06-09 08:56:45 +12:00
Kyle Huey 9563ec13e0 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 1596deb657 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 57525def50 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 3830d2f219 Bug 507976: Check the anchor parameter while processing link header fields. r=bz 2011-06-07 13:19:06 -07:00
Benoit Jacob a31e2bffe5 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 7b4e5a3b8b Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Patrick McManus ccf1f487d3 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 fa53fbcf2a 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 1a84ee565b 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 8e1a919c58 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Bjarne 479cb456f4 Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz 2011-06-05 18:20:53 +02:00
Jeff Walden 583c87ff39 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 e31de519b7 Merge mozilla-central and tracemonkey. 2011-05-23 00:02:05 -07:00
Nicholas Nethercote 5c2f5ea43b 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 4acd9c3974 Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Jonathan Watt 09272fddd6 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 178c87fef3 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 7aa6e96e23 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri dbe83aff34 Merging cedar with mozilla-central. 2011-05-20 15:55:16 +02:00
Mounir Lamouri e7949c8bf6 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 8b5542c5c6 Bug 649618: toDataURL on a zero canvas should return "data:," r=joe 2011-05-20 00:28:45 +02:00
Olli Pettay 3152158c46 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 1c894c51cc Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc 2011-05-18 22:26:45 -07:00
Craig Topper 0d4bb41ead Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Olli Pettay 58de910ff7 Bug 656386 - nsUIEvent should generate nsDOMUIEvent, r=sicking 2011-05-19 16:40:52 +03:00
Mounir Lamouri c4f73ed36a Merging cedar with mozilla-central. 2011-05-19 15:05:34 +02:00
Benjamin Peterson db8c4bd7c9 Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc 2011-05-19 12:49:18 +02:00
Chris Pearce c3decc5c11 Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc 2011-05-19 21:00:39 +12:00
Masatoshi Kimura 0cee212be5 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 72274cd4da Bug 656183: remove duplicate call to SetCanvasElement. r=joe 2011-05-18 21:23:00 -04:00
Masayuki Nakano b2bcc53f48 Bug 657648 Don't use high resolution scrolling when acceleration is enabled r=smaug 2011-05-19 08:12:34 +09:00
Bas Schouten 2b6d920313 Bug 620216 - Part 1: Use EXTEND_PAD when doing DrawImage. r=roc 2011-05-17 23:10:09 +00:00
Chris Pearce 3fbee48020 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 f638f0e2ab Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Craig Topper 54959659e1 Bug 657548 - Part 2: Remove more unused CIDs. r=jst 2011-05-16 23:46:22 -07:00
Craig Topper c7ca69ec0c 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 ecb03f4415 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 09e615987a Bug 541496 part 3: use the new string-taking API in LoadInlineStyle. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg 39d4f036b0 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 740b0e6ec7 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 0231c932de Cache in-flow content length. Bug 566066, r=roc 2011-05-22 11:20:29 +03:00
Randell Jesup 3a3aef041f 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 abb07a92a2 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 03f215ff80 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Patrick McManus 208ef07e01 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert cc8996c23f 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 81efdd3feb Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert ecfe364613 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert d29dd51502 Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Jonas Sicking 73127ccbba Add a test for bug 644069. r=bzbarsky 2011-05-20 16:21:27 -04:00
Kyle Huey c4c3837042 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 be8d0112de Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
Josh Aas 17caa904b0 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Jonas Sicking 9f4a100ada Back out another suspect just in case. CLOSED TREE. a=orange 2011-05-20 17:20:37 -07:00
Kyle Huey 5f5e5a0fc2 Back it all out on this CLOSED TREE. a=mfbt 2011-05-20 17:00:46 -07:00
Kyle Huey e32ca11baa Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Benoit Jacob 1b4fab6eef 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 297030d2dc 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 cf45c17f59 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 95403ab554 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 3c367d2fa9 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 d749bc79b1 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 6a041c5b62 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 2e8973a313 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 185b3813b8 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 5a22165206 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 9e3f0e4dba 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 6b89ffee83 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