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

4735 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky@mit.edu 3a65a576bf Fixing test 2007-08-09 12:54:25 -07:00
bzbarsky@mit.edu 2eec9423fa Another test. 2007-08-09 11:58:37 -07:00
bzbarsky@mit.edu 2faa9c4f7b Remove windows newlines that snuck in 2007-08-09 11:45:32 -07:00
bzbarsky@mit.edu b8428a37d9 Adding tests contributed by jlurz24@gmail.com 2007-08-09 11:43:35 -07:00
bzbarsky@mit.edu 16e6040261 Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
mats.palmgren@bredband.net 7940ebdc50 Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov 2007-08-07 08:18:36 -07:00
bzbarsky@mit.edu 168f172e4a Keep track of both the first submit in elements and the first submit not in elements, to speed up some operations. Bug 352980, r+sr+a=jst 2007-08-06 19:07:24 -07:00
bzbarsky@mit.edu 56c4215580 Hoist the code for handling class and id up from nsGenericHTMLElement to the newly-created nsStyledElement so that it can be reused by MathML and to some extent by SVG. Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>, r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore 2007-08-06 08:27:19 -07:00
ginn.chen@sun.com d0ed3cca65 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 8055cc942f Bug 389694, r+sr=jst, a=dbaron 2007-08-05 06:24:30 -07:00
bzbarsky@mit.edu 55917d8d88 Make debug code not assert when it shouldn't. Bug 388712, r+sr=jst, a=dbaron 2007-08-02 15:46:36 -07:00
bzbarsky@mit.edu e27bf19d9a Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst
2007-08-02 10:54:36 -07:00
jonas@sicking.cc 23898aef7e Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
jonas@sicking.cc 5784b0a2f5 backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc 1d3132db39 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
sharparrow1@yahoo.com 56f40ef3d3 Bug 389663: CSS test crashes Firefox. r+sr=dbaron/bz 2007-07-26 13:20:30 -07:00
Olli.Pettay@helsinki.fi bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
bzbarsky@mit.edu b14f84b39f Make form.elements actually be sorted in DOM order, as our code assumes it to
be.  This does change the ordering from what we used to have in some edge
cases.  Let's hope they don't bite.  Bug 353415, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky.
2007-07-25 21:26:07 -07:00
jonas@sicking.cc ce0012891f fix build bustage 2007-07-25 17:55:13 -07:00
jonas@sicking.cc 7b5790be13 fix build bustage 2007-07-25 17:53:55 -07:00
jonas@sicking.cc 69dab05626 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
dcamp@mozilla.com 5e7a58ed01 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 21b4c8ea53 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
Olli.Pettay@helsinki.fi 3275bdde05 Mochitest for bug 388746 2007-07-24 07:14:46 -07:00
bzbarsky@mit.edu 70f1323690 Don't generate state keys at all, if there's nothing to get. Bug 388387, r+sr=sicking. 2007-07-20 20:00:02 -07:00
Olli.Pettay@helsinki.fi 0047149c8a Bug 388746, Mutation events don't work with input element, r+sr=bz 2007-07-20 16:20:33 -07:00
cbiesinger@gmx.at 15c6e7f92d Bug 347639 only load objects/embeds/applets once the object is inserted into the document
r+sr=bz
2007-07-20 13:14:38 -07:00
peterv@propagandism.org e6f858edf7 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor), now with correct whitespace. r/sr=jst.
2007-07-18 02:46:41 -07:00
peterv@propagandism.org 29258f440f Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor). r/sr=jst.
2007-07-18 02:44:22 -07:00
bzbarsky@mit.edu 8d6acba976 Avoid IndexOf calls while walking up the tree in FindForm(). Bug 388386, r+sr=jst 2007-07-17 18:50:18 -07:00
bzbarsky@mit.edu b66e0608e5 Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking
2007-07-13 21:46:09 -07:00
peterv@propagandism.org a8f0fd523f Fix for bug 386996 (Can't tab past disabled inputs or textareas). r/sr=sicking. 2007-07-13 07:17:35 -07:00
bzbarsky@mit.edu 4d53ccf996 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
peterv@propagandism.org 4362818fae Mochitest for bug 386496. 2007-07-12 05:06:05 -07:00
peterv@propagandism.org b816d15aa2 Correct error in testcase. 2007-07-11 11:52:24 -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
bzbarsky@mit.edu 7f47643f52 Don't start layout for XML just because the root has been opened. And don't
start layout until <html:head> closes if <html:head> gets opened.  For XHTML
documents, this should prevent flashes of unstyled content.

Also, don't flush tags unless forced to if a sheet is pending.

Bug 380028, r+sr=sicking
2007-07-10 20:42:11 -07:00
bzbarsky@mit.edu 4d46bda6dc Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
dcamp@mozilla.com c164c6d8ce implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -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
peterv@propagandism.org a884abd3f8 Mochitest for bug 386728. r/sr=jst. 2007-07-07 09:51:37 -07:00
peterv@propagandism.org ed5920ea00 Mochitest for bug 386495. r=Martijn. 2007-07-07 09:26:01 -07:00
peterv@propagandism.org 22a714aaea Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst. 2007-07-06 03:44:14 -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
mats.palmgren@bredband.net 42a227c78a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
mats.palmgren@bredband.net b125d74ea1 Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky 2007-07-03 14:41:32 -07:00
gavin@gavinsharp.com 1bcd1f75b3 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
Olli.Pettay@helsinki.fi d57c010537 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
Olli.Pettay@helsinki.fi 09de4e615b back out bug 238987 2007-07-03 05:37:00 -07:00
peterv@propagandism.org cad259320f Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst. 2007-07-03 04:54:41 -07:00
Olli.Pettay@helsinki.fi c1fe374f29 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 04:49:40 -07:00
peterv@propagandism.org 6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org 90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org 7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
vladimir@pobox.com 0889c5fdd3 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
mats.palmgren@bredband.net 3832520367 Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc 2007-06-23 00:39:04 -07:00
jonas@sicking.cc ac44cecea7 Backing out previous checkin since leaks went up 2007-06-18 16:21:28 -07:00
sayrer@gmail.com 5939f50f17 bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst 2007-06-18 15:44:11 -07:00
jonas@sicking.cc 9d0c915718 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst 2007-06-18 15:27:27 -07:00
bzbarsky@mit.edu ac7d66789b Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
mats.palmgren@bredband.net 7292bc0d11 Second attempt at mochitests for bug 375003. 2007-06-13 18:21:13 -07:00
mats.palmgren@bredband.net edc38b37ee Disabling tests for bug 375003 for now to fix orange. 2007-06-13 17:38:54 -07:00
mats.palmgren@bredband.net 88e0a73d19 Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc 2007-06-13 17:08:10 -07:00
bzbarsky@mit.edu db2f43135f Make the about:blank documents created by CreateAboutBlankContentViewer havethe same encoding as real about:blank documents (that is, UTF-8). Bug 380383,r+sr=jst 2007-06-07 00:13:04 -07:00
bzbarsky@mit.edu de3fe36c4c Don't react to changes in anonymous content subtrees. Bug 383137, r+sr=sicking 2007-06-04 20:29:50 -07:00
roc+@cs.cmu.edu e34c7dff59 Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
jonas@sicking.cc e8b9b78604 Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz 2007-05-30 13:43:41 -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
sharparrow1@yahoo.com fb6e0510ad Bug 365189 document.width/document.height flush layout too late. r+sr=roc. 2007-05-22 20:52:53 -07:00
Olli.Pettay@helsinki.fi b0100770e3 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
mrbkap@gmail.com f101b9d312 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking 2007-05-17 16:54:35 -07:00
gavin@gavinsharp.com 54305fd674 Revert unintentional change from bug 374723, r=dolske 2007-05-16 11:59:32 -07:00
gavin@gavinsharp.com 405957fd02 Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me 2007-05-16 03:02:45 -07:00
cbiesinger@web.de 383c82c5d9 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
Olli.Pettay@helsinki.fi 7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu 8e8c2513e1 Put content types and charsets on the text/plain parts of the form submissionfor multipart POST submissions. Bug 116346, patch by David Nesting<david@fastolfe.net>, r=bzbarsky, sr=sicking 2007-05-13 21:00:49 -07:00
bzbarsky@mit.edu 2704d6350d Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
Olli.Pettay@helsinki.fi 40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org 9920e003d3 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-10 23:00:26 -07:00
bzbarsky@mit.edu 2dac207d0b Store the charset we had when we were written into when document.open()happens. Then restore that as the document charset when loading from a wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst 2007-05-08 19:47:58 -07:00
bzbarsky@mit.edu 51671d60c6 Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu 086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
dbaron@dbaron.org 7983f1a9af Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 09:01:24 -07:00
bzbarsky@mit.edu b93abe4bf4 Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking 2007-04-26 21:05:08 -07:00
asqueella@gmail.com b620304f75 Bug 368700 - Using TLDs in document.domain should not be allowedp=Wladimir Palant <trev.moz@adblockplus.org>r=bz, sr=dveditz 2007-04-25 13:48:28 -07:00
bzbarsky@mit.edu 3fca79e5c1 Don't drop the old sheet when "rel" changes from one value that contains"stylesheet" to anoher. Bug 360746, r+sr=sicking 2007-04-25 11:48:18 -07:00
peterv@propagandism.org f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu bcfbc64387 Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
bzbarsky@mit.edu 75d0ec2b2f Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
philringnalda@gmail.com 811bd70baf Bug 370561 - Make nsIFormSubmitObserver scriptable, patch by Justin Dolske <dolske@mozilla.com>, r+sr=jst 2007-04-16 21:06:12 -07:00
sayrer@gmail.com e917fa2f97 Bug 311681 xhtml tests pass now that we have an incremental XML content sink. 2007-04-16 08:53:04 -07:00
sayrer@gmail.com b80cfd9871 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
sayrer@gmail.com 045ddc70c2 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
bzbarsky@mit.edu 3cbd119e85 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -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
Olli.Pettay@helsinki.fi 46bd54500f Bug 373483, Crash [@ nsHTMLButtonElement::PostHandleEvent] when right-clicking on the button in this testcase, r+sr=jst 2007-04-02 09:13:45 -07:00