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

584 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 485187be2c Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug 2010-02-23 13:16:19 -05:00
Mounir Lamouri 6d277a77df Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Olli Pettay e24a8744d9 Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Olli Pettay 87c3955517 Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst 2010-03-24 00:35:15 +02:00
Benjamin Smedberg 9bd490a583 Bug 567357 - Fire a DOMWindowCreated event which matches the observer-service notification in bug 549539 so that extensions/message-manager scripts can add DOM features before any content script runs, r=sicking
--HG--
extra : rebase_source : b1eda0b412952587b9ef12908b2c2f818359ce65
2010-06-10 12:23:40 -04:00
Olli Pettay 1cbad54e37 backout Bug 568975 2010-06-10 14:25:45 +03:00
Olli Pettay f54a5ea9f7 Bug 562901 - Synchronous XMLHttpRequests cause setInterval to stop functioning, r=jst 2010-06-10 13:29:43 +03:00
Olli Pettay bedc9abcaf Bug 568975 - m-c message manager slowed down event handling a bit, r=jst
--HG--
extra : rebase_source : 33a1b10f31760b69a565645f43062f872b136b98
2010-06-10 13:05:31 +03:00
Olli Pettay 48d8a69ecf Bug 566024 - Add a 'global' messageManager, r=jst 2010-06-10 12:26:19 +03:00
Chiaki Ishikawa c291452008 ThunderBird part of Bug 567191 - LOCAL_INCLUDES in layout/base should not be conditioned on MOZ_MEDIA. r=jst 2010-05-23 19:29:00 -04:00
Drew Willcoxon 651b22edf3 Bug 570986 - nsGlobalWindow::Dump should check all bytes, not chars, when replacing \r with \n. r=bzbarsky 2010-06-09 14:08:17 -07:00
Dan Witte efbf41296e Bug 568059 - Remove navigator.preference. r=sicking, sr=jst 2010-06-08 16:43:55 -07:00
Boris Zbarsky 273fa5b875 Bug 568564 followup. Use an empty filename, not a null one. r=jst 2010-06-08 17:16:26 -04:00
Boris Zbarsky b09c0d8b10 Bug 568564. Suppress the script filename for cross-origin onerror events. r=jst 2010-06-08 15:58:26 -04:00
Blake Kaplan eff26cd65b Backed out changeset 07e47cdf85ad. We hit it on tinderbox. 2010-03-22 17:07:40 -07:00
Blake Kaplan 65afd1e725 Bug 522430 - Assert that this bad case doesn't happen. r=jst 2009-10-20 17:22:16 -07:00
Peter Van der Beken 4ef93215f5 Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Robert Sayre 7631ccab36 Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Masatoshi Kimura 4f1918672b Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
L. David Baron 0dfd3fae00 Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Robert Sayre 06ca2fe78a Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre a3f8c60900 Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Jeff Walden b530559970 Readd changes to nsJSEnvironment.{cpp,h}, and adjust js::LazilyConstructed so as to force pointer alignment on the theory that's what was wrong.
--HG--
extra : rebase_source : 2215152cf0f03dbb69e49e9adb49979a72294620
2010-03-29 22:51:52 -07:00
Jeff Walden 73e87877ca Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden 52e9d1cd3c Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden c40303ad03 Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden a0d46fb574 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Craig Topper 4dd83b9a3b Bug 253889: DeCOMtaminate nsIPresShell - Remove more NS_IMETHOD. r=roc
--HG--
extra : rebase_source : ab0c230d7be484858e03b242c76b5cc9bcfa87ae
2010-03-31 08:45:32 -04:00
Craig Topper b5f57540e7 Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Olli Pettay b6671c4f90 Bug 536092 - Micro optimizations for event handling, r=jst
--HG--
extra : rebase_source : d34faef862a532109f05750ccb7220bd1ddf6e19
2010-03-31 15:44:18 +03:00
Andreas Gal 2a3ead7d2b Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Robert Sayre 12170ecab9 Merge mozilla-central to tracemonkey. 2010-03-14 13:04:44 -04:00
Robert Sayre c9b914514d Fix up a little merge fail so that infallible malloc macros don't get run on js/src files. 2010-03-13 14:35:27 -05:00
Robert Sayre 8bb5ea2dd3 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Jeff Walden 7df50c064b Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Mike Moening 2df85b2da7 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Andreas Gal a3860ce262 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Kyle Huey 1d6875d653 Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper 980532022a Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Robert Sayre 25a3f4038c Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Andreas Gal a43bfaef8c Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Jeff Walden 1d0194191d Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Jason Orendorff af6d5dde32 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00
Andreas Gal 05528526b6 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-01 15:45:08 -07:00
Robert Sayre 2d1b88ef3a Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Blake Kaplan 21259f1713 More bustage fixing. 2010-06-29 18:28:21 -07:00
Blake Kaplan 39d8b8bafa Add another missing null check. 2010-06-29 14:35:23 -07:00
Blake Kaplan cd54fda2d1 Restore lost null check. 2010-06-29 13:16:19 -07:00
Blake Kaplan 98e9f65ada Bug 575431 - Re-marry nsGlobalWindow to JS (instead of being language-agnostic). r=jst 2010-06-29 11:46:39 -07:00
Blake Kaplan bb2867bbc8 Bug 574517 - Separate the inner and outer windows' JS classes. r=jst 2010-06-28 16:39:00 -07:00
Robert Sayre 7cf6ae4f46 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Blake Kaplan 9fb61e2aba Backed out changeset 6346e45d7034. 2010-06-23 17:17:55 -05:00
Blake Kaplan 681b3d7248 Bug 564208 - Don't run getters while enumerating. r=jst
--HG--
extra : rebase_source : 64df2342d0946b232543ae935cdff6162a05358c
2010-06-10 14:11:09 -07:00
Robert Sayre 5a5b2a801f Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Igor Bukanov 94a6cf2768 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Blake Kaplan b8fcb43150 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan 9245b9b579 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
Blake Kaplan c425da7431 Bug 544544 - Make sure DataContainerEvent's classinfo interfaces are complete. r=smaug 2010-02-08 13:25:07 -08:00
Makoto Kato 527b3b6288 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Robert Longson 949ccfba39 Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc 2010-02-06 13:46:54 +00:00
Daniel Holbert 29d95d8129 Bug 501423 followup: Reorder init lists to fix "will be initialized after" build warnings. r=jst 2010-02-02 12:05:24 -08:00
Justin Lebar 451d425c4b Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Robert Sayre cd109e2772 Merge tracemonkey to mozilla-central. 2010-01-31 10:12:39 -05:00
Daniel Holbert ea212a96cd merge after backing out c7a04be6904 on suspicion of causing bug 543034 2010-01-29 18:56:08 -08:00
Daniel Holbert d70af0ebb8 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Robert Sayre 2896d8f55c Merge mozilla-central to tracemonkey. 2010-01-29 09:51:21 -08:00
Luke Wagner be37873859 Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst) 2010-01-25 08:48:07 -08:00
Luke Wagner e8bbcd4204 Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Oleg Romashin 559c0b1090 Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Justin Lebar 56149d38c0 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Dave Townsend 0cf38d53a1 Bug 537449: Opening new chrome windows is broken after cancelling window.onbeforeunload event. r=bsmedberg, r=jst 2010-01-28 10:35:20 -08:00
Honza Bambas 8235611a0c Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Vladimir Vukicevic a4ee80c983 b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Robert O'Callahan 2f55b3432a Backed out changeset ad1892e1bb82 2010-01-07 15:17:15 +13:00
Justin Lebar 67facf79a9 Bug 515190: Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Daniel Holbert 6c91f74a7f Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
Michael Wu fbcccce5c4 Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
Josh Aas a20b6ad699 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas 4120a1d131 Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Olli Pettay d96cd2575a Bug 538310, clean up old mimetype code, r=jst, sr=sicking 2010-02-11 13:03:47 +02:00
Justin Lebar 4d47d72b2d Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Peter Van der Beken 5a741249d0 Fix for bug 539219 (Remove unused DOMCI). r=jst. 2010-01-16 15:25:58 +01:00
Peter Van der Beken 969d9b0462 Fix for bug 428229 (Unable to override addEventListener), add nsIDOM(NS)EventTarget to all SVG elements. r=smaug.
--HG--
extra : rebase_source : f06870811a6644720826e2d16c900414d855a4c1
2010-01-13 14:50:01 +01:00
Peter Van der Beken 5c5b4f032b Fix for bug 428229 (Unable to override addEventListener), add nsIDOMNSEventTarget to workers. r=bent.
--HG--
extra : rebase_source : 81ef9a9c3401c7b6b47c2da829903a02d61d51e3
2010-01-13 14:50:01 +01:00
Peter Van der Beken 05cbb19476 Fix for bug 428229 (Unable to override addEventListener), add security check to nsGlobalWindow::AddEventListener. r=mrbkap, sr=jst.
--HG--
extra : rebase_source : a5a35ee7301d276ef8194a639515f42f78e26328
2010-01-13 14:50:01 +01:00
Peter Van der Beken ce3f461016 Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Robert O'Callahan 9e00ae099f Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats 2009-09-03 15:57:46 +12:00
Tom Dyas b0be514ccf Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Ms2ger@gmail.com dad7dafec7 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mike Kristoffersen ext:(%3E) d6369aea67 Bug 562181 - Add support for MozOrientation on Qt. r=dougt
--HG--
rename : widget/src/android/nsAccelerometerAndroid.cpp => dom/system/android/nsAccelerometerSystem.cpp
rename : widget/src/android/nsAccelerometerAndroid.h => dom/system/android/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.h => dom/system/cocoa/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.mm => dom/system/cocoa/nsAccelerometerSystem.mm
rename : widget/src/xpwidgets/nsAccelerometer.cpp => dom/system/nsAccelerometer.cpp
rename : widget/src/xpwidgets/nsAccelerometer.h => dom/system/nsAccelerometer.h
rename : widget/src/gtk2/nsAccelerometerUnix.cpp => dom/system/unix/nsAccelerometerSystem.cpp
rename : widget/src/gtk2/nsAccelerometerUnix.h => dom/system/unix/nsAccelerometerSystem.h
rename : widget/src/windows/nsAccelerometerWin.cpp => dom/system/windows/nsAccelerometerSystem.cpp
rename : widget/src/windows/nsAccelerometerWin.h => dom/system/windows/nsAccelerometerSystem.h
rename : widget/public/nsIAccelerometer.idl => xpcom/system/nsIAccelerometer.idl
extra : rebase_source : f9c352566a6d4088e8d448587214fb87402a4dc3
2010-06-25 14:25:31 +02:00
Johnny Stenback 44a4372cb3 Fix regression calling unique methods for the first time on plugin objects. b=536116 r=josh 2009-12-25 13:16:57 -05:00
Boris Zbarsky ba3d909010 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
L. David Baron 96a914c5ab Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 14:10:31 -05:00
Benjamin Smedberg a7f5ea18ae Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron 8084a33813 Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 06:35:46 -05:00
John J. Barton 451b73907c Bug 508562. Make it possible to not have js strict warnings in debug builds. r=bzbarsky, sr=jst 2009-12-22 19:52:13 -05:00
Blake Kaplan ad563802ed Bug 531364 - Change up the order of these calls. r=peterv sr=bzbarsky 2009-12-17 16:21:57 -08:00
Blake Kaplan abe8571190 Bug 533596 - Implement XPCNativeWrapper.unwrap. r=peterv sr=jst 2009-12-14 13:58:50 -08:00
Metal Sonic bb9fc4f136 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay 9706b562c0 bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Blake Kaplan b21c2212b6 Bug 535079 - Get the XPCNativeWrapper class without compiling and running JS code. r=jst sr=sicking 2009-12-16 16:51:06 -08:00
Josh Aas 82f7ab23fe Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Peter Van der Beken 672205b835 Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst. 2009-11-30 10:58:32 +01:00
Peter Van der Beken b16e00e6ec Fix for bug 534362 (Allow modifications to Location.prototype). r=mrbkap.
--HG--
extra : rebase_source : c860de457e25114244c86ff8063ca6c1390e33ae
2009-12-13 16:57:08 -08:00
Masayuki Nakano 707755e550 Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
Peter Van der Beken ec0b5b5db1 Part 2 of fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner. 2009-12-08 21:50:27 -08:00
Peter Van der Beken 189211c9d7 Fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner. 2009-12-08 13:46:42 -08:00
Mark Steele 7f1afd3532 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele 142c3e8cc1 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
Peter Van der Beken 89a03ded9c Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken 83794b698f Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken 3c895e406b Try to fix timeouts. 2009-11-28 21:45:37 +01:00
Peter Van der Beken 724089d167 Fix build bustage. 2009-11-28 15:25:40 +01:00
Peter Van der Beken 82ca0a76a0 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
enndeakin@gmail.com eaf40161ba Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Blake Kaplan 57f4896711 Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org 2009-11-19 15:11:44 -08:00
Jonas Sicking b3d9f5d712 Bug 507114: Don't put up a dialog if we're low on memory. Instead just attempt to report to the console-service. r=jst 2009-11-16 17:06:28 -08:00
Dietrich Ayala 2446a1a9de Backed out changeset 6e8717db83bb (accidental inclusion) 2009-11-16 16:53:22 -08:00
Dietrich Ayala d2f17e98e9 Bug 526545 - Crash reporter still can send wrong URL when crashing during pageload (r=bsmedberg) 2009-11-16 16:51:07 -08:00
Peter Van der Beken de1877250f Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken 4ddd2734db Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Josh Aas 1283ffe2ab Fix navigator.platform for 64-bit Mac OS X builds. b=489586 r=dbaron 2009-11-12 17:54:06 -05:00
Boris Zbarsky 2fe601a83b Bug 528208. Measure interval delays from start of callback to start of callback, not from end of callback to start of callback. r=peterv 2009-11-12 16:50:38 -05:00
Doug Turner ee81488ac1 Bug 493615 - Allow Addons to use the DOM Geolocation API. r=smaug
--HG--
extra : rebase_source : a48f85c5940252a87bfef879663b2d50daed5686
2009-11-12 07:14:45 -08:00
Peter Van der Beken 7b2903ac2c Fix for bug 512645 (Only clamp nested timeouts). r=jst.
--HG--
extra : rebase_source : 556930c0c02258f75becabe58eadd202fdea59a1
2009-08-26 11:07:39 -07:00
Josh Aas 807405db81 Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Jonas Sicking 7d2439042f Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking dd3f692fcd Bug 527370: Rename some things in order to match the latest File API spec. Specifically FileRequest -> FileReader and .response -> .result. r=smaug sr=jst
--HG--
rename : content/base/public/nsIDOMFileRequest.idl => content/base/public/nsIDOMFileReader.idl
rename : content/base/src/nsDOMFileRequest.cpp => content/base/src/nsDOMFileReader.cpp
rename : content/base/src/nsDOMFileRequest.h => content/base/src/nsDOMFileReader.h
2009-11-09 12:05:16 -08:00
Ben Newman bcef32cf76 Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
Blake Kaplan 2cc850609b Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking 2009-10-20 17:22:16 -07:00
Vladimir Vukicevic 8067a3cad8 [webgl] Reland earlier-backed out patches, b=520708, b=520920, b=522201; r=me/mwsteele 2009-11-01 16:33:39 -08:00
Vladimir Vukicevic 2f5196fb04 Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Mark Steele 4bdffa3c07 b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Boris Zbarsky 8d9b06165e Bug 523666. Make nsGenericHTMLFormElement::mForm an nsHTMLFormElement. r=sicking 2009-10-29 21:49:11 -04:00
Paul O’Shannessy 0323ee8f55 Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Olli Pettay 8db2366b58 Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Johnny Stenback 8c1128c734 Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Sylvain Pasche 21840cb3c4 Bug 419463 - unresponsive script warning dialog has reversed icons. r=jst 2009-10-25 12:20:25 +01:00
Olli Pettay 3dd3e31a93 Bug 517851 - nsJSEventListener's string/atom handling can be optimized a bit, r=jst 2009-10-24 18:39:28 +03:00
Timothy Nikkel ef7e629db8 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Olli Pettay 3e2280e528 Bug 523111 - DOMEvent implementations should inherit first the base class, r=jwatt, sr=jst
--HG--
extra : rebase_source : 81cba369792644a99f42c1901dbf04196d007d53
2009-10-21 12:38:39 +03:00
Nochum Sossonko 4fe3f3870d Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Josh Aas 289acea599 Bustage fix for Cocoa NPAPI, don't confuse Gecko's error codes with NPAPI error codes. b=435041 2009-10-19 11:45:53 -05:00
Olli Pettay e272369a42 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Atul Varma 0805c4990b Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Jonathan Griffin 639f6bdb00 Bug 522400. Fix a typo which prevented the invokedefault method on plugin-defined objects from being called. r+sr=jst 2009-10-16 10:27:33 -07:00
Neil Deakin f5f85da70f Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug 2009-10-16 10:32:05 -04:00
Olli Pettay 7effd419be Bug 448602 - Have a way to enumerate event listeners, r=bz
--HG--
extra : rebase_source : 77ed96b23db73ae78ed7f34ed231daf84fae1f54
2009-10-16 11:57:32 +03:00
Jesse Ruderman 9e587aee06 Add more crashtests 2009-10-15 14:22:11 -07:00
Rich Walsh d141344aac [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Matin Movassate a852b7761f Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Johnny Stenback 3197bd3b5d Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Boris Zbarsky 0c8107ac94 Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Chris Jones 666647a63e Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones 6f1c8167d4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Daniel Holbert 513f5a6863 Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
L. David Baron 1e454fe817 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Chris Jones 2515107a6f bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Boris Zbarsky e64a8d6306 Bug 514120. Don't bother looking for XBL bindings on non-XUL nodes in display:none subtrees. r=sicking,enn 2009-10-01 16:17:25 -04:00
Neil Deakin d2034588e9 Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
timeless@mozdev.org 7a4ec9037e Bug 537630 - crash [@ nsJSScriptTimeoutHandler::SetLateness(unsigned int)], r=smaug 2010-04-19 06:32:00 -07:00
Jonas Sicking 664f689a98 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky fcfacc875f Bug 562688 part 9. Eliminate eELEMENT users in dom/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky e762b16f93 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field 3d1b2b634a Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mounir Lamouri 6835e6c38d Bug 452451 - "enable relimit by default and find out if it breaks the web" [r=jwalden,jst]
--HG--
extra : rebase_source : e583073d8015cc0f6b7d4336494f0e1ed01083e2
2010-05-20 17:19:00 -04:00
Benoit Jacob 3c0804e391 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Jonas Sicking d8bba56c99 Bug 563491: Don't run code to set window status while we're inside a script blocker. r=mrbkap 2010-06-01 13:36:16 -07:00
Peter Van der Beken a41f86cd3d Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3a. r=jst. 2010-04-19 17:41:39 +02:00
Blake Kaplan f2a9aa675b Fix bustage. 2010-05-28 16:18:23 -07:00
Blake Kaplan 50e34c9a93 Bug 517636 - Assigning through wrappers defeats the "fast expando" optimization. r=jst 2010-05-28 15:40:41 -07:00
Blake Kaplan 7f5d747a5e Bug 545314 - Force an inner window here so that we return a working location object. r=peterv 2010-05-28 15:40:29 -07:00
Josh Aas 7b7bad177a Remove remaining default plugin references. b=567464 r=jst 2010-05-26 19:18:06 -04:00
David Zbarsky 51cc52c705 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Boris Zbarsky 0d4a497944 Bug 519608. In the common case, when wrapping .childNodes and .style we already have a wrapper for the element; make the PreCreate fast in this case. r=peterv 2009-09-30 18:56:06 -04:00
Neil Deakin ad80b1cd03 Bug 507592, don't allow refocusing an element during a blur, r=smaug 2009-09-28 10:17:04 -04:00
Neil Deakin 44bdfce85e Bug 502123 - Switching focus out of a windowed plugin raises the toplevel window. r=mozbugs. 2009-09-26 21:05:34 -05:00
Roy Frostig a0cb41fd8e Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc 2009-09-11 16:13:56 -07:00
Markus Stange 49156f9285 Bug 515003 - Rewrite native mouse event handling. Also add tests for native mouse events (bug 470845). r=josh, sr=roc 2009-09-23 14:31:37 +12:00
Neil Deakin 99de96ba4d Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Robert O'Callahan 49b5b4ead3 Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Mark Steele 776ab78bfc b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Vladimir Vukicevic 4f7558fa2c b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Mark Steele 1f9197a6b9 b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Josh Aas cd29d35d13 Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Blake Kaplan 089223db0d Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Blake Kaplan ffc0e90278 Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Neil Deakin c4e5b9a60e Bug 513450, page info unfocuses after cursor keys when caret browsing in on, caused because caret browsing preference shouldn't be checked in chrome documents, r=smaug 2009-09-03 15:30:06 -04:00
Mark Steele fe0b9938ed b=513156; update Canvas 3D to implement WebGL (still disabled by default via configure); r=vlad 2009-09-02 17:47:49 -07:00
Johnny Stenback f57be09392 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback 52489b3de1 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Jesse Ruderman 8a9fb4d41e Add more crashtests 2009-08-27 21:11:40 -07:00
Josh Aas ab7c8b7d33 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
Doug Turner 695e72002c Bug 511534 - Poor interaction with the software keyboard. r=masayuki/enndeakin 2009-08-26 13:43:41 -07:00
Neil Deakin 70ba4e485c Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug 2009-08-26 09:19:41 -07:00
Peter Van der Beken 550fe3c1d9 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Boris Zbarsky 79edda8c98 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
Josh Aas 6ab4a1d474 Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg 2009-08-24 15:56:43 -07:00
David Zbarsky ac5c73f4b2 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Doug Turner 8bd11756e6 Bug 485943 - Device Orientation Support. r=olli 2009-08-21 07:42:37 -07:00
Igor Bukanov 33dbce57f4 bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
L. David Baron dd3abcfdd1 Don't QI a node to nsIDOMElement and back to nsIContent for every call to nsEventStateManager::GetContentState. (Bug 509889) r=enndeakin 2009-08-13 19:09:49 -07:00
Robert Sayre 6a5882b9c2 Merge mozilla-central to tracemonkey. 2009-08-12 12:18:38 -07:00
Peter Van der Beken 84dc646522 Fix for bug 499199 (Try to avoid XPCCallContexts in quickstubs for wrapper-cached things). r/sr=jst.
--HG--
extra : rebase_source : 8fc828106f3cf5e82e902cefd79e55df2b8721c3
2009-08-10 12:12:59 +02:00
Peter Van der Beken 12fd027f27 Fix for bug 508774 (nsGlobalModalWindow traverses mArguments twice). r/sr=jst.
--HG--
extra : rebase_source : a0e443bed353e24882c51eb77b1412449170b93b
2009-08-10 16:15:49 +02:00
Olli Pettay 570542df91 Bug 501257 - Implement HTML 5's HTMLElement.classList property, p=sylvain.pasche@gmail.com, r=smaug, sr=sicking
--HG--
extra : rebase_source : cbbd5a5679af57f97122082213f44491431d87e3
2009-08-12 11:55:14 +03:00
timeless@mozdev.org 5377f58f7c Bug 506649 nsFocusManager::GetSelectionLocation has unreachable code block due to shadowed local variable
r=smaug r=enndeakin
2009-08-12 11:49:55 +02:00
timeless@mozdev.org bfe5cea1c6 Bug 506637 nsFocusController::GetControllers does not handle a null nsIFocusManager* fm well
r=smaug
2009-08-12 11:49:55 +02:00
David Anderson c67e7d0572 Fixed DomInterfaceConstants trying to box out of range integers (bug 509590, r+sr=mrbkap). 2009-08-10 16:04:21 -07:00
Andreas Gal 3efe4f6d9d Backout bug 506125 due to talos failures. 2009-08-04 18:42:53 -07:00
Andreas Gal 4a4533abe4 Build fix for bug 506125 (r=igor). 2009-08-04 15:30:27 -07:00
Andreas Gal 41ac1aacfa Memory-pressure based GC scheduler (506125, r=igor). 2009-08-04 14:58:21 -07:00
Robert Sayre 67a84d1621 Merge mozilla-central to tracemonkey. 2009-08-02 15:27:09 -07:00
Ehsan Akhgari 55fc3b142c Backed out changeset 8366e5cc9f57 (bug 125282) because of four windows unit test oranges in a row (all timed out when running mochitest-plain) 2009-08-02 15:10:37 +04:30
Masayuki Nakano 876f2f2c13 Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enn, sr=smaug 2009-08-02 10:51:17 +09:00
Mark Steele ececf02b3f Bug 497999: collect context-specific TraceVis data in JS objects, r=jorendorff 2009-07-30 11:48:02 -07:00
Johnny Stenback 214062c312 Fixing bug 492713. Remove security checks that are no longer needed. r+sr=mrbkap@gmail.com 2009-07-30 16:53:04 -07:00
Michael Kohler d755c7617c Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
Johnny Stenback c9f835169f Fixing bug 477974. Plug a few holes where a frame could change the size/position of the containing window. r+sr=mrbkap@gmail.com 2009-07-24 14:06:47 -07:00
Robert Sayre 7787e5f016 Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Robert Sayre 69902e8154 Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Peter Van der Beken 23ca3c62ee Fix for bug 500349 (DOMParser no longer available in Greasemonkey scripts). r/sr=jst.
--HG--
extra : rebase_source : e42a5ad4bc82ef7b6933e9420840f83548ecde2c
2009-07-22 20:50:24 +02:00
Igor Bukanov 30e6654a6f bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
Neil Deakin f3a13cd606 Bug 504367, remove unneeded code which caches focus in nsGlobalWindow::WindowStateHolder, r=bz 2009-07-23 10:38:54 -04:00
timeless@mozdev.org 21998de2d0 Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
Robert O'Callahan 6fa7477be0 Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan 9702049ef7 Bug 352093. Part 5: the focus manager should use GetRootWidget so it works with documents that don't have their own widgets. r=enndeakin 2009-07-22 12:45:05 +12:00
Robert O'Callahan 5876cbb693 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Johnny Stenback 81553e3643 Backed out changeset a28347623d0f due to mochitest failures. 2009-07-20 18:20:49 -07:00
Justin Lebar 1a0bd9840a Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug
--HG--
extra : rebase_source : 977f304a4f318c9371da5065cab600f57804ea0d
2009-07-20 14:09:04 -07:00
Justin Lebar d4f5bdbf09 Bug 504220: document.body and window should contain onhashchange attribute r=mrbkap, sr=mrbkap 2009-07-15 15:46:14 -07:00
Masayuki Nakano d0232627f3 Bug 76053 Windows mouse integration: no "Snap to default button in dialog boxes" r=enn+ere, sr=roc 2009-07-15 18:54:30 +09:00
Peter Van der Beken 323415d9b6 Part 1 of fix for bug 500850 (Make inline style use wrapper cache and slimwrappers). r/sr=bz.
--HG--
extra : rebase_source : 21f9c86dc4024e0e23882226e8395d61d5b0c518
2009-07-13 13:14:57 +02:00
Neil Deakin 3c12d99456 Bug 503222, check file types on drop last so that urls take priority,r=mano 2009-07-13 07:55:56 -04:00
Neil Deakin 13f9552baa Bug 500224, don't focus elements during unload events, r=bz 2009-07-13 07:55:56 -04:00
Neil Deakin 852bfff0ca Bug 592383, focus the child widget not the top-level when raising on Windows, r+sr=roc 2009-07-13 07:55:56 -04:00
gyuyoung kim e22cfc47a5 Bug 456721 - Control GC frequency/a high water mark of Tracemonkey via about:config; r+sr=(brendan + mrbkap) 2009-07-09 14:16:26 +02:00
L. David Baron d3e9cefd73 Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Doug Turner e012551414 Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-08 09:13:13 -07:00
Olli Pettay d3ea071bfc Bug 502374 - Don't call cycle collector so often, r+sr=peterv 2009-07-08 18:08:22 +03:00
Peter Van der Beken 483c742603 Testcase for bug 502617 (Crash when logging in to Facebook [@ JS_GetClass]).
--HG--
extra : rebase_source : 733bce16594367a7b22b4bd9ee42a9268a8eb405
2009-07-07 15:20:13 +02:00
Nochum Sossonko 6385062250 Bug 500777 - Crash in [@ nsMimeTypeArray::GetMimeTypes() ] while logging into QMO. r+sr=smaug 2009-07-07 14:13:26 +02:00
Robert O'Callahan 78f5bb77be Bug 486200. Add window.mozInnerScreenX/Y APIs to return usable screen coordinate APIs (as opposed to window.screenX/Y which return window frame coordinates and are unusable). Also adds window.mozScreenPixelsPerCSSPixel which chrome-prileged code can use to convert CSS pixels to actual screen pixels. r=dbaron,sr=jst
--HG--
extra : rebase_source : 30f4c953f3e3866da042b935953ba239ac0a93c4
2009-07-30 15:16:44 +12:00
Neil Deakin ae3b3bf26d Bug 504224, crash in GetCommonAncestor, caused because child frame is still focused. Move focus when frame content is removed, and add warnings, r=smaug 2009-07-29 10:36:03 -04:00
Blake Kaplan 90ccdd6988 Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts. 2009-05-21 01:17:51 -07:00
Justin Lebar 84d8f79881 Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug 2009-07-21 14:17:15 -07:00
Jacek Caban 10ee81aaa4 Bug 505727 - nsDOMClassInfo.cpp fails to compile on MinGW. r=bz 2009-08-09 21:42:55 +02:00
Neil Deakin 4730dd25be Bug 344850, shift+tab from input with tabindex set fails, r=smaug 2009-08-04 14:03:39 -04:00
Robert O'Callahan 5104a804bf Bug 507755. Move the chrome-only property screenPixelsPerCSSPixel out of 'window' to nsIDOMWindowUtils. r=jst 2009-08-04 09:41:36 +12:00
Johnny Stenback 4f43a64355 Fixing bug 502137. Removing dead code relating to plugin scripting, and updating some comments. r+sr=mrbkap@gmail.com
--HG--
extra : rebase_source : 2101080c410c9656cdbfc4503479470545c9f351
2009-07-06 13:56:18 -07:00