Commit Graph

1042 Commits

Author SHA1 Message Date
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
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
Benoit Jacob
7d7c017074 Bug 632587 - 2/3 - add isContextLost - r=jrmuizel, a=blocking2.0 2011-03-01 17:25:22 -05:00
Andreas Gal
1f97a78ca8 Avoid excessive GCs after CC (bug 637206, patch/r=smaug/gal).
--HG--
extra : rebase_source : 722c9e033fcb7a839b0464199a996729cf7f1ca8
2011-02-28 14:44:22 -08:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Mounir Lamouri
5009398c09 Bug 637019 - Select element should fallback to ElementSH resolve hook. r=bzbarsky, a=blocker 2011-02-27 14:37:57 +01:00
Blake Kaplan
bff040d432 Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker 2011-02-24 19:36:33 +01:00
Mounir Lamouri
61a2c6dde9 Bug 633133 - Resolve ids and names in HTMLCollections. r=jst, a=blocker 2011-02-24 19:27:26 +01:00
bent.mozilla@gmail.com
5e450f9830 Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker 2011-02-23 00:08:36 -08:00
Robert Sayre
8b068c79c2 Merge tracemonkey to mozilla-central. a=blockers. CLOSED TREE 2011-02-22 13:02:50 -08:00
dolske@mozilla.com
d415f8bcc7 Bug 632833 - Crash [@ nsGlobalWindow::LeaveModalState(nsIDOMWindow*) ], r=smaug, a=jst 2011-02-22 11:56:17 +02:00
Olli Pettay
8324199a32 Bug 635251 - Don't call GC or CC unexpectedly during shutdown, r=gal, a=gal 2011-02-20 22:56:16 +02:00
Mike Shaver
85c4348adc Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange 2011-02-19 20:46:44 -08:00
Olli Pettay
230f55841b Bug 635227 - crash [@ nsJSContext::CycleCollectNow], r=gal, a=hb 2011-02-19 14:27:56 +02:00
Jeff Walden
414ac259f6 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
--HG--
extra : rebase_source : a2f6a11ac3bcc7925cbf122057b694a0aafac970
2011-02-08 17:20:06 -08:00
Jonas Sicking
b816bf46cf Bug 634435: Add a property to expose the current pushState-state. r=jlebar a=beltzner 2011-02-17 12:44:04 -08:00
Ms2ger
05541dbe31 Bug 615501 - Followup to fix assertion; r+a=sicking 2011-02-17 14:39:53 -05: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
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