Commit Graph

1904 Commits

Author SHA1 Message Date
Peter Van der Beken
d93d19bbc2 Fix for bug 428229 (Unable to override addEventListener), add security check to nsGlobalWindow::AddEventListener. r=mrbkap, sr=jst. 2010-01-13 14:50:01 +01:00
Peter Van der Beken
d0962ca139 Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz. 2010-01-13 14:50:01 +01:00
Robert O'Callahan
ae8d970845 Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan
baec3e15ae Backed out changeset ad1892e1bb82 2010-01-07 15:17:15 +13:00
Justin Lebar
49f2f00e78 Bug 515190: Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Daniel Holbert
2c5e06ef99 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
3bcdc9337b 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
16fafd331c Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mike Kristoffersen
5eb35c15ee Bug 562181 - Add support for MozOrientation on Qt. r=dougt 2010-06-25 14:25:31 +02:00
Boris Zbarsky
07059f879f Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Olli Pettay
0bceec42aa bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Josh Aas
9f11d26e12 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
62fc605cf9 Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst. 2009-11-30 10:58:32 +01:00
Blake Kaplan
a90ccae37f 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
Peter Van der Beken
d24c94e22e Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
da2e6e1b16 Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Josh Aas
7032c2696b Fix navigator.platform for 64-bit Mac OS X builds. b=489586 r=dbaron 2009-11-12 17:54:06 -05:00
Boris Zbarsky
01ad6c4cc9 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
55ae0cafc5 Bug 493615 - Allow Addons to use the DOM Geolocation API. r=smaug 2009-11-12 07:14:45 -08:00
Peter Van der Beken
b349958600 Fix for bug 512645 (Only clamp nested timeouts). r=jst. 2009-08-26 11:07:39 -07:00
Josh Aas
aba4e18156 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
Ben Newman
9e02e2326f 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
12a4d4cc49 Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking 2009-10-20 17:22:16 -07:00
Timothy Nikkel
76314dbadd Bug 520425. (nsI)CanvasFrame related cleanup. r=roc 2009-10-08 01:18:18 -05:00
Nochum Sossonko
7de428843c 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
9bceed7c26 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
Neil Deakin
c4fd6752d2 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
Johnny Stenback
4e336a4b59 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Daniel Holbert
329bb3002d Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
Jonas Sicking
e51e2a9f6e Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
b799eebaa2 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
033ca6df32 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
Jonas Sicking
7b5713fd27 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
Josh Aas
2807b75578 Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Johnny Stenback
f6c2a60478 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
235dda4e1c Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Josh Aas
4024ef66d5 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
Peter Van der Beken
c1f690ab0e Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst. 2009-08-14 21:00:24 +02:00
Josh Aas
9fc38183bf 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
Doug Turner
757cb46b0e Bug 485943 - Device Orientation Support. r=olli 2009-08-21 07:42:37 -07:00
Peter Van der Beken
70c367f9f8 Fix for bug 508774 (nsGlobalModalWindow traverses mArguments twice). r/sr=jst. 2009-08-10 16:15:49 +02:00
Robert O'Callahan
ce6a49f71f Bug 507755. Move the chrome-only property screenPixelsPerCSSPixel out of 'window' to nsIDOMWindowUtils. r=jst 2009-08-04 09:41:36 +12:00
Robert O'Callahan
b46d983abd 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 2009-07-30 15:16:44 +12:00
Michael Kohler
bcf8985571 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
Johnny Stenback
c83f6e4a60 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
Justin Lebar
bc8187692e 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
Neil Deakin
47f4cfb12b Bug 504367, remove unneeded code which caches focus in nsGlobalWindow::WindowStateHolder, r=bz 2009-07-23 10:38:54 -04:00
Robert O'Callahan
05272ea90c Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Johnny Stenback
cb6ffe6037 Backed out changeset a28347623d0f due to mochitest failures. 2009-07-20 18:20:49 -07:00
Justin Lebar
fcfa30d570 Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug 2009-07-20 14:09:04 -07:00