Commit Graph

454 Commits

Author SHA1 Message Date
Robert O'Callahan
6de615de1b 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
f010e409f2 b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Vladimir Vukicevic
411b62d064 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Mark Steele
aa9ed3207a b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Blake Kaplan
afba815d74 Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Blake Kaplan
439954f9eb 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
182e77dd7b 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
0a322165de 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
8127d8695e Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
29b20051c6 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
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Josh Aas
65e80f6eb0 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
Doug Turner
28775e3c33 Bug 511534 - Poor interaction with the software keyboard. r=masayuki/enndeakin 2009-08-26 13:43:41 -07:00
Neil Deakin
5814a5694d 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
8b5c239aac 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
36622c6995 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
cc8d9ebb04 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
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Doug Turner
db1a20b897 Bug 485943 - Device Orientation Support. r=olli 2009-08-21 07:42:37 -07:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
L. David Baron
ed026ed2f0 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
c8a923e58e Merge mozilla-central to tracemonkey. 2009-08-12 12:18:38 -07:00
Peter Van der Beken
16bf42fce4 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
824855179b 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
cb4754240f 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
257aa32007 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
9206ce3751 Bug 506637 nsFocusController::GetControllers does not handle a null nsIFocusManager* fm well
r=smaug
2009-08-12 11:49:55 +02:00
David Anderson
7edca5cc77 Fixed DomInterfaceConstants trying to box out of range integers (bug 509590, r+sr=mrbkap). 2009-08-10 16:04:21 -07:00
Andreas Gal
9c938dd547 Backout bug 506125 due to talos failures. 2009-08-04 18:42:53 -07:00
Andreas Gal
8bcca13ba9 Build fix for bug 506125 (r=igor). 2009-08-04 15:30:27 -07:00
Andreas Gal
06ad033ff2 Memory-pressure based GC scheduler (506125, r=igor). 2009-08-04 14:58:21 -07:00
Robert Sayre
7ddae3093a Merge mozilla-central to tracemonkey. 2009-08-02 15:27:09 -07:00
Ehsan Akhgari
9141fc8cda 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
ded4cf29cb Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enn, sr=smaug 2009-08-02 10:51:17 +09:00
Mark Steele
ff339aa3b6 Bug 497999: collect context-specific TraceVis data in JS objects, r=jorendorff 2009-07-30 11:48:02 -07:00
Johnny Stenback
790a107f1e 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
39067b5db3 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
Johnny Stenback
6d448227ae 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
710cad8b2a Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Robert Sayre
a181aec2ed Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Peter Van der Beken
e7c19654e6 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
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
Neil Deakin
4f5268fdc2 Bug 504367, remove unneeded code which caches focus in nsGlobalWindow::WindowStateHolder, r=bz 2009-07-23 10:38:54 -04:00
timeless@mozdev.org
145236e39f Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
Robert O'Callahan
2ebc95776b 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
1b6c301e4d 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
41b0dc9d84 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
35aaabd982 Backed out changeset a28347623d0f due to mochitest failures. 2009-07-20 18:20:49 -07:00
Justin Lebar
45e25bc917 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
e2b23a8e47 Bug 504220: document.body and window should contain onhashchange attribute r=mrbkap, sr=mrbkap 2009-07-15 15:46:14 -07:00
Masayuki Nakano
f368778b7e 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
3145f88586 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
b377c20895 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
239ca1d9ee Bug 500224, don't focus elements during unload events, r=bz 2009-07-13 07:55:56 -04:00
Neil Deakin
7b8ec28dbe 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
9c52936743 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
9a8d97752d 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
c56708705b Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-08 09:13:13 -07:00
Olli Pettay
b7542172cb Bug 502374 - Don't call cycle collector so often, r+sr=peterv 2009-07-08 18:08:22 +03:00
Peter Van der Beken
0263e6b4ac 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
c536e97532 Bug 500777 - Crash in [@ nsMimeTypeArray::GetMimeTypes() ] while logging into QMO. r+sr=smaug 2009-07-07 14:13:26 +02:00
Robert O'Callahan
de29a7ff56 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
580a81af12 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
ece0649965 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
fe8a14ca9c 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
1c095fedd4 Bug 505727 - nsDOMClassInfo.cpp fails to compile on MinGW. r=bz 2009-08-09 21:42:55 +02:00
Neil Deakin
653c684b5b Bug 344850, shift+tab from input with tabindex set fails, r=smaug 2009-08-04 14:03:39 -04:00
Robert O'Callahan
bfe8426ae7 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
4cc2512ac8 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
Peter Van der Beken
abf872eeb3 Fix for bug 502617 (Crash when logging in to Facebook [@ JS_GetClass]). r/sr=smaug. 2009-07-06 18:03:42 +02:00
Doug Turner
55fdfb6010 Backing about 484488. 2009-07-05 22:24:56 -07:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
<jlebar@mozilla.com>
7de5d30e8d Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Josh Aas
70edf7241e Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Blake Kaplan
3f48024026 Bug 500691 - Call JS_ClearScope before XPConnect tries to update our outer window's scope's concept of what {Function,Object}.prototype are so that we forward correctly to the inner window's versions. r=jst sr=bzbarsky 2009-07-01 16:43:50 -07:00
Blake Kaplan
4ee6a3c9c0 Fix build bustage from bug 500846. 2009-07-01 12:27:24 -07:00
Blake Kaplan
79d2a918d8 Bug 500846 - Calculate sObjectClass in non-browser embeddings. r+sr=bzbarsky 2009-07-01 12:12:32 -07:00
Doug Turner
78afc48ace Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-01 12:01:11 -07:00
Johnny Stenback
a511964116 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Josh Aas
73eb23eeb9 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas
c81455d12a Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
Josh Aas
4e45156e64 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Vladimir Vukicevic
d49b688ab5 b=500883; put canvas3d into core (disabled by default, configure flag to enable); r=me,npotb 2009-06-27 16:44:35 -07:00
Johnny Stenback
c773b6331b Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com 2009-06-26 07:57:26 -07:00
Josh Aas
107a368795 Bustage fix for bug 500593. 2009-06-26 10:47:51 -04:00
Josh Aas
4734a09527 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Neil Deakin
928cb466c0 Bug 499912, crash activating window with no root element, r+sr=smaug 2009-06-24 13:12:37 -04:00
Peter Van der Beken
5d8c1964f8 Fix for bug 499777 (Cannot convert WrappedNative to function (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)). r/sr=mrbkap.
--HG--
extra : rebase_source : 08180bab30c83d82620de0812b89d90f9e038d13
2009-06-24 08:30:11 +02:00
Peter Van der Beken
f890ae6548 Backed out c8297c309ab3 (Fix for bug 499777 (Cannot convert WrappedNative to function (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)). r/sr=mrbkap.) to fix orange. 2009-06-23 16:46:34 +02:00
Peter Van der Beken
a9aeb312b1 Backed out c8297c309ab3 (Fix for bug 499777 (Cannot convert WrappedNative to function (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)). r/sr=mrbkap.) to fix orange. 2009-06-23 16:46:11 +02:00
Peter Van der Beken
c80a762ca0 Fix for bug 499777 (Cannot convert WrappedNative to function (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)). r/sr=mrbkap.
--HG--
extra : rebase_source : f0d4931f34bd48952712ffeb6cc8d25dad592e18
2009-06-23 12:09:13 +02:00
Peter Van der Beken
3e77cc7366 Fix for bug 499754 (Remove DocumentStyleSheetList from DOMCI). r/sr=bz.
--HG--
extra : rebase_source : 994c6ddd20bbc36df7e8c1fd75b146a3da9aad8b
2009-06-23 12:09:13 +02:00
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Hiroyuki Ikezoe
533c84f598 b=497934; fennec crashes in nsFocusManager (undefined C++ behaviour); r=enn, sr=smaug 2009-06-22 17:40:55 -07:00
Neil Deakin
6100699909 Bug 497633, 497878, fix two crashes with similar tests that remove frames during blur, r+sr=smaug 2009-06-22 15:49:10 -04:00
Olli Pettay
7c8130cf27 Bug 496792 - Optimize nsGlobalWindow::PostHandleEvent, r+sr=bz 2009-06-22 12:06:10 +03:00
Peter Van der Beken
2cd9ab8291 Fix for bug 484764 (Set up DOM prototype chains from PostCreateProto instead of PostCreate). r/sr=jst.
--HG--
extra : rebase_source : 8e24cbcede7e48e42c4c06a55d3bc7dd91603020
2009-06-03 17:30:18 +02:00
Neil Deakin
347ca246cc Bug 498609 and 498643, clear focused element when not in document, sr=smaug 2009-06-20 20:04:04 -04:00
Josh Aas
5dc8045c32 Remove nsIScriptablePlugin, part of the XPCOM plugin API. b=498164 r/sr=sicking 2009-06-19 15:37:09 -04:00
Daniel Brooks
7414288516 Backed out changeset 3ed492a26551 2009-06-19 11:57:54 -05:00
Daniel Brooks
6d64d73925 Bug 486200 - Need API to compute screen coordinates of DOM elements
r=roc,dbaron, sr=roc,jst
2009-06-19 02:24:34 -05:00
Daniel Brooks
deacc87633 Bug 495002 - nsPresContext ought to have CSSPixelsToDevPixels and DevPixelsToCSSPixels methods
r=bz, sr=roc
2009-06-18 03:35:11 -05:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Neil Deakin
622c67863a Bug 498075, two clicks required to switch away from focused plugin, also fixes ususual minimzing behaviour where it immediately restores again, r+sr=smaug 2009-06-16 14:34:13 -04:00
Arpad Borsos
497b2e227d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Neil Deakin
f3a3945b39 Bug 497593, assertion should be allowing null values, r+sr=smaug 2009-06-15 11:05:47 -04:00
Olli Pettay
42ec618ee6 Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Matthew Gregan
734ebb107c Bug 488814. HTMLMediaError lies about some interfaces it implements, don't lie. r+sr=jst
--HG--
extra : rebase_source : 718aab295c395c0a20c4ff3cdf9dc8a80fc8f2ee
2009-06-12 14:09:28 +12:00
Jonas Sicking
68ee329da3 Bug 492560: Prevent modal dialogs from making the slow-script dialog coming up. r/sr=mrbkap 2009-06-11 17:52:47 -07:00
Ginn Chen
bd6190501e Fix bustage on Solaris caused by Bug 178324 2009-06-11 14:40:41 +08:00
Blake Kaplan
740f02c87b Bug 497102 - Add missing call. r+sr=bzbarsky 2009-06-10 15:41:26 -07:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Benjamin Smedberg
3a0ef1193a Bug 326628 try #2 - remove window.pkcs11 and fix the device manager not to use that API, r=kaie 2009-05-28 19:36:21 -07:00
Zack Weinberg
aced039def Bug 495219: nsGlobalWindow::GetInner* report zero when there is no prescontext, to restore old behavior for display:none. r+sr=bzbarsky 2009-05-28 15:19:08 -04:00
Benjamin Smedberg
11102c6e00 Final merge to back out bug 326628 (and followup bug 487980) due to regression bug 494899. 2009-05-27 09:15:21 -04:00
Benjamin Smedberg
66d253f743 Intermediate merge for backout of bug 326628 2009-05-27 09:14:27 -04:00
Benjamin Smedberg
50457e7d22 Backed out changeset c41b9f3a9d83 - bug 487980 due to backing out 326628, due to regression bug 494899 2009-05-27 09:12:28 -04:00
Benjamin Smedberg
ad605596e3 Backed out changeset eea9639048b8, bug 326628 main patch, due to regression bug 494899 2009-05-27 09:09:01 -04:00
Peter Van der Beken
f5c089b7a2 Fix for bug 494290 (Crash [@ nsJSContext::cycleCollection::Traverse]). r/sr=jst.
--HG--
extra : rebase_source : e84f31938e62a00f163ff705b7ce5a58da9b8dd4
2009-05-22 20:45:26 +02:00
L. David Baron
3dd611372e Backed out changeset 1abeb6c87131 (Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs)) due to mochitest failures and leaks. 2009-05-21 06:54:41 -04:00
Blake Kaplan
83e011d635 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
Johnny Stenback
7e36be9390 Fixing bug 494051. Don't fall off trace when accessing the global property 'window'. r+sr=mrbkap@gmail.com 2009-05-20 15:39:02 -07:00
Honza Bambas
b4f9d96681 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-21 00:27:31 +02:00
Honza Bambas
c97cbced9b Backed out changeset b2e48c0aa965 2009-05-20 22:30:21 +02:00
Honza Bambas
d683c85eb5 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 20:19:38 +02:00
Honza Bambas
3a406782bd Backed out changeset ef25b4175b78 2009-05-20 10:37:31 +02:00
Honza Bambas
f019692628 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 10:23:41 +02:00
Boris Zbarsky
6648ac9f15 Followup for bug 489671. Remove orphaned comment. 2009-05-19 22:22:44 -04:00
Boris Zbarsky
0460675e76 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Dave Townsend
99034adf24 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos
584155ddb7 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Blake Kaplan
26e255161f Bug 493281 - Find our object. r+sr=jst 2009-05-18 16:45:29 -07:00
Honza Bambas
1027f32e5c Bug 487695 - Decide on localStorage behavior in session-only cookies or private-browsing mode, r+sr=jst
--HG--
rename : dom/src/storage/nsDOMStorageDB.cpp => dom/src/storage/nsDOMStoragePersistentDB.cpp
rename : dom/src/storage/nsDOMStorageDB.h => dom/src/storage/nsDOMStoragePersistentDB.h
2009-05-18 10:12:14 +02:00
Peter Van der Beken
98633d5f16 Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz. 2009-05-07 11:19:41 -07:00
Peter Van der Beken
e267b828d9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken
3c7951a396 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Honza Bambas
b1ee7471c1 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Peter Van der Beken
a45851d286 Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression. 2009-05-15 14:49:21 +02:00
Makoto Kato
9145296402 Bug 483118 - navigator.platform should return Win64 instead of Win32 or Windows NT. r+sr=peterv 2009-05-13 20:30:41 +09:00
Peter Van der Beken
b865be6ac9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Robert O'Callahan
288bf51b27 Backed out changeset d917c7a63b14 2009-05-08 17:30:04 +12:00
Ben Turner
b14e7a4542 Bug 490715. Disconnect focus controller element references. r+sr=smaug 2009-05-08 14:48:51 +12:00
Robert O'Callahan
c9a1f5499c Bug 476526. Release the style context before calling LoadBindings. r+sr=bzbarsky 2009-05-08 14:41:12 +12:00
Olli Pettay
e64efde796 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay
fc5f3a87aa backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
d9072725ae Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
Johnny Stenback
17d36d123b Fixing bug 489251. Crash on shutdown after touching window.java. r+sr=mrbkap@gmail.com 2009-05-06 09:46:13 -07:00
Benjamin Smedberg
5fa5173a94 Bug 487960 and bug 487980 - remove references to nsIDOMPkcs11 completely: various pieces of our code don't like interfaces that are only forward-declared even if you never implement them r=jst 2009-04-15 09:06:26 -04:00
Olli Pettay
cf655e13da Bug 491137 - Remove nsIDOMLoadStatusEvent.idl, r+sr=jst 2009-05-06 06:49:19 +03:00
Masayuki Nakano
1eabdda4fe Bug 460059 Need IME state testing r+sr=roc 2009-05-05 15:15:23 +09:00
Honza Bambas
43a63f7ec6 Bug 486654 - implement localStorage for 1.9.1, security review comments addressing, r=jst, sr=dveditz 2009-04-14 16:11:47 +02:00
Benjamin Smedberg
87e4d3d1bb Bug 326628 Try #2 - User content can pop up PKCS11 dialogs, which is annoying and entirely unnecessary r+sr=jsr,r=kaie 2009-04-10 13:21:04 -04:00
Olli Pettay
f3d1e0ddb1 Bug 486398, r+sr=jst 2009-04-10 19:06:34 +03:00
Josh Aas
c6a41e8074 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Benjamin Smedberg
8af63417a3 Back out everything from bug 326628 because it's too red to fix on the fly. CLOSED TREE 2009-04-09 16:01:02 -04:00
Benjamin Smedberg
ff2c4cfec3 Update nsDOMClassInfoID to match the classinfo change from bug 326628 2009-04-09 15:33:09 -04:00
Benjamin Smedberg
87508bb914 Bug 326628 - user content can pop up pkcs11 dialogs, which is annoying and entirely unnecessary r+sr=jst,r=kaie 2009-04-08 10:27:45 -04:00
Jeff Walden
79c9116d91 Kick tinderboxen out of an hgfail, r=red 2009-04-06 14:59:55 -07:00
Brendan Eich
bb988135b0 Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap). 2009-04-29 16:48:35 -07:00
Boris Zbarsky
5ae2e2038e Bug 485537. window.plugins.refresh() shouldn't reregister XPCOM components. r=josh, sr=jst 2009-04-04 00:14:59 -04:00
Jim Mathies
bf62e148ca Bug 479901 - Add WM_GESTURE support for Windows 7. r=vlad+smaug. 2009-04-02 14:34:31 -05:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Johnny Stenback
73465880a9 Fixing bug 484040. Don't fall off trace when accessing 'document' in JS. r+sr=mrbkap@gmail.com 2009-05-12 13:18:52 -07:00
Peter Van der Beken
1ec8d2bfcb Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
--HG--
extra : rebase_source : 8a05db1e4aab7dde3b38c7613488314dde05f163
2009-05-07 11:19:41 -07:00
Olli Pettay
d904a27d07 Bug 489812 - Suspending timeouts doesn't clear mFiringDepth, r=bent, sr=jst 2009-04-25 02:53:25 +03:00
Vladimir Vukicevic
9e8ec752cb b=489938; allow redirecting dump() to a file; r+sr=jst 2009-04-24 16:24:34 -07:00
Bob Clary
0c74cdec2b bug 375399 - crash test by Martijn Wargers. 2009-04-24 10:08:18 -07:00
Bob Clary
ed8930b5d7 bug 371124 - crash tests by Martijn Wargers, Mats Palmgren. 2009-04-24 10:08:17 -07:00
Olli Pettay
7f711199fa Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Blake Kaplan
54734b9d0b Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Dave Townsend
3a27432a29 Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Gavin Sharp
f361caeff0 Bug 483634: add scrollX/scrollY getter on nsIDOMWindowUtils that allows avoiding a layout flush, r+sr=roc 2009-03-30 08:19:06 -04:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Peter Van der Beken
32054e9333 Preparation for fix for bug 484764 (Set up DOM prototype chains from PostCreateProto instead of PostCreate). r/sr=jst. 2009-03-24 12:02:30 +01:00
Dave Townsend
73daeeaae6 Backout of bug 484764: Set up DOM prototype chain from nsDOMClassInfo::PostCreateProto 2009-03-26 14:54:40 +00:00
Dave Townsend
f16982b295 Backed out changeset 94673272aeab from bug 484764: Set up DOM prototype chain
from nsDOMClassInfo::PostCreateProto.
2009-03-26 14:53:33 +00:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Peter Van der Beken
f6ac0e2374 Preparation for fix for bug 484764 (Set up DOM prototype chains from PostCreateProto instead of PostCreate). r/sr=jst.
--HG--
extra : rebase_source : 135c51ee7f558eeb6fe5a6f4b13afd0561f0b64f
2009-03-24 12:02:30 +01:00
Boris Zbarsky
0eb394261e Bug 465804. Remove no-longer-needed method. r+sr=jst 2009-03-24 21:52:24 -04:00
Peter Van der Beken
e94915a0da Backed out changeset 83944488fbe6 (Preparation for fix for bug 484764 (Set up DOM prototype chains from PostCreateProto instead of PostCreate)). 2009-03-24 14:47:01 +01:00
Peter Van der Beken
89ec3a3485 Preparation for fix for bug 484764 (Set up DOM prototype chains from PostCreateProto instead of PostCreate). r/sr=jst.
--HG--
extra : rebase_source : 2e872a0285f6c0dbb470e04cc7ed4aa988077981
2009-03-24 12:02:30 +01:00
Peter Van der Beken
84c8c07ff1 Fix for bug 484692 (Set/clear cached wrappers from within XPConnect). r/sr=jst.
--HG--
extra : rebase_source : 3b0d0174919c8fdd027cde9ab9913c3dcb4052e1
2009-03-24 12:02:23 +01:00
Blake Kaplan
53cf9b6134 Bug 480975 - Make document fragments participate correctly in the wrapper cache. r+sr=jst 2009-03-20 16:14:14 -07:00
Peter Van der Beken
90ab2fa166 Fix for bug 480389 (Remove nsIDocument's cached JS object). r/sr=jst.
--HG--
extra : rebase_source : e01297b029bdbcde75521363ad47949dff72cf9b
2009-03-18 18:56:38 +01:00
Peter Van der Beken
2f7fed0ee0 Backing out 18b1811cd104, fix for bug 480389 (Remove nsIDocument's cached JS object), to try to fix orange. 2009-03-19 14:07:03 +01:00
Peter Van der Beken
b704ad4bc0 Fix for bug 480389 (Remove nsIDocument's cached JS object). r/sr=jst.
--HG--
extra : rebase_source : 7e971c32cc922fb866f12f3e037f8c91c09df3bf
2009-03-18 18:56:38 +01:00
Gavin Sharp
071314c623 merge backout 2009-03-19 00:56:31 -04:00
Gavin Sharp
cebf520399 Back out changeset 699fc684188c from bug 483634 due to unit test failures 2009-03-19 00:56:19 -04:00
Blake Kaplan
bdf9d08315 Bug 481127 - Censor NPAPI and Java plugins more aggressively. r+sr=jst 2009-03-18 17:23:30 -07:00
Gavin Sharp
a3164ef919 Bug 483634: add a way to get document scroll position without flushing layout to nsIDOMWindowUtils, r+sr=roc 2009-03-18 20:22:17 -04:00
Honza Bambas
8d8bbb95c2 Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Ben Turner
2a8109bd42 Bug 480185 - 'XPConnect shouldn't poke JS objects manually, should use JSAPI.' patch by Blake Kaplan <mrbkap@gmail.com> and myself. r+sr=jst. 2009-03-14 20:45:20 -07:00
Ben Turner
eed6c83bb8 Bug 482306 - "Several deadlocks related to nested requests and nsJSContext::CompileEventHandler". r+sr=mrbkap, a=blocking1.9.1+. 2009-03-14 20:42:50 -07:00
Makoto Kato
f62c40f86b Bug 478190 - LLP64 (Windows x64) support for /mozilla/dom. r/sr=peterv 2009-03-15 12:19:53 +09:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Benjamin Smedberg
ca96f9405e Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
ben turner
ca8f9d0b93 Bug 479624 - Use JSAutoTempValueRooter instead of nsAutoGCRoot in nsJSContext::CallEventHandler. r=mrbkap, sr=jst 2009-04-17 15:13:08 +02:00
Robert Sayre
cad48ee840 Merge tracemonkey to mozilla-central. 2009-04-15 17:40:19 -04:00
Igor Bukanov
95c0598199 bug 488285 - fixing strict mode warnings with DOm window object. r=brendan 2009-04-15 16:09:58 +02:00