Commit Graph

652 Commits

Author SHA1 Message Date
Peter Van der Beken
22fc8d3fe6 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
f83021152f 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
d609cb9818 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
7d8645e4ca 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
c564ba50c2 Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats 2009-09-03 15:57:46 +12:00
Tom Dyas
8209cf7fbc 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
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mike Kristoffersen ext:(%3E)
2831befe3b 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
151eed8823 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
3e7aa47200 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
e3e86676fd 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
c2bbf9c677 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
cef8b7a5f8 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
f06b671c7d 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
6d42381ab6 Bug 531364 - Change up the order of these calls. r=peterv sr=bzbarsky 2009-12-17 16:21:57 -08:00
Blake Kaplan
07c84d040f Bug 533596 - Implement XPCNativeWrapper.unwrap. r=peterv sr=jst 2009-12-14 13:58:50 -08:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
19c06de19d bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Blake Kaplan
a9e26d46d0 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
514a6c5e9d 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
b169f2dccb 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
110cb44583 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
cb4ed98fcc Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
Peter Van der Beken
c6b8b7525a 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
7b1a7303e7 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
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
4aacb4b100 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
Peter Van der Beken
41824cb4bf 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
5a63b1ad1c 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
39a59a95a1 Try to fix timeouts. 2009-11-28 21:45:37 +01:00
Peter Van der Beken
2186f69c09 Fix build bustage. 2009-11-28 15:25:40 +01:00
Peter Van der Beken
1f7d9b23d4 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
aa1e6dfe50 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
2c89f91972 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
4a9fe32c5e 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
5a323b5600 Backed out changeset 6e8717db83bb (accidental inclusion) 2009-11-16 16:53:22 -08:00
Dietrich Ayala
7dcda44c3a 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
7e0a012c40 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Josh Aas
8ed79a6952 Fix navigator.platform for 64-bit Mac OS X builds. b=489586 r=dbaron 2009-11-12 17:54:06 -05:00
Boris Zbarsky
18575db8fd 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
2af0681054 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
ffc116d778 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
d069d0092b 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
b801bd247a Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking
ff9260ceaf 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
19cb564817 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
fbf1568798 Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking 2009-10-20 17:22:16 -07:00
Vladimir Vukicevic
bd9d980243 [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
bd38bc47ba Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Mark Steele
a2670491ca b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Boris Zbarsky
9e062e31dd Bug 523666. Make nsGenericHTMLFormElement::mForm an nsHTMLFormElement. r=sicking 2009-10-29 21:49:11 -04:00
Paul O’Shannessy
920e2ef755 Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Olli Pettay
c806e56c0e 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
039b7eb41d 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
20439c1595 Bug 419463 - unresponsive script warning dialog has reversed icons. r=jst 2009-10-25 12:20:25 +01:00
Olli Pettay
1c736700d4 Bug 517851 - nsJSEventListener's string/atom handling can be optimized a bit, r=jst 2009-10-24 18:39:28 +03:00
Timothy Nikkel
5321e14840 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
3a8a4c432f 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
14e32bd632 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
bd9e4c3dfd 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
79701a2085 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
bdb1e8e0d6 Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Jonathan Griffin
dee25456a7 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
605ff17f62 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
7e40ce018a 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
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Rich Walsh
bdab68be3d [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Matin Movassate
4bb47ecb1e Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Johnny Stenback
123b209635 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
6476afe861 Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Daniel Holbert
50268f016b 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
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Chris Jones
3e5fef214c 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
b0047bd1a2 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
492e487e7d 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
c873f072d4 Bug 537630 - crash [@ nsJSScriptTimeoutHandler::SetLateness(unsigned int)], r=smaug 2010-04-19 06:32:00 -07:00
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
73d309e278 Bug 562688 part 9. Eliminate eELEMENT users in dom/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 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
9818f00bf2 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
afff06c394 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
4c1b5ed665 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Jonas Sicking
46b291294c 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
9d8cde356a Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3a. r=jst. 2010-04-19 17:41:39 +02:00
Blake Kaplan
f93188d433 Fix bustage. 2010-05-28 16:18:23 -07:00
Blake Kaplan
569e36bde1 Bug 517636 - Assigning through wrappers defeats the "fast expando" optimization. r=jst 2010-05-28 15:40:41 -07:00
Blake Kaplan
54ca1d9bd6 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
3044a6c025 Remove remaining default plugin references. b=567464 r=jst 2010-05-26 19:18:06 -04:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Boris Zbarsky
910c45828b 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
d5f240a54b Bug 507592, don't allow refocusing an element during a blur, r=smaug 2009-09-28 10:17:04 -04:00
Neil Deakin
20a030ca4a 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
049a9fbdc8 Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc 2009-09-11 16:13:56 -07:00
Markus Stange
7251aeec3a 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
22715396a4 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
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