Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Kyle Huey 27d8e6cbb0 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
accessible Bug 658737 - Untrusted Connection page document doesn't clear busy state after loading, r=tbsaunde 2011-05-21 16:00:14 +09:00
browser Bug 611695: Updating the extension fires the welcome page. r=dtownsend 2011-05-20 12:52:04 -07:00
build Bug 616999. Xpcshell manifest support; harness changes. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
caps Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
chrome Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
config Bug 616999. Xpcshell manifest support; harness changes. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
content Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking. 2011-05-20 10:18:45 -07:00
db bug 650509 - Other apps can read Firefox profile files, change sqlite files to be user readable only r=sdwilsh 2011-05-13 14:20:23 -04:00
dbm Bug 527659, Update mozilla-central to NSS 3.12.6 (beta) 2010-02-07 12:54:28 +01:00
docshell Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
dom Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking. 2011-05-20 10:18:45 -07:00
editor Merging cedar with mozilla-central. 2011-05-20 15:55:16 +02:00
embedding bug 632874 - make it clear that first-run startup time isn't normal r=dougt 2011-05-20 14:44:09 -04:00
extensions Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
gfx Bug 656215 - check max size for textures and renderbuffers - r=joedrew 2011-05-20 15:53:53 -04:00
intl Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
ipc Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
jpeg Bug 646485 - Fix include path in jpeg/Makefile.in. r=khuey 2011-03-30 13:04:43 -04:00
js Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob 2011-05-20 15:53:53 -04:00
layout Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
media Bug 655496 - Remove WinCE code from Mozilla owned parts of media/* ; r=kinetik 2011-05-08 10:30:06 +02:00
memory Bug 657528 - Use a volatile pointer to force a trap; r=ehsan 2011-05-16 21:07:06 -04:00
mfbt Bug 654346: Fix C++-style comments in mfbt headers included by .c files, to fix build warnings. r=cjones comment-only=DONTBUILD 2011-05-03 10:24:01 -07:00
mobile Bug 657501 - Unofficial branding for Fennec [r=blassey,mfinkle] 2011-05-20 09:45:42 -07:00
modules Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
netwerk Remove broken .pk IDN items in PSL. a=orange. 2011-05-20 18:27:05 +01:00
nsprpub Update NSPR to NSPR_4_8_9_BETA1, which includes the fixes for 2011-05-11 18:36:38 -07:00
other-licenses Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu 2011-02-25 12:53:36 +01:00
parser Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
probes
profile Bug 655498 - Remove WinCE code from profile/* ; r=bsmedberg 2011-05-17 16:06:10 +02:00
rdf Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
security Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
services Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
startupcache Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu 2011-02-25 12:53:36 +01:00
storage Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
testing Bug 658359 - Register .frag and .vert extensions as text/plain to prevent crashing due to buggy plugins in WebGL mochitest - r=ehsan 2011-05-20 17:50:53 -04:00
toolkit Bustage fix for bug 595848, add the xpcshell test to the new manifest 2011-05-20 12:57:50 -07:00
tools Bug 658094 - Partial updates for 5.0b1 on Mac fail. r=nrthomas 2011-05-19 10:04:06 -07:00
uriloader Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
view Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc 2011-05-11 10:49:16 -05:00
widget Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
xpcom Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
xpfe Bug 654718 - Remove WinCE code from xpfe; r=khuey 2011-05-12 10:50:16 -07:00
xpinstall Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
xulrunner Bug 569365 - Remove preprocessor.pl and replace it with Preprocessor.py. r=ted 2011-05-16 15:51:21 +02:00
.hgignore Bug 589306 - mozconfig* files shouldn't be hgignored. r=ted, a=npotb 2010-08-27 14:19:45 -07:00
.hgtags Create UPDATE_PACKAGING_R14 tag to satisfy release automation. DONTBUILD 2011-05-19 09:12:52 -04:00
aclocal.m4 Bug 638149 - Need a way to disable -dead_strip on OS X. r=ted 2011-04-09 05:23:27 +10:00
allmakefiles.sh Bug 648866 - Remove WinCE code from main build system + that of js/src/. r=ted 2011-04-19 14:11:40 +10:00
client.mk Bug 643704 - Allow to trigger PGO builds through mozconfig. r=ted 2011-03-25 19:50:29 +01:00
client.py Bug 599748 - Remove custom |def check_call()|, now that Python 2.4 is unsupported; (Av1) Remove 'util.py'. 2011-04-14 15:44:13 +02:00
configure.in Bug 648804 - fix DXSDK detection on WinXP and prefer June 2010 version if present - r=joedrew 2011-05-18 15:28:34 -04:00
LEGAL
LICENSE Bug 547914 - Replace /LICENSE with a mention of where the canonical license info lives, and stop shipping it with binaries, r=gerv,shaver 2010-02-23 09:37:07 -08:00
Makefile.in Bug 609401 - Stop spamming "Section [Build] not found" to the terminal. r=ted 2011-05-19 16:29:50 -04:00
README.txt added nightly.mozilla.org mention to README.txt, pushing to a CLOSED TREE, a=davidb 2011-03-30 08:23:52 -03:00

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/