Граф коммитов

221 Коммитов

Автор SHA1 Сообщение Дата
jwatt@jwatt.org 8c03434cbd Bug 369418. Prevent script from injecting floating point infinity or NaN values into C++ land through DOM interfaces. r+sr=roc@ocallahan.org, a=blocking1.9 2008-04-08 04:47:57 -07:00
jst@mozilla.org a4d3a2e2e3 Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
jonas@sicking.cc c078e73997 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
jonas@sicking.cc 0c80ff16bc Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc 4216df2295 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
bent.mozilla@gmail.com 827ac24e1e Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 12:14:33 -08:00
reed@reedloden.com 35efe4819f Bug 417617 - [p=Olli.Pettay@gmail.com (Smaug) r+sr=jst a=blocking1.9+] 2008-02-26 18:03:27 -08:00
Olli.Pettay@helsinki.fi 652c1e007c Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
Olli.Pettay@helsinki.fi 55b7651538 Bug 409380, support 'unconnected' ranges , r+sr+a=sicking 2008-02-24 04:46:09 -08:00
dolske@mozilla.com 68bdd59ba6 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dolske@mozilla.com 094a37ac2f Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
enndeakin@sympatico.ca 217d643ed4 Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
mozilla.mano@sent.com 8aedbc4f64 Backing out 406686 again 2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com 623f3f1f0b Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com 7341621336 Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca 597b67b80a Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
dcamp@mozilla.com ceb97859bb Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -08:00
sayrer@gmail.com 6977f174a3 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:45:03 -08:00
reed@reedloden.com 66f2bb691a Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=damons] 2007-12-17 21:41:56 -08:00
reed@reedloden.com 27a55e7707 Back out patch from bug 406047, as it is causing orange on Linux and Tp regression on Mac. 2007-12-14 00:55:08 -08:00
reed@reedloden.com 71fe589716 Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=stuart] 2007-12-13 23:20:32 -08:00
masayuki@d-toybox.com b66ba0396a Bug 403484 The ellipsis for UI should be localizable r=roc+mconnor, sr=roc 2007-11-19 02:17:17 -08:00
ginn.chen@sun.com 985095d353 bug 396869 [linux]switch menu causes a spurious mouseout event to mouse over widget r+sr+a=roc 2007-11-16 00:21:44 -08:00
masayuki@d-toybox.com d29b03e748 b=403484 backing-out the previous patch, caused by testing failure. 2007-11-15 03:02:47 -08:00
masayuki@d-toybox.com 01c4705bf5 Bug 403484 The ellipsis for UI should be localizable r=roc+mconnor, sr=roc, blocking1.9=mtschrep 2007-11-15 02:43:16 -08:00
bzbarsky@mit.edu a92adda3f5 Fix privacy leak where script could get the path to the file selected in a file input. Bug 143220, r+sr=sicking, a=schrep. 2007-11-14 22:16:06 -08:00
roc+@cs.cmu.edu 909f85c005 Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu 2007-11-11 17:51:31 -08:00
cbarrett@mozilla.com 6be75cf327 Attempting to kickstart tinderbox. Again. 2007-10-30 00:19:42 -07:00
peterv@propagandism.org 2e01f470e6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org 8aff563c48 Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org abb09e26b6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
bzbarsky@mit.edu 6e394cb9a3 Fix bug 399185 -- Make image request URIs immutable so that we don't have to clone them later. r=jst, sr=biesi, a=vlad 2007-10-26 12:54:41 -07:00
peterv@propagandism.org a84948aa32 Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org 3a33ff3fcf Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
bzbarsky@mit.edu f22ec2a519 Fix bug 345609. r+sr+a=roc 2007-10-12 11:37:51 -07:00
Olli.Pettay@helsinki.fi 0fd7a1c518 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
longsonr@gmail.com 43a7c5805c Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas 2007-07-13 01:49:07 -07:00
peterv@propagandism.org f7ff5666a6 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
neil@parkwaycc.co.uk 10de8387c8 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
jwalden@mit.edu 6d7584839a 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 bdca2685a3 Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
bzbarsky@mit.edu 31793a2838 Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
roc+@cs.cmu.edu f0d093fb48 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
dbaron@dbaron.org 7a505fc44a Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
jonas@sicking.cc 66651c69a1 Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
peterv@propagandism.org 5acbaf5478 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
peterv@propagandism.org 01725954b0 Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
masayuki@d-toybox.com ce5fb69d8c Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
masayuki@d-toybox.com ad3d268bbe Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
enndeakin@sympatico.ca 7bf55f72a1 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
peterv%propagandism.org e5d3f5db52 Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst. 2007-03-19 09:19:16 +00:00
jruderman%hmc.edu 856b7c03be Bug 373464, Shutdown crash [@ nsContentUtils::DropScriptObject]. r+sr=peterv. 2007-03-11 10:46:06 +00:00
peterv%propagandism.org 3d6360dc54 Fix for bug 370265 (nsDOMScriptObjectHolder/NS_DropScriptObject tries to get service while shutting down). r/sr=jst. 2007-03-02 13:34:14 +00:00
asqueella%gmail.com 284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
Olli.Pettay%helsinki.fi 805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
sayrer%gmail.com a04f24f617 Bug 357450. Implement getElementsByClassName. r=jst, sr=peterv 2007-02-01 15:14:00 +00:00
bzbarsky%mit.edu b38b5e7e7c Fix bug 300691. r+sr=sicking 2007-01-30 05:48:22 +00:00
graydon%mozilla.com 4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
jwatt%jwatt.org bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
vladimir%pobox.com 82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com 3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
peterv%propagandism.org e9fd67c3b6 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz. 2006-11-22 18:35:05 +00:00
cvshook%sicking.cc cefc7502df Fix svg:script and only flag inline scripts as executed once they contain non-empty script content. b=359598 r/sr=bz 2006-11-09 00:02:21 +00:00
cvshook%sicking.cc f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00
cvshook%sicking.cc 5a6d9399ce Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
peterv%propagandism.org 88c9a50cca Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz. 2006-09-16 17:15:38 +00:00
cvshook%sicking.cc 9241f85443 Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst 2006-09-15 19:54:45 +00:00
enndeakin%sympatico.ca 86fcccd3bc Bug 345896, menus don't find menupopups in XBL, r+sr=roc 2006-08-15 15:55:45 +00:00
uriber%gmail.com 8982c70f78 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc 2006-08-08 05:14:52 +00:00
peterv%propagandism.org 95072c9b1c Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz 2006-07-29 16:02:11 +00:00
longsonr%gmail.com 674de4d947 Bug 329848 - Replace invalid transform-attribute parse error assertion by Error Console log r=bzbarsky,sr=tor 2006-07-27 11:58:05 +00:00
peterv%propagandism.org 090f2dd5c1 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz. 2006-06-15 20:30:44 +00:00
mhammond%skippinet.com.au 0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
bzbarsky%mit.edu 6e37157407 Cache the list of form controls, so loading a large page with lots of form
controls outside forms is not O(N^2).  Bug 336062, r+sr=sicking
2006-06-08 04:28:20 +00:00
Olli.Pettay%helsinki.fi 5e667ae978 Bug 338954, Make .innerHTML to work without DOM Ranges, r=sicking, sr=jst 2006-06-05 20:32:48 +00:00
peterv%propagandism.org 54c2159acf Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking. 2006-06-02 13:28:14 +00:00
cvshook%sicking.cc 47a9061831 Bug 90983: Don't fire mutation events during parsing, i.e. when aNotify is false. Also make us fire mutation events on nodes that are in an orphaned subtree. r/sr=jst 2006-06-02 00:58:04 +00:00
cvshook%sicking.cc 114883abc4 Bug 337543: Use nsINode more. r/sr+peterv 2006-05-19 10:01:22 +00:00
cvshook%sicking.cc 45f2ad3296 Bug 338247: Operator precedence isn't always what you think it is. Patch by bz. r+sr=sicking 2006-05-17 05:27:21 +00:00
cvshook%sicking.cc 2241eae8cb Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 14:51:52 +00:00
cvshook%sicking.cc 073093c129 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
mrbkap%gmail.com fcb69da993 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst 2006-04-26 19:53:27 +00:00
bzbarsky%mit.edu 7f9b937064 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv
2006-04-24 19:52:21 +00:00
peterv%propagandism.org b4bbbf9633 Better fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking. 2006-04-17 17:13:11 +00:00
jst%mozilla.jstenback.com f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
bzbarsky%mit.edu d76ac29ddb Add some macros to make using auto-notifiers and auto-gc-roots safer. Bug
333148, r+sr=dbaron
2006-04-07 20:14:51 +00:00
roc+%cs.cmu.edu 8916588e70 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:57:53 +00:00
bryner%brianryner.com 7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
Olli.Pettay%helsinki.fi f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu 1ee861335f Use nsContentUtils helpers for some localizing in nsGlobalWindow. Bug 326972,
r+sr=jst
2006-02-14 02:06:48 +00:00
peterv%propagandism.org a8a430a797 Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst. 2006-02-07 14:34:10 +00:00
bzbarsky%mit.edu 263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
roc+%cs.cmu.edu 710ba40206 Bug 323230. Add FindAttrValueIn as an efficient way to look up an attribute value in a table of atoms. r=sicking,sr=bzbarsky 2006-01-18 04:09:33 +00:00
bzbarsky%mit.edu 9ba9e01fb9 Fix wrapper reparenting to work with splitwindow... Bug 318678, r+sr=jst 2005-12-03 06:27:45 +00:00
bzbarsky%mit.edu b7345ce6a8 Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst
2005-11-16 02:55:29 +00:00
mrbkap%gmail.com 1bcf4e73fc bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky 2005-11-03 22:47:06 +00:00
bzbarsky%mit.edu 836aa0b284 Optimize MatchElementId some. Bug 313082, r=sicking, sr=peterv 2005-10-21 15:17:15 +00:00
roc+%cs.cmu.edu f7e2b45942 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky 2005-10-18 20:33:35 +00:00
peterv%propagandism.org 513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00