Commit Graph

1471 Commits

Author SHA1 Message Date
Doug Turner
8a5b4eefef Bug 640201 - If nsGeolocation::Init fails, mGeolocation is not clear and will be returned on subsequent calls. r=jst 2011-03-23 10:27:51 -07:00
Boris Zbarsky
6814200abd Bug 637644. Start layout on the new document we just created in nsGlobalWindow::SetOpenerScriptPrincipal, since if we don't do it here no one ever will. r=jst 2011-03-02 14:45:13 -05:00
Boris Zbarsky
58a96f2303 Bug 585786. Do fast-unwrapping even for non-slim wrappers as long as they're cached. r=peterv 2011-03-23 10:45:21 -04:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Boris Zbarsky
88b5ba318f Bug 646972. Clamp the timeout interval after storing mInterval on the nsTimeout, so interval timers will correctly speed up when a tab goes from background to foreground. r=jst 2011-04-04 16:22:48 -07:00
Emanuele Costa
57d92e763a When switching a window from background to foreground, reinitialize the timers that should fire sooner than the background clamp would have allowed. Bug 647001, r=bzbarsky 2011-06-29 15:49:42 -04:00
Andreas Gal
3222023138 Expose console and InstallTrigger as content objects (bug 631225, r=dtownsend). a=blocker 2011-02-07 23:18:18 -08:00
Olli Pettay
10b02f8de2 Bug 630947, run GC more often before CC, r=gal, a=blocker 2011-02-08 11:43:56 +02:00
Johnny Stenback
c13a3fd071 Bug 631490. Fix compartment mismatch when dealing with certain types of global properties. r=mrbkap@gmail.com, a=blocker 2011-02-04 09:55:21 -08:00
L. David Baron
7e86462271 ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
b534bd3113 Add animation event interface and data structures. (Bug 435442, patch 12) r=smaug 2011-04-11 23:18:44 -07:00
L. David Baron
f8dfd07160 Add interface for taking over the refresh driver in a test (i.e., mocking time). (Bug 435442, patch 9) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
f80131c3b4 Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Wade Smith
9aa37748a9 Bug 517070 - Replace manual refcounting of nsTimeouts in nsGlobalWindow.cpp with equialent nsRefPtr usage, r=jst 2011-06-08 22:19:00 -07:00
Olli Pettay
aac07bcf30 Bug 664438 - Don't keep DelayedBlurFocusEvents alive after xpcom-shutdown, e=enndeakin
--HG--
extra : rebase_source : 0925e4bb6d640e26d40f00ebe5c7f2c849a03e71
2011-06-18 12:12:13 +03:00
Jonas Sicking
509451f5cc Bug 659539 Part 4: Use nsINode::NodeType where possible. r=bz 2011-06-14 00:56:50 -07:00
Jonas Sicking
6279797e1c Bug 659053 Part 2: Implement a faster non-recursive Node.isEqualNode directly on nsINode. r=peterv 2011-06-14 00:56:48 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Chris Leary
f819c3428e Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Steffen Wilberg
3b7e75b4ce Bug 435325: Offline mode error page should go online when clicking 'Try Again'. Add a goOnline() method to nsDOMWindowUtils, and call that from about:neterror in the netOffline case. ui-r=faaborg, r=bz, gavin. 2011-06-11 15:38:40 +02:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Luke Wagner
0d7bf8cc22 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Mounir Lamouri
2c6d2a6c71 Bug 662519 - By-pass popup blocker checks when caller have chrome privileges. r=jst 2011-06-09 11:30:17 +02:00
Mounir Lamouri
b904da7435 No bug - Fix build bustage. 2011-06-29 14:29:29 +02:00
Mounir Lamouri
722f1a262b Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Mounir Lamouri
b10e711112 Bug 667474 - Do a naive computation of windows' size in the DOM Memory Reporter. r=jst 2011-06-29 13:06:43 +02:00
Mounir Lamouri
08c2b853e1 Bug 667470 - Track all created windows in a global hash table. r=bz 2011-06-29 13:03:54 +02:00
Mounir Lamouri
71c1677c6a Bug 667468 - Add a dummy DOM memory reporter behind a compilation flag. r=njn 2011-06-29 13:01:07 +02:00
Doug Turner
d4487fbc34 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
timeless@mozdev.org
717b9e0a0b Bug 583727 DOMCI_CASTABLE_INTERFACE: macro redefinition; r=peterv a=jst 2010-08-02 16:52:12 +03:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
timeless@mozdev.org
6493b0d2b1 Bug 583727 DOMCI_CASTABLE_INTERFACE: macro redefinition; r=peterv a=jst
--HG--
extra : rebase_source : 4b4ddb3c7c720ff1266f0d868d1e101942d72b10
2010-08-02 16:52:12 +03:00
Daniel Holbert
b2a40d0ed6 Bug 630588: use PRInt32 as iterator variable in nsGlobalWindow::FireDelayedDOMEvents to fix build warning. r=jst a=jst 2011-02-04 11:18:15 -08:00
Robert O'Callahan
114f358978 Bug 625288. Part 3: Test that a browser window containing a single empty tab builds a layer tree whose leaf layers form a non-overlapping partition of the window. r=tnikkel,a=test 2011-02-03 21:47:11 +13:00
Mounir Lamouri
cadc3e47bf Bug 619230 - Remove useless warning. r=peterv a=jst 2011-02-03 00:46:12 +01:00
Benjamin Stover
29e34dae4b Bug 630883 Crash at [@ nsDOMWindowUtils::FindElementWithViewID] r=cjones a=blocking-fennec 2011-02-02 13:35:03 -08:00
Justin Dolske
dcd47ceba9 Bug 621764 - tab-modal prompt in Gmail eventually triggers slow-script dialog for nsPrompter.js. r=mrbkap, sr=jst, a=blocker 2011-02-01 19:23:00 -08:00
Blake Kaplan
8f1726be5c Fix bug 691359. r=jst@mozilla.com, a=blocker 2011-02-01 09:19:35 -08:00
Olli Pettay
5f578b2193 Bug 624549, Don't call GC so aggressively in nsJSContext::CC, r=gal, a=jst 2011-01-29 22:55:39 +02:00
Josh Matthews
e6d9127892 Bug 627355 - Don't dangle pointers to dead objects. r=dougt a=b-f
--HG--
extra : rebase_source : 1722718e4703ba8a1679e9db9df1b085b3e7535a
2011-01-21 14:35:46 -05:00
Chris Leary
2b67ce4256 CLOSED TREE: Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-27 20:06:21 -08:00
Chris Leary
001cef1fd8 Merge the backout head. 2011-01-27 16:26:21 -08:00
Chris Leary
8f8ea8fd48 Backed out changeset b5ca98debed0 2011-01-27 16:25:30 -08:00
Blake Kaplan
2e5ffe22af Fix bustage from bug 611485. r=gal 2011-01-27 12:46:20 -08:00
Paolo Amadini
3d17fc9f59 Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky,jst a=blocker 2011-01-27 14:42:19 -08:00
Jonas Sicking
7df9624ca1 Bug 618590 Part 3: When a page is destroyed, abort any running indexedDB transactions. r=bent a=blocker 2011-01-27 13:47:36 -08:00
Ben Turner
c96b568869 Bug 628071 - 'Crash inspecting IDBRequest(mozIndexedDB.open)'. r=sicking, a=blocking. 2011-01-26 17:53:02 -08:00
David Mandelin
62ff5f09d8 Bug 611653: clear values instead of scope when global window shuts down, r=brendan,smaug 2011-01-21 18:37:30 -08:00
David Mandelin
63046eea1a Bug 628612: make window constructor properties configurable so Facebook works, r=cam,jeff, a=blocker 2011-01-25 17:49:10 -08:00
Chris Leary
074bd0c596 Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-27 02:54:58 -08:00
Chris Leary
1771b7c232 Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Chris Leary
a490c5bc24 Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-24 19:47:52 -08:00
Patrick Walton
890166e5eb Bug 628110 - Back out changeset d1adb7b245bd (removal of MaybeGC() every 20th script execution) to fix SunSpider regression. r=gal a=blocking2.0:betaN+ 2011-01-24 14:56:40 -08:00
Luke Wagner
8ebed13ec8 Bug 625251 - nsJSEnvironment should enter the compartment before converting arguments to jsvals (r=mrbkap)
--HG--
extra : rebase_source : 3ae0fd2b96fcdc072a75ecb025417723b9f0702b
2011-01-21 15:25:04 -08:00
Mounir Lamouri
031f9e5c6f Bug 621515 - Improve "no corresponding type!" warning. r=peterv a=jst 2011-01-19 12:16:42 +01:00
Johnny Stenback
6a0e982723 Fixing orange from the fix for bug 608987, make sure to enter a request *before* entering a compartment. a=orange. CLOSED TREE 2011-01-18 17:11:12 -08:00
Johnny Stenback
8669a846ab Bug 608987. Fixing compartment mismatch when setting up the proto chain of a plugin object. r=gal@uci.edu, a=blocker 2011-01-18 15:49:34 -08:00
Chris Leary
6805a382ac Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Andreas Gal
cc7aab8dd2 document.all('foo') doesn't work (bug 626050, r=brendan). 2011-01-16 23:30:38 -08:00
Andreas Gal
3d90f3729a Temporary restore old shark start/stop functions (bug 625993, r=bz). 2011-01-14 19:02:11 -08:00
Andreas Gal
6278051362 Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer). 2011-01-14 17:58:40 -08:00
Chris Leary
3d7d7e57a8 Merge mozilla-central into tracemonkey. 2011-01-14 01:45:33 -08:00
Patrick Walton
67e840d8b5 Bug 624867 - Don't call MaybeGC() on every 20th script execution. r=jst a=blocking2.0:betaN+ 2011-01-12 11:54:50 -08:00
Chris Leary
887da71fad Merge mozilla-central into tracemonkey. 2011-01-12 00:07:40 -08:00
Blake Kaplan
c8347b00f7 Fix bug 617879. r=jst@mozilla.com, a=blocker 2011-01-11 17:12:38 -08:00
Andreas Gal
108bc95880 Add API to enable/disable per-compartment GCs (bug 624229, r=shaver). 2011-01-09 22:57:21 -08:00
Gregor Wagner
cbc0a9cb10 Enable per-compartment garbage collection (bug 605662, r=gal). 2011-01-07 23:44:57 -08:00
Blake Kaplan
06e8f326af Bug 616992 - Give nsDOMConstructors a precreate hook so that we don't accidentally create more than one wrapper object for them. r=jst@mozilla.com, gal@uci.edu, a=blocker 2011-01-11 12:15:52 -08:00
Blake Kaplan
559d15d683 Fix bug 614151. r=jst@mozilla.com, a=blocker 2010-12-28 11:21:30 -08:00
Gregor Wagner
2a3b86c7c6 Enable per-compartment garbage collection (bug 605662, r=gal). CLOSED TREE 2011-01-07 23:44:57 -08:00
Neil Deakin
124333e47f Bug 617872 - Focus manager allows F6 to focus elements inside non-focusable iframes/browsers. r=smaug, a=blocking 2010-12-09 13:20:00 -08:00
Neil Deakin
2552d11f4d Bug 620145 - Prompt for gmail message with no text has to be focused (clicked on) before ok-ing (or canceling). r=smaug, a=blocking 2011-01-06 11:05:00 -08:00
Andreas Gal
6b5539dc39 Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff). 2011-01-07 02:03:14 -08:00
Chris Leary
e2855fd450 Merge tracemonkey and mozilla-central. 2011-01-07 00:17:35 -08:00
Andreas Gal
5d848ac282 Use right compartment when resolving prototypes (bug 620028, r=jst). 2011-01-06 22:31:14 -08:00
Ben Turner
cde3f1127c Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Ben Turner
c926abf576 Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking. 2011-01-06 22:21:30 -08:00
Ben Turner
f78f0e6c85 Bug 615153 - 'nsIWorkerFactory.newChromeWorker() throws NS_ERROR_UNEXPECTED'. r=sicking, a=blocker. 2011-01-06 22:21:26 -08:00
Nochum Sossonko
d2b2b8d37a Bug 623447 - ASSERTION: AreDialogsBlocked() called without a top window, r=jst a=jonas
--HG--
extra : rebase_source : 76a7871d86d5f84fb0978713b60b4c699298e7a3
2011-01-06 21:07:35 -05:00
Robert Sayre
4af90e6de9 Backed out changeset d58e45442c87 2011-01-06 21:39:25 -05:00
Andreas Gal
9b4055e1f5 Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff). 2011-01-06 15:15:00 -08:00
Blake Kaplan
617e140f0e Bug 618871 - Try again to fix accessing content constructors from chrome through Xray wrappers. r=jst@mozilla.com, a=blocker 2011-01-05 20:28:19 -08:00
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Doug Turner
9d720ff78a Bug 607860 - remove navigator.mozNotification from Firefox desktop. r=jst/jonas a=betaN+ 2011-01-03 16:37:01 -08:00
Doug Turner
d8776a3d10 Bug 619182 - Convert moz_indexedDB to mozIndexedDB. r=sicking a=blocking2.0 2011-01-03 12:03:03 -08:00
Boris Zbarsky
aaf4848aca Bug 620947. Be a little more careful getting properties from document.all. r=jst 2010-12-27 14:41:31 -06:00
Doug Turner
04c946cf13 Bug 613551 - "JSGC_MAX_MALLOC_BYTES is too large on mobile" [r=jst] a=blocking-fennec
--HG--
extra : rebase_source : 5899ff657273a08bed317edadc3eeab090d94208
2010-12-02 14:38:00 -08:00
Kyle Huey
c7b864270a Bug 622361: Pending storage events need to be cycle collected. r=jst a=b:final 2011-01-14 09:39:21 -05:00
L. David Baron
851984a867 Backout changeset 0f1fd87b570d (bug 622326) on suspicion of causing bug 626100 (leak in a11y mochitests). CLOSED TREE 2011-01-15 12:31:57 -08:00
Paolo Amadini
e9cdb9e670 Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky, a=blocker 2011-01-14 21:14:41 -05:00
Boris Zbarsky
55e25aaf58 Bug 625256. Make the DOM timeout clamp a pref, but enforce that it's nonnegative. r=jst, a=jst 2011-01-14 21:14:41 -05:00
Chris Jones
4003b52e15 Bug 616841, part 1: Refactor use of JSLocaleCallbacks to make them easier to share among various JSContexts. r=bz sr=mrbkap 2010-12-06 14:45:00 -06:00
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Chris Leary
75f05f6bc4 Bug 627938: Fix nsGlobalChromeWindow cleanup. (r=smaug, a=jst) 2011-01-23 11:51:00 -08:00
Johnny Stenback
fcfb57a34d Bug 623810. First part, fix moving wrappers from one scope to another. r=mrbkap@gmail.com, a=blocker 2011-01-21 16:59:18 -08:00
David Mandelin
3b0d431543 Bug 628612: make window constructor properties configurable so Facebook works, r=cam,jeff, a=blocker 2011-01-25 17:49:10 -08:00
Benjamin Stover
16daa8513e Bug 605618 Part 9: Fix test-ipcbrowser and crash r=cjones a=blocking-fennec 2011-01-13 09:45:31 -08:00
Benjamin Stover
8fc0069a6b Bug 605618 Part 8: Content process map from view IDs to content elements r=cjones sr=roc 2011-01-13 09:45:14 -08:00
Olli Pettay
1682ae5176 Backout Bug 624549, a=backout 2011-01-13 11:03:25 +02:00
Olli Pettay
594bbccb52 Bug 624549, don't always do a global gc before cc, r=gal, a=approved
--HG--
extra : rebase_source : 99fe0d8e28d339ca9680d048e20356eb10f8a29d
2011-01-12 22:44:41 +02:00
Phil Ringnalda
81604c3016 Bug 623105 - Back out 350fa5d366df on suspicion of breaking regress-290575.js on 64-bit, a=bustage 2011-01-04 21:00:17 -08:00
Chris Leary
77f9d7edb6 Merge tracemonkey into mozilla-central. a=blockers 2011-01-04 13:33:39 -08:00
Alon Zakai
6f02ac1273 Bug 615940 - "Using Device Orientation events starts an immortal rapid timer" [r=azakai] a=blocking-fennec
--HG--
extra : rebase_source : 87bd154d3afb25f0cd6c8ab9114a707a61dc2078
2011-01-03 17:52:00 -08:00
Doug Turner
7836cd25be Bug 613551 - "JSGC_MAX_MALLOC_BYTES is too large on mobile" [r=jst] a=blocking-fennec
--HG--
extra : rebase_source : 45a34de9cd002ce886c8499f994e55f849f624fe
2010-12-02 14:38:00 -08:00
Neil Deakin
b33e662da2 Bug 615186, clear mouse selection and capturing state when opening a modal dialog, r=smaug,a=blocking 2011-01-12 21:00:14 -05:00
Doug Turner
6414620fa3 Bug 613551 - Follow up to rid ourselves of build warning and guard against unlikely overflow. r=jag. a=b
--HG--
extra : rebase_source : 3e3d2906bea7bba3a721bd2e6c929b3debae1b36
2011-01-12 09:35:36 -08:00
Doug Turner
8ed1d71258 Bug 623316 - Remove IndexedDB from content. noscript to the existing interface method. r=bent a=blocking-fennec
--HG--
extra : rebase_source : 61c1cb1e431a9eebfa44f361417a0b690114563f
2011-01-12 09:35:31 -08:00
Cameron McCormack
cc2415b164 Bug 620295 - Give SVGAElement objects an href property in JS r=jwatt a=roc 2010-12-22 16:30:38 +13:00
Mounir Lamouri
301df17125 Bug 618948 - Add support for element.oninput and element.oninvalid. r=smaug a=sicking 2010-12-22 19:43:50 -05:00
Blake Kaplan
feb7d2f3f6 Bug 612267 - window.__proto__ doesn't correspond to Window.prototype. r=jst a=blocking-betaN 2010-12-22 19:41:01 -05:00
Boris Zbarsky
1342c92efa Bug 616397. Make |new Image| work again in Greasemonkey scripts. r=mrbkap, a=blocker 2010-12-21 20:41:23 -05:00
Wes Johnston
ef552735b2 Bug 602580 - Return CSSViewport from innerWidth and innerHeight. r=tn, sr=dbaron, a=blocking-fennec 2010-12-21 14:35:09 -08:00
Ben Turner
8a02f568a0 Backing out worker changes, a=backout. 2010-12-21 16:44:49 -05:00
Ben Turner
d8739dcb8a Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst, a=blocking. 2010-12-21 14:28:08 -05:00
Ben Turner
173d24bc86 Bug 615153 - 'nsIWorkerFactory.newChromeWorker() throws NS_ERROR_UNEXPECTED'. r=sicking, a=blocking. 2010-12-21 14:28:05 -05:00
Ben Turner
81a511c1aa Bug 618141 - 'IndexedDB: createObjectStore and createIndex should accept an optional object argument'. r=sicking, a=blocking. 2010-12-21 11:02:01 -05:00
Vladimir Vukicevic
ea8b4ccfc1 b=586938; missing VIEWPORT property on WebGL context; r=mrbkap,a=b 2010-12-20 20:08:03 -08:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Mihai Sucan
b1290b879d Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 1; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Olli Pettay
b909b0e5ad Bug 605294 - Leak nsGlobalWindow hiding a focused iframe, r=peterv, a=blocking
--HG--
extra : rebase_source : d941791b1ed3910eb1d858018f40398a925c7e02
2010-12-17 13:48:00 -08:00
Ben Turner
6344037c8a Bug 618717 - 'IndexedDB: Fix error codes to match spec changes'. r=sicking, a=blocking. 2010-12-15 13:21:14 -08:00
Justin Lebar
76202e8f38 Bug 593174 - Set the referrer properly. It should be the principal's URI, optionally modified if a pushState or replaceState occurred. r=bz, a=blocking
--HG--
extra : rebase_source : 1f5ff1087f4d218bf6e56db7aefda271f8b50f2a
2010-12-15 08:55:13 -08:00
Vladimir Vukicevic
133b07466e b=615994; fix WebGL context DOM ClassInfo to avoid assertion; r=bz, a=b 2010-12-13 14:09:19 -08:00
Ehsan Akhgari
0ce5440550 Merge mozilla-central into cedar 2011-03-26 12:21:39 -04:00
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
David Mandelin
a4880c2f6d Bug 611652: clear values instead of scope when global window is cleared, r=brendan,enn,jeff,mrbkap,smaug
--HG--
extra : rebase_source : 77e3844d35de229817bee767256a96d030a78bf9
2011-01-21 18:37:30 -08:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Blake Kaplan
9decea4995 Bug 612267 - window.__proto__ doesn't correspond to Window.prototype. r=jst 2010-12-10 16:05:20 -08:00
Igor Bukanov
933918e6f4 Bug 614578 - Removal of nsAutoGCRoot. r=mrbkap 2010-11-26 15:11:14 +01:00
Blake Kaplan
50c50a6c60 Bug 610941 - Don't resolve prototypes for things that aren't windows. r=jst
--HG--
extra : rebase_source : c455e27b68f15789eae5e7b12d6886560338b22e
2010-12-06 14:46:49 -08:00
Blake Kaplan
ecc7bdafe4 Bug 617093 - Kill the dead XOW cache. r=jst
--HG--
extra : rebase_source : 3c31bedb7101204c636a2a082b6fb2d848d7ffc3
2010-12-06 12:10:28 -08:00
Ehsan Akhgari
8ee4854efd Bug 615781 - Don't attempt to display the caret when switching selections if we know that we're going to hide it immediately; r,a=roc
This prevents useless work which _could_ lead to visual artifacts, as well as assertions caused by us touching dirty frames,
2010-12-01 16:38:21 -05:00
Blake Kaplan
57a7d85970 bug 601803 - Support adopting a node cross-compartment. r=gal/jst, a=blocker 2010-11-15 17:21:25 -08:00
Johnny Stenback
4d5b3039cf Bug 606709. Ensure that a traced inner window's outer window gets traced too, so that the inner doesn't outlive its outer window. r=mrbkap@gmail.com, a=blocker 2010-12-02 16:55:38 -08:00
Dave Townsend
56dbcd668a Backing out changeset 5d4678e9fc37 from bug 609543 due to potentially causing bug 615736. a=backout 2010-12-01 10:52:53 -08:00
Gregor Wagner
45f84f0f1d Bug 609543 - Frequent hangs in dromaeo_sunspider during sunspider-access-nsieve.html (after sunspider-access-nbody.html); r=dmandelin a=blocking-beta9+ 2010-11-30 14:48:46 -05:00
Justin Lebar
71e63abc25 Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking 2010-11-29 11:13:12 -08:00
Ms2ger
c0da31f7bf Bug 612164 - Give DATA_CLONE_ERR the right constant; r=jst a=blocking-beta8 2010-11-26 12:43:26 +01:00
Neil Deakin
f05f0cf5c7 Bug 613748 - Keyboard inputs do not work when tab-modal alerts are open in another tab. r=smaug, a=drivers for API change 2010-11-24 17:44:46 -08:00
Steven Michaud
5639a406eb Bug 613376 - r=josh a=blocking2.0beta8+ 2010-11-23 14:45:40 -06:00
Mounir Lamouri
84ae8e5ae4 Follow-up from bug 597809. r=me a=codingstyle 2010-11-23 16:00:32 +01:00
Jonas Sicking
0b34446294 Bug 608669: Make chrome-document-global-created be properly dispatched on newly opened windows. r=jst a=blocker 2010-11-23 00:50:56 -08:00
Jonas Sicking
6948fc9a18 Bug 609030: Update createBlobURL/revokeBlobURL to it's final name. r=jst a=blocker 2010-11-23 00:50:55 -08:00
Michael Wu
bf239dd739 Bug 581596 - Create GetInputMode API, r=masayuki,roc sr=roc a=blocking-fennec 2010-11-22 22:48:45 -08:00
Igor Bukanov
b9b1577eec bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff 2011-02-03 14:06:21 +01:00
David Zbarsky
4c1bcbd9bc Bug 666968 - Remove nsIDOM3Attr r=jst 2011-06-25 09:33:32 +02:00
Rob Campbell
f39021cb67 Bug 614350 - Web console's console object colliding with content breaks sites; f=rcampbell r=gavin.sharp a=blocking2.0 2010-12-10 09:28:17 -08:00
Boris Zbarsky
4e7a985fd2 Bug 617097 part 2. Make the localeToUnicode callback take |const char*|. r=brendan a=sayrer 2010-12-09 16:25:18 -05:00
Gavin Sharp
3a7201e83a Bug 612405: use a more reliable trick to detect the console API being replaced, r=ddahl, a=dolske
--HG--
extra : rebase_source : 7c7753855472f3717a3f7e2fd5ecd5d14a736f27
2010-11-17 17:29:42 -05:00
Robert Sayre
955582f717 Merge tracemonkey to mozilla-central. a=blockers 2010-12-09 13:37:40 -05:00
Patrick McManus
725731c1fa Bug 616733: Disable websockets by default. r=peterv,jst a=beta8
Can be turned on by setting preference
network.websocket.override-security-block.  Websockets can only be used if
override-security-block and network.websocket.enabled are both set to true.

At a future time, with a more secure websocket protocol, the
override-security-block preference can be removed.

This action is based on the security concern over an HTTP cache
poisoning attack as described in
http://www.adambarth.com/experimental/websocket.pdf
2010-12-08 14:12:51 -08:00
Boris Zbarsky
bbc7eab938 Bug 617296. Window.URL should be replaceable. r=sicking, a=sicking 2010-12-08 11:16:09 -05:00
Blake Kaplan
a0557a5940 Bug 650273 - Force a frame here. r=luke
--HG--
extra : rebase_source : eba79b2d20d380c7172bb982c09523c3df180185
2011-05-02 15:47:10 -07:00
Justin Dolske
d1889c2d49 Bug 59314 - Alerts should be content-modal, not window-modal (Part 2). r=jst, feedback=gavin, a=blocking+ 2010-11-19 21:23:27 -08:00
Jonas Sicking
212d56d31f Fix build error when building with --enable-functiontimer. b=613589 r=mwu a=build bustage fix 2010-11-19 13:49:53 -08:00
Peter Van der Beken
e7ca1a1d57 Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper). r=bz, a=jst. 2010-08-28 10:04:25 +02:00
Justin Dolske
6bbb73a39b Bug 611566 - Remove Enter/LeaveModalState calls from nsGlobalWindow alert/confirm/prompt. r=jst, a=blocking+ 2010-11-17 22:44:50 -08:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Jason Orendorff
3fe395d024 Bug 608171 - Make ChromeWorkers available to JSMs. r=bent.
--HG--
extra : rebase_source : 489ea909e324e1809b00ac8a812a68c54a258313
2010-11-16 14:53:47 -06:00
Robert Sayre
f8d70b12f4 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Igor Bukanov
d34f057e79 bug 607292 - eliminating JS_GetStringBytes and friends. r=gal 2010-11-08 13:17:31 +01:00
Igor Bukanov
52ea348c4c bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
Ben Turner
fca93ac512 Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
David Anderson
7487c14d37 Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Ginn Chen
ca98d1cfde Bug 609427 extra ";" after NS_DECL_ISUPPORTS in nsContentPermissionHelper.h r=doug.turner a=doug.turner 2010-11-16 16:22:41 +08:00
Ben Turner
d0066f07ca Bug 608170 - 'ChromeWorkers should have atob, btoa'. r=jst, a=blocking+ 2010-11-15 17:39:28 -08:00
Gavin Sharp
f9eb99961a Bug 612861: don't throw when accessing random properties off window.console, r=bz, a=blocking
--HG--
extra : rebase_source : 6d1890b58c8bd9964ad9aed9d87ac570c3b0c67f
2010-11-17 15:20:20 -05:00
Vladimir Vukicevic
e8053d8870 b=612334; fix webgl context type; r=bz
--HG--
rename : dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl => dom/interfaces/canvas/nsIDOMWebGLRenderingContext.idl
2010-11-16 20:33:04 -08:00
Mounir Lamouri
fe18c4a5a8 Bug 597809 - Makes nsScriptNameSpaceManager being aware of new category entries after Init(). r=peterv a=blocking-betaN 2010-11-16 23:09:50 +01:00
Mounir Lamouri
1eb84fddaf Bug 596511 (1/3) - Add the required attribute to the select element. r=smaug a=blocking-betaN 2010-11-16 21:06:15 +01:00
David Dahl
be0ed04ab5 Bug 587734: enable the lazy console API added in bug 568629, and hook it up to the Web Console, r=gavin, a=blocking
--HG--
extra : rebase_source : 6006c9be7e1a91748d09397b0ea08a94c0f3968e
2010-11-16 16:34:53 -05:00
Ehsan Akhgari
0252114aa7 Bug 612018 followup - Remove the extra document check, r=mats a=cleanup 2010-11-16 15:45:15 -05:00
Ehsan Akhgari
9cd3e47dd3 Bug 612018 - "ASSERTION: frame must not be dirty" and non-blinking caret; r,a=roc 2010-11-16 13:55:25 -05:00
Steven Michaud
df47b58fde Bug 601182 - Spurious focus events sent to NPAPI plugins on OS X in Cocoa event mode. Patch partly by enndeakin. r=josh,smaug a=blocking2.0BetaN+ 2010-11-15 15:12:50 -06:00
Justin Dolske
ab0ee94f15 Bug 611166 - Use window's context for tracking modal state. r=mrbkap, a=me 2010-11-11 20:51:23 -08:00
David Dahl
5aced17f45 Bug 568629: add a ConsoleAPI component used to implement window.console object exposed to web content (disabled for the moment), r=gavin/dietrich, sr=jst, a=blocking
--HG--
extra : rebase_source : 9bfe8478039ee16310f9f87da87c66d778739a73
2010-11-09 15:19:19 -05:00
Johnny Stenback
7307c2f4d5 Bug 610714: Add nsIDOMGlobalPropertyInitializer, which allows "JavaScript Global Properties" to know about the window they're being attached to, r=mrbkap, a=blocking
--HG--
extra : rebase_source : c66b23c40e111102c36364f55e01359390012612
2010-11-09 18:00:01 -05:00
Robert Sayre
78fcef6d2d Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Luke Wagner
a5861fe116 Bug 603045 - JM: don't optimize away JSFRAME_HAS_RVAL check in debug mode (r=bhackett)
--HG--
extra : rebase_source : 6c975694160595fa65e0acf174b9b7f6c5997d56
2010-11-08 09:28:12 -08:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Gregor Wagner
805701a996 Bug 598650 - Increase JSGC_MAX_MALLOC_BYTES to 128MB, r=gal 2010-11-01 18:16:03 -07:00
Robert Sayre
03513401da Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden
ff603e73f4 Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Robert Sayre
19cc79ccf3 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Robert Sayre
05033a2e47 Merge m-c to tm 2010-10-28 21:26:36 -04:00
Mihai Sucan
a8cd49d408 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Blake Kaplan
1802eb481e Bug 606585 - Make the compartment map use principals properly. r=peterv/bz
--HG--
extra : rebase_source : b4585beb4aa5f9f44cb02beb3f0f91212345f1f8
2010-10-26 23:57:31 -07:00
David Mandelin
61c89f1888 Backout merge, a=backing out changeset tried for b7 blocker 2010-10-26 18:20:20 -07:00
David Mandelin
5aa436fc27 Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze. 2010-10-26 18:14:25 -07:00
David Mandelin
a4768a8a4b Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker 2010-10-25 17:28:18 -07:00
Peter Van der Beken
e1ee36142d Add testcase for bug 603531 2010-10-16 22:24:56 -07:00
Robert Sayre
7ce5faeded Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
Blake Kaplan
6c0160af2d Bug 604341 - Ensure that we're in the right compartment when we create plugin objects' wrapper JS objects. r=jst a=blocking beta 7
--HG--
extra : transplant_source : F%91%F4%D9%C2%5Etuh%A1w%8A%23%AB%84Q%CD%AD%AA%B5
2010-10-25 12:18:20 -07:00
Blake Kaplan
4a0c50347c Bug 604449 - Protect against an outer window that has already been closed. r=jst
--HG--
extra : transplant_source : d%82D1%05%CA%B9%7F%04%7C%C7%0B%A7%85%40A%13%2B%20%20
2010-10-25 12:15:04 -07:00
Blake Kaplan
442be7263a Bug 605696 - Refuse to create location objects without an outer window. r=jst
--HG--
extra : transplant_source : 4%D9%ABJ%0A%03%E5%7D%C5%F1%3C%BDV%BB%E7%E0%CC%DFh%10
2010-10-25 12:13:36 -07:00
Andreas Gal
de49671a75 Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Bill McCloskey
58582215b9 Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Igor Bukanov
8cd1bfa94d bug 604831 - fixing GC trigger factor setup. r=anygregor 2010-10-19 12:11:09 +02:00
Bill McCloskey
507ea140a2 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166 Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Blake Kaplan
60998c4cdd Fix bug 605167. r=peterv
--HG--
extra : rebase_source : 67b5ac9708e2efe22a200ab4cbcaef76b494dfa1
2010-10-18 15:21:50 -07:00
Blake Kaplan
c49eea617d Bug 604826 - Make constructors on Xray wrappers work properly again. r=peterv
--HG--
extra : rebase_source : 147c987ad8b74f4ec3e805b3602676fa92127605
2010-10-18 15:20:47 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Peter Van der Beken
51527b16fd Try to fix orange from d468bf98f7a1 (Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup.)
--HG--
extra : rebase_source : 26ed7548f57836136162e6830034d0e40bf0853b
2010-10-12 17:25:34 -07:00
Peter Van der Beken
6c0a645775 Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup. r=mrbkap. 2010-10-12 15:03:15 -07:00
Blake Kaplan
cc6236d948 Bug 603533 - We need to hold a strong reference when forwarding to the outer window. r=jst
--HG--
extra : rebase_source : e885ff63003bd52d94bb3d2bc7ea0e1c631884b6
2010-10-12 11:59:28 -07:00
Jim Blandy
713b25831a Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Andreas Gal
06b37f317b Bug 580128. Don't preserve the navigator object in cross compartment navigation. r=jst@mozilla.org 2010-10-10 15:46:01 -07:00
Blake Kaplan
7e16afee03 bug 580128 - The window is named Window, not WindowProxy. r=gal 2010-10-10 15:43:01 -07:00
Johnny Stenback
1b772138d9 Bug 580128. Resolve class names on the window's own JS object, not on the passed in object. r=peterv@propagandism.org 2010-10-10 15:42:23 -07:00
Blake Kaplan
4982e8d388 bug 580128 - Distinguish between XOW XrayWrappers and XPCNW XrayWrappers and use the new knowledge in a few places. r=gal 2010-10-10 15:42:18 -07:00
Blake Kaplan
b49f4387f9 bug 580128 - Only expose same-compartment window.wrappedJSObject to chrome callers. r=jst 2010-10-10 15:42:15 -07:00
Peter Van der Beken
6594bfed65 bug 580128 - Remove old wrappers. r=mrbkap 2010-10-10 15:41:40 -07:00
Andreas Gal
4ed857a43e bug 580128 - Try to allow "XOWs" to see named frames. 2010-10-10 15:41:30 -07:00
Andreas Gal
a9cd5a763d bug 580128 - Remove vestiges of old wrappers from nsDOMClassInfo. r=mrbkap 2010-10-10 15:41:27 -07:00
Ben Turner
db39907b38 Bug 580128. Add cross compartment JSObject clone hooks. r=jst@mozilla.org 2010-10-10 15:39:11 -07:00
Peter Van der Beken
90e114e435 Bug 580128. Call JS_ClearScope on the holder object for XrayWrappers around windows when navigating. r=mrbkap 2010-10-10 15:38:10 -07:00
Blake Kaplan
454d48e5fe bug 580128 - Bad attempt to make .wrappedJSObject on raw windows only apply to chrome. Fixed later r=nobody I hope! 2010-10-10 15:38:04 -07:00
Blake Kaplan
0b191e8ccd bug 580128 - Find the true caller through the wrappers. r=jst 2010-10-10 15:36:01 -07:00
Blake Kaplan
d5907b5ac9 bug 580128 - Enter the right compartment when calling toString. r=jst 2010-10-10 15:35:51 -07:00
Blake Kaplan
55c01b4915 Bug 604341 - Ensure that we're in the right compartment when we create plugin objects' wrapper JS objects. r=jst a=blocking beta 7
--HG--
extra : rebase_source : b768cd2a13f6d4515fd2220737677adeab023b21
2010-10-25 12:18:20 -07:00
Blake Kaplan
0fd8e3573a Bug 604449 - Protect against an outer window that has already been closed. r=jst
--HG--
extra : rebase_source : 9aa28d1ab4eff66f12806893c24930fcafad1d66
2010-10-25 12:15:04 -07:00
Blake Kaplan
4439c737ab Bug 605696 - Refuse to create location objects without an outer window. r=jst
--HG--
extra : rebase_source : 1666f3d4a81c37d6e09890651b204b466d2591bd
2010-10-25 12:13:36 -07:00
Peter Van der Beken
3dae0dceb9 Bug 580128 - Always wrap Location objects in wrappers, even for same origin. r=mrbkap/gal 2010-09-29 10:00:52 -07:00
Johnny Stenback
c9ad413f3a bug 580128 - Forward to outer in AreDialogsBlocked. r=mrbkap 2010-09-28 17:02:43 -07:00
Blake Kaplan
2d6d64441c bug 580128 - Wrap values in the array. r=jst 2010-09-27 20:40:27 -07:00
Blake Kaplan
11e65685b7 bug 580128 - Avoid using the parent chain of proxies for anything because it's often wrong. r=jst 2010-09-24 18:00:58 -07:00
Blake Kaplan
cb84d63788 bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst 2010-09-24 15:30:00 -07:00
Olli Pettay
780b1891fd Backout Bug 508518, a=dromaeo-dom-regression 2010-10-25 00:52:17 +03:00
Olli Pettay
0ac2007026 Bug 508518 - Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking-fennec
--HG--
extra : rebase_source : b486aa38fb17baacf0a5be39becd536fbec0c574
2010-10-24 21:20:53 +03:00
L. David Baron
88c9a20f8d Add test for nsStyleAnimation::ComputeDistance. (Bug 598099) r=bzbarsky a2.0=blocking-betaN 2010-10-23 16:31:55 -07:00
Blake Kaplan
964c4a31ef bug 580128 - Pass the XrayWrapper itself to scriptable helpers (and related cleanup) since the holder doesn't have enough smarts to do lookups, etc. r=gal 2010-09-23 15:56:28 -07:00
Blake Kaplan
d8815d1675 Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00
Blake Kaplan
76235d110d bug 580128 - Make sure nsDOMClassInfo uses the right compartment for objects that it defines on wrappers (both security and not). r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan
ba85ed3a91 bug 580128 - Set nsGlobalChromeWindows' principals to chrome even before they know it. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan
b594d291ff bug 603152 - Inner windows principals must remain constant. If we want to change them, change the inner window instead. r=bz 2010-09-17 14:54:41 -07:00
Blake Kaplan
8a04a08f4f bug 580128 - Make the Window constructor be defined on new windows. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
f981834205 bug 580128 - Give windows a .wrappedJSObject property to help out old consumers of XPCNativeWrappers. r=peterv 2010-09-17 14:54:40 -07:00
Chris Pearce
c22432e72c Bug 600791 - Correct DOM class info for TimeRanges class. r=jst a=blocking2.0 2010-10-13 14:01:37 +13:00
Ben Turner
758b991dab Bug 607729 - 'IndexedDB: Allow IndexedDB events to propagate, and error events to hit window.error'. r=sicking, a=blocking+ 2010-11-10 15:26:03 -08:00
Ben Turner
719ea5cedf Bug 607122 - 'IndexedDB: IDBKeyRange cleanup'. r=sicking, a=blocking+ 2010-11-10 15:26:00 -08:00
Ben Turner
52bc9dcc50 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Blake Kaplan
2c70930a60 Bug 580128 - Fix a leak caused by holding a non-cycle collectable object instead of a cycle-collectable one. r=peterv 2010-09-03 14:15:50 -07:00
Blake Kaplan
dab96e4a0d bug 580128 - Fix code that expects XPConnect to hand outer windows to C++ from JS. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
5bfbd563c6 bug 580128 - Now that we use a proxy for the outer window, nsOuterWindowSH is unused (except for PreCreate). Nuke it. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
0e7a7f5511 bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
5bc789b070 Bug 580128 - Give objects a way to inform XPConnect that they implement their own JS object in a way that does not involve wrapped natives. r=peterv 2010-09-17 14:54:40 -07:00
Olli Pettay
78182c2036 Backout Bug 508518, a=regression? 2010-10-12 12:57:32 +03:00
Olli Pettay
05b9ab5a2e Backout Bug 508518, a=regression? 2010-10-12 12:55:31 +03:00
Olli Pettay
cb6e20ac9b Bug 508518, Implement nsUITimerCallback with one-shot timer, p=romaxa+me, r=jst, a=blocking-fennec 2010-10-12 11:09:06 +03:00
Honza Bambas
36d86d4adc Bug 599479 - Accessing window.localStorage with dom.storage.enabled=false causes NS_ERROR_DOM_SECURITY_ERR, r=jst, a2.0=jst 2010-10-07 16:43:18 +02:00
Kyle Huey
7d306fa717 Bug 599966: Null check argument of window.createBlobURL to avoid crashing. r=sicking a=blocking-beta-8
--HG--
rename : content/base/test/test_bug543870.html => content/base/test/test_mozfiledataurl.html
extra : rebase_source : 43ce51487370b415340cb18de74e5bf0e718067f
2010-10-02 04:24:41 -04:00
Mike Kristoffersen
b819ceb9ae Bug 561244 - e10s: forward JS 'crypto' calls from content->chrome (Part 1/3 - Adding unique define to disable crypto object) r=jst a=blocking-fennec
--HG--
extra : rebase_source : 4ad7c331127b5fc75aebbad45a6a529aabe4f5e6
2010-09-29 18:56:46 +02:00
Andreas Gal
1649ef6d21 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Chris Jones
dfe1b316b7 Bug 596969: Allow a document's CSS viewport to be permanently overridden by chrome script. sr=dbaron a=blocking-fennec 2010-09-24 17:41:31 -05:00
Doug Turner
4725cb18fb iBug 587414 - e10s: Geolocation needs to set pref from content process. r=jst a=blocking-fennec 2010-09-20 21:16:37 -07:00
Kyle Huey
40924b6ff2 Bug 594964: Fix moz-filedata principal handling so that files can be dragged and dropped. r=sicking a=blocker 2010-09-17 21:22:44 -04:00
Juha Kotiranta
56f82f2757 Bug 581916 - Fetching mouse cursor from window trough DOM window utils API. r=Olli.Pettay a=approval2.0 2010-09-17 11:56:53 -07:00
Johnny Stenback
80fa2ae7df Fixing bug 61098. Give users a way out of inifinite modal dialog loops. Original patch by Nochum Sossonko. r=jonas@sicking.cc a=beta7+ 2010-09-16 18:24:14 -07:00
Tatiana Meshkova
21e3b6498b Bug 596743 - Need external RenderDocument API for embedding. r=roc a=approval2.0 2010-09-16 17:43:23 -07:00
Jonas Sicking
fd2c9c0694 Bug 587931: Implement document.currentScript and beforescriptexecute/afterscriptexecute events. r=mrbkap a=sicking 2010-09-16 01:48:47 -07:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Jonas Sicking
e5a72459b6 Bug 596385: Update syntax for getting an url for a File to latest spec. r=jst a=blocker 2010-09-15 15:52:49 -07:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
0a4b5217a4 Merge m-c --> cedar 2010-09-15 12:33:59 -05:00
Chris Jones
110d280286 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Doug Turner
a3714148d3 Bug 595445 - Factor out geolocation prompt into something that can be reused - Part 2 r=olli a=mfinkle
--HG--
rename : dom/src/geolocation/nsGeolocationOOP.h => dom/base/nsContentPermissionHelper.h
extra : rebase_source : c11252249778200db9d77c3937101ef349bfb847
2010-09-13 12:49:27 -07:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Mounir Lamouri
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Doug Turner
6ed1c44d56 Bug 573588 - Implement Desktop Notifications r=smaug, a=beltzner
--HG--
extra : rebase_source : 05ec761dd838e4f85a63df677c6335e456a8dfd6
2010-09-09 22:00:14 -07:00
Ben Turner
cf28451779 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin. 2010-09-09 15:15:40 -07:00
James Darpinian
f09185a36c Bug 369306 - If dom.disable_window_flip is enable, block .blur() and .focus() if opener is different from the caller. r=jst a2.0=blocking 2010-09-09 20:18:23 +02:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
L. David Baron
03dd1fff56 Fix bustage with various profiler integration options from JSNative signature change in JägerMonkey landing. (Bug 595544) r=sayrer a=bustage 2010-09-11 17:06:59 -07:00
Robert Sayre
6219a79400 [Bug 595544] Fix some JSFunctionSpec definitions in nsJSEnvironment.cpp. r=dbaron a=bustage 2010-09-11 17:24:00 -04:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Chris Jones
3d571692f4 Bug 590294, part 6: Add a window.setResolution(xres, yres) API to control the number of backing pixels allocated to scalable content. r=roc sr=dbaron 2010-09-03 15:10:46 -05:00
Chris Jones
26466ba198 Bug 590294, part 5: Add a setDisplayPort() API to allow the frontend (or whatever else) to set an arbitrary visible region for the purposes of invalidation and layer retaining. r=roc sr=dbaron 2010-09-03 15:10:46 -05:00
Chris Jones
b1006262ae Bug 590294, part 1: Add a setCSSViewport() API to allow the frontend (or whatever) to override the natural viewport inherited from widget/view. sr=dbaron 2010-09-03 15:10:45 -05:00
Chris Jones
ffaa046d5c Bug 590294, part 0: Add an nsDOMWindowUtils::GetPresShell() helper. r=smaug 2010-09-03 15:10:45 -05:00
Joe Drew
3ef9ce1660 Bug 590841 - Add the ability for a DOM window to let us know when it's accelerated, and use that value in about:support. r=gavin sr=roc a=blocking2.0:beta6+ 2010-09-03 14:01:05 -04:00
Doug Turner
59a14c27ff Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0 2010-09-02 19:02:06 -03:00
Olli Pettay
53f658e81a Bug 585240 - Can't add message handlers by setting the onmessage property, r=jwalden, a=jst
--HG--
extra : rebase_source : 1ad4cb8bbef2151b424402b589c69dd13e0c13f3
2010-09-15 19:08:56 +03:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Olli Pettay
37754ca52c Bug 585173 - Process message manager. r=dougt a=blocking-fennec 2010-08-31 11:58:35 -07:00
Jonas Sicking
58149cb308 Bug 582176: Only send content-document-global-created (and its chrome counter part) when a new window was actually created. Not when we fast-backed to one. r=jst a=blocker 2010-09-03 15:53:28 -07:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
David Mandelin
67a9ce8c76 [JAEGER] Merge from tracemonkey. 2010-08-20 11:34:59 -07:00
Robert Sayre
d598acd055 Merge mozilla-central to tracemonkey. 2010-08-20 10:04:58 -04:00
David Mandelin
a21c621577 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
Robert Sayre
43c1350df6 Merge mozilla-central to tracemonkey. 2010-08-19 11:18:37 -04:00
David Mandelin
d32d792513 [JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste. 2010-08-17 15:32:40 -07:00
David Mandelin
6f19cd8199 [JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet 2010-08-16 15:37:15 -07:00
Brian Hackett
ed4defc8b5 Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw 2010-08-15 08:44:51 -04:00
Ms2ger
a2c049c1fc Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Robert Sayre
fc8cf1e11d Merge mozilla-central to tracemonkey. 2010-08-10 15:41:49 -07:00
Blake Kaplan
df5c4b507a Bug 585224 - Move the location object to the inner window (though still parenting the JS object to the outer). r=jst 2010-08-06 17:17:33 -07:00
Blake Kaplan
c2aa4c1b09 Bug 585228 - Move forwarding code out of the inner window's resolve hook and don't give it an addProperty hook since it doesn't need it. r=jst 2010-08-06 17:15:55 -07:00
Blake Kaplan
3b8d149022 Bug 585228 - Make the outer window not have an outerObject hook and the inner window not have an innerObject hook. r=jst 2010-08-06 17:13:14 -07:00
Blake Kaplan
494a888491 Bug 585228 - The inner window doesn't need a NewEnumerate hook. r=jst 2010-08-06 17:10:22 -07:00
David Mandelin
acfc0bc281 [JAEGER] Merge from tracemonkey. 2010-08-11 11:30:10 -07:00
David Mandelin
df3e6a9e74 [JAEGER] Merge from tracemonkey. 2010-08-09 11:36:39 -07:00
David Mandelin
b3eb68b6e5 [JAEGER] Merge from tracemonkey. 2010-08-06 15:39:15 -07:00
David Mandelin
d0199725aa Merge from tracemonkey. 2010-08-05 15:57:34 -07:00
David Mandelin
d7f6c4209b Merge from Tracemonkey. 2010-08-02 15:55:29 -07:00
Matthew Gregan
ffcc5cc81a Bug 569301 - Add on* event handler property support for media events. r=smaug 2010-08-02 17:53:45 +12:00
Blake Kaplan
8ddb90ded3 Bug 574975 - Split inner/outer scriptable helpers, make the outer window not global. r=jst. 2010-08-01 17:39:35 -07:00
Chris Leary
c4e96f6d5e Bug 583868: increase heap size to avoid V8 OOM in shell. (r=anygregor) 2010-08-04 16:23:49 -07:00
Robert Sayre
d580edd975 Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Brian Birtles
6c35d0694f Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
David Mandelin
4c5a188923 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -07:00
David Mandelin
a73ecdeee1 Merge from Tracemonkey. 2010-07-28 11:16:36 -07:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Blake Kaplan
47dec9bca0 Bug 584260 - Delay creating the outer window JS object until the last possible second. r=jst 2010-07-26 18:08:26 -07:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Saint Wesonga
3f7a3cf2e5 Bug 562433 - Change location.host and location.hostname to return "" for host-less URIs instead of throwing. r=bz 2010-08-07 09:11:43 +02:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
David Mandelin
3c3566af26 [JAEGER] Merge from tracemonkey. 2010-07-23 18:47:24 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Boris Zbarsky
f6879c0a75 588174. Make it possible to pass an explicit callback function to mozRequestAnimationFrame. r=roc, sr=dbaron 2010-09-09 01:38:04 -04:00
Sean Stangl
7388a70f72 [JAEGER] Merge from TraceMonkey (which pulled m-c). 2010-07-20 22:24:39 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
David Anderson
cf5a8cf505 [JAEGER] Merge from tracemonkey. 2010-07-19 20:49:26 -07:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Ted Mielczarek
be942c946d Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures. 2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-17 09:40:00 -04:00
Dão Gottwald
9389a17efd Backed out changeset a27043cd19ff 2010-08-18 09:46:54 +02:00
Robert O'Callahan
3ea434fa14 Bug 497808. Enable dumping of cycle-collector graphs in any debug build. r=peterv,a=blocking 2010-08-12 12:03:23 +12:00
Mounir Lamouri
41b8bedd41 Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage 2010-08-17 02:08:35 +02:00
Robert Sayre
f80324a33f Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -07:00
Jim Mathies
6616b00a06 Bug 591408 - Fix for full screen regression: Only send one dom event to content. r=bz a=blocking 2010-08-28 02:33:43 +02:00
Timothy Nikkel
4d34931bba Bug 577579. Add a nsIDOMWindowUtils method to send a mouse event to the window directly instead of via the toplevel window. r=roc 2010-08-27 18:15:07 -05:00
Boris Zbarsky
f2ba1e6a29 Backed out changeset d578993db396 (bug 590422) due to possible performance regressions (especially WinXP Tscroll).
--HG--
extra : rebase_source : e6ee7060691de0b87faefcdd3f4524cf01e1c0b4
2010-08-27 14:00:41 -04:00
David Zbarsky
a65da96f73 Bug 36619 - display notification when file picker is blocked r=sicking a=blocking 2010-08-27 11:49:08 -04:00
Boris Zbarsky
de52194990 Bug 590422. Stop futzing with our timer scheduling and just schedule them. r=brendan 2010-08-27 00:25:44 -04:00
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Olli Pettay
4e972e2cd0 Bug 588929, don't throw when getting/setting visibility of *bars, r=jst, sr=mrbkap, a=blocking
--HG--
extra : rebase_source : 20b9ed1b8336b531460e221c167c7ad2e96c0e0b
2010-08-25 17:00:16 +03:00
Benoit Jacob
8277999173 Bug 585199 - Implement WebGLActiveInfo, remove NativeJSContext, adapt WebGL code to that - r=vladimir a=blocking2.0 2010-08-23 17:03:49 -04:00
Chris Pearce
b1b1746c37 Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc
--HG--
rename : content/html/content/src/nsHTMLMediaError.cpp => content/html/content/src/nsMediaError.cpp
rename : content/html/content/src/nsHTMLMediaError.h => content/html/content/src/nsMediaError.h
rename : content/html/content/src/nsHTMLTimeRanges.cpp => content/html/content/src/nsTimeRanges.cpp
rename : content/html/content/src/nsHTMLTimeRanges.h => content/html/content/src/nsTimeRanges.h
rename : dom/interfaces/html/nsIDOMHTMLMediaError.idl => dom/interfaces/html/nsIDOMMediaError.idl
rename : dom/interfaces/html/nsIDOMHTMLTimeRanges.idl => dom/interfaces/html/nsIDOMTimeRanges.idl
2010-08-25 20:43:00 +12:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner
b77253dee8 Fix browser bustage from merge 2010-07-04 19:48:36 -07:00
Luke Wagner
d119486317 Merge from TM
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
2010-07-04 14:49:39 -07:00
Luke Wagner
a190b35d3a Browser build fixes (stuff still broken) 2010-07-04 12:35:21 -07:00
Sean Stangl
bcde0f1fc6 [JAEGER] Merge with fatval. 2010-07-02 21:52:25 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Andreas Gal
38966949eb Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
David Zbarsky
b031cede9e Remove unneeded nsIDOMNSHTMLButtonElement interface by merging it into nsIDOMHTMLButtonElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
b3ebf67236 Remove unneeded nsIDOMNSHTMLAreaElement and nsIDOMNSHTMLAreaElement2 interfaces by merging them into nsIDOMHTMLAreaElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
08bd79fe55 Remove unneeded nsIDOMNSHTMLScriptElement interface by merging it into nsIDOMHTMLScriptElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
aa0b85856a Remove unneeded nsIDOMNSHTMLLabelElement interface by merging it into nsIDOMHTMLLabelElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Luke Wagner
15a253d499 Merge 2010-07-01 23:10:37 -07:00
Luke Wagner
42890c79a8 Double browser max heap size. Change shell heap size so it matches. 2010-06-30 20:02:00 -07:00
David Mandelin
df6fc2e4a4 Browser prefs for enabling methodjit 2010-06-29 16:46:10 -07:00
Luke Wagner
9d26f036a3 Remove unnecessary TODO 2010-06-29 02:10:48 -07:00
Igor Bukanov
d7aedab4b6 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Andreas Gal
4e11d941dd Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal
f8afdf22b4 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Blake Kaplan
44fa338e2b Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst 2010-07-15 15:16:29 -07:00
Andreas Gal
a148529929 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
Jonas Sicking
9e951a5914 Bug 578150: Protect against the docshell loosing its document before we've had time to notify on it. r=mrbkap 2010-07-12 14:50:07 -07:00
Robert Sayre
34b4182b78 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Neil Rashbrook
a50cec31b6 Follow up to bug 568691 - Fix some of the static windows build bustage that is due to various dependencies in layour widget and chrome. r=roc. 2010-07-08 09:01:28 -07:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Neil Deakin
fb66fae998 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Neil Deakin
cd970262b2 Bug 577316, add preference to allow form elements to be focused when clicked, r=smaug 2010-08-09 12:15:47 -04:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Craig Topper
8972b3e08e Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Chris Pearce
fb117ca2e7 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
9f2162a376 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Luke Wagner
b7955fe7b7 Browser builds 2010-06-17 23:51:54 -07:00
Blake Kaplan
69b691a498 Fix bug 584512. 2010-08-12 21:05:05 -07:00
Boris Zbarsky
456e9e5548 Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe 2010-08-11 17:05:28 -04:00
Robert O'Callahan
bae3fa4de3 Backed out changeset 66c25030a8d4 2010-08-12 11:28:49 +12:00
Boris Zbarsky
a746dcb366 Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe 2010-08-11 17:05:28 -04:00
David Mandelin
29432cfcd1 Bug 572285: remove spurious assert 2010-06-16 11:22:14 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Blake Kaplan
1a9a5c12c9 More bustage fixing. 2010-06-29 18:28:21 -07:00
Blake Kaplan
64f01ec858 Add another missing null check. 2010-06-29 14:35:23 -07:00
Blake Kaplan
4a598eb12b Restore lost null check. 2010-06-29 13:16:19 -07:00
Blake Kaplan
6442fff51c Bug 575431 - Re-marry nsGlobalWindow to JS (instead of being language-agnostic). r=jst 2010-06-29 11:46:39 -07:00
Blake Kaplan
129690a412 Bug 574517 - Separate the inner and outer windows' JS classes. r=jst 2010-06-28 16:39:00 -07:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Blake Kaplan
d50049f16f Backed out changeset 6346e45d7034. 2010-06-23 17:17:55 -05:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Igor Bukanov
2019c722fb bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Andreas Gal
69df940a4e Back out bug 580803. 2010-07-28 11:20:19 -07:00
Igor Bukanov
a69fd0a49f bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Jim Mathies
77adb219fa Bug 574778 - Disable intrinsic sizing for chrome documents when enabling fullscreen mode. r=smaug. 2010-07-19 16:47:41 -05:00
Dão Gottwald
afad16ca0b Bug 572656 - Remove the UI language from the UA string and navigator.appVersion. r=bz 2010-07-19 22:18:11 +02:00
Timothy Nikkel
eaf04d25f4 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
d512b62fb4 Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao 2010-07-17 10:11:54 +02:00
Blake Kaplan
a1651aaa59 Bug 564208 - Don't run getters while enumerating. r=jst
--HG--
extra : rebase_source : 64df2342d0946b232543ae935cdff6162a05358c
2010-06-10 14:11:09 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Luke Wagner
1bb5128ab0 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
Luke Wagner
706cc2c0e9 Firefox starts up and browses the web 2010-06-08 15:12:18 -07:00
Luke Wagner
6d5a111999 Don't re-define js_ObjectOps in xpconnect. Remove assumptions that private jsvals are ints 2010-06-08 00:01:45 -07:00
Luke Wagner
0d5dd30ea8 Firefox builds 2010-06-07 18:21:51 -07:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Blake Kaplan
62c84f09e1 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan
0130483c24 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
Shawn Wilsher
57685bdd35 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
aff7e85a3b Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
ad8dc5eaf7 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
1dd26b5f02 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher
7efa6fa6f7 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Shawn Wilsher
8f3f92a5f4 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
Geoff Lankow
cc4019ac75 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Justin Dolske
ebad4ea099 Bug 563850 - Add scriptable interfaces for EnterModalState et al. r+sr=jst 2010-07-01 14:53:00 -07:00
Kyle Huey
ccab7ad794 Backed out changeset 2335c842c06c due to test failures. 2010-07-27 11:49:33 -07:00
Doug Turner
7ca8a2dc81 Bug 561244 - Removes cryto object from e10s builds r=jst
--HG--
extra : rebase_source : 0dc950e449866e9e1dd1d75c6bbe214031e15960
2010-07-26 14:53:31 -07:00
Neil Deakin
20eab8552e Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats 2010-07-27 09:38:03 -04:00
Peter Van der Beken
54a3679793 Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Peter Van der Beken
1a344e3027 Part 5 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make ResolveName and GetDocumentAllResult return the wrapper cache. r=jst.
--HG--
extra : rebase_source : d36cf87ab26c82bba89998111f872389a1cae754
2010-05-10 18:43:20 +02:00
Peter Van der Beken
c872db9372 Part 4 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNamedItem return the wrapper cache. r=jst.
--HG--
extra : rebase_source : 584b74ed06c59bbf08c20e3a8a3b10dd7d540592
2010-05-09 21:41:19 +02:00
Peter Van der Beken
6c9db700f1 Fix for bug 564585 (Use WrapNativeParent if we can in nsNodeSH::PreCreate). r=bz.
--HG--
extra : rebase_source : 349801780c4e8ae13e61ee43dfdae32344c936db
2010-05-09 21:33:00 +02:00
Peter Van der Beken
76cf6809a4 Part 3 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNodeAt return nsIContent*. r=jst.
--HG--
extra : rebase_source : 4653ed3c0f67141bbace1b1973db4aca4b4d908d
2010-05-09 21:33:00 +02:00
Blake Kaplan
d1954b5c87 Fixing bustage. 2010-07-22 17:04:31 -07:00
Blake Kaplan
9adb7a60e7 Fix bug 576616. r=jst
--HG--
extra : rebase_source : e79fc676badbfb264e979b6f5d96edfca4ee1435
2010-07-22 16:35:58 -07:00
Blake Kaplan
97dcf454d5 Bug 579782 - Deal with a null context when closing the window. r=jst
--HG--
extra : rebase_source : d74e368d3a834fa47b6d912d35f0d9c6a0d60b7b
2010-07-21 17:17:35 -07:00
Boris Zbarsky
537c1dce54 Bug 581072. Fix the handling of long timeouts across timeout suspend/resume and add APIs to suspend/resume timeouts from trusted script. r=jst 2010-07-22 17:33:37 -04:00
Justin Lebar
445d3bb942 Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Boris Zbarsky
f804ac1643 Bug 558306 part 3. Switch DOM timeout code to TimeDuration/TimeStamp. r=jst 2010-07-15 09:59:24 -04:00