Commit Graph

180 Commits

Author SHA1 Message Date
Daniel Holbert
fee9f97bcd Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
L. David Baron
46b22b7ca0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
Boris Zbarsky
c3c7d9b6fb Bug 467005. Be smarter about our removable script blockers. r=sicking 2009-10-29 21:48:38 -04:00
Robert O'Callahan
5491b2a188 Bug 518659. Create nsIDocument::IsActive and IsVisible APIs so we can track HTML5 'active'ness. r=jst 2009-10-05 17:13:11 +13:00
Olli Pettay
2735d10abd Bug 333673 - document.implementation != document.implementation, r=peterv
--HG--
extra : rebase_source : eb0ce55653b586242f6da43e0c95f6aaf914342b
2009-10-18 19:39:52 +03:00
Boris Zbarsky
7483a910e3 Bug 489925 and bug 522030 branch-safe fix. Hold strong refs in the id table. r=jst 2009-10-13 16:51:02 -04:00
Justin Lebar
b5b0c28999 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-25 12:50:26 -04:00
Paul O’Shannessy
25d9c99012 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
Justin Lebar
b3e255230a Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-24 13:59:43 -04:00
Olli Pettay
953e093b84 Bug 514487 - Cloning a document doesn't update the ID map, r=bz
--HG--
extra : rebase_source : 5b3003c47cdc47a3a9998dc4bfbe374c096a8690
2009-09-10 16:23:40 +03:00
David Zbarsky
bef61061f8 Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Peter Van der Beken
dd5bda7f79 Fix for bug 502730 (ASSERTION: Wrong scope, this is really bad!: 'JS_GetGlobalForObject(cx, obj) == newScope').
--HG--
extra : rebase_source : dbd409d54e6ecad801953d4cf76a57f95c419f94
2009-07-25 13:27:42 +02:00
bjarne@runitsoft.com
6687250282 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-07-07 22:23:20 -07:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
<jlebar@mozilla.com>
7de5d30e8d Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
David Bolter
281b227c46 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Olli Pettay
965bce94cb Bug 495983 - Remove nsPageTransitionEvent, r+sr=jst 2009-06-24 16:33:02 +03:00
Olli Pettay
05d764dea7 Backout Bug 495983
--HG--
extra : rebase_source : d60b23f968d8279ef726de5baf4eaa622814687c
2009-06-24 14:32:50 +03:00
Olli Pettay
a22b555893 Bug 495983 - Remove nsPageTransitionEvent, r+sr=jst
--HG--
extra : rebase_source : e5dac1176973db9660eb109e03d237799acad35d
2009-06-24 11:47:46 +03:00
Henri Sivonen
420d38551f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Olli Pettay
0909c69d98 Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +03:00
L. David Baron
8adbc0edb6 Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg 2009-05-06 13:46:01 -07:00
Olli Pettay
7f711199fa Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Makoto Kato
fce1dd538a Bug 239499 - 64bit safe code for mozilla/content (WinXP AMD64) part 2. r+sr/peterv 2009-04-13 20:57:53 +09:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Boris Zbarsky
1d325109b3 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Boris Zbarsky
dceb36b6b7 Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Blake Kaplan
f7fb1c08eb Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Asaf Romano
fe4d91cd12 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Olli Pettay
b9593d2535 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
Jonas Sicking
cd13cb89e5 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Daniel Holbert
31c18a6827 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Boris Zbarsky
882c93dc0b Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Boris Zbarsky
92c0e38ba1 Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00
Peter Van der Beken
c39cb1e482 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Gavin Sharp
326a75031f Bug 461803: add elementFromPoint method on nsIDOMWindowUtils which optionally ignores root scroll frame and lets callers avoid flushing layout, r+sr=bzbarsky 2008-11-04 22:58:22 -05:00
Peter Van der Beken
5a6c152342 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:08 +01:00
Peter Van der Beken
24a73db424 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-04 18:10:43 +01:00
Peter Van der Beken
2b8cf3c2d4 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Olli Pettay
e23e79f0c6 Bug 461772, don't crash when using XBL in external svg docs, r+sr=bz 2008-10-30 12:35:44 +02:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
Boris Zbarsky
0017c27e5c Fixing bug due to missing parentheses. Bug 344258 followup, no bug. 2008-10-12 13:26:58 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
f819f89b7d Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron
ba09bf22bc Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
f15bf80fc3 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
sharparrow1@yahoo.com
d5a8112b79 Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst 2008-09-18 14:15:47 +03:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Olli Pettay
c4eb13a9cf Bug 451037, r+sr=sicking 2008-08-24 17:21:28 +03:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Boris Zbarsky
1dafcd35c7 Bug 431701. Fix our inputEncoding handling to comply with the DOM spec, and fix XHR of a in-memory-only document to follow the XHR spec and send it as UTF-8. r+sr=sicking 2008-08-06 16:59:37 -04:00
Boris Zbarsky
4c507815b8 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Olli Pettay
ed5c851afb Bug 445330, document.loaded XML documents fire onload before DOMContentLoaded, r+sr=bz 2008-07-19 18:20:22 +03: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
Boris Zbarsky
5c5b4e41fc Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
Robert O'Callahan
78ea2ef42a Bug 344258. Create nsReferencedElement to track which element is associated with a given ID. r+sr=jst 2008-06-25 13:55:01 +12:00
Robert O'Callahan
c4187f5254 Bug 344258. Make XUL use the shared ID-element map. r+sr=jst 2008-06-23 13:48:05 +12:00
Robert O'Callahan
c29eac2bf6 Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Olli.Pettay@helsinki.fi
8c5cd9f684 Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore 2008-04-29 00:18:55 -07:00
Olli.Pettay@helsinki.fi
2df44b5dfe Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore 2008-04-24 03:33:22 -07:00
roc+@cs.cmu.edu
ab9c3d7c92 Bug 429172. Return the docshell's script global object as soon as the document's content viewer has been Closed(). r+sr=sicking,a=beltzner 2008-04-18 03:02:03 -07:00
Olli.Pettay@helsinki.fi
bb465783ef Bug 425814, delay xul frame loading, r=sicking,sr=bz,a=beltzner 2008-04-18 01:58:06 -07:00
jonas@sicking.cc
e639cf9471 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner 2008-04-14 16:59:21 -07:00
roc+@cs.cmu.edu
f5291de857 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner 2008-04-10 15:47:01 -07:00
gavin@gavinsharp.com
aaac62d073 Back out patch for bug 423355 due to unit test failures 2008-04-04 18:11:50 -07:00
jonas@sicking.cc
7b0e38bbed Bug 423355: Fix bug in blocker unnesting code. Also make sure to never fire mutation events when it's not safe to run script, even if the event isn't catchable by content. r/sr=bz 2008-04-04 17:06:36 -07:00
Olli.Pettay@helsinki.fi
eccdba117b Bug 420415, r=jst, sr=sicking, a=beltzner 2008-03-21 04:44:09 -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
Olli.Pettay@helsinki.fi
a31dfd8bf6 Bug 402982, r=jst, sr=sicking 2008-02-26 06:47:51 -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
Olli.Pettay@helsinki.fi
bdd3e9637b Bug 409111, WRONG_DOCUMENT_ERR on unattached nodes through getBoxObjectFor, r+sr=sicking, a=mtschrep 2008-02-14 12:45:07 -08:00
dwitte@stanford.edu
d9595c6e9e Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00