Commit Graph

926 Commits

Author SHA1 Message Date
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Patrick McManus
2ded010403 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -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
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
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
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
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Masatoshi Kimura
701140f77a Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Jeff Walden
be37c9c02b Remove js_ReparentTypedArrayToScope as it's unused. No bug, r=jorendorff, rs=bent 2011-05-10 14:40:45 -07:00
Jonas Sicking
549cf0a0a2 Bug 643786. Don't fire DOMNodeRemoved when removing the editor created <br>. r=ehsan 2011-05-09 12:33:04 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Boris Zbarsky
667ff6ed5e Bug 614171 part 5. Inline the cheap Equals() methods on nsINodeInfo. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
162c571d02 Bug 614171 part 4. Eliminate nsINodeInfo::GetLocalName in favor of GetName. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
4ad0368a58 Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
288e7c4072 Bug 614171 part 2. Cache the qualified name, in normal and corrected case, on the nsINodeInfo. r=sicking 2011-05-05 12:26:32 -04:00
Jonathan Kew
916e9b8b24 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Dão Gottwald
ca1f9f0f94 Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Craig Topper
ceba599007 Bug 585255 - Remove nsTreeWalker usage from nsFocusManager. r=sicking 2011-04-11 19:46:59 -07:00
L. David Baron
b712774643 Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky 2011-04-28 10:21:37 -07:00
Peter Van der Beken
d007f2048d Fix for bug 649057 (Make all nsINodeLists inherit from nsWrapperCache). r=bz.
--HG--
extra : rebase_source : 38dc8fd49822774a1ee356ab8496e2c0b908bab9
2009-06-16 08:32:10 +02:00
Peter Van der Beken
2f1dbc28dd Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
Olli Pettay
46d7b33a70 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Justin Lebar
5bc75b222e Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : 8a99a1401b7d7427bed4a136e0b38c475f6473a2
2011-04-14 13:58:36 -07:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Justin Lebar
f50c4cd27d Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Neil Rashbrook
faabefc115 Bug 639338 Unable to specify XBL modifiers for all possible mouse events r=smaug
--HG--
rename : content/xbl/test/test_bug403162.xhtml => content/xbl/test/test_bug639338.xhtml
2011-04-18 21:57:32 +01:00
Kyle Huey
d0c0eab2e5 Bug 607114: Expose a File constructor to chrome script. r=sicking
--HG--
rename : content/canvas/test/image_yellow.png => content/base/test/chrome/fileconstructor_file.png
2011-04-13 19:41:34 -07:00
Jonas Sicking
913afe451c Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey 2011-04-13 14:34:36 -07:00
Ehsan Akhgari
3bbe7bc47c Bug 617539 - Remove nsIContentUtils_MOZILLA_2_0_BRANCH by backing out changeset 5e1f1bb2bb87 (bug 631412) which had added that class 2011-04-11 16:16:56 -04:00
David Zbarsky
aa301d629c Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Peter Van der Beken
122342da0b Fix for bug 584048 (Clean up cycle collection code) - move unlinking of JS members from root into unlink. r=bent. 2010-11-08 16:02:49 +01:00
Boris Zbarsky
65b7797520 Bug 581177 followup. Remove bogus comment and rev iids. 2011-04-08 00:02:10 -07:00
Boris Zbarsky
a338fbe2e2 Bug 581177 part 8. Compress the flags so it's clear what's free. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
a63405c419 Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
f0517db35a Bug 581177 part 6. Make 'has name' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
8578808ee1 Bug 581177 part 5. Make 'may have style' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
2d8a1be03f Bug 581177 part 4. Make 'has id' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
a3b8ef7c1e Bug 581177 part 3. Make IsElement() use a boolean flag. r=sicking 2011-04-07 19:29:49 -07:00
Boris Zbarsky
257c275219 Bug 581177 part 2. Separate mParent from the flags it used to cohabit with. r=sicking 2011-04-07 19:29:49 -07:00
Boris Zbarsky
038d06b0fa Bug 581177 part 1. Separate mFlags and mSlots into separate members. Stop storing flags in slots. r=sicking 2011-04-07 19:29:49 -07:00