Commit Graph

460 Commits

Author SHA1 Message Date
Benjamin Smedberg
73948e4e37 Bug 446132 - Allocate nsJSONWriter on the stack, r=sayrer sr=jst 2008-08-11 15:06:27 -04:00
Boris Zbarsky
baa891763c Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-11 09:38:43 +01:00
Zack Weinberg
8b64ed0aa9 Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-10 22:13:49 +01:00
Dave Townsend
3af4f7166c Backed out changeset eb6fda3be5bb 2008-08-10 17:15:00 +01:00
Brendan Eich
655c12d163 Pass null instead of &val is no result is wanted by EvaluateString's caller. 2008-07-27 00:17:12 +01:00
Doug Turner
c9fd7dd0d7 geolocation passes location before users accepts prompt. b=448557. r=me 2008-08-01 14:09:34 -07:00
Ere Maijala
7b1baebe99 Patch for bug 112294: calling an alert box from window.onblur triggers the event multiple times
r=smaug
sr=roc
2008-08-01 10:32:32 -07:00
Graydon Hoare
78450de1f0 Bug 444845, js hooks to control vtune, r=sayrer 2008-07-29 15:19:26 -07:00
Ben Newman
864cbb4b30 Bug 437361. Propagate exceptions from showModalDialog's guts to script as needed instead of dropping them on the floor. r+sr=bzbarsky 2008-07-28 22:52:53 -07:00
Josh Aas
7e8ea31811 Improve support for DOM manipulation handling in native menu system, add tests. Re-landing with regression fixes. b=442972 r=kreeger sr=roc 2008-07-28 00:46:33 -04:00
L. David Baron
4eda4573f0 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
Robert O'Callahan
7a5ee5e507 Back out bug 378028 due to mochitest failures. 2008-07-25 18:09:33 +12:00
Robert O'Callahan
1b2c076b05 Back out bug 442972 to fix DOM Inspector (bug 447042). 2008-07-25 16:32:41 +12:00
Robert O'Callahan
52086cd743 Bug 378028. Add an 'axis' field to DOMMouseScroll events so that we can distinguish horizontal from vertical scrolling, and use it in trees and listboxes. r=smaug,sr=sicking 2008-07-25 16:07:43 +12:00
shaver@mozilla.org
8a97552a28 merge (mostly, doesn't build) 2008-07-22 23:58:43 -04:00
Boris Zbarsky
4c507815b8 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Johnny Stenback
bd639e9ac3 Landing fix for bug 132824. Implement NodeIterator object of Traversal API. Patch by craig.topper@gmail.com, r+sr=jonas@sicking.cc 2008-07-21 17:35:38 -07:00
Jason Orendorff
ca32aebffa Bug 440779 - JS_NewDouble oddness in nsJSEnvironment.cpp (r+sr=jst) 2008-07-21 15:16:47 -05:00
Josh Aas
cb75d58ea5 improve support for DOM manipulations in native menu system, add tests. b=442972 r=kreeger sr=roc 2008-07-21 00:33:38 -04:00
Olli Pettay
668332d867 Bug 435656, Make nsCxPusher::Push to handle all kinds of nsPIDOMEventTargets, r+sr=jst 2008-07-19 18:11:37 +03:00
Benjamin Smedberg
906cb69db1 Bug 445570 - Heap-allocated autostrings in DOM/content, r+sr=jst 2008-07-17 11:05:20 -04:00
Doug Turner
9203b7a577 Fix maemo platform geolocation bustage 2008-07-15 18:33:04 -07:00
Doug Turner
a80ad2cbd6 Inital geolocation implementation. bug=437948, r/sr=jst 2008-07-15 16:37:48 -07:00
Doug Turner
d78266a72c Backed out changeset 27942c109154
unit test seg fault at shutdown.
2008-07-11 22:25:02 -07:00
Doug Turner
2005d15cc0 Initial implementation of Gelocation. Bug 437948. Relanded after fixing memory leaks 2008-07-11 18:35:03 -07:00
Johnny Stenback
93ab034a20 Landing last part of the fix for bug 435334. Make our #ifdef OJI code really be just that, rather than tell us whether Java is available or not. r=joshmoz@gmail.com, sr=jonas@sicking.cc 2008-07-11 14:28:12 -07:00
Doug Turner
83738d2763 it seems we are leaking on the RLk test.
Backed out changeset ebfc2ad982f4
2008-07-10 23:38:35 -07:00
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