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

1278 Коммитов

Автор SHA1 Сообщение Дата
Mounir Lamouri 2a6dff584a No bug - Fix build bustage. 2011-06-29 14:29:29 +02:00
Mounir Lamouri 3467081aae Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Mounir Lamouri 3118799f9f Bug 667474 - Do a naive computation of windows' size in the DOM Memory Reporter. r=jst 2011-06-29 13:06:43 +02:00
Mounir Lamouri 9ca46176f4 Bug 667470 - Track all created windows in a global hash table. r=bz 2011-06-29 13:03:54 +02:00
Mounir Lamouri 95027d8725 Bug 667468 - Add a dummy DOM memory reporter behind a compilation flag. r=njn 2011-06-29 13:01:07 +02:00
Doug Turner 6143433d38 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Chris Leary b6e46acdbd Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -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
Jesse Ruderman 1fc637cac1 Add crashtest from bug 609560 2011-06-20 11:42:05 -07: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
Mounir Lamouri ce91f8d4ca Bug 666869 - Crash [@ nsGlobalWindow::GetPerformance]. r=smaug 2011-06-27 00:08:33 +02:00
Matt Brubeck 23b2d18bb6 Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Jan Varga 1887d020e9 Bug 635673 - Content inside xul:iframe with type=content is always able to resize top chrome window. r=bz 2011-06-25 13:42:41 +02:00
Wade Smith bcad4e1206 Bug 517070 - Replace manual refcounting of nsTimeouts in nsGlobalWindow.cpp with equialent nsRefPtr usage, r=jst 2011-06-08 22:19:00 -07:00
Olli Pettay aa731ac235 Bug 664438 - Don't keep DelayedBlurFocusEvents alive after xpcom-shutdown, e=enndeakin
--HG--
extra : rebase_source : 0925e4bb6d640e26d40f00ebe5c7f2c849a03e71
2011-06-18 12:12:13 +03:00
Jonas Sicking fd28a5666a Bug 659539 Part 4: Use nsINode::NodeType where possible. r=bz 2011-06-14 00:56:50 -07:00
Jonas Sicking 9bf170cc97 Bug 659053 Part 2: Implement a faster non-recursive Node.isEqualNode directly on nsINode. r=peterv 2011-06-14 00:56:48 -07:00
Jonas Sicking 48f55a5733 Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Chris Leary 0f3ac4a82b Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Steffen Wilberg 93d5df660d Bug 435325: Offline mode error page should go online when clicking 'Try Again'. Add a goOnline() method to nsDOMWindowUtils, and call that from about:neterror in the netOffline case. ui-r=faaborg, r=bz, gavin. 2011-06-11 15:38:40 +02:00
Ms2ger 8915f62d3b Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02: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
Bill McCloskey ebcdca5a0d Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Mounir Lamouri 92d0ce607c Bug 662519 - By-pass popup blocker checks when caller have chrome privileges. r=jst 2011-06-09 11:30:17 +02:00
Chris Leary 975d974ac4 Merge mozilla-central and tracemonkey. 2011-05-23 00:02:05 -07:00
Chris Leary 3400d7a2e7 Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Craig Topper 8a3f0ad8f7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07: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
Dave Camp eb5d5ebaa0 Merge m-c to devtools 2011-05-21 17:43:04 -07:00
Daniel Holbert 6882ac18be Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Boris Zbarsky d0061b973a Bug 654399. Try to make sure we always hand out the same exact string buffer each time location.hash is gotten. r=roc 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
Josh Aas 896e34b1ed Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04: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
Kyle Huey 796570d4fa Backed out changeset bf0b91206fb3 2011-05-20 16:59:38 -07:00
Jonas Sicking cd65f752fa Fix orange from botched merge 2011-05-20 15:17:58 -07: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
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
William Chen 646211e0d9 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Rob Campbell 35f2c42ff3 merge m-c to devtools 2011-05-16 08:54:46 -03:00
Panos Astithas 387384fa3c Bug 646025 - Add file location to console.log, info, debug, etc.; f=mihai.sucan r=gavin.sharp 2011-05-12 09:29:17 -03:00
Honza Bambas 01b21664bf Bug 654707 - Crash [@ nsGlobalWindow::FireDelayedDOMEvents], r=jst
--HG--
extra : rebase_source : 0b41a8aab5a92192754c0a15ae563e40c60eb892
2011-05-04 07:49:00 -07:00
Justin Lebar 346784b907 Bug 656991 - Fix leak in nsStructuredCloneContainer::InitFromVariant. r=bz,igor 2011-05-15 20:29:19 -04: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
Blake Kaplan 9983181d48 Bug 643393 - Speed up nsJSContext::GetGlobalObject. r=peterv 2011-04-28 13:28:54 -07:00
Chris Leary 4fef967f20 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Blake Kaplan e984f0ae60 Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal
--HG--
extra : rebase_source : 0a3b1b9e203d0ccc5bf33998f1509bef1beae36c
2011-05-17 09:25:06 +02:00