Commit Graph

3371 Commits

Author SHA1 Message Date
Benjamin Stover
e2377d2b80 Bug 626792 Content view contentWidth/Height do not update immediately after scaling r=roc r=mbrubeck 2011-07-18 11:04:47 -07:00
Patrick McManus
d0453f20a5 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Marco Bonardo
e6d7be7e60 Merge mozilla-central to mozilla-inbound 2011-07-26 11:53:11 +02:00
Josh Matthews
4ade623280 Bug 661035 - Print frame script errors to stdout. r=smaug 2011-07-08 16:15:58 -04:00
Ehsan Akhgari
b85c178117 Merge mozilla-central and mozilla-inbound 2011-07-22 15:51:08 -04:00
Mounir Lamouri
60e4b00054 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Mounir Lamouri
91ef97c1f9 Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
4d1f52da24 Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:04:09 -07:00
Mounir Lamouri
c513cd9d9f Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
00b4aa4898 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
7e7c6831b6 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
0dfc533aac Bug 667883 - Implement nsAttrAndChildArray::SizeOf(). r=bz 2011-07-12 16:56:01 +02:00
Daniel Holbert
19a9a14397 Bug 669438: Remove unused helper-function "DOMFileResult" from nsDOMFile.cpp. r=sicking 2011-07-12 00:10:23 -07:00
Jonas Sicking
742a5593a3 Bug 669437: Implement BlobBuilder.getFile. r=khuey 2011-07-11 19:42:02 -07:00
Jonas Sicking
0103221c13 Bug 669433 Part 3: Make first argument to Blob.slice optional and defaulting to 0. r=khuey 2011-07-11 19:41:55 -07:00
Jonas Sicking
6f2e35cdd5 Bug 669433 Part 2: Clean up File implementations. Move functions around such that they are grouped with their respective class. No other changes. r=khuey 2011-07-11 19:41:44 -07:00
Jonas Sicking
eb9ce9a027 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Mounir Lamouri
7b98e99ad6 Bug 669308 - Introduce macros and method helpers to simplify participation of classes to the DOM Memory Reporter. r=bz 2011-07-11 17:23:26 +02:00
Patrick McManus
58c63edee3 bug 662692 - Do not allow mixed-content WebSockets r=smaug 2011-07-10 12:31:41 -04:00
Felipe Gomes
bdcb64d147 Bug 583976. Part 3 - Automatically forward mouse and key input events to out-of-process content, and add cursor support in PuppetWidget. r=smaug,stechz 2011-06-21 17:32:43 -07:00
Felipe Gomes
0a988c309a Bug 583976. Part 1 - Add focus manager support for focus activation/deactivation in remote content. r=enn,smaug 2011-06-17 17:08:32 -07:00
Felipe Gomes
527cbc1e43 Bug 663035. Retrieving docShell of remote frames should simply return null instead of throwing. r=bsmedberg 2011-06-14 17:29:10 -07:00
Felipe Gomes
091d656e1b Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07: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
Daniel Holbert
6cd47754b0 Bug 669727: Remove set-but-unused variable isDeepDocumentClone from nsNodeUtils.cpp. r=smaug 2011-07-07 09:57:22 -07:00
Kyle Huey
3b073151cf Bug 668361: File ctor should fail if passed a directory. r=sicking 2011-07-06 09:35:12 -07:00
Olli Pettay
1e52239020 Additional test for Bug 666604, r=volkmar
--HG--
extra : rebase_source : 3ff98e5bb1ab594db111e81501abb5cf2b43d60d
2011-07-06 16:02:26 +03:00
Mounir Lamouri
a15518f8d7 Merge mozilla-inbound into mozilla-central. 2011-07-06 14:43:52 +02:00
Chris Leary
679a65fe47 Merge mozilla-central and tracemonkey. 2011-07-05 17:30:35 -07:00
Boris Zbarsky
b6a4808b23 Bug 668690. When scripts are disabled, don't bother preloading them. r=sicking 2011-07-05 17:33:03 -04:00
Jason Duell
45ea24eb5d Bug 664860. Rename nsIWebSocketHandler -> nsIWebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketChannel.idl
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketListener.idl
2011-07-04 21:18:32 -07: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
Ms2ger
11413e95a1 Merge m-c to m-i 2011-07-03 21:54:56 +02:00
Ms2ger
e6aaa3671f Bug 668184 - Make nsIDocument::AddXMLEventsContent return void; r=smaug 2011-07-03 11:53:41 +02:00
Ms2ger
ae8afde742 Bug 647433 - Rename mContent to mElement in implementations of nsIContentSerializer; r=bz 2011-07-03 11:53:40 +02:00
Marco Bonardo
e46465dc77 No bug - Fix merge conflict across mozilla-inbound and mozilla-central. 2011-07-02 11:22:57 +02:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Kyle Huey
3d981011e9 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
938ba969e8 Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -07:00
Olli Pettay
d99aaa1cc3 Bug 664470, unlink document some more, r=peterv
--HG--
extra : rebase_source : dbafa0618f381c4dc9360f972676de137d2d9885
2011-07-01 17:05:37 +03:00
Matt Brubeck
27d39ad214 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Marco Bonardo
b164bf7cd7 Backout due to mobile failures these changesets: 9f451a1901dd, e99f86ba7278, 447b48b79e6a, cef046665c53, c9237cc1fae0, d77a331a6d5a, f8f3afb95355, a050168887ee, 3ec4303ebf4d, 671b7c0d99f0, 56b17efbb62b, beceddeee3f4 on a CLOSED TREE 2011-07-01 16:28:07 +02:00
Felipe Gomes
4daf8a243a Bug 583976. Part 3 - Automatically forward mouse and key input events to out-of-process content, and add cursor support in PuppetWidget. r=smaug,stechz 2011-06-21 17:32:43 -07:00
Felipe Gomes
4c5c4c7163 Bug 583976. Part 1 - Add focus manager support for focus activation/deactivation in remote content. r=enn,smaug 2011-06-17 17:08:32 -07:00
Felipe Gomes
463ef55fb5 Bug 663035. Retrieving docShell of remote frames should simply return null instead of throwing. r=bsmedberg 2011-06-14 17:29:10 -07:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Shawn Gong
552c301b28 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Matheus Kerschbaum
f1c2a21293 Bug 383383 - Remove nsIScriptEventManager and nsIScriptEventHandler. r=smaug 2011-06-30 14:30:08 +02:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Jonas Sicking
e66eecfd3e Bug 647603: a.replaceChild(b, b) does not remove and re-insert the affected node. r=bz 2011-06-29 23:16:09 -07:00
Jonas Sicking
08ce29756c Bug 649150: Make sure that all blobs and files sent using FormData have a filename in the encoded submission. r=mounir 2011-06-29 11:03:36 -07:00
Mounir Lamouri
6e599087e2 Bug 667497 - Add documents' element size to documents' size computation. r=jst 2011-06-29 13:19:21 +02:00
Mounir Lamouri
722f1a262b Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Boris Zbarsky
b5da919e09 Bug 667618 followup. The maemo compiler doesn't like arrays ending with ',', apparently 2011-06-28 22:41:27 -04:00
Boris Zbarsky
3299eef867 Bug 668030. Warn when enablePrivilege is used. r=sicking 2011-06-28 21:05:45 -04:00
Boris Zbarsky
fba2e87316 Bug 667618. Prevent mismatches between our enum and our strings. r=sicking 2011-06-28 21:05:34 -04:00
Ehsan Akhgari
d6b4429b37 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Doug Turner
d4487fbc34 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Felipe Gomes
3040e61e93 Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Kyle Huey
e335bde887 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey
c0b3196c33 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
75d0f42aa6 Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -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
Ehsan Akhgari
c4436101c8 Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
f31ca46f1c Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Chris Leary
31076ac1d6 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Jeff Walden
0a61156473 Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Chris Leary
7922cf2289 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Jesse Ruderman
16693ed945 Add crashtest from bug 605672 2011-06-20 11:42:05 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Josh Matthews
79feb948a8 Bug 537787 - Update websocket test to use SpecialPowers. r=ctalbert try: -b do -p all -u mochitests -t none 2011-05-24 02:43:05 +03:00
Nikhil Marathe
8d1eed62d4 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Blake Kaplan
83446b873d Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
ced65c9a25 Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Jeff Walden
e84bb50504 Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Nikhil Marathe
524b87e3d5 Bug 656519 - Fix consumers outside SpiderMonkey to use new ArrayBuffer APIs. r=mrbkap
--HG--
extra : rebase_source : f359987831611155029114b5f85080155c6a12d5
2011-06-14 15:37:21 -04:00
Josh Matthews
180c7a5397 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ted Mielczarek
c7f40506bf merge m-c to b-s 2011-06-10 12:58:21 -04:00
Wellington Fernando de Macedo
839d923f61 Bug 659559 - Speed up test_bug338583.html. r=smaug 2011-06-11 19:09:41 +02:00
Josh Matthews
98c106a0db Bug 663465 - Avoid derefencing null connection pointer when closing a websocket. r=mcmanus 2011-06-10 15:31:47 -04:00
Kyle Huey
2e0d728356 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Mitchell Field
5e5f1a616a Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
1593568b21 Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc 2011-05-29 08:39:27 +09:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Kyle Huey
4c49faddb7 Bug 656647: Followup for missed review comment. DONTBUILD 2011-05-14 16:45:19 -07:00
Kyle Huey
5b218f0873 Bug 656647: File constructor should take nsIFiles. r=sicking 2011-05-14 16:41:20 -07:00
Kyle Huey
0fca46149e Bug 656640: DOM File objects should DEFER_OPEN their streams. r=sicking 2011-05-14 16:37:41 -07:00
Josh Matthews
cb7c398cc6 Bug 644325 - Enter the listener's compartment sooner, and use the correct scope for wrapping to avoid compartment mismatches. r=mrbkap 2011-05-12 11:26:05 +01:00
Josh Matthews
35aa67d539 Bug 644325 - Backout changeset 7e3efb1073a9. 2011-05-30 14:59:37 -04:00
Mounir Lamouri
1ddcd22588 Bug 651902 - Make content/base/test/test_bug592366.html non flaky. r=hsivonen 2011-05-30 17:49:56 +02: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
Simon Montagu
b202223ff2 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
d2da8f5e6c Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Julian Reschke
e65dadbf3c Bug 507976: Check the anchor parameter while processing link header fields. r=bz 2011-06-07 13:19:06 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Alon Zakai
2f4274045c Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Patrick McManus
20b80a25e4 Bug 662554 - Make websocketestablishedconnection getinterface and close() check mOwner != nsnull r=biesi
--HG--
extra : rebase_source : 2a5e0df5d61f52445b2db8e08431df6987a07e5c
2011-06-08 08:27:11 -04:00
Kyle Huey
7d5b6f2285 Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking 2011-06-05 11:54:50 -07:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Jeff Walden
1a51bb7cb1 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Simon Montagu
104d732e9a Cache in-flow content length. Bug 566066, r=roc 2011-05-22 11:20:29 +03:00
Patrick McManus
2ded010403 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Patrick McManus
c2f7522f58 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert
ff123ba64d Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
c0b880ca57 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
2ebeeb1a30 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
f3cc3a9d15 Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Jonas Sicking
5a46947588 Add a test for bug 644069. r=bzbarsky 2011-05-20 16:21:27 -04: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
Doug Turner
7ae2a4a388 Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
Josh Aas
998050c725 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Jonas Sicking
14b0c5d3de Back out another suspect just in case. CLOSED TREE. a=orange 2011-05-20 17:20:37 -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
Shawn Gong
9fe184ef18 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=bent,sicking 2011-05-20 10:17:28 -07:00
William Chen
db78afb329 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Olli Pettay
f0c0c8b1b6 Bug 657997 - loadFrameScript should never use http and should use a script runner when needed, r=bz+mfinkle 2011-05-19 17:48:17 +03:00
Masatoshi Kimura
ded3a051e0 Bug 649133 followup. Remove the 'moz' prefix on response/responseType, since Chrome has already shipped these unprefixed. r=sicking 2011-05-19 01:11:51 -04:00
Craig Topper
d3aa297de2 Bug 657548 - Part 2: Remove more unused CIDs. r=jst 2011-05-16 23:46:22 -07:00
Craig Topper
1ff7cbe0ed Bug 657548 part 1. Remove some duplicate and unused CIDs from nsContentCID.h and nsLayoutCID.h. r=jst 2011-05-16 22:25:39 -07:00
Zack Weinberg
c2d2dd84db Bug 541496 part 5: use the string-taking API for sync sheet loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
eb1ebebbd0 Bug 541496 part 3: use the new string-taking API in LoadInlineStyle. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
1a37e44f98 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ms2ger
a49c5db9c8 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Ms2ger
b0ad3b3419 Bug 660539 - Remove nsIDOM3TypeInfo, schemaTypeInfo; r=sicking 2011-06-04 08:57:23 +02:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Boris Zbarsky
169ed5d1fc Bug 660404. Allow storing the previous page in bfcache even if the new one is a multipart response. r=smaug 2011-06-01 16:00:36 -04:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e0320797e3 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Boris Zbarsky
7867f56859 Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Boris Zbarsky
35d9b78644 Bug 598833 part 5. Store focus and focusring state directly on elements. r=smaug,enn 2011-05-31 21:46:56 -04:00
Boris Zbarsky
ea4a3c7f36 Bug 598833 part 2. Create basic infrastructure for letting the ESM store states on elements. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
142a55fcd8 Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
18cce8e61c Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking 2011-05-31 17:38:25 -04:00
Ms2ger
11f3746889 Bug 660694 - Fix comparisons between signed and unsigned integer expressions in nsDOMBlobBuilder.cpp by using unsigned integers consistently; r=sicking 2011-06-02 14:56:46 +02:00