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

392 Коммитов

Автор SHA1 Сообщение Дата
Jonas Sicking 963e54b50f Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Sid Stamm 36b2eea54c fix tinderbox test hang after landing bug 515442. r=dveditz 2010-02-23 16:37:38 -08:00
Daniel Veditz f7727d62fa Forgot tests for bug 515442 2010-02-23 14:28:18 -08:00
Daniel Veditz 04406a51f3 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Sid Stamm 26ad4e5a5b Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath] 2010-02-05 14:08:27 -06:00
Olli Pettay aac1a2a936 Bug 540854 - XMLHttpRequest truncates UTF-8 encoded strings containing Code Point 0x00, r=sicking
--HG--
extra : rebase_source : 251c02fe91bf35fe46f0f1e3a829ddb00e889132
2010-01-26 15:54:55 +02:00
Henri Sivonen 85c7057ec2 Bug 539684 - Serializer tests fail with the HTML5 parser due to whitespace differences and doctype case differences. r=laurent.
--HG--
extra : rebase_source : d7855eca3004f7eceaefcdd8a1b0bfb7794a1e46
2009-12-21 13:39:00 +02:00
Sid Stamm 7252ce7760 Bug 515437 CSP connection code, r=jst,dveditz sr=jst 2010-01-22 13:38:21 -08:00
Sid Stamm bfb875e04a bug 515433: CSP Core patch by sstamm and bsterne, r=mrbkap, sr=jst 2010-01-21 10:41:24 -08:00
Daniel Veditz 153553d9b6 Backed out changeset a6ce37b09cf5 because of possible Tp4 perf hit 2010-01-14 17:19:11 -08:00
Sid Stamm ext:(%2C%20Brandon%20Sterne%20%3Cbsterne%40mozilla.com%3E) f2cab6a506 bug 515433, bug 515437: Content Security Policy (CSP) core 2010-01-13 14:18:24 -08:00
Robert O'Callahan ad3dcdefcc Bug 526394. Part 8: Fix nsNSElementTearoff to use new APIs, and also fix it to check for root element and body properly. r=jst 2009-09-03 15:57:36 +12:00
Simon Montagu f8b1e18a1b Add DOM Range test with non-contiguous selection rectangles in mixed directional text. Bug 525788 2010-01-03 00:46:48 -08:00
Simon Montagu 7f73861a8e Fix mixed directional DOM Range tests from bug 396392. Bug 525788, r=roc 2010-01-03 00:46:38 -08:00
Simon Montagu 16759521a4 Round coordinates to 1/256 pixel to fix DOM Range tests from bug 396392 that were failing on Mac. Bug 525788, r=roc 2010-01-03 00:46:05 -08:00
Ms2ger 992a4e933a Bug 530171 - Correctly handle null arguments to nsIDOMTokenList's methods, r=slvain.pasche, sr=olli.pettay 2009-12-30 18:29:40 -05:00
Olli Pettay 535ca168cc Bug 469304 - Attribute nodes set with setAttributeNode get mutated, r=sicking
--HG--
extra : rebase_source : fd36b564ebc3cc574724e0f7993204319ec5220f
2009-12-28 16:35:06 +02:00
Simon Montagu cbcdcdd806 Fix failing test from bug 525788. r=roc 2009-12-24 12:29:27 +02:00
Simon Montagu 6c281217b5 Backout changeset 4ed95e61ee01 because of test failures 2009-12-21 02:28:41 -08:00
Simon Montagu 4b1cd503bb Fix mixed directional tests from bug 396392. Bug 525788, r=roc 2009-12-21 00:56:14 -08:00
Jeff Walden 893339719a Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan 2009-12-08 17:00:42 -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
Boris Zbarsky ceabd395ba Bug 455472. Be a little more careful with our handling of application/octet-stream. r=jst 2009-12-02 23:56:59 -05:00
John Daniels 2556f6f857 Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Jonas Sicking 35ba4bdd55 Fix more bugs when reusing FileReaders for multiple reads. Also fix leaks. r=jst a=jst 2009-11-22 22:23:23 -08:00
Jonas Sicking eaf688ca51 Jonas Sicking - Bug 530269: Clear data when reusing a FileReader for multiple reads. r=bz a=jst 2009-11-22 11:05:12 -08:00
Jonas Sicking 0a6d42ab36 Bug 530220: Fix bug in handling of binary data, kill some dead variables, and improve tests. All for FileReader. r=jst a=jst 2009-11-21 03:56:31 -08:00
Jonas Sicking 39c46a11de Backed out changeset 544bfe26c96d due to orange 2009-11-21 01:27:02 -08:00
Jonas Sicking 77df159a43 Backed out changeset 029128b70708 due to orange 2009-11-21 01:26:28 -08:00
Jonas Sicking c32f1419fb Bug 530269: Clear data when reusing a FileReader for multiple reads. r=bz a=jst 2009-11-21 00:39:33 -08:00
Jonas Sicking 577f0aea98 Bug 530220: Fix bug in binary data handling, and write more comprehensive tests. r=jst a=jst 2009-11-20 23:39:08 -08:00
Jonas Sicking 1d23684de0 Remove tests that are failing due to bug in speculative parser. r=mrbkap 2009-11-20 09:49:44 -08:00
Jonas Sicking 9a25cb6ecc Back out 2d4a6e2237f9. Logging no longer needed. 2009-11-19 17:52:28 -08:00
Henri Sivonen 2881d17d8e Disable test for bug 503473 due to disruption to test harness shutdown (orange). 2009-11-18 16:18:38 +02:00
Henri Sivonen 063908e06c Test for bug 503473 - Address review comments from bnewman accidentally left unaddressed in the previous push. 2009-11-18 14:44:17 +02:00
Henri Sivonen b166b15d11 Test for bug 513194 - HTML5 parser ends up parsing inline stylesheets twice. r=bzbarsky.
--HG--
extra : rebase_source : 337ce649c3a52b98929ff3a5ee30c1a15e2e4947
2009-11-06 15:06:48 +02:00
Henri Sivonen cb2f935b80 Test for bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman.
--HG--
extra : rebase_source : febd7b2f4fd44960d4a38bcc0d8d8e494833730f
2009-11-04 12:16:40 +02:00
Jonas Sicking 423c30fcd0 Bug 527623: Add some temporary logging code in order to figure out the intermittent oranges in test_bug503481b.html. This code will be backed out once we have a log of a failing test. r=jst 2009-11-16 19:07:22 -08: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
Jonas Sicking 2e3de03e1d Bug 527623: Fix more intermittant problems by making the test code deal with necko re-ordering requests. r=jst 2009-11-10 14:30:38 -08:00
Jonas Sicking e97ed0216d Bustage fix, bug 527623. Relying on speculative parsing in tests doesn't seem like a good idea. r=bustage-fix 2009-11-10 07:14:32 -08:00
Jonas Sicking 8f545535ea Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking d954edae7f Bug 527370: Rename some things in order to match the latest File API spec. Specifically FileRequest -> FileReader and .response -> .result. r=smaug sr=jst
--HG--
rename : content/base/public/nsIDOMFileRequest.idl => content/base/public/nsIDOMFileReader.idl
rename : content/base/src/nsDOMFileRequest.cpp => content/base/src/nsDOMFileReader.cpp
rename : content/base/src/nsDOMFileRequest.h => content/base/src/nsDOMFileReader.h
2009-11-09 12:05:16 -08:00
Laurent Jouanneau 297efa6c18 Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. r=Mats Palmgren sr=Olli Pettay 2009-11-09 15:41:12 +01:00
Robert O'Callahan 61bf733e11 Backed out changeset 9eda936adc30 2009-11-04 09:04:13 +13:00
liucougar 32fba2d148 Bug 396392. Test Range.getClientRects/getBoundingClientRect in RTL and mixed-direction situations. r=roc 2009-11-04 07:39:43 +13:00
liucougar 9a1b9595f3 Bug 436703 - select all + Copy/paste in contenteditable div pastes the editable div inside itself, r=peterv 2009-11-01 15:43:18 -08:00
Honza Bambas 8f6a5222bd Bug 475156 - correcting cache behavior when using custom conditional request headers, r=bzbarsky 2009-10-21 12:18:08 +02:00
Olli Pettay 65dbfbe2ba Bug 333673 - document.implementation != document.implementation, r=peterv
--HG--
extra : rebase_source : eb0ce55653b586242f6da43e0c95f6aaf914342b
2009-10-18 19:39:52 +03:00
Boris Zbarsky 33234c5e03 Backed out changeset c5fe17b1caa9 (bug 489925) 2009-10-13 15:39:31 -04:00
Matin Movassate 1ba0cf09e4 Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Matin Movassate b89b3dac76 Bug 491201 - Turn on XHR::Send tests, wrap the call to nsIFile.remove in try/catch to avoid orange on Windows machines.r+sr=sicking 2009-09-15 16:53:32 -07: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
Ms2ger e138a2550c Bug 520353. querySelector(), querySelectorAll() and mozMatchesSelector() handle null and undefined incorrectly. r=bzbarsky 2009-10-05 19:16:22 -04:00
Henri Sivonen 757e826e22 Test for bug 505783 - Do not ignore xml:base in HTML DOMs. r=sicking. 2009-10-02 19:46:23 +03:00
Robert O'Callahan 4907895762 Bug 396392. Fix test to not assume that the height of a block matches the height of the text inside it.
--HG--
extra : rebase_source : a733ab3f27f2c54a09ad28c8274c119ac0edbe11
2009-09-25 17:18:21 +12:00
Ben Newman ab706d3f74 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Henri Sivonen a83be4db5b Bug 500937 - Make the output of XMLSerializer more HTML-friendly. r=laurent, sr=jst. 2009-09-28 10:59:52 +03:00
Serge Gautherie f71ea080ac Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range; (Cv1) Actually disable test ;-< 2009-09-25 04:24:47 +02:00
Serge Gautherie 57765523fd Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range; (Bv1) Disable test (which fails on MacOSX, Windows) 2009-09-24 18:57:47 -07:00
liucougar 89065aa512 Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02: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 fcc767c1d8 backout Bug 313646
--HG--
extra : rebase_source : 5ff7e3a019f140ef26f5ac14210e19ad382e65f8
2009-09-15 18:44:35 +03:00
Olli Pettay 8a612550a2 Bug 313646 - synchronous XMLHttpRequest does not fire readystatechange event, r=justin.lebar,sicking, sr=jst 2009-09-15 12:27:12 +03:00
Olli Pettay ffa602c81b 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
Johnny Stenback 87735b8ecf Disabling tests until we can figure out what's going on with windows orange. 2009-09-08 23:49:46 -07:00
Matin Movassate 597cf23d35 Remove recently added test that somehow fails on Windows only, fallout from the fix for bug 491201. 2009-09-08 21:04:25 -07:00
Matin Movassate 847e588040 Fixing orange from the fix for bug 491201. 2009-09-08 18:28:52 -07:00
Matin Movassate c9bfcd83f5 Fixing bug 491201. Adding ability for XMLHttpRequest.send() to accept a File object. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-09-08 16:29:41 -07:00
Boris Zbarsky 1526502242 Bug 489925. getElementById should not return anonymous nodes. r=jst 2009-09-02 11:32:02 -04:00
Johnny Stenback db996331fd Backed out changeset 7d5e1bcb4729 due to mochitest errors. 2009-08-31 14:57:45 -07:00
Matin Movassate 64c233c8d8 Resolving bug 491201. Added ability for XMLHttpRequest.send() to accept an nsIDOMFile. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-08-31 14:07:16 -07: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
L. David Baron f17afd5ec8 Backed out changeset 3a829715fd39 (Bug 482935) on suspicion of causing mochitest-plain leaks. 2009-08-20 12:22:30 -07:00
Bjarne 0213d2b0fd Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed, r=jduell.mcbugs 2009-08-20 17:45:38 +02:00
Zack Weinberg 77272339e1 Bug 444377 - preserve string form of color attributes; r=bzbarsky 2009-08-19 17:05:14 +02:00
Mats Palmgren 76e573cf8b Bug 498240 - Range.insertNode() causing NS_ERROR_DOM_INDEX_SIZE_ERR. r+sr=peterv 2009-08-19 02:18:24 +02:00
Adam Barth 5c141f78e7 Bug 509714 - Add TestGetURL executable for testing network stack; r=dwitte 2009-08-14 16:10:17 +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
Michal Novotny 9a6b2a4295 Testcase for bug 466409 - uncached non-utf8 document loads forever (hangs) with auto-detect -> universal 2009-07-14 16:55:03 +02:00
Peter Van der Beken 91e3e477a5 Fix for bug 485881 (test_bug409380.html has unbound variable r). r/sr=smaug.
--HG--
extra : rebase_source : 355574ce1a831e8ea1e06891b6d0a7b3b6cc57ed
2009-07-14 16:04:55 +02:00
Jonathan Griffin f090c43a7f Actually run the test for bug 493881 2009-06-29 20:26:57 +02:00
Jonathan Griffin 63c2af7e08 Test for bug 493881. r=zweinberg 2009-06-29 18:25:38 +02:00
Henri Sivonen c9c0683ced Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 01:28:32 +02:00
Olli Pettay a28a2a8928 Bug 500243 - range.surroundContents() adds an extraneous empty text node, r=ajvincent@gmail.com, sr=sicking 2009-06-28 22:48:05 +03:00
Johnny Stenback 87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07: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
Henri Sivonen fb74340ed2 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Wladimir Palant 0717bc6d5d Bug 478528 - making sure test_bug375314.html removes its binding to prevent memory leak 2009-06-25 17:58:56 -04:00
Henri Sivonen 0a5ee2be2b Make test_bug417255.html use <div> instead of <p> because HTML5 parser closes <p> earlier than the test needs 2009-06-24 09:56:37 +03:00
Robert Strong 7606459da7 Bug 487571 - add xpcshell tests for network offline and connection refused. r=sicking 2009-06-22 12:28:34 -07:00
Olli Pettay cad90a07e2 Bug 478528 - mochitest-plain: test_bug419527.xhtml intermittently leaks 300 kB, r=bz
--HG--
extra : rebase_source : 02d7944dd0eaa99717a2902d77b00a93b2580570
2009-06-22 21:40:55 +03:00
Peter Van der Beken 3c3858b23e Testcase for bug 498897.
--HG--
extra : rebase_source : a70554700d208221bfa8c7349cb11f879341e317
2009-06-19 18:31:49 +02:00
Christian Biesinger 1a8d7a9703 bug 498433 Add [ ] to the EscapeURI whitelist, so that IPv6 literals get
serialized correctly.
r+sr=bz
2009-06-16 15:15:57 +02:00
Olli Pettay fd6786da5d Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +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
Jonas Sicking 124a6f937e Add prefs to disable CORS, as well as fix compliance issue in Access-Control-Request-Headers header. r/sr/a=jst 2009-05-20 16:07:18 -07: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
Boris Zbarsky b3ddab0df3 Fixing test
--HG--
rename : content/base/test/test_bug490760.xhtml => content/base/crashtests/490760-1.xhtml
2009-05-17 13:12:20 -04:00
Boris Zbarsky 2e785549a0 Add the crashtest for bug 490760 2009-05-17 10:22:55 -04:00