Commit Graph

5731 Commits

Author SHA1 Message Date
Robert O'Callahan
a253ffe97b Bug 528703. NotifyOwnerDocumentActivityChanged() should call mDecoder->Play() regardless of mReadyState. r=doublec 2010-01-07 14:13:27 +13:00
L. David Baron
722b8f18b0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
Boris Zbarsky
c58001cbc4 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Robert Sayre
cda8010726 Merge. 2009-12-22 12:08:43 -05:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Peter Van der Beken
462867f0a5 Bug 535638. DNS prefetch cache should hold weak references. r=bz, sr=sicking 2009-12-21 12:43:05 -05:00
Robert O'Callahan
53276000eb Bug 526323. nsCrossSiteListenerProxy for media loads should not treat 416 'range not satisfiable' as an error. r=doublec 2009-12-16 09:08:59 +13:00
Geoff Lankow
ca0d92aff0 Bug 500885 - DOMActivate is fired twice for input[type=file] if user clicks on browse button, r=Olli.Pettay sr=jonas 2009-11-24 18:12:00 -08:00
Saint Wesonga
e0f8a87194 Bug 340017. Make document.formName work in XHTML. r=bzbarsky 2009-12-11 22:36:33 -08:00
Henri Sivonen
188dff41f7 Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Olli Pettay
423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
64c98f1baa Bug 528493 preliminary number 2. Don't call a function that needs to flush while we might be under a scriptblocker. r=bzbarsky 2009-11-19 23:39:11 -05:00
Robert O'Callahan
41859e734a Bug 528493 preliminary. Don't MaybeLoadImage on bind if image loading for this node is disabled. r=bzbarsky 2009-11-19 23:39:11 -05:00
Boris Zbarsky
a959199863 Bug 529859. Need to submit empty file inputs too. r=smaug 2009-11-19 15:58:46 -05:00
Boris Zbarsky
f5bf48459a Bug 529819. Don't double-add a node to form.elements['foo']. r=smaug 2009-11-19 15:58:46 -05:00
Henri Sivonen
d093e9d41d Bug 515257 - Remove bogus assertion on optgroup child removal. r=bnewman.
--HG--
extra : rebase_source : ea5f2690286d4dedefcc657472f3f56bf68ff5b6
2009-10-21 17:03:01 +03:00
Henri Sivonen
78c76786eb Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking.
--HG--
extra : rebase_source : 0f574695c4d6fad936e9d0960f07261aa192b13d
2009-10-15 14:29:11 +03:00
Bernd
d554f9f2b3 Bug 527464. Go back to ignoring nowrape in quirks mode if a nonzero width is set in the width attribute. r=bzbarsky 2009-11-17 17:50:06 -05:00
Jonas Sicking
f70a5a844a Bug 527370: Fix bug in test. r=bustage-fix 2009-11-16 22:07:49 -08:00
Chris Jones
427a01d800 Merge backout. CLOSED TREE 2009-11-16 23:50:52 -06:00
Chris Jones
2a2094819d Backout b68f602ce949 2009-11-16 23:49:22 -06:00
Jonas Sicking
27dfaf72f0 Bug 527370: More File API renames. Also adds tests for the FileReader.readyState property. r=jst 2009-11-16 18:01:40 -08:00
Chris Jones
8a41af9985 bug 527590: make it an error to hide a virtual method declaration by overloading it in a derived class. (use |using base::method;| if you really mean to do that). rs=bsmedberg 2009-11-16 17:57:21 -06:00
Jonas Sicking
8f545535ea Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking
7521e26d68 Bug 521668: Fire DOMLinkAdded asynchronously to avoid unexpected recursion. r=bent sr=jst 2009-11-06 15:30:24 -08:00
Mike Kristoffersen
3c344ec376 Bug 525898 - White spaces at EOL in nsHtmlMediaElement.h. r=chris.double
--HG--
extra : rebase_source : 9775a2db54c962ae1bacdb219e1af8335c1142b9
2009-11-06 08:34:00 +01:00
Mike Kristoffersen
cb2f3795ec Bug 525923 - White spaces at EOL in nsHtmlMediaElement.cpp. r=chris.double
--HG--
extra : rebase_source : ead218be45e58a8005c401826179af2daf806bae
2009-11-06 08:32:52 +01:00
Jonas Sicking
7272bafa07 Bug 293347: Disable document.write for XSLT result docs. r/sr=jst 2009-11-05 20:27:30 -08:00
Shawn Wilsher
ad5db639bb Bug 461199 - Create an API for asynchronous isVisited checks that content/layout can use (Step 1 of at least 3)
This first step simply refactors all link elements to use the same base class
to make future patches simpler and more obvious.
r=sicking
sr=bz
2009-10-13 15:13:41 -07:00
Jesse Ruderman
d57f2b3764 Add crashtests for bug 466945, bug 464197, and bug 467323 2009-10-31 19:35:39 -07:00
Boris Zbarsky
9804e7b2dc Bug 523666. Make nsGenericHTMLFormElement::mForm an nsHTMLFormElement. r=sicking 2009-10-29 21:49:11 -04:00
Gijs Kruitbosch
c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Geoff Lankow
7fb6401f55 Bug 524421: Can end up with an empty filename in internal mFileNames. r=sicking sr=smaug 2009-10-27 11:14:34 -07:00
Johnny Stenback
ac45fe56aa Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Robert O'Callahan
b5f3112586 Bug 518659, fixing crash bustage due to bad merging
--HG--
extra : rebase_source : 2d614525fa131c43d79d983ce531d8c50908d17e
2009-10-27 16:27:04 +13:00
Robert O'Callahan
8e318e7007 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Jonas Sicking
3193d0ccbc Bug 523771: Support the 'multiple' attribute on <input type=file>. r=benjamn sr=jst 2009-10-24 21:13:30 -07:00
Benjamin Smedberg
3ff2200833 Bug 523438 - make nsFrameLoader* available to content/layout, r=bz
--HG--
extra : rebase_source : 60958c8e1cfeb150f8f48f549b2043637c910e99
2009-10-20 17:33:59 -04:00
Olli Pettay
9cc46b81b2 Bug 523080 - Unlink HTMLDocument members, r=peterv
--HG--
extra : rebase_source : e8b1faf6f58613826803b101ee314f64ecab3350
2009-10-21 12:41:18 +03:00
Nochum Sossonko
ea120921fe Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Jesse Ruderman
52a69cd192 Add more crashtests 2009-10-15 14:22:11 -07:00
Robert O'Callahan
8b9cd6bfe0 Bug 521359. Don't enter the NETWORK_LOADED state or fire a media 'load' event. r=doublec 2009-10-10 00:48:55 +13:00
Robert O'Callahan
abb7bbf8eb Bug 512367. Don't reset fullZoom level when zooming in/out of an image loaded in an <iframe>. r=smaug 2009-10-15 15:20:50 +13:00
Matthew Gregan
3af771c138 Bug 520908 - Use calculated duration from cloned decoder when initializing the clone. r=roc 2009-10-15 14:28:59 +13:00
Zelgadis
d0d243c39a Bug 519926. When the string is an optional argument and isn't passed, pval is null. r=jorendorff 2009-10-14 14:27:34 -04:00
Jonas Sicking
243d32f0ea Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
Robert O'Callahan
ab84f5ebd3 Bug 519136. Clean up media-related logging. r=doublec
--HG--
extra : rebase_source : 2321054271a8726d17da1c58b876e2a7eb88883c
2009-09-30 07:32:44 +10:00
Boris Zbarsky
c7604f4ae1 Bug 519987. Test and assert. r=sicking 2009-10-01 16:17:26 -04:00
Neil Deakin
0f06193730 Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
Boris Zbarsky
1594b20ae9 Bug 488249 followup. Make some more HTML nodeinfos use the right namespace. 2009-10-01 11:54:10 -04:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Boris Zbarsky
7c84f0e911 Bug 514425. Be a little more careful about our ClearForm calls. r=sicking 2009-09-30 18:56:50 -04:00
David Zbarsky
c16525f18a Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Ms2ger@gmail.com
225e4ebd81 Bug 516359 - document.(open|write|writeln|close) in XHTML throws the wrong error. r=smaug 2009-09-27 11:20:30 +02:00
Daniel Holbert
6a9b163450 bustage fix for Bug 371976 2009-09-25 14:20:53 -07:00
Neil Rashbrook
422a04d6d3 Bug 371976 Create synthetic plugin document content later (like image documents) r=smaug 2009-09-25 21:58:47 +01:00
Justin Lebar
02b490af86 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
b90dbab331 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
Justin Lebar
8d63e17160 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-24 13:59:43 -04:00
Boris Zbarsky
6607af54ad Bug 478251. Implement the Null and Undefined annotations from webidl in quickstubs. r=jst,bsmedberg,jorendorff 2009-09-24 13:59:43 -04:00
Olli Pettay
bd7ca49df0 Bug 514856 - Server side image maps are broken, r=bz
--HG--
extra : rebase_source : d0a5c4795c0279d612435a0c0ad9cb6d5a4783a8
2009-09-23 18:11:48 +03:00
Chris Pearce
bc4d80925c Bug 492286 - Null check in nsHTMLSourceElement::BindToTree(). r=roc 2009-09-23 13:58:00 +12:00
Matthew Gregan
466c733803 Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc
--HG--
extra : rebase_source : a07687f16726086dd425eef8907788019beebbe1
2009-09-22 12:08:13 +12:00
Neil Deakin
dc9b8b8573 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Henri Sivonen
217db1634c Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap. 2009-09-18 12:21:47 +03:00
Robert O'Callahan
60a2f7d116 Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Robert O'Callahan
ea1ab9ac40 Bug 513144. Hoist nsMediaStream creation up into nsHTMLMediaElement, out of the decoders. Pass the stream as the parameter to nsMediaDecoder::Load. r=doublec
--HG--
extra : rebase_source : f418076a0d534d528dbded66b2d49d8fe908de4b
2009-09-15 14:30:43 +12:00
Robert O'Callahan
c764bf1840 Bug 513144. Remove mURI from the decoders, and change nsMediaDecoder::GetCurrentURI to GetCurrentStream so nsHTMLMediaElement::GetCurrentSrc gets the URI directly from the stream. r=doublec
--HG--
extra : rebase_source : b1e9680cf33cf7dded79383dfdf7559bbd7b1a78
2009-09-15 14:28:08 +12:00
Robert O'Callahan
1da8163981 Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Boris Zbarsky
0d41491006 Bug 515829. Don't assume that mDefaultSubmitElement is non-null just because our firstSubmitSlot contains non-null. r=jst 2009-09-18 14:52:36 -04:00
Boris Zbarsky
b21d390674 Bug 515703. In some cases we can end up checking whether an element is the default submit before we've updated our default submit; in that situation wehave to do it the slow way. r=jst 2009-09-18 14:52:27 -04:00
Josh Aas
2a7ea592aa Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Neil Deakin
51b0e867e6 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Neil Deakin
cef5702d08 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
6d007b6255 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Olli Pettay
69b10502e8 Bug 513912, Fix image document zoom handling in FF, r=dao, sr=jst
--HG--
extra : rebase_source : b562f90b4c326a5e40aa31e5bbbd363dd2047c8a
2009-09-09 23:04:05 +03:00
Daniel Holbert
7286ec43f3 Bug 515229: Remove unused method nsHTMLSelectElement::DispatchDOMEvent. r=smaug 2009-09-08 13:41:33 -07:00
Boris Zbarsky
b315604687 Bug 513153. Update the default submit correctly even if multiple form controls are removed in one remove operation. r=jst 2009-09-08 16:00:20 -04:00
Olli Pettay
991f5bec9d Bug 503729 - with browser.zoom.siteSpecific=false: viewing a standalone image resets full zoom level, r=jst 2009-09-01 16:15:33 +03:00
Olli Pettay
a23d4b3692 backout Bug 503729 2009-09-01 15:45:47 +03:00
Olli Pettay
a65d6b3fe4 Bug 503729 - with browser.zoom.siteSpecific=false: viewing a standalone image resets full zoom level, r=jst 2009-09-01 12:21:55 +03:00
Taras Glek
5cee56363b Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Mats Palmgren
da420547bc The traversal range end points are always part of the range. b=327694 r=jst 2009-08-27 20:05:23 +02:00
Henri Sivonen
ff231a3159 Bug 505783 - Make HTML elements honor script-set xml:base. r=jonas. 2009-08-27 10:28:03 +03:00
Neil Deakin
0beee44e9d Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug 2009-08-26 09:19:41 -07:00
Peter Van der Beken
cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Peter Van der Beken
3fbf50e20c Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
David Zbarsky
d02ac4482c Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
733f25a2d0 Bug 495883 - ASSERTION: Unable to get an nsIScriptGlobalObject from the ScriptGlobalObjectOwner, r=sicking
--HG--
extra : rebase_source : 7e0670c8165de7e761ed5adec653dac676e00982
2009-08-19 12:09:26 +03:00
Olli Pettay
cbcbbb6c30 Bug 503226 r=jst,sicking, sr=jst
--HG--
extra : rebase_source : c45e2f0926bc2e27e298d8a46d14f5acab053484
2009-08-15 11:51:37 +03:00
Olli Pettay
229acf0cd1 Bug 502168, r=bz
--HG--
extra : rebase_source : a5ee5c40d26bc654b05d94205273dc51c9cfa0fc
2009-08-13 23:27:37 +03:00
Peter Van der Beken
8e41a252d2 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
Olli Pettay
5575b12b86 Bug 501257 - Implement HTML 5's HTMLElement.classList property, p=sylvain.pasche@gmail.com, r=smaug, sr=sicking
--HG--
extra : rebase_source : cbbd5a5679af57f97122082213f44491431d87e3
2009-08-12 11:55:14 +03:00
Navin Lal
630f98121a Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Vivien Nicolas
fefd5e8cd0 Bug 506641: Click image resizing for nsImageDocument should be disabled, r=bzbarsky 2009-07-28 23:02:55 -04:00
David Zbarsky
b908f99056 Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky 2009-07-28 12:07:31 -04:00
Robert O'Callahan
f94fc9b0f6 Bug 503835. Wave codec 0 should be reported as unsupported. r=doublec
--HG--
extra : rebase_source : ab41c6d1e124ba52200bf91fcf7bc5d0c983b78e
2009-07-27 10:01:41 +12:00
Robert O'Callahan
1a3f77aef0 Bug 505150. 'new Audio' constructors should set autobuffer automatically. r=doublec
--HG--
extra : rebase_source : 418f3c2ad918ae729857363041273c95230dfd2c
2009-07-27 09:31:11 +12:00
David Zbarsky
029d5ee3dc Bug 332893. <form>.elements['x'] order is not updated after reordering element using DOM. r=bzbarsky 2009-07-24 09:33:20 -04:00
Neil Deakin
aaa7feaf96 Bug 504183, crash setting focus on file input that has no frame, r=smaug 2009-07-23 10:39:10 -04:00
timeless@mozdev.org
5c4628ea9e Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
Ben Newman
aec2dfcacd Bug 504442 - Remove content/html/parser and land parser/html/javasrc/*.java.
--HG--
rename : content/html/parser/javasrc/AttributeName.java => parser/html/javasrc/AttributeName.java
rename : content/html/parser/javasrc/ElementName.java => parser/html/javasrc/ElementName.java
rename : content/html/parser/javasrc/HtmlAttributes.java => parser/html/javasrc/HtmlAttributes.java
rename : content/html/parser/javasrc/MetaScanner.java => parser/html/javasrc/MetaScanner.java
rename : content/html/parser/javasrc/Portability.java => parser/html/javasrc/Portability.java
rename : content/html/parser/javasrc/StackNode.java => parser/html/javasrc/StackNode.java
rename : content/html/parser/javasrc/StateSnapshot.java => parser/html/javasrc/StateSnapshot.java
rename : content/html/parser/javasrc/Tokenizer.java => parser/html/javasrc/Tokenizer.java
rename : content/html/parser/javasrc/TreeBuilder.java => parser/html/javasrc/TreeBuilder.java
rename : content/html/parser/javasrc/UTF16Buffer.java => parser/html/javasrc/UTF16Buffer.java
2009-07-17 13:50:20 -07:00
Henri Sivonen
aa9004b48b Bug 501106 - Implement Comment end bang state. rs=sicking 2009-07-15 14:31:57 +03:00
Henri Sivonen
00382e3718 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Robert O'Callahan
e3d0f72897 Fix for bug 503468 (canPlayType should return "", not "no"). r=cdouble.
--HG--
extra : rebase_source : d54cf6d92a20a5f7e6ce66042c8d489dc93f0c7a
2009-07-14 16:04:56 +02:00
Peter Van der Beken
ffbf9a7ae8 Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Neil Deakin
ee561fd8cf Bug 503047, element.select() should fire select event, r=bz 2009-07-13 07:55:56 -04:00
Robert O'Callahan
00294dda40 Bug 493915. Fix test failures.
--HG--
extra : rebase_source : da441cd0351126a790463093bd6ad55681e18229
2009-07-10 16:05:40 +12:00
Robert O'Callahan
74625ec81b Bug 493915. Fix leak in media element when an error occurs early in the resource load. r=cpearce 2009-07-10 14:03:03 +12:00
Boris Zbarsky
ba3f1bc538 Bug 503028. Don't flush out mCells laziness unless we have to. r+sr=jst 2009-07-09 14:09:44 -07:00
Boris Zbarsky
edd4d9594a Bug 503177. Don't assert when invalidating on dirty geometry from canvas. r+sr=roc 2009-07-09 14:09:43 -07:00
Masayuki Nakano
fd09b80489 Bug 502273 contentEditable is disabled if an attribute is removed from the node r+sr=peterv 2009-07-09 10:54:43 +09:00
L. David Baron
dfd2b373c7 Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Henri Sivonen
379dedb7f6 Bug 502103 - Crash [@ NS_NewEditorKeyListener] with <isindex action="">. r+sr=mrbkap 2009-07-06 15:11:14 +03:00
Josh Aas
74fc2cc535 Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Henri Sivonen
168f13774e Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap 2009-06-30 13:50:56 +03:00
Henri Sivonen
8803c27a7f Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Jonas Sicking
ff259aceaf Move files to better location
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00
Henri Sivonen
fb74340ed2 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Henri Sivonen
ec7a74cb9e Documentation for nsHtml5Parser.h 2009-06-26 17:19:28 +03:00
Henri Sivonen
dd674095e3 Put more stuff in static const in HTML5 parser, fix UnblockParser on HTML5 parser 2009-06-26 16:05:35 +03:00
Henri Sivonen
2a07b68820 Address review comments on the HTML5 parser 2009-06-26 14:13:46 +03:00
Henri Sivonen
adeb7c2f61 Clean up whitespace in the HTML5 parser; add some docs 2009-06-26 11:22:12 +03:00
Chris Pearce
21a86f06aa Bug 449156 - Implement HTMLVideoElement.poster, with correct reftests. r+=doublec,jst, sr+=roc 2009-06-26 19:25:17 +12:00
Chris Pearce
54496bf124 Backout bug 449156 due to test-poster-9 failure. 2009-06-26 18:25:03 +12:00
Chris Pearce
5b3ab339dc Bug 449156 - Implement HTMLVideoElement.poster r+=doublec,jst sr+=roc 2009-06-26 16:23:14 +12:00
Henri Sivonen
af13c6de04 Address HTML5 parser review comments (partially); fix static jArray lengths 2009-06-25 15:28:48 +03:00
Henri Sivonen
f14a1e7e6f Add a readme file for the .java files 2009-06-24 15:37:31 +03:00
Henri Sivonen
8be21b0430 Use less parentheses in assertions in HTML5 parser 2009-06-24 15:32:53 +03:00
Henri Sivonen
fb8e881c05 Include the .java sources for translated files in the HTML5 parser 2009-06-24 15:27:43 +03:00
Henri Sivonen
1bea387bfb Move the initialization of primitive static jArrays to initializeStatics in HTML5 parser 2009-06-24 14:42:50 +03:00
Henri Sivonen
031e581e54 Null out jArray after releasing. 2009-06-24 13:41:18 +03:00
Henri Sivonen
b01c3bdb49 Try to avoid crashing in HTML5 parser cycle collection 2009-06-24 13:38:11 +03:00
Henri Sivonen
d88f6b6525 Remove legacy comments 2009-06-24 11:08:39 +03:00
Henri Sivonen
4cd1a3ac60 #ifdef out a variable only used for debugging. 2009-06-24 10:58:47 +03:00
Henri Sivonen
fe91fa32db Add comments to the HTML5 parser explaining buffer chain key holders 2009-06-24 10:56:40 +03:00
Henri Sivonen
f1577c4c26 Use NS_PRECONDITION instead of NS_ASSERTION for asserting the start condition of HTML5 parser 2009-06-24 10:45:43 +03:00
Henri Sivonen
780d316021 Tweak assertions in HTML5 parser 2009-06-24 10:26:30 +03:00
Henri Sivonen
c27c098156 Make GetChannel nicer in HTML5 parser 2009-06-24 10:22:51 +03:00
Henri Sivonen
ad44605576 Use NS_ERROR instead of asserting true in HTML5 parser 2009-06-24 10:21:17 +03:00
Henri Sivonen
282e1bc1d6 Fix GetCommand in HTML5 parser to return "view" 2009-06-24 10:20:13 +03:00
Henri Sivonen
0101b8870f Clean up nsHtml5Parser destructor 2009-06-24 09:59:03 +03:00
Henri Sivonen
1ac3458182 Make app cache not crash HTML5 parser when it calls Terminate() in mid-flight. 2009-06-24 09:55:38 +03:00
Henri Sivonen
f857815fde Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
49255e583e Fix bad merge between HTML5 repo and trunk 2009-06-21 16:23:03 +03:00
Henri Sivonen
bbf153f97c Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Henri Sivonen
fe65dfaaf9 Move static inline void on one line in nsHtml5ArrayCopy.h 2009-06-21 15:46:29 +03:00
Boris Zbarsky
0412ff6b6c Bug 497242. GetElementsByName should not find non-HTML elements. r+sr=sicking 2009-06-19 16:57:39 -04:00
Henri Sivonen
88849d1f27 Zap tests for bug 448564 that the HTML5 parser obsoletes. 2009-06-18 18:01:51 +03:00
Henri Sivonen
02a6bfd0e8 Bug 497845 - Hook cycle collector into the HTML5 parser 2009-06-18 16:24:51 +03:00
Henri Sivonen
4108e0ae0f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
b963bfd95a Avoid double-free in HTML5 parser when attributes are moved around in the isindex parser macro 2009-06-16 12:09:54 +03:00
Henri Sivonen
4533ccdc75 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Henri Sivonen
ee29ae33ce Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
40382651ff Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Henri Sivonen
16e2287315 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Ben Newman
be66be8cc9 Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
e7328c6532 Buf 497580 - Avoid UNICODE as an identifier in the HTML5 parser due to Windows CE compiler 2009-06-12 09:28:10 +03:00
Olli Pettay
6541f33eec Bug 388422 - Avoid checks for editability in BindToTree, r+sr=peterv
--HG--
extra : rebase_source : 06eae0083f9b620e6a7ee2fe63a22c974b29608c
2009-06-23 15:57:56 +03:00
Olli Pettay
3c487cc506 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
5cad7e2a33 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
79c88c457e Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03:00
Henri Sivonen
82e13c145b Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Henri Sivonen
f93baf7cb6 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
2a38c0ddfc Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
34a9141081 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Robert Longson
8a18a5a87c Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
L. David Baron
44a6267b1d Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Henri Sivonen
194b899472 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
5f070d1f64 Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
604f0b133c Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
5306ae71d6 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
612191c82d Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen
48ef76f77c Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03:00
Robert O'Callahan
8a7e78d507 Bug 475110. Don't try to handle Wave files loaded via links or <object> using our Wave codec, since there are Wave formats we don't support that are actually used in the wild. r=doublec,a=beltzner
--HG--
extra : rebase_source : 562c7c7c17157082483e456f33aa8b211fd07aeb
2009-05-25 12:42:19 +12:00
Zack Weinberg
b51c4c3b13 Bug 494225: correct check for property-not-set in nsHTMLDocument::Get*LinkColor, r+sr=bzbarsky 2009-05-21 15:42:17 -04:00
Olli Pettay
46c509ef15 Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz 2009-05-20 11:00:04 +03:00
Henri Sivonen
e8d8ea388a HTML5 (and other browsers) do not infer <select> on <optgroup> 2009-05-19 15:41:00 +03:00
Boris Zbarsky
6882e705e1 Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Zack Weinberg
c8a52af86a Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Robert O'Callahan
d8d488ca5a Bug 486922. Clamp out-of-bounds seek requests. r=doublec
--HG--
extra : rebase_source : deeabc531d4fa6ada6e35740aed44bcc3844f233
2009-05-19 21:55:04 +12:00
Matthew Gregan
07f0682802 Bug 454971. Support 'new Audio()' constructor. r+sr=roc
--HG--
extra : rebase_source : 1738d65cd16a79d69408055a8d9feb5ab5d97923
2009-05-19 17:18:41 +12:00
Robert O'Callahan
97e33b8c4d Bug 492420. Delay a little before playing a live stream to try to reduce the likelihood we'll have to buffer. r=doublec
--HG--
extra : rebase_source : 022aa4d89644b3cfef62f95b4349932594de734f
2009-05-19 17:14:20 +12:00
Robert O'Callahan
43bd7e6097 Bug 493509. Don't fire 'suspend' when the resource is actually fully loaded. r=doublec
--HG--
extra : rebase_source : a7ae1b2f53c7eb4b8a0e270510028d155d79f319
2009-05-19 11:06:10 +12:00
Robert O'Callahan
08a4384325 Bug 493443. Set readyState to HAVE_CURRENT_DATA whenever the Ogg frame queue is empty or we're buffering/seeking, instead of trying to hardcode it based on other events like PlaybackEnded. r=doublec
--HG--
extra : rebase_source : 0b2f938e5f19cbb21258248da9da09e2a525db81
2009-05-19 10:44:17 +12:00
Robert O'Callahan
06e3105812 Bug 479863. AdFire 'suspend' event and do correct networkState transitions when downloads suspend and resume. Also avoid firing 'stalled' while the download is suspended. r=doublec
--HG--
extra : rebase_source : 0615871c062638d575a66e29b630040821a9f9cf
2009-05-18 14:03:37 +12:00
Robert O'Callahan
aafedc777d Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Chris Pearce
f3be9df7f6 Bug 485471. nsHTMLMediaElement's mChannel should be updated when redirects happen. r=bzbarsky,sr=roc 2009-05-18 10:20:37 +12:00
Boris Zbarsky
48862631f2 Bug 489050. Make sure to not notify on our content once we've disconnected from the document. r=bent, sr=sicking 2009-05-17 10:22:55 -04:00
Boris Zbarsky
4c2a5712cb Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Henri Sivonen
1f9455f387 Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Henri Sivonen
20df79d12f Bug 490941 - Fix visual Hebrew in HTML5 parser 2009-05-04 10:25:29 -07:00
Henri Sivonen
e26f7e19c7 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Henri Sivonen
f228834a96 Bug 489530 - Make meta refresh work in the HTML5 parser 2009-04-30 15:08:35 -07:00
Henri Sivonen
1bac8ebc71 Bug 490271 - Make form state pick up input state in HTML5 parser 2009-04-30 14:45:05 -07:00
Robert O'Callahan
0442e8caf5 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec 2009-05-14 09:52:50 +12:00
Robert O'Callahan
5f9dd68899 Backed out changeset eb93563530d5 2009-05-14 12:38:33 +12:00
Robert O'Callahan
4c03f490b2 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec
--HG--
extra : rebase_source : 2551f25e1828939dbb1619c31d3cedc2217a6623
2009-05-14 09:52:50 +12:00
Henri Sivonen
f443521aed Make the HTML5 parser deal with files under 512 bytes that do not have an encoding declaration 2009-04-23 15:19:10 +03:00
Henri Sivonen
4aa0608b18 Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content. 2009-04-22 12:17:08 +03:00
Henri Sivonen
ae1d3f694e Fix unicode conversion error recovery in HTML5 parser 2009-04-21 14:35:02 +03:00
Henri Sivonen
7aa8302d18 Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure 2009-04-17 18:55:09 +03:00
Henri Sivonen
f6e5e19ce1 Make sure the encoding of the HTML5 parser is confident when the entire doc is document.written() 2009-04-17 15:54:59 +03:00
Henri Sivonen
55d6e97529 Bug 488267 - Flush appends before starting layout 2009-04-17 13:05:19 +03:00
Henri Sivonen
f6c5f201b8 Fix bad merge of bug 468708. 2009-04-17 12:33:20 +03:00
Henri Sivonen
192c8324f2 Merge in patch for bug 468708. 2009-04-16 13:36:59 +03:00
Henri Sivonen
7d40733856 Inline obvious candidates in the HTML5 parser 2009-04-16 13:30:09 +03:00
Henri Sivonen
3ee895d930 Bug 468708 - Make namespace URI for HTML elements be http://www.w3.org/1999/xhtml 2009-04-16 13:28:40 +03:00
Henri Sivonen
db106d13aa Get rid of nsHtml5StringLiterals (b=482945) 2009-04-15 12:40:48 +03:00
Henri Sivonen
296874d7d8 Support keygen, fix refcounting of stack nodes in the HTML5 parser 2009-04-10 20:27:09 +03:00
Henri Sivonen
b7f4025746 Add null check to removing elements from the list of active formatting elements in the HTML5 parser 2009-04-07 17:58:37 +03:00
Henri Sivonen
76f41e0f80 Make HTML5 tree builder state snapshots not call a method on null 2009-04-07 15:29:22 +03:00
Henri Sivonen
477438e93b Temporarily make the HTML5 parser leak instead of crashing. 2009-04-07 15:09:39 +03:00
Henri Sivonen
3a07ccc4a3 Fix crasher fallout from deferring HTML5 parser life cycle start. 2009-04-07 14:06:28 +03:00
Henri Sivonen
f7212b589f Add nsHtml5StateSnapshot.* 2009-04-02 12:06:29 +03:00
Henri Sivonen
f94917473c Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Zack Weinberg
abd160c2af Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Matthew Gregan
0c254a71d7 Bug 475110. Stop advertising browser support for loading Wave formats as documents. r=roc 2009-05-31 22:05:17 +12:00
Henri Sivonen
27ccc45764 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Henri Sivonen
6283a3c22e Make the HTML5 parser pass http://hixie.ch/tests/adhoc/dom/level0/write/003.html 2009-03-26 13:50:24 +02:00
Bernd
1220485428 Bug 192902 - "Words wrap in nowrap cell when width=0 and next cell have width=100%". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Zack Weinberg
d5488e072b Bug 493881: ignore attempts to set legacy color props on a HTML document object before its body element exists. r+sr=bzbarsky 2009-06-11 10:35:40 -04:00
Henri Sivonen
3780f9e4ca Fix case-insensitivy in attribute manipulations (bug 468708) 2009-03-24 18:42:03 +02:00
Mats Palmgren
8ad57c75dc Bug 382369. Distinguish click from click-drag on a <label> so text selection works. r+sr=roc, help from Zack Weinberg 2009-03-24 13:55:29 +13:00
Henri Sivonen
99a8cc5f1a Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Henri Sivonen
281b2086b6 Take mScriptsExecuting behavior from nsParser to nsHtml5Parser 2009-03-20 16:59:51 +02:00
Henri Sivonen
0f8172224f More comprehensive fix for HTML nodes in XHTML namespace (bug 468708) 2009-03-20 16:58:37 +02:00
Boris Zbarsky
227c077f37 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Boris Zbarsky
38f7b78d75 Bug 484820. When closing the head context, flush out notifications on its kids, so we won't forget to notify on them. r+sr=mrbkap 2009-03-23 18:10:12 -04:00
Henri Sivonen
aeb7393726 Fix comment in nsHtml5Atoms.cpp not to talk about gklayout 2009-03-19 10:16:19 +02:00
Henri Sivonen
a8e77a6858 Restore some of the debugging code to fix link errors (bug 468708) 2009-03-17 15:48:55 +02:00
Henri Sivonen
0ac237addb Remove obsolete debugging code (bug 468708) 2009-03-17 15:24:17 +02:00
Henri Sivonen
f8f7fb2393 Try to avoid crashing in a timer callback in the HTML5 tree builder 2009-03-17 11:38:08 +02:00
Henri Sivonen
0a585dd859 Eliminate table taint from the HTML5 tree builder 2009-03-16 18:16:26 +02:00
Henri Sivonen
e3e8dd01f6 Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie 2009-03-16 17:40:59 +02:00
Henri Sivonen
167cf2e297 Avoid an accidental deletion of a static atom in the HTML5 tree builder 2009-03-16 17:12:21 +02:00
Henri Sivonen
da5e154b03 Add a check to see that HTML5 modula has been initialized properly before use 2009-03-13 14:41:55 +02:00
Henri Sivonen
63bf6755ae Bug 468708 - Missed two HTML namespace URI cases in previous commit 2009-03-13 12:32:32 +02:00
Henri Sivonen
a53c8f897c Bug 482923, bug 468692, bug 468708 - Make HTML namespaceURI and localName HTML5-compliant 2009-03-13 10:48:05 +02:00
Boris Zbarsky
4ce33a6c6d Bug 486741. Remove hack around broken scrollbars, since it's not needed anymore. r+sr=jst 2009-05-11 22:04:58 -04:00
Matthew Gregan
1bc6593cf3 Bug 488287. When playback ends, readyState should change to HAVE_CURRENT_DATA. r=doublec,sr=roc
--HG--
extra : rebase_source : ea224af1634304c40d7e4ea0f564e72ccab65caa
2009-05-08 14:25:13 +12:00
Robert O'Callahan
c3f383ceb7 Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Patrick McManus
d8ac17d88c Fixing bug 488162. Disable prefetches on proxy config and pref, r+sr=bzbarsky@mit.edu 2009-05-06 14:26:33 -07:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Boris Zbarsky
346daa82d1 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Matthew Gregan
30d18e814f Bug 489830 - Make MediaListener's mNextListener assertion a non-fatal error to avoid crashing in the face of a listener that breaks nsIRequest's contract. r+sr=roc
--HG--
extra : rebase_source : d88fd679bbb532193782f75a8e0cbdff43e602f2
2009-05-05 18:13:26 +12:00
L. David Baron
3d247d2320 Mark the tests that were just disabled more clearly in the makefiles. 2009-04-24 15:45:34 -07:00
Bob Clary
c3ca5e7df9 bug 435128 - disable test since it takes too long. 2009-04-24 14:54:24 -07:00
Bob Clary
58aa4b1061 bug 435128 - mochikit test by Martijn Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
20cc38d003 bug 382568 - crash test by Vlad Sukhoy. 2009-04-24 10:08:19 -07:00
Olli Pettay
32dfaef124 Bug 489965, r+sr=bz 2009-04-24 16:36:58 +03:00
Matthew Gregan
f6c6e67fbc Bug 483570 - Initialize nsHTMLMediaElement::mCurrentLoadID and mPausedBeforeFreeze in ctor. r+sr=roc
--HG--
extra : rebase_source : 2f63abfd4a761ec680cd9ac321d20d2d4191d256
2009-03-16 19:05:28 +13:00
Chris Pearce
d66eb0fa3e Bug 483324. Don't create a decoder for loads that have already failed. r+sr=roc
--HG--
extra : rebase_source : 3a9cbe5b463f30bbddc9acf66b51325783b77b01
2009-03-18 13:34:48 +13:00
Chris Pearce
f5000389a7 Bug 478652 - [Windows] Intermittent Mochitest "test_access_control.html | Test timed out"; r=chris sr=roc 2009-03-19 00:59:34 +01:00
Boris Zbarsky
a5e5911cc3 Bug 482659. Disabling part of the test to work around bug 483818. 2009-03-17 13:06:55 -04:00
Boris Zbarsky
7919f69bbf Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dave Townsend
f1b372e8db Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky
0c6cf95474 Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Graeme McCutcheon
3003c9a317 Bug 483217. Don't return an nsresult as a PRBool. r+sr=bzbarsky 2009-03-13 16:29:57 -04:00
Olli Pettay
b6cf78a6a8 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Benjamin Smedberg
555ae1b325 Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Henri Sivonen
70026e93ce Merge a newer trunk with HTML5 parsing in hope of avoiding imgCache crashes 2009-03-11 11:22:07 +02:00
Henri Sivonen
82beb935c0 Merge a newer trunk to HTML5 parsing 2009-03-10 16:07:49 +02:00
Boris Zbarsky
8b2e29fc7f Bug 482394. Drop the aForStyling check in IsHTMLLink/IsLink: if we change the link state, we need to start tracking the link. r+sr=dbaron 2009-03-10 09:51:34 -04:00
Boris Zbarsky
eb4ceff899 Bug 481335. Cache the href URI of <html:a> once we resolve it. r+sr=sicking 2009-03-10 09:51:34 -04:00
Boris Zbarsky
6729a2f70e Bug 481318. Don't serialize then reparse the URI on anchor property mutations. r+sr=jst 2009-03-09 22:32:09 -04:00
Henri Sivonen
7792f6dd89 Make HTML5 parser not crash in AAA on cnn.com 2009-03-09 15:18:23 +02:00
Henri Sivonen
948c3f9874 Merge HTML5 work with trunk 2009-03-09 12:24:48 +02:00
Henri Sivonen
067d36cea7 Make the HTML5 parser manage formatting element list marker memory properly and not crash 2009-03-09 10:35:45 +02:00
Henri Sivonen
49a87d28b1 Run less code when notifying appends in the HTML5 parser; make node removals notify layout 2009-03-06 11:56:23 +02:00
Henri Sivonen
4f97752f7b Make the HTML5 tree builder do its flushing often enough and when coming from event loop rather than when yielding to it 2009-03-05 17:32:32 +02:00
Henri Sivonen
5fdb82029a Be smarter about searching the array of elements seen in this append batch in HTML5 parsing 2009-03-04 16:36:52 +02:00
Henri Sivonen
0f7f470d67 Implement frameset-ok for HTML5 parsing 2009-03-04 12:23:12 +02:00
Henri Sivonen
89fbecd79b Plug leaks in HTML5 parser; fix bug where the doctype was semi-randomly lost 2009-03-03 14:21:15 +02:00
Henri Sivonen
3e559d71fd Add notification batching to HTML5 2009-03-02 16:02:31 +02:00
Chris Pearce
b37dae2092 Chris Pearce - Bug 479711 - Media elements should delay the document 'load' event 2009-03-09 10:01:03 +13:00
Chris Pearce
035c54d22e Chris Pearce - Bug 479859 - Implement new new load algorithm r+ doublec sr+ roc. 2009-03-09 09:59:08 +13:00
Boris Zbarsky
35c2b8fb20 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05:00
L. David Baron
aafe2d425d Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
Stuart Parmenter
cf576e6934 bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc 2009-03-05 05:43:45 -08:00
Boris Zbarsky
410533bcd6 Wallpaper for bug 480300. 2009-03-04 13:58:43 -05:00
Olli Pettay
ebc7af93d9 Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Henri Sivonen
fb89a672c3 Prevent infinite mutual recursion in HTML5 tree builder flush 2009-02-27 19:04:46 +02:00
Henri Sivonen
3ff19a777e Add insertion batching to HTML5 tree builder 2009-02-27 18:37:47 +02:00
Henri Sivonen
b392ec7305 Really remove code related to HTML5 tree builder reading back from the DOM 2009-02-26 17:09:44 +02:00
Henri Sivonen
c158d28802 Make HTML5 innerHTML setter not crash; Change the tree builder interface never to read from the DOM 2009-02-26 16:05:43 +02:00
Matthew Gregan
0dea2b79f9 Bug 470662 - Don't set paused to true when playback ends. Fix handling of playing/suspend attrs. r=chris.double, sr=roc
--HG--
extra : rebase_source : f5161f9a699015b41c4947b52624901786adc852
2009-02-27 00:55:30 +13:00
Henri Sivonen
a66d5e247c Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Henri Sivonen
29d969d36a Count CTOR/DTOR in HTML5 parser; remove debug NS_WARNINGS 2009-02-12 10:30:41 +02:00
Boris Zbarsky
19f39c20dc Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
823c113aa0 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Henri Sivonen
b906b94283 Make HTML5 parser WriteStreamBytes type modifiers between .h and .cpp match on Windows 2009-02-09 13:18:54 +02:00
Henri Sivonen
ca80b70b7d Add charset sniffing and make standards mode work in the HTML5 parser 2009-02-09 11:20:13 +02:00