Commit Graph

254 Commits

Author SHA1 Message Date
jst@mozilla.org
dfcd678a2b Landing fix for bug 397571. Only expose known safe functions to untrusted script in nsIDOMWindowUtils. Patch by suryaismail@gmail.com, r+sr+a=jst@mozilla.org 2007-10-10 14:03:12 -07:00
jst@mozilla.org
2f5c99810e Fixing bug 393928. Lazily initialize liveconnect, and only initialize it when we can't find a Java plugin that supports NPRuntime. When a Java plugin that supports NPRuntime is found, use NPRuntime to expose liveconnect functionality (i.e. window.java and window.Packages). r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu, a=jonas@sicking.cc 2007-10-09 18:24:28 -07:00
sayrer@gmail.com
8e223c178f Bug 397601. DOM storage leaks on performance graph server pages. r=enndeakin, sr=jst, a=sicking 2007-10-09 18:07:36 -07:00
mrbkap@gmail.com
bedc10550f Deal with sites setting our proto's __proto__ to null. bug 398933, r+sr+a=jst 2007-10-09 15:50:49 -07:00
dcamp@mozilla.com
2788e8d9d2 let chrome check globalStorage usage for a domain. b=396249, r=enndeakin, sr=jst, a=jst 2007-10-03 23:05:32 -07:00
Olli.Pettay@helsinki.fi
a6b454f086 Bug 388558, 'change' event isn't dispatched if user selects input field value from the autocomplete list, r=jst, sr=sicking, a=mconnor 2007-10-02 09:56:07 -07:00
Olli.Pettay@helsinki.fi
2fb8ea7b56 back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
a6aedd78ae Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
bzbarsky@mit.edu
fa9ec1b622 Fix a few scriptable helpers to correctly communicate NS_SUCCESS_I_DID_SOMETHING. Bug 396843, r+sr+a=jst 2007-09-28 07:28:16 -07:00
bzbarsky@mit.edu
b25b785ddc Relanding bug 372769 with some cycle collection changes to fix leaks. r=mrbkap, sr=sicking, with r=sicking on the leak fixes. 2007-09-28 06:45:01 -07:00
bzbarsky@mit.edu
5ae0b67801 Backing out bug 372769 due to leaks. 2007-09-26 07:39:31 -07:00
bzbarsky@mit.edu
ee86dfedb4 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 06:55:06 -07:00
Olli.Pettay@helsinki.fi
f9c785fb8b backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
1d42d7ad32 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
Olli.Pettay@helsinki.fi
4828fb7a4d Bug 396652, gecko scrolls on activate event (mouse click) with gtk embeds, r+sr+a=roc, p=iainnicol-mozbugs2007@yahoo.co.uk+me 2007-09-22 08:57:03 -07:00
Olli.Pettay@helsinki.fi
3d3dee855b backout patch for Bug 373462, Bug 385322 2007-09-21 03:00:47 -07:00
Olli.Pettay@helsinki.fi
08d334c65d Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking 2007-09-21 01:54:36 -07:00
bzbarsky@mit.edu
3d72bc9b42 Adding test. 2007-09-20 20:39:37 -07:00
sayrer@gmail.com
8bcd5fb9f2 Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan 2007-09-18 17:26:39 -07:00
Olli.Pettay@helsinki.fi
ae89765af6 Bug 395426, Contextmenu opened using keyboard should have .button == 0, r=enndeakin,sr+a=jst 2007-09-18 00:25:49 -07:00
brendan@mozilla.org
19b6fcc0f0 Back-out due to test failure. 2007-09-17 18:22:20 -07:00
brendan@mozilla.org
2260fcfe2e Make GCF_SYSTEM immutable per object (396487, r=igor). 2007-09-17 17:47:42 -07:00
dbaron@dbaron.org
9ecd521da1 Add shouldBeFreed calls for nsJSContext. b=394566 r+sr=peterv a=bzbarsky 2007-09-17 17:30:58 -07:00
mrbkap@gmail.com
eaabef106d Set the script's filename correctly and don't treat the lack of a filename as a failure. bug 391470, r+sr=bzbarsky 2007-09-15 09:51:12 -07:00
jst@mozilla.org
1db047424e Fixing bug 393900. Make windows opened with showModalDialog() obey window feature prefs. r+sr=jonas@sicking.cc, a=dsicore@mozilla.com 2007-09-07 13:30:15 -07:00
tor@cs.brown.edu
bad0c551e3 Bug 320622 - removeAttribute doesn't effect some underlying DOM properties. r+sr+a=roc 2007-09-05 16:07:34 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
dcamp@mozilla.com
791d1813f7 block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky 2007-08-31 16:18:46 -07:00
jwalden@mit.edu
d610945e9f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
jst@mozilla.org
ab77ec8567 Fixing thunderbird bustage. 2007-08-28 18:30:04 -07:00
jst@mozilla.org
f967dad17e Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at 2007-08-28 17:28:32 -07:00
jwalden@mit.edu
79066f5a93 Bug 393974 - Tree walkers leak with a non-null filter. r=smaug, sr=sicking, a=blocking1.9 2007-08-28 16:42:41 -07:00
tor@cs.brown.edu
085f1967a7 Bug 392928 - new style nsSVGEnum. r=longsonr, sr=roc, a=roc 2007-08-27 16:11:14 -07:00
philringnalda@gmail.com
bec07479a7 Bug 393713 - Landing bug 393300 broke building without MOZ_STORAGE, patch by romaxa <romaxa@gmail.com>, r+sr+a1.9=jst 2007-08-26 17:13:54 -07:00
mrbkap@gmail.com
1947edab7c Be consistent as to when we forward to the inner window. bug 393669, r+sr=jst 2007-08-25 13:11:34 -07:00
cbarrett@mozilla.com
75990c3f1f Bug 393117 - Remove native resize API. r=josh r=mconnor sr+a1.9=pav 2007-08-24 18:55:28 -07:00
sayrer@gmail.com
2c8e395988 Bug 393300. DOMStorage leaks mozStorage classes on shutdown. r+sr+a=jst 2007-08-23 15:37:05 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
igor@mir2.org
35b27bae9a Bug 386265: missing commit to fix compilation. 2007-08-11 13:40:43 -07:00
smontagu@smontagu.org
30e73a1db8 Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst 2007-08-11 11:37:16 -07:00
enndeakin@sympatico.ca
bc948c49b0 Bug 389083, domstorage tests not outputing results, r=sayrer 2007-08-10 14:44:28 -07:00
jst@mozilla.org
c996f32b61 Fixing orange due to fix for bug 390275. 2007-08-09 16:53:23 -07:00
jst@mozilla.org
73674fd85b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
jst@mozilla.org
64193de21c Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu 2007-08-09 15:19:59 -07:00
jst@mozilla.org
93dead394b Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc 2007-08-09 15:03:01 -07:00
sayrer@gmail.com
88b28837d6 Bug 375543. Add better diagnostics to failures. Patch by John Resig. r=sayrer 2007-08-08 22:48:58 -07:00
jst@mozilla.org
1592d59c6c Backing out tests to fix orange. 2007-08-06 17:30:30 -07:00
jst@mozilla.org
6c211e48e4 Landing tests for bug 280959. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com 2007-08-06 16:11:52 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
9599540800 Bug 347480, Potentially incorrect script context used for event handlers, r+sr=jst, a=brendan 2007-08-05 06:23:03 -07:00
mrbkap@gmail.com
d407d9b035 The outerObject hook needs to wrap the outer object in an XOW, to match every other place. bug 390116, r+sr=jst 2007-08-02 16:34:38 -07:00
jst@mozilla.org
22d117a70f Fixing bug 389856. Fix dialog argument handling. r=mrbkap@gmail.com, sr=jonas@sicking.cc 2007-08-01 15:38:44 -07:00
dcamp@mozilla.com
2223d6fa5f disable some offline tests with problems, b=390494, r=vlad, a=damons 2007-08-01 11:46:32 -07:00
mrbkap@gmail.com
56b8a3d9f3 Fix assertion and incorrect '!' that could cause us to create cross-origin wrappers in the wrong scope. bug 389796, r+sr=jst 2007-07-30 14:47:03 -07:00
jwalden@mit.edu
b6ec5fdf20 Bug 389988 - showModalDialog should not throw when blocked by the popup blocker (should return null instead). r+sr=jst, a=mconnor over IRC 2007-07-29 21:59:17 -07:00
cbiesinger@gmx.at
4afa23fd6d 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc
2007-07-26 19:40:45 -07:00
tor@cs.brown.edu
5ae1a82c12 Bug 373572 - Implement feTile filter.
Patch by longsonr@gmail.com, r=tor, sr=roc, a=schrep
2007-07-26 17:50:45 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
mrbkap@gmail.com
2ccd5c8afc Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan 2007-07-26 12:18:06 -07:00
jst@mozilla.org
895b24daf7 Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc 2007-07-26 10:52:26 -07:00
tor@cs.brown.edu
57371777f8 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
jst@mozilla.org
dadc7c619b Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
dmose@mozilla.org
d73aa4ab8c Relanding mrbkap's patch for bug 369259 since backing it out didn't fix our perf test woes 2007-07-25 17:54:41 -07:00
jonas@sicking.cc
18a76cc5a2 Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst 2007-07-25 17:36:19 -07:00
dmose@mozilla.org
92a8613d45 Backing out patch for bug 369259 in the hopes that it will cure the perftest orange 2007-07-25 15:55:09 -07:00
mrbkap@gmail.com
66cc6ede79 Propagate getters, setters and attributes when forwarding addproperty to the inner window. bug 369259, r=jst sr=brendan 2007-07-25 13:21:26 -07:00
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
dcamp@mozilla.com
0b135acaad fix bustage from bug 389223 2007-07-24 23:55:27 -07:00
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
dcamp@mozilla.com
67423b50ef Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
bzbarsky@mit.edu
6b99198f47 Cancelling the loadgroup after we've run JS but before we've started pumping
data should still work.  Bug 389151, r+sr=biesi
2007-07-24 17:08:58 -07:00
bzbarsky@mit.edu
dc8de3f8f7 Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
asqueella@gmail.com
db8200d8fb Bug 388645 - String changes for malware warning
p=Johnathan Nightingale <johnath@mozilla.com>
r=biesi, ok=beltzner
2007-07-23 18:56:47 -07:00
asqueella@gmail.com
650ecd19c3 Bug 383417 - nsIDOMOfflineResourceList is in SDK_XPIDLSRCS, should be in XPIDLSRCS
p=Dave Camp <dcamp@mozilla.com>
r+sr=biesi
2007-07-23 18:49:54 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
bzbarsky@mit.edu
a6530cf834 Actually return a failure rv on failure. Bug 388115, r=jst, sr=brendan 2007-07-20 20:22:24 -07:00
roc+@cs.cmu.edu
66a57bb5ca Bug 338070. Rev nsISidebar UUID. r+sr=dbaron 2007-07-18 21:27:49 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
peterv@propagandism.org
98f744f6e4 Fix for bug 386189 (Cursor navigation by keyboard (arrow keys) does not work on designMode (including composer)). r/sr=jst 2007-07-18 03:24:37 -07:00
mrbkap@gmail.com
243fcf04c8 Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst 2007-07-17 13:12:21 -07:00
bzbarsky@mit.edu
b9ed3a0a0f Adding test. 2007-07-16 10:41:29 -07:00
jwalden@mit.edu
c1fc2bbd75 I think I figured out the problem with bug 384192; the code added to quit.js is also used in the browser tests, but it triggers an undefined-variable exception there, and I think the tests are getting killed by test timeout code that doesn't print a helpful 'tests timed out' message to give a little help determining the cause of the failure. We shall see... 2007-07-12 20:38:31 -07:00
jwalden@mit.edu
80614fd3e7 Fix line endings. 2007-07-12 17:17:38 -07:00
enndeakin@sympatico.ca
f1b527c30a Bug 323805, tab switching not working when for non-html and non-xul elements are focused, r=neil,sr=bz 2007-07-12 15:57:17 -07:00
jwalden@mit.edu
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
76bb7db098 Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee 2007-07-11 22:38:47 -07:00
jst@mozilla.org
ca6f124d7a Landing fix for bug 387478. NS_ScriptErrorReporter() no longer needs to check for a null report. Patch by sciguyryan@gmail.com, r+sr=jst@mozilla.org 2007-07-11 17:04:11 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
mozilla.mano@sent.com
603344be95 Bug 385872 - Strict warnings should only be enabled for chrome by default (in debug builds). r=jst, sr=brendan. 2007-07-10 01:05:54 -07:00
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
jst@mozilla.org
1619a2d5a9 Fixing tinderbox orange. r=mrbkap@gmail.com 2007-07-09 17:24:26 -07:00
jst@mozilla.org
ea9c87df34 Fixing bug 363897. Don't give error location information to script that don't have access to the location. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2007-07-09 15:07:07 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
dcamp@mozilla.com
41ad48abf4 implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
dcfbe5119a Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst 2007-07-06 06:47:50 -07:00
kairo@kairo.at
951e15cd50 backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers 2007-07-06 06:13:46 -07:00
Olli.Pettay@helsinki.fi
c5dc887fc8 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 04:49:53 -07:00
sdwilsh@shawnwilsher.com
6697f407b6 Bug 374334 - Uncaught exception with cloneNode method and frameset element. Patch by Alex Vincent <ajvincent@gmail.com>. r=jst,sr=jst 2007-07-05 18:38:54 -07:00