Commit Graph

433 Commits

Author SHA1 Message Date
Doug Turner
ad874bf1f0 Relanding 437948. Geolocation. Fixed memory leak. r=jst. 2008-07-10 22:48:16 -07:00
shaver@mozilla.org
b39149fe63 Build the JIT by default if we're on x86, and control enabling it for content
via javascript.options.content_jit.
2008-07-10 23:05:27 -04:00
Benjamin Smedberg
ca9347e54c Backed out changeset e5014dc700ad - appears to cause unit test failures in test_419731.js (windows) or focus issues (mac) but that could just be test wonkiness, but this appeared right after this commit and was mostly green before. 2008-07-10 09:36:24 -04:00
Doug Turner
9b03605052 bug 437948. inital implementation of gelocation. roughly following http://dev.w3.org/geo/api/spec-source.html. r+sr=jst 2008-07-09 20:43:38 -07:00
Graydon Hoare
7c4aa69e9d Bug 444023, Add JS functions to stop/start callgrind, r=sayrer 2008-07-08 15:58:08 -07:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Josh Aas
06b4d2563f Re-landing. Decomtaminate native menu system. Add new native menu API. Lots of cleanup for the native menu system code. Memory usage and speed improvements. b=433952 r=bent r=kreeger sr=roc 2008-06-28 03:55:30 -04:00
Dave Camp
f619e9fd41 Bug 422264: retrieving iterator of applicationCache throws NS_ERROR_DOM_INVALID_STATE_ERR. r+sr=jst 2008-06-27 17:22:16 -07:00
Josh Aas
ca07faa2b5 back out 433952 2008-06-27 02:52:18 -04:00
Josh Aas
db2e70c148 Decomtaminate native menu system. Add new native menu API. Lots of cleanup for the native menu system code. Memory usage and speed improvements. b=433952 r=bent r=kreeger sr=roc 2008-06-27 00:14:45 -04:00
Johnny Stenback
8d2a15b00b Fixing bug 440572. Make child frames whose names conflict with properties defined in IDL be accessable through XOWs again. r+sr=mrbkap@gmail.com 2008-06-25 17:06:38 -07:00
Robert O'Callahan
62af0d9ad8 Bug 287465. Support getSVGDocument on 'iframe' and 'object', and allow it to return on-SVG documents. r+sr=jst. acid3++ 2008-06-17 09:53:12 +12:00
Eric Butler
c0d334f20b Canvas text spec implementation (bug 436904) 2008-06-10 16:16:59 -07:00
Brendan Eich
8d66fd4c01 Fix encoder to iterate over array indices from 0 to length, instead of over enumerable property ids (437724, r=sayrer). 2008-06-06 22:30:38 -07:00
Gavin Sharp
ccc0e34518 Bug 435759: fix --enable-shark for C++ build; r=brendan 2008-06-06 16:04:12 -04:00
Jeff Walden
68d86d0b8c Bug 421765 - Implement DOM 3 replaceWholeText and wholeText. acid3++ r=smaug, sr=jst 2008-06-04 13:53:34 -04:00
Olli Pettay
f39ce610c4 Bug 435779, Crash [@ PostMessageEvent::Run()], r+sr=jst 2008-06-04 17:27:06 +03:00
Vladimir Vukicevic
6f64b4a078 b=433086, improve nsDOMWindowUtils::Redraw; r+sr=roc 2008-06-03 17:00:37 -07:00
Sudheer Kumar Peddireddy
18c18ceba1 Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron 2008-06-03 15:25:31 -07:00
gavin@gavinsharp.com
ecca1e136b Bug 431986: ApplicationCache doesn't implement EventTarget, patch by dcamp@mozilla.com, r+sr=jst, a=schrep 2008-05-08 17:10:49 -07:00
roc+@cs.cmu.edu
f4e6581a24 Bug 432466. Allow sendNativeKeyEvent to return NS_ERROR_NOT_AVAILABLE to indicate that a keyboard layout is not available. Load keyboard layouts programmatically on Windows so we can detect whether a keyboard is available. This also makes keyboard layouts usable when they're installed but not enabled, which is true for most layouts, so we can reenable the Greek keyboard tests on tinderbox. r=karlt,a=beltzner 2008-05-06 21:46:37 -07:00
bent.mozilla@gmail.com
eb31e16632 Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner. 2008-05-06 14:37:50 -07:00
roc+@cs.cmu.edu
3649ce18bb Bug 431503. Infrastructure and tests for native key event translation. r=josh,karlt,sr=jst 2008-05-05 16:01:07 -07:00
alqahira@ardisson.org
14a0d87e1d Relanding embedding bustage fix from bug 406730, since Linux orange wasn't its fault. Patch by Markus Stange <mstange@themasta.com>, r/sr=roc, a1.9=beltzner 2008-05-03 21:12:32 -07:00
alqahira@ardisson.org
6b5067c036 Back out embedding bustage fix from bug 406730 due to Linux orange (and also lack of positive response from boxset so far). 2008-05-03 20:25:10 -07:00
alqahira@ardisson.org
79cf7c20e3 Fix embedding bustage from bug 406730. Patch by Markus Stange <mstange@themasta.com>, r/sr=roc, a1.9=beltzner 2008-05-03 19:10:36 -07:00
jwalden@mit.edu
cea0828eea Bug 430251 - Update to latest HTML5 and make postMessage dispatch its event asynchronously, as well as dispatch at the window, not the document. r=jst, r=smaug, sr=sicking, a=damons, c=cookie 2008-05-02 12:26:47 -07:00
roc+@cs.cmu.edu
38e56fa13d Bug 406730. Track window activation status and set an 'active' attribute on the XUL root so we can style window contents based on activation status. Also provide active+inactive colors to Cocoa chrome drawing and use them based on 'main' state. Patch by Markus Strange, r=josh,sr=roc,a=mconnor 2008-05-02 04:32:50 -07:00
Olli.Pettay@helsinki.fi
a94491e27d Bug 430276, new XMLHttpRequest() after document.write throws an exception, patch2, r+sr=jst, a=beltzner 2008-04-29 12:22:24 -07:00
bent.mozilla@gmail.com
47fa543841 Better debug output for DOM window destruction, r+sr+a=jst, DEBUG-only changes. 2008-04-28 14:51:11 -07:00
Olli.Pettay@helsinki.fi
aa8ad34275 Bug 430276, new XMLHttpRequest() after document.write throws an exception, r+sr=jst, a=beltzner 2008-04-25 02:45:58 -07:00
jst@mozilla.org
6e4f5d38c8 Landing fix for plugin hang bug 429903. Fix hang on pages that script plugins. Patch by bent.mozilla@gmail.com, r+sr=brendan@mozilla.org/jst@mozilla.org, a=beltzner 2008-04-22 22:23:57 -07:00
Olli.Pettay@helsinki.fi
ec05b75347 backout Bug 424377, a=beltzner 2008-04-15 11:02:22 -07:00
bent.mozilla@gmail.com
869e288c42 Bug 415498 - "Some errors not displayed in Error Console when using addEventListener". Tests by Sylvain Pasche <sylvain.pasche@gmail.com>. r+sr=jst, a=beltzner. 2008-04-10 10:35:56 -07:00
reed@reedloden.com
6c97d131db Bug 425360 - "Assertion failure: !cx->throwing at jsinterp.c:6201" (Eagerly report exceptions from EvaluateScript) [p=mrbkap@gmail.com (Blake Kaplan) r+sr=jst a1.9=beltzner] 2008-04-08 23:37:25 -07:00
roc+@cs.cmu.edu
2bda41b15d Bug 424375. window.outerWidth/outerHeight should be in CSS pixels, not device pixels. r+sr=jst 2008-04-01 15:20:45 -07:00
Olli.Pettay@helsinki.fi
aca9d2e936 Bug 424377, r=jst, sr=roc 2008-04-01 03:37:28 -07:00
reed@reedloden.com
114d07dae4 Bug 424066 - "CheckSameOriginURI reports spurious error during routine internal comparison" (make NS_ScriptErrorReporter not whine about inequal origin URLs when constructing exceptions) [p=shaver@mozilla.org (Mike Shaver) sr=bzbarsky a1.9b5=beltzner] 2008-03-25 22:37:23 -07:00
Olli.Pettay@helsinki.fi
f19a9fdce7 Change one DEBUG_smaug comment to start a new qm-win2k3-01 build. 2008-03-21 06:16:08 -07:00
reed@reedloden.com
b456d95bcc Bug 424093 - "CNN Video page will not load" [p=dcamp@mozilla.com (Dave Camp) r=Enn sr=jst a1.9b5=beltzner] 2008-03-20 23:46:57 -07:00
sayrer@gmail.com
17733d219d Bug 424035. Crash [@ JS_IsArrayObject] when trying to decode a bogus JSON string. r=shaver 2008-03-20 13:34:38 -07:00
bzbarsky@mit.edu
72efc284a1 Don't leave an exception just hangin' out on the JSContext. Bug 422009, r+sr=jst, a=shaver 2008-03-19 17:42:47 -07:00
bent.mozilla@gmail.com
a71ec041e2 Bug 4126862 - "Change the 'allow scripts to move or resize existing windows' pref to a whitelist". Properly back out changes to nsGlobalWindow. 2008-03-19 14:32:20 -07:00
bent.mozilla@gmail.com
9f32555645 Bustage fix, undoing these changes until I figure out why the merge failed. 2008-03-19 13:27:34 -07:00
bent.mozilla@gmail.com
5d19b77fea Bug 4126862 - "Change the 'allow scripts to move or resize existing windows' pref to a whitelist". Backing out this patch. 2008-03-19 13:15:12 -07:00
dcamp@mozilla.com
a998ea3234 Bug 407839: restrict globalStorage to same host. r=enndeakin, sr=jst, blocking1.9=pavlov 2008-03-18 18:27:35 -07:00
Olli.Pettay@helsinki.fi
160640b979 Bug 329385, r+sr=jst 2008-03-18 17:06:22 -07:00
jst@mozilla.org
2bce74f6bd Fixing bug 418776. Don't resolve standard classes on non-global objects. r+sr=mrbkap@gmail.com 2008-03-18 13:42:19 -07:00
dtownsend@oxymoronical.com
2f48918fdb Bug 419582: Unblocklisted plugin should be set to enable on startup. r+sr=jst 2008-03-18 03:38:15 -07:00
jst@mozilla.org
032c34a20c Fixing bug 420603. Don't run scripts while wrapping DOM objects. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2008-03-17 14:19:25 -07:00
dbaron@dbaron.org
e9c42de438 Make nsJSONWriter::Write not crash when given buffer greater than 1024 characters. b=423152 r=sayrer a=beltzner 2008-03-17 11:58:38 -07:00
igor@mir2.org
8e2eeba5aa bug=421274 r=brendan a=beltzner Eliminating SAVE_SP_AND_PC() macro 2008-03-17 01:58:28 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
jst@mozilla.org
0cbe6b969b Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc 2008-03-14 14:31:24 -07:00
igor@mir2.org
9e25b95889 bug 421274: backing out again due to crashes on 64 bit Linux. 2008-03-13 11:03:02 -07:00
igor@mir2.org
8205bdd921 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 23:48:23 -07:00
igor@mir2.org
d75b521da0 backing out bug 421274 2008-03-12 23:23:09 -07:00
igor@mir2.org
e8279e4617 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 22:52:52 -07:00
roc+@cs.cmu.edu
f081a45d74 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon 2008-03-11 17:59:15 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
reed@reedloden.com
fc3bdaf3e0 Bug 417994 - "navigator object does not fully reflect user agent settings" [p=gfleischer+bugzilla@gmail.com (Gregory Fleischer) r+sr=jst a1.9=beltzner] 2008-03-08 03:19:22 -08:00
mrbkap@gmail.com
1e3cd43588 Fix compile warnings. No bug, debug only, r+rs=jst 2008-03-06 15:00:01 -08:00
mrbkap@gmail.com
24f718d4ac Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst 2008-03-06 14:52:58 -08:00
jst@mozilla.org
e5b719bbc6 Fixing bug 396443. Make SVG documents act like all our other documents wrt enumeration hooks. r+sr=mrbkap@gmail.com 2008-03-06 12:20:42 -08:00
jst@mozilla.org
a4a2644b3b Fixing bug 420858. Don't define fast expandos when binding names in JS. r+sr=brendan@mozilla.org 2008-03-04 20:43:57 -08:00
brendan@mozilla.org
50b405b149 More un-nesting #include fallout (r=mrbkap, bustage fix). 2008-03-04 16:44:30 -08:00
jst@mozilla.org
999b99b5ba Fixing bug 419093. Make access to undeclared global properties fast too! r+sr=brendan@mozilla.org 2008-03-03 17:52:34 -08:00
jst@mozilla.org
75c29b117f Fixing bug 413200. Make sure script termination functions run when XPConnect is done executing script on a context and there's no other script running on that context. r+sr=mrbkap@gmail.com 2008-03-03 17:44:16 -08:00
mrbkap@gmail.com
59987175f2 Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner 2008-02-29 16:17:38 -08:00
bent.mozilla@gmail.com
872fe28df5 Bug 419655 - "Refreshing a page leaks an nsGlobalWindow until shutdown". r=peterv, sr=jst, a1.9b4+=schrep. 2008-02-28 18:05:57 -08:00
peterv@propagandism.org
d17050a582 Fix for bug 391209 (cycle collector crash with python objects). r/sr=jst, a=beltzner. 2008-02-28 05:12:43 -08:00
jwalden@mit.edu
5809da44ed Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner 2008-02-26 19:48:54 -08:00
reed@reedloden.com
d9ce9a6557 Bug 417617 - [p=Olli.Pettay@gmail.com (Smaug) r+sr=jst a=blocking1.9+] 2008-02-26 18:03:27 -08:00
reed@reedloden.com
ce8dfb0807 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+] 2008-02-26 17:01:01 -08:00
dcamp@mozilla.com
9503bf9c88 Bug 397417: monitor disk usage of offline apps in the UI. r=enndeakin (nsDOMStorage change), r/sr=mconnor, ui-r/blocking-firefox3=beltzner 2008-02-26 13:13:17 -08:00
Olli.Pettay@helsinki.fi
5bf8e82603 Bug 415025, try to improve CC scheduling, r=peterv, sr=jst 2008-02-25 09:47:25 -08:00
reed@reedloden.com
7b58057fad Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan] 2008-02-25 00:59:20 -08:00
Olli.Pettay@helsinki.fi
5ad351df5f Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking 2008-02-24 02:55:37 -08:00
jst@mozilla.org
c16eed1294 Fixing bug 417852. Push the context we're using to clear scopes on to make code down the road find the right context. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu 2008-02-21 15:51:02 -08:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
gavin@gavinsharp.com
3106b6c27f Back out bug 418069 because it causes a crash on startup for Camino 2008-02-20 18:06:26 -08:00
crowder@fiverocks.com
d7bbfe4d1d Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan 2008-02-20 15:28:18 -08:00
sayrer@gmail.com
f825656cf9 Bug 417052. Adjust JS_GC heuristic. Patch by Igor Bukanov <igor@mir2.org>. r/a=brendan 2008-02-19 17:20:24 -08:00
jst@mozilla.org
38e5f686a8 Landing fix for bug 410010. Make exceptions thrown during even handling always get reported once the event handler has run. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-19 14:38:34 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
56ab47f9a6 Bug 416782. Rename isLocallyAvailable to mozIsLocallyAvailable because it's not part of any spec (yet). r+sr=jst 2008-02-17 13:26:29 -08:00
jst@mozilla.org
6dd4818b8e Backing out fixes for bug 416931 due to the JS property tree blowing up in size due to this change. 2008-02-16 20:07:51 -08:00
jruderman@hmc.edu
1482a70818 Make gSerialCounter defined only ifdef DEBUG to silence a warning. Followup to bug 416939. 2008-02-16 14:15:32 -08:00
bzbarsky@mit.edu
a183f5e853 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan 2008-02-15 21:13:16 -08:00
jst@mozilla.org
37ff495f8f Landing for bug 417387, followup fixes for bug 416931. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org. 2008-02-15 13:54:49 -08:00
jst@mozilla.org
ed02abd8ee Fixing bug 417266. Don't call IsEventName() with non-string jsvals. r+sr=jonas@sicking.cc 2008-02-13 22:11:36 -08:00
bent.mozilla@gmail.com
566b83da67 Bug 416939 - "Broadcast the destruction of DOM windows". r+sr=jst, a=blocking1.9+. 2008-02-13 15:41:17 -08:00
bent.mozilla@gmail.com
e8fd2462e4 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. Relanding. 2008-02-12 20:17:18 -08:00
jst@mozilla.org
0cf2ecbcde Fixing bug 416931. Make accessing script defined global properties faster. r+sr=shaver@mozilla.org 2008-02-12 19:55:18 -08:00
jst@mozilla.org
f45b87199e Landing fix for bug 414749. Make nsJSUtils::GetCallingLocation deal better with null principals. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-12 19:52:43 -08:00
bent.mozilla@gmail.com
9b3b4ac605 Bug 413447, backing out to see if unit tests pass. 2008-02-12 12:53:03 -08:00
benjamin@smedbergs.us
5e262ed60c Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking 2008-02-12 11:46:26 -08:00
bent.mozilla@gmail.com
9f859d2cda Bug 413447, SunOS bustage fix? 2008-02-12 11:34:22 -08:00
bent.mozilla@gmail.com
e7ca4e39a1 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. 2008-02-12 09:48:26 -08:00