131 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
1b3e511f1c Bug 445004. Make the base and document URI of document.written documents be the
base and document URI of the document on whose current context our code is
running. r+sr=jst, r=dcamp

Bug 465752. Fix Equals() to work right on javascript: URIs. r=dcamp, sr=jst.

Both a=ss


git-svn-id: svn://10.0.0.236/trunk@255943 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-28 00:56:09 +00:00
jst%mozilla.org
81641f9c64 Landing fix for bug 440572 for 3.0. Fix permission problem with window.content (and probably other properties as well). r+sr=mrbkap@gmail.com, a=samuel.sidler@gmail.com
git-svn-id: svn://10.0.0.236/trunk@253660 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-17 00:52:26 +00:00
dcamp%mozilla.com
6867c8e8d0 Bug 422264: retrieving iterator of applicationCache throws NS_ERROR_DOM_INVALID_STATE_ERR. r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252720 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 03:44:42 +00:00
gavin%gavinsharp.com
61291e711e Bug 431986: ApplicationCache doesn't implement EventTarget, patch by dcamp@mozilla.com, r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@251435 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-09 00:10:50 +00:00
gavin%gavinsharp.com
bece843f36 Bug 432055: applicationCache.status is 0 through the update process, patch by dcamp@mozilla.com, r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@251434 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-09 00:09:27 +00:00
gavin%gavinsharp.com
65aaca746b Re-enable these tests now that there's another xserve collecting core dumps (bug 432471)
git-svn-id: svn://10.0.0.236/trunk@251423 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-08 22:00:36 +00:00
gavin%gavinsharp.com
bd5b46e9ab Disable these again to try and work around the crashes (bug 432729)
git-svn-id: svn://10.0.0.236/trunk@251374 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-08 01:06:32 +00:00
gavin%gavinsharp.com
0b7dd3ea64 Reenabled these tests now that we have code dumps enabled on the crashing machine (bug 432471)
git-svn-id: svn://10.0.0.236/trunk@251347 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 20:07:04 +00:00
gavin%gavinsharp.com
aa1f16df6a Disable test_characterdatagetlength.html to see whether it fixes the bm-xserve01 crashes (bug 432471)
git-svn-id: svn://10.0.0.236/trunk@251345 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 19:53:48 +00:00
gavin%gavinsharp.com
a50ac7b611 Disable test_characterdatagetdata.html to see whether it fixes the bm-xserve01 crashes (bug 432471, a=jimm)
git-svn-id: svn://10.0.0.236/trunk@251340 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 19:08:50 +00:00
jwalden%mit.edu
4eb9b8d3dc Bug 430251 - Update to latest HTML5 and make postMessage dispatch its event asynchronously, as well as dispatch at the window, not the document. r=jst, r=smaug, sr=sicking, a=damons, c=cookie
git-svn-id: svn://10.0.0.236/trunk@251114 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 19:26:50 +00:00
Olli.Pettay%helsinki.fi
96e657b052 Bug 430276, new XMLHttpRequest() after document.write throws an exception, patch2, r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250946 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-29 19:22:24 +00:00
Olli.Pettay%helsinki.fi
5a66de5f7a Bug 430276, new XMLHttpRequest() after document.write throws an exception, r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250776 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-25 09:45:59 +00:00
dolske%mozilla.com
d118af8adc Bug 427878 - mochitest crash in test_HTMLBodyElement08.html (disabling tests until a cause is found)
git-svn-id: svn://10.0.0.236/trunk@250636 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 22:00:07 +00:00
dcamp%mozilla.com
0919eed89c Bug 425792: Properly update and use expiration times when updating the offline cache. r/sr=biesi, b1.9=damons
git-svn-id: svn://10.0.0.236/trunk@249887 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 05:22:35 +00:00
bmlk%gmx.de
f9707b049e disable dom html2 on mac
git-svn-id: svn://10.0.0.236/trunk@248862 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 12:26:03 +00:00
bmlk%gmx.de
b1f3f60fe1 disable java tests as Macs do not like them.
git-svn-id: svn://10.0.0.236/trunk@248859 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 10:01:48 +00:00
bmlk%gmx.de
0bd5b161bc fix nsinstall bustage
git-svn-id: svn://10.0.0.236/trunk@248858 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 09:41:24 +00:00
bmlk%gmx.de
24a3157a3b activate the DOM Level 2 HTML tests bug 421674 r=sayrer
git-svn-id: svn://10.0.0.236/trunk@248857 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 09:19:54 +00:00
reed%reedloden.com
f240e5cc1f Remove file accidentally added by bernd.
git-svn-id: svn://10.0.0.236/trunk@248846 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-30 02:50:09 +00:00
bmlk%gmx.de
d784d8f0e8 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


git-svn-id: svn://10.0.0.236/trunk@248827 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-29 19:06:37 +00:00
reed%reedloden.com
011b865264 Bug 424093 - "CNN Video page will not load" [p=dcamp@mozilla.com (Dave Camp) r=Enn sr=jst a1.9b5=beltzner]
git-svn-id: svn://10.0.0.236/trunk@248347 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 06:46:57 +00:00
jwalden%mit.edu
0bdf22f652 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
git-svn-id: svn://10.0.0.236/trunk@248333 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 01:23:49 +00:00
dcamp%mozilla.com
9038ce97e4 Bug 407839: restrict globalStorage to same host. r=enndeakin, sr=jst, blocking1.9=pavlov
git-svn-id: svn://10.0.0.236/trunk@248162 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 01:27:35 +00:00
reed%reedloden.com
9e29e7ae36 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!])]
git-svn-id: svn://10.0.0.236/trunk@248120 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 19:55:12 +00:00
jst%mozilla.org
0cf313d564 Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@247869 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 21:31:38 +00:00
jwalden%mit.edu
5a0c0b1bcf Bug 421767 - element.attributes.removeNamedItemNS(<non-existent attribute NS and name>) returns null instead of throwing. acid3++ r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247506 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 23:02:36 +00:00
jwalden%mit.edu
19b6f29fed 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
git-svn-id: svn://10.0.0.236/trunk@247286 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 02:32:21 +00:00
jwalden%mit.edu
0628cf2ab0 Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null.
git-svn-id: svn://10.0.0.236/trunk@246639 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 06:03:38 +00:00
jwalden%mit.edu
d3ebb55032 Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246617 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:48:56 +00:00
jonas%sicking.cc
35f305467d Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246616 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:45:32 +00:00
reed%reedloden.com
f635420f32 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246592 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:01:02 +00:00
jst%mozilla.org
ee74c118d5 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
git-svn-id: svn://10.0.0.236/trunk@246266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 02:18:43 +00:00
jwalden%mit.edu
fcf97a821b Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@245800 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 23:22:56 +00:00
jwalden%mit.edu
896223b76d Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245449 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 04:14:58 +00:00
jwalden%mit.edu
862951ff5b 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.
git-svn-id: svn://10.0.0.236/trunk@245427 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-11 20:27:32 +00:00
jruderman%hmc.edu
a61826cd98 Add mochitest
git-svn-id: svn://10.0.0.236/trunk@245302 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-09 10:35:51 +00:00
jruderman%hmc.edu
4156fcdccc Add mochitest for "new HTMLDocument()" throwing and not asserting
git-svn-id: svn://10.0.0.236/trunk@245284 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-09 00:24:43 +00:00
jwalden%mit.edu
81e14c8be6 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245167 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 20:58:57 +00:00
jwalden%mit.edu
734b16a45b 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
git-svn-id: svn://10.0.0.236/trunk@244805 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 02:09:34 +00:00
jwalden%mit.edu
f89e42dc62 Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst
git-svn-id: svn://10.0.0.236/trunk@244423 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 01:31:33 +00:00
reed%reedloden.com
baf824d509 Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@244323 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:54:56 +00:00
dcamp%mozilla.com
efdb40c9f6 Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@243797 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-23 04:31:51 +00:00
dcamp%mozilla.com
72024253e9 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
git-svn-id: svn://10.0.0.236/trunk@243319 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 21:54:35 +00:00
martijn.martijn%gmail.com
77c154297e Mochitest for bug 397571, r=martijn.martijn
git-svn-id: svn://10.0.0.236/trunk@241910 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 14:42:27 +00:00
mrbkap%gmail.com
25b812700a Fix mochitest fallout from bug 396849
git-svn-id: svn://10.0.0.236/trunk@241700 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 21:56:14 +00:00
ted.mielczarek%gmail.com
049b982f22 bug 400204 - window.innerWidth throws exception when called on a non-displayed frame (mochitest). r=jst
git-svn-id: svn://10.0.0.236/trunk@240419 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 16:52:23 +00:00
ted.mielczarek%gmail.com
1456d26eb2 bug 400204 - window.innerWidth throws exception when called on a non-displayed frame (mochitest). r=jst
git-svn-id: svn://10.0.0.236/trunk@240415 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 16:45:15 +00:00
dcamp%mozilla.com
6c78604d16 Bug 405479: fix race condition in test for bug 377539. r=bz
git-svn-id: svn://10.0.0.236/trunk@239962 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 04:08:19 +00:00
bzbarsky%mit.edu
bc5ea9ff4d Adding test.
git-svn-id: svn://10.0.0.236/trunk@239887 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-23 23:31:51 +00:00