Commit Graph

19240 Commits

Author SHA1 Message Date
Makoto Kato
1f2eea3d5f Bug 182279 - select.add() should have the second parameter optional. r=smaug 2011-06-22 16:33:30 +09:00
Ehsan Akhgari
b7a8a832db Merge mozilla-central into mozilla-inbound 2011-06-22 03:06:01 -04:00
Jonas Sicking
cfcfd3bcb2 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Ehsan Akhgari
0f617c2905 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Mounir Lamouri
1e46fd8417 Merging last green changeset of mozilla-inbound into mozilla-central. 2011-06-22 16:13:49 +02:00
Olli Pettay
27d77c27e3 Bug 664464 - Unlink XBL some more, r=sicking 2011-06-22 15:56:44 +03:00
Ehsan Akhgari
5572ffd103 Merge the last green changeset on mozilla-inbound into mozilla-central 2011-06-21 17:46:35 -04:00
Olli Pettay
2d2b7cff83 Bug 664467 - Unlink content/html some more, r=sicking
--HG--
extra : rebase_source : 8821bba1a7651bf96f862ca98a0cf179aaf5ea60
2011-06-22 00:12:50 +03:00
Mounir Lamouri
c24399e777 Bug 665845 - Fixes to content/html/content/test/test_bug561634.html. r=ehsan 2011-06-21 18:50:12 +02:00
Mounir Lamouri
fe1d5828bd 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
88ef132dc9 Bug 665012 - r=bz 2011-06-21 18:51:34 +02:00
Mounir Lamouri
fdb6ac3e0e Bug 658037 (2/2) - r=bz 2011-06-21 18:52:01 +02:00
Mounir Lamouri
8692cfd266 Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Ed Morley
6733296f4b Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc 2011-06-21 17:37:45 +02:00
Ed Morley
d8dfc4e971 Bug 665390 - Remove unused variable 'count' from nsXULPrototypeCache::WritePrototype; r=jst 2011-06-21 17:37:44 +02:00
Jonas Sicking
1711e351ef Bug 665596: Get rid of loadlistenerproxy as it's no longer used. r=jst 2011-06-21 08:12:33 -07:00
Ehsan Akhgari
92ab9f79c9 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
Chris Leary
6ad07be206 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Robert Longson
b83c1a79d8 Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Jesse Ruderman
dd2baf6b22 Add crashtest from bug 605672 2011-06-20 11:42:05 -07:00
Mounir Lamouri
db6044282b Bug 665027 - Remove confusing code that is no longer used. f=ehsan r=bz 2011-06-20 13:44:05 +02:00
Doug Turner
12569c1c97 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
3f80258e68 Bug 663288 - Don't allow instance times to be self-dependent, r=dholbert 2011-06-22 10:12:35 +09:00
Felipe Gomes
54f2b32d74 Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Kyle Huey
865ec818f7 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey
941e3135b3 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
5d3956e4f1 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
e5f1a50b21 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)
1b406143bc Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Mounir Lamouri
5f328b9699 Merging mozilla-central into mozilla-inbound. 2011-06-23 16:39:46 +02:00
Ehsan Akhgari
2a3dbb4205 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
a3ec770366 Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Jeff Walden
c35a61253a 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
2694e83b1c 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
99ce9662ba Merge mozilla-central into mozilla-inbound 2011-06-21 17:05:11 -04:00
Nikhil Marathe
6e753ee711 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
d3d31d714a Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
4600bb18b1 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
c4d955c11a 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
ba6bbbf0a9 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
f0668c3546 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Mats Palmgren
0e059967ea Bug 667518 - Don't ignore <link> href white-space only values. r=bzbarsky 2011-07-02 23:50:02 +02:00
Matt Brubeck
23b2d18bb6 Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Chris Leary
0f3ac4a82b Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Ted Mielczarek
b9712b1eab merge m-c and b-s 2011-06-13 09:09:43 -04:00
Robert O'Callahan
8647022ee2 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
6c9d68d0da 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
ef124e5a00 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
655b21063e merge m-c to b-s 2011-06-10 12:58:21 -04:00
Wellington Fernando de Macedo
a746d0485b Bug 659559 - Speed up test_bug338583.html. r=smaug 2011-06-11 19:09:41 +02:00
Josh Matthews
b33ef58901 Bug 663465 - Avoid derefencing null connection pointer when closing a websocket. r=mcmanus 2011-06-10 15:31:47 -04:00
Ms2ger
05740efd82 Bug 663190 - Calling strokeRect with zero width or height should do nothing; r=smaug 2011-06-11 09:57:47 +02:00
Ms2ger
a6d4a9adc8 Bug 663194 - Calling drawImage with zero-size canvas should throw INVALID_STATE_ERR; r=sicking 2011-06-11 09:52:27 +02:00
Ms2ger
8915f62d3b Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Benoit Jacob
1f01a661a6 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
3404a86446 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
f363a1dc43 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Mounir Lamouri
526da227fb Merging cedar with mozilla-central. 2011-05-31 12:17:48 +02:00
Robert O'Callahan
ea66c639a5 Bug 646757. Fix faulty test for bug 463104. 2011-05-31 12:26:36 +12:00
Mounir Lamouri
6109a3331e 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
ac62a8d689 Bug 651902 - Make content/base/test/test_bug592366.html non flaky. r=hsivonen 2011-05-30 17:49:56 +02:00
Mitchell Field
c1eec06aa3 Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Masayuki Nakano
4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
0ca0078601 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
5e271dcc08 Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc 2011-05-29 08:39:27 +09:00
Phil Ringnalda
acc06fae23 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
a599362539 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
86b93bb1ab Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
e5cf1395fc Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Ms2ger
849d9d3048 Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv 2011-05-28 09:43:44 +02:00
Ms2ger
b6dd9d3e21 Bug 587021 - drop HTMLImageElement.x/.y; r=sicking sr=jst 2011-05-28 09:43:43 +02:00
Michael Wu
028badbed1 Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07:00
Kyle Huey
ca2b8e2272 Bug 656647: Followup for missed review comment. DONTBUILD 2011-05-14 16:45:19 -07:00
Kyle Huey
c582ba8b08 Bug 656647: File constructor should take nsIFiles. r=sicking 2011-05-14 16:41:20 -07:00
Kyle Huey
cbd257817b Bug 656640: DOM File objects should DEFER_OPEN their streams. r=sicking 2011-05-14 16:37:41 -07:00
Josh Matthews
f6df295645 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
c1829c3ecb Bug 644325 - Backout changeset 7e3efb1073a9. 2011-05-30 14:59:37 -04:00
Luke Wagner
2afe24d969 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
b1d3530553 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Alon Zakai
827e2b7c67 Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Kyle Huey
3f039eba79 Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking 2011-06-05 11:54:50 -07:00
Kyle Huey
0bfabf934f Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Joel Maher
b359425d10 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
2f45be7805 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
377e990c19 Bug 655926: Implement canvas.mozFillRule. sr=vlad 2011-06-09 19:15:13 -07:00
Ehsan Akhgari
1458cff241 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
a8689f6df0 Bug 660536 Remove useless uses of PromiseFlat(C)String r=smaug 2011-06-09 21:17:58 +01:00
Daniel Holbert
26dfd1fe07 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
847aba8513 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
af1836d76e 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
5cc319391d 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
a86da555f8 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
2fcf206e42 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Ehsan Akhgari
381ce2b6f1 Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Chris Pearce
be98f356e2 Bug 655648 - Don't enqueue expired theora frames. r=roc 2011-06-09 08:56:45 +12:00
Kyle Huey
dbc15a8288 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
5df1ec26bf 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
22c5117a8a 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
caf7d7d298 Bug 507976: Check the anchor parameter while processing link header fields. r=bz 2011-06-07 13:19:06 -07:00
Benoit Jacob
01fae250a5 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
f74ab87984 Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Patrick McManus
b5f0db11a1 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
6c16669f4c 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
79eec85022 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
e0abfe934e Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Bjarne
5e9b87d7d6 Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz 2011-06-05 18:20:53 +02:00
Jeff Walden
0349ff3c11 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
975d974ac4 Merge mozilla-central and tracemonkey. 2011-05-23 00:02:05 -07:00
Nicholas Nethercote
e942f8f50a 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
3400d7a2e7 Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Jonathan Watt
613c76643d 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
d9a95cbf18 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
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri
92de904e71 Merging cedar with mozilla-central. 2011-05-20 15:55:16 +02:00
Mounir Lamouri
c120ac5680 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
f01c81013a Bug 649618: toDataURL on a zero canvas should return "data:," r=joe 2011-05-20 00:28:45 +02:00
Olli Pettay
61d6d65864 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
03142a505f Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc 2011-05-18 22:26:45 -07:00
Craig Topper
8a3f0ad8f7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Olli Pettay
b97a70d1cb Bug 656386 - nsUIEvent should generate nsDOMUIEvent, r=sicking 2011-05-19 16:40:52 +03:00
Mounir Lamouri
ad53e58fdb Merging cedar with mozilla-central. 2011-05-19 15:05:34 +02:00
Benjamin Peterson
a82b8d6629 Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc 2011-05-19 12:49:18 +02:00
Chris Pearce
f13ccdbf75 Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc 2011-05-19 21:00:39 +12:00
Masatoshi Kimura
b2ace2c16d 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
b12e60978e Bug 656183: remove duplicate call to SetCanvasElement. r=joe 2011-05-18 21:23:00 -04:00
Masayuki Nakano
ccb26d7ac3 Bug 657648 Don't use high resolution scrolling when acceleration is enabled r=smaug 2011-05-19 08:12:34 +09:00
Bas Schouten
24c541facf Bug 620216 - Part 1: Use EXTEND_PAD when doing DrawImage. r=roc 2011-05-17 23:10:09 +00:00
Chris Pearce
cee8a6285d 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
513d0ca1d6 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Craig Topper
83da916f93 Bug 657548 - Part 2: Remove more unused CIDs. r=jst 2011-05-16 23:46:22 -07:00
Craig Topper
82cd3a1f8d 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
97dcf8c409 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
e89f55ad05 Bug 541496 part 3: use the new string-taking API in LoadInlineStyle. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
566c8cf306 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
e852e1fb26 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
e1b022a91f Cache in-flow content length. Bug 566066, r=roc 2011-05-22 11:20:29 +03:00
Randell Jesup
668c993e99 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
cddb7705f5 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
01c51e2d07 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Patrick McManus
5fd56cb6b8 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert
7c96f3c728 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
2ee75e0a93 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
f4110d2e96 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
6882ac18be Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Jonas Sicking
61c5147406 Add a test for bug 644069. r=bzbarsky 2011-05-20 16:21:27 -04:00
Kyle Huey
27d8e6cbb0 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
41ab2f4123 Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
Josh Aas
896e34b1ed Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Jonas Sicking
420d439d47 Back out another suspect just in case. CLOSED TREE. a=orange 2011-05-20 17:20:37 -07:00
Kyle Huey
3e8fcba590 Back it all out on this CLOSED TREE. a=mfbt 2011-05-20 17:00:46 -07:00
Kyle Huey
18e6d04d41 Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Benoit Jacob
27040fd475 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
6f011a1e15 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
f217e89eab 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
a48325132c 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
ea0e243af6 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
ba4e1c35b5 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
3280977bbe 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
9f1fbbd28d 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
de9088b634 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
b52de06579 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
7bd5389a74 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
e84c2368dc 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
c8f3d0d068 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
ba36dac2c6 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=bent,sicking 2011-05-20 10:17:28 -07:00
William Chen
646211e0d9 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Ed Morley
91238e76b1 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ehren Metcalfe
909c404713 Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Mounir Lamouri
0782c0f9f3 Merging cedar with mozilla-central. 2011-05-17 15:32:32 +02:00
Paul ADENOT
294c649343 Bug 657447 : adding include guard aroung nsTimeRanges class. 2011-05-17 11:14:40 +12:00
Benoit Jacob
1960414b5f Bug 656752 - WebGL crash [@gleRunVertexSubmitImmediate()] - r=jrmuizel, a=clegnitto
Fix bookkeeping in webgl.bindBuffer()
2011-05-16 17:18:04 -04:00
Masayuki Nakano
04f1d9f037 Bug 605648 Support high resolution scrolling on Windows r=jimm+smaug 2011-05-17 09:23:23 +09:00
Paul ADENOT
4a1b7fa323 Bug 620331 - Remote nsAudioStreamRemote::GetMinWriteSamples; r=kinetik 2011-05-15 12:53:55 +02:00
Ms2ger
2ba2beb025 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ms2ger
72dace0093 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Chris Leary
4fef967f20 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Josh Aas
669eb04ac7 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Bas Schouten
424515d579 Backed out changeset eb3239a968ac 2011-05-18 00:21:49 +00:00
Bas Schouten
31176dad94 Bug 620216: Use EXTEND_PAD when doing DrawImage. r=roc 2011-05-17 23:10:09 +00:00
Ms2ger
a72bb389df Bug 660539 - Remove nsIDOM3TypeInfo, schemaTypeInfo; r=sicking 2011-06-04 08:57:23 +02:00
Ms2ger
c71f0e7601 Bug 635194 - Don't resolve body.background; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
338feb1384 Bug 660669 - Remove nsHTMLDocument::OpenCommon; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
e1b3356b00 Bug 660663 - Make element.dir reflect like other reflecting enumerated attributes; r=bz 2011-06-04 08:57:23 +02:00
Neil Deakin
360567cd4d Bug 319929, initialize accessibility.accesskeycausesactivation preference properly, r=smaug 2011-06-03 15:38:24 -04:00
Mounir Lamouri
8d38f1695a Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Benjamin Peterson
2ef366c706 Bug 405300 - ignore transformation in isPointInPath(). r=joe sr=roc 2011-06-03 07:50:14 +02:00
Matheus Kerschbaum
c0decf640b Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Mounir Lamouri
57754d987a Merging cedar with mozilla-central. 2011-06-02 13:10:11 +02:00
Boris Zbarsky
526936ad90 Bug 660404. Allow storing the previous page in bfcache even if the new one is a multipart response. r=smaug 2011-06-01 16:00:36 -04:00
Henri Sivonen
79ab8b17ae Bug 661140 - Make test_bug596350.html test focus on rendered elements instead of display:none; elements. r=mounir 2011-06-01 16:02:36 +02:00
Landry Breuil
3a09725564 Fix fallout from #658363, probable typo Breaks sparc64 builds r=sicking 2011-06-01 13:15:41 -07:00
Robert Longson
515a8c33ff Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Mounir Lamouri
ba98c26241 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Michael Ventnor
4d6f07caf9 Bug 50660 - Drag and drop for file upload form control r=jst,enndeakin 2011-06-01 16:06:38 +10:00
Boris Zbarsky
0cc4f9cbde Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
9e1fe05fd3 Bug 598833 part 11. Changes to @form should notify the old default submit correctly. r=mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
2c9ea61eaf Bug 598833 part 10. Make unbinding a <select> update its validation state. r=mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
71a5280399 Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky
a66e7f8073 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Boris Zbarsky
b5bc3817ce Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00