Commit Graph

350 Commits

Author SHA1 Message Date
Masatoshi Kimura
ff8084293c Bug 703380 - Test fix & added a new test; r=smaug
--HG--
extra : rebase_source : adddf8781b55c797ca15139cbc1e5a9c5032494a
2011-11-21 12:07:27 -06:00
Henri Sivonen
44e424ee00 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matt Brubeck
2c50849fa3 Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Henri Sivonen
09985ff269 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Boris Zbarsky
25cec39950 Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Phil Ringnalda
c2f49690ff Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Wellington Fernando de Macedo
5efb782bc4 Bug 664179: Allow EventSource to access cross-origin event streams using CORS. r=smaug,sicking 2011-10-28 19:52:27 -07:00
Boris Zbarsky
622bb687dd Bug 320799. Fix client* and scroll* for comboboxes to not consider the dropdown's scrollable area. r=roc 2011-10-18 16:17:45 -04:00
Olli Pettay
0a0ac43d90 Bug 693875, DOMParser + svg, r=jst 2011-10-13 13:50:05 +03:00
Boris Zbarsky
31d91ff3a9 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Olli Pettay
5138297d6e Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Henri Sivonen
c06a84abb0 Bug 692434 - Use = instead of == for assignment in XHR charset handling code. r=Olli.Pettay. 2011-10-07 14:33:42 +03:00
Matheus Kerschbaum
f79d315393 Bug 683482 - Remove replaceWholeText() r=sicking 2011-10-01 18:12:30 +02:00
Masatoshi Kimura
0f69ea4ac2 automated test for bug 669049, r=sicking 2011-09-27 10:40:36 +02:00
Jonas Sicking
1e4cc44dc8 Bug 687087 part 3. Implement XHR.responseType="moz-chunked-text" and XHR.responseType="moz-chunked-arraybuffer". r=smaug on code changes, rs=smaug on tests. 2011-09-23 18:57:36 -07:00
Jesse Ruderman
63a423e86d Test for bug 682463. 2011-09-24 02:56:38 +02:00
Boris Zbarsky
085b188f8c Bug 684671. Allow the onreadystatechange getter/setter on Document.prototype to not throw even if its |this| is bogus. r=peterv,sicking 2011-09-23 01:03:50 -04:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Olli Pettay
12f3b41155 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Olli Pettay
2f2d683768 Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Olli Pettay
586e545839 Bug 685798 - Node.parentElement, r=bz 2011-09-11 16:05:19 -07:00
Boris Zbarsky
d9ab900089 Bug 682554. Move onreadystatechange to live on Document only. r=smaug 2011-09-19 22:56:45 -04:00
arno renevier
2e9028ee92 bug 682592: do bidi scan when nsTextFragment content is changed 2011-09-09 12:27:00 -04:00
Shawn Gong
9640476441 Bug 655727. Implemented responseType='moz-json', r=sicking 2011-09-08 15:12:18 -07:00
Brad Lassey
156110781c bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
Boris Zbarsky
d1bba9b0c6 Bug 675121. Unregister animation frame callbacks from the refresh driver while we have event handling suppressed. r=smaug,roc 2011-08-07 22:24:28 -04:00
Joel Maher
631c8bced7 Bug 674319 - move test_bug391728.html to mochitest-chrome. r=mossop, a=test-only
--HG--
rename : content/base/test/file_bug391728.html => content/base/test/chrome/file_bug391728.html
rename : content/base/test/file_bug391728_2.html => content/base/test/chrome/file_bug391728_2.html
rename : content/base/test/test_bug391728.html => content/base/test/chrome/test_bug391728.html
2011-07-28 12:04:00 -04:00
Boris Zbarsky
6311e0ed15 Bug 664916. Make sure that we're dealing with an element when getting tagName. r=sicking 2011-07-07 14:17:13 -04:00
Jason Duell
ebaf20a075 bug 664860: Rename websockets mochi test. r=biesi
--HG--
rename : content/base/test/file_ws_basic_tests_wsh.py => content/base/test/file_websocket_basic_wsh.py
rename : content/base/test/test_ws_basic_tests.html => content/base/test/test_websocket_basic.html
2011-07-04 21:18:30 -07:00
Olli Pettay
209c56c874 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Josh Matthews
03e38d47bb Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Joel Maher
3e18d9a843 Bug 664158 - move content/base/test/chrome/test_bug574596.html to mochitest-chrome. r=mats, a=test-only
--HG--
rename : content/base/test/test_bug574596.html => content/base/test/chrome/test_bug574596.html
2011-06-19 11:57:09 -04:00
Joel Maher
7317499f54 Bug 659315 - move content/base/test/*.xul to mochitest-chrome. r=jonas, a=test-only
--HG--
rename : content/base/test/test_bug339494.xul => content/base/test/chrome/test_bug339494.xul
rename : content/base/test/test_bug357450.xul => content/base/test/chrome/test_bug357450.xul
rename : content/base/test/test_bug571390.xul => content/base/test/chrome/test_bug571390.xul
2011-06-09 11:10:14 -04:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Kyle Huey
601d68ae79 Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch MozBlobBuilder.getBlob("content/type"); returns a Blob and clears the MozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new MozBlobBuilder();
MozBlobBuilder.append("foo");
let blob1 = MozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
MozBlobBuilder.append("bar");
let blob2 = MozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Kyle Huey
0018d52058 Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Kyle Huey
7da7ee7e4b Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Olli Pettay
5a3d01a7ee Bug 656218, document.activeElement should not throw, r=bz 2011-05-11 23:52:32 +03:00
Mats Palmgren
3d592e7e8c Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Jonas Sicking
5cf82091f0 Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Ehsan Akhgari
9db49692dd Bug 650543 - Rewrite the test for bug 419132 to make it sane, and re-enable it; r=sicking 2011-04-16 19:39:42 -04:00
Ehsan Akhgari
9676a5023a Bug 492181 - test_plugin_freezing.html causes focus problems for the following test; r=roc 2011-04-16 19:39:43 -04:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Peter Van der Beken
0ba34f47fc Fix for bug 626262 (Don't allow parent's ownerDocument to change during appendChild). r=bz.
--HG--
extra : rebase_source : a591ab1b85579ced5fc750253cf2204c5ca021f8
2011-02-07 15:36:16 +01:00
Ms2ger
e1868789c3 Bug 628353 - Expose the DATA_CLONE_ERR constant on DOMException; r=jst 2011-03-28 23:32:11 -04:00
Justin Lebar
776b8e6a2f Bug 585978 - Add SSE implementation of is-ascii check in nsTextFragment. r=derf,jst 2010-08-09 15:32:18 -07:00
bjarne@runitsoft,com
d902fada99 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed; r=(dwitte, jduell). 2011-03-24 16:45:07 -04:00