Commit Graph

278 Commits

Author SHA1 Message Date
Olli.Pettay@helsinki.fi
aa8ad34275 Bug 430276, new XMLHttpRequest() after document.write throws an exception, r+sr=jst, a=beltzner 2008-04-25 02:45:58 -07:00
dolske@mozilla.com
5db8c69268 Bug 427878 - mochitest crash in test_HTMLBodyElement08.html (disabling tests until a cause is found) 2008-04-22 15:00:07 -07:00
dcamp@mozilla.com
299ba58c7b Bug 425792: Properly update and use expiration times when updating the offline cache. r/sr=biesi, b1.9=damons 2008-04-08 22:22:32 -07:00
bmlk@gmx.de
e1772852cc disable dom html2 on mac 2008-03-30 05:26:03 -07:00
bmlk@gmx.de
624f696d66 disable java tests as Macs do not like them. 2008-03-30 03:01:48 -07:00
bmlk@gmx.de
c9558dd4df fix nsinstall bustage 2008-03-30 02:41:24 -07:00
bmlk@gmx.de
38099676c8 activate the DOM Level 2 HTML tests bug 421674 r=sayrer 2008-03-30 02:19:54 -07:00
reed@reedloden.com
27ae6d427a Remove file accidentally added by bernd. 2008-03-29 19:50:09 -07:00
bmlk@gmx.de
ed20cc197e initial checkin of the DOM-TS Level 2 HTML testcases converted into mochitests, the work is based on what rsayrer has done for the other dom test suites The main difference is that there is exeption.js, todos are marked in the testcases themself. bug 421674 a=testonly 2008-03-29 12:06:20 -07:00
reed@reedloden.com
b456d95bcc Bug 424093 - "CNN Video page will not load" [p=dcamp@mozilla.com (Dave Camp) r=Enn sr=jst a1.9b5=beltzner] 2008-03-20 23:46:57 -07:00
jwalden@mit.edu
f81dbedcf7 Also run createElement(?:NS)? tests on XML/XHTML documents, in addition to on an HTML document. We don't have any bugs that this exposes, but it seems like a good idea to add them, since another implementation (WebKit) was passing all our tests but failing the Yahoo! webmail does-it-work smoketest due to this. a=itsatest 2008-03-20 18:23:49 -07:00
dcamp@mozilla.com
a998ea3234 Bug 407839: restrict globalStorage to same host. r=enndeakin, sr=jst, blocking1.9=pavlov 2008-03-18 18:27:35 -07:00
reed@reedloden.com
7666927a21 Bug 375457 - "toDataURL has incorrect type-checking logic" (a simple test that just ensures we throw an exception when calling toDataURL with null and objects) [p=joe@drew.ca (Joe Drew [JOEDREW!])] 2008-03-18 12:55:12 -07:00
jst@mozilla.org
0cbe6b969b Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc 2008-03-14 14:31:24 -07:00
jwalden@mit.edu
f57d2e7968 Bug 421767 - element.attributes.removeNamedItemNS(<non-existent attribute NS and name>) returns null instead of throwing. acid3++ r+sr=jst, a=beltzner 2008-03-10 16:02:36 -07:00
jwalden@mit.edu
347503284f Make one test that relies on popup blocking being disabled fail quickly if popup blocking is enabled, and make another test non-Mozilla-specific because HTML5 got updated and now matches our behavior with respect to the origin of data: URIs (they have the origin of the window/script that opened them). rs=sicking 2008-03-06 18:32:21 -08:00
jwalden@mit.edu
3bdf362531 Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null. 2008-02-26 22:03:38 -08:00
jwalden@mit.edu
5809da44ed Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner 2008-02-26 19:48:54 -08:00
jonas@sicking.cc
65f4571f58 Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv 2008-02-26 19:45:29 -08:00
reed@reedloden.com
ce8dfb0807 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+] 2008-02-26 17:01:01 -08:00
jst@mozilla.org
9df1fbb330 Fixing bug 418755. Revert our decision to throw WRONG_DOCUMENT_ERR per the DOM spec as the web expects that not to happen. r+sr=jonas@sickin.cc 2008-02-21 18:18:43 -08:00
jwalden@mit.edu
c94942c6d0 Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner 2008-02-15 15:22:55 -08:00
jwalden@mit.edu
5ccb25d679 Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
jwalden@mit.edu
9bb11a71df Adding a test to ensure .uri on a postMessage-generated event contains a hash reference from the caller, if one was present. No bug or code changes. 2008-02-11 12:27:32 -08:00
jruderman@hmc.edu
7e1fd6b92b Add mochitest 2008-02-09 02:35:51 -08:00
jruderman@hmc.edu
9892d16836 Add mochitest for "new HTMLDocument()" throwing and not asserting 2008-02-08 16:24:43 -08:00
jwalden@mit.edu
ddfc96b454 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep 2008-02-07 12:58:56 -08:00
jwalden@mit.edu
f61ebc4f6c Bug 414815 - Add a window.postMessage test in the presence of a <base> tag (addresses the only postMessage test WebKit had for their implementation which we didn't). a=itsatest 2008-02-02 18:09:34 -08:00
jwalden@mit.edu
035ea5179c Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst 2008-01-29 17:31:29 -08:00
reed@reedloden.com
ba1ebe6e9b Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+] 2008-01-28 23:54:54 -08:00
dcamp@mozilla.com
bac18b5c8e Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi 2008-01-22 20:31:50 -08:00
dcamp@mozilla.com
9a3a47ed20 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -08:00
martijn.martijn@gmail.com
485471a1de Mochitest for bug 397571, r=martijn.martijn 2007-12-21 06:42:27 -08:00
mrbkap@gmail.com
d3cd1df667 Fix mochitest fallout from bug 396849 2007-12-18 13:56:14 -08:00
ted.mielczarek@gmail.com
08ab0d988a bug 400204 - window.innerWidth throws exception when called on a non-displayed frame (mochitest). r=jst 2007-12-04 08:52:23 -08:00
ted.mielczarek@gmail.com
319f72faea bug 400204 - window.innerWidth throws exception when called on a non-displayed frame (mochitest). r=jst 2007-12-04 08:45:15 -08:00
dcamp@mozilla.com
5ddd1d31b3 Bug 405479: fix race condition in test for bug 377539. r=bz 2007-11-26 20:08:19 -08:00
bzbarsky@mit.edu
db65ca12c1 Adding test. 2007-11-23 15:31:51 -08:00
reed@reedloden.com
104d37e84d Bug 319968 - "Some DOM functions don't work in XPCShell (classinfo broken)" [p=Mossop r+sr=jst a1.9=schrep] 2007-11-13 02:35:49 -08:00
jwalden@mit.edu
6349c0d4bb Bug 389366 - Canvas's .getImageData is returning premultiplied alpha pixels. r=dolske on my mochitestification of the test he wrote but was too slackerly to convert to a Mochitest :-P 2007-10-29 14:30:45 -07:00
bzbarsky@mit.edu
fa9ec1b622 Fix a few scriptable helpers to correctly communicate NS_SUCCESS_I_DID_SOMETHING. Bug 396843, r+sr+a=jst 2007-09-28 07:28:16 -07:00
bzbarsky@mit.edu
3d72bc9b42 Adding test. 2007-09-20 20:39:37 -07:00
jwalden@mit.edu
79066f5a93 Bug 393974 - Tree walkers leak with a non-null filter. r=smaug, sr=sicking, a=blocking1.9 2007-08-28 16:42:41 -07:00
enndeakin@sympatico.ca
bc948c49b0 Bug 389083, domstorage tests not outputing results, r=sayrer 2007-08-10 14:44:28 -07:00
sayrer@gmail.com
88b28837d6 Bug 375543. Add better diagnostics to failures. Patch by John Resig. r=sayrer 2007-08-08 22:48:58 -07:00
jst@mozilla.org
1592d59c6c Backing out tests to fix orange. 2007-08-06 17:30:30 -07:00
jst@mozilla.org
6c211e48e4 Landing tests for bug 280959. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com 2007-08-06 16:11:52 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dcamp@mozilla.com
2223d6fa5f disable some offline tests with problems, b=390494, r=vlad, a=damons 2007-08-01 11:46:32 -07:00
dcamp@mozilla.com
0eee14ff27 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
bzbarsky@mit.edu
b9ed3a0a0f Adding test. 2007-07-16 10:41:29 -07:00
jwalden@mit.edu
c1fc2bbd75 I think I figured out the problem with bug 384192; the code added to quit.js is also used in the browser tests, but it triggers an undefined-variable exception there, and I think the tests are getting killed by test timeout code that doesn't print a helpful 'tests timed out' message to give a little help determining the cause of the failure. We shall see... 2007-07-12 20:38:31 -07:00
jwalden@mit.edu
80614fd3e7 Fix line endings. 2007-07-12 17:17:38 -07:00
jwalden@mit.edu
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
76bb7db098 Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee 2007-07-11 22:38:47 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
dcamp@mozilla.com
41ad48abf4 implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -07:00
sdwilsh@shawnwilsher.com
c0551dcb6a Bug 386109 - Integrate jQuery Test Suite (adding missing file). Patch by John Resig <jresig@mozilla.com>. r=rcampbell 2007-06-29 08:53:36 -07:00
rcampbell@mozilla.com
c77de12eb0 bug 386109 - Integrate jQuery Test Suite, patch by John Resig <jresig@mozilla.com>, r+=robcee 2007-06-29 08:10:42 -07:00
rcampbell@mozilla.com
63a28085f4 bug 381001 - Integrate Scriptaculous Test Suite, patch by John Resig <jresig@mozilla.com>, r+=me 2007-06-27 10:04:26 -07:00
rcampbell@mozilla.com
3afc873e2b bug 379506, Integrate MochiKit Test Suite, patch by John Resig, <jresig@mozilla.com> 2007-06-21 07:13:56 -07:00
peterv@propagandism.org
97650672c8 Fix for bug 384122 (QueryInterface shouldn't be enumerable on DOM interface objects). r/sr=jst. 2007-06-14 03:03:44 -07:00
jonas@sicking.cc
82a7fdf84a Bug 383511: Support multi-domain tests in mochitest. r=sayrer 2007-06-11 14:55:28 -07:00
rcampbell@mozilla.com
c1e34db8a4 Commenting MochiKit until fixed on Linux 2007-06-07 09:59:24 -07:00
rcampbell@mozilla.com
435f0e4e3c Fixed case error in Makefile 2007-06-06 14:29:18 -07:00
rcampbell@mozilla.com
7573ef5550 More makefile oddness 2007-06-06 14:15:37 -07:00
rcampbell@mozilla.com
039741b813 Spaces in Makefile.in, entabified 2007-06-06 13:59:40 -07:00
rcampbell@mozilla.com
75e9c10576 Bug 379506 - Integrate MochiKit Test Suite, patch by John Resig <jresig@mozilla.com> 2007-06-06 13:33:16 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
peterv@propagandism.org
9eba56a764 Test for bug 370098 (Some constructors raise a "XXX is not a function" exception when called (DOMParser, XMLSerializer, XMLHttpRequest, XPathEvaluator, XSLTProcessor)). r=jst. 2007-05-25 09:06:02 -07:00
mats.palmgren@bredband.net
689855b929 Mochitest for bug 377539. b=377539 r=bzbarsky 2007-05-09 06:27:59 -07:00
bzbarsky@mit.edu
36656a88fa Allow getting the lineNumber of XPConnect expceptions. Bug 291377, r=sicking,sr=jst. r=mrbkap, sr=jst for the test. 2007-04-26 21:19:11 -07:00
enndeakin@sympatico.ca
7e98f6b0e7 Bug 371127, add a test for domstorage in chrome, r=sayrer 2007-04-26 08:35:57 -07:00
sayrer@gmail.com
60a57fa0e2 bug 375543. One last resource in the Makefile to fix bustage. 2007-04-23 22:25:13 -07:00
sayrer@gmail.com
add691fc93 bug 375543. alter Makefiles to prevent Windows bustage. 2007-04-23 21:41:41 -07:00
sayrer@gmail.com
fe7436e0d2 Add Prototype.js library unit tests. Hopefully the first of many AJAX test suites. Patch by John Resig <jresig@mozilla.com>. r=sayrer 2007-04-23 21:01:42 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00