bzbarsky@mit.edu
06f6ce717a
Bug 802243 - WrapperCache DOMStringMap, quickstub, r=smaug
...
--HG--
extra : rebase_source : 3c1bb6ab18692d647461af42e732e5f150ae8500
2012-10-17 04:14:32 +03:00
Terrence Cole
8455cb6e51
Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
...
Return<T> wraps GC things that are returned from accessor methods. The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Bobby Holley
8c277bc6ef
Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
Bobby Holley
5ab5c9ac07
Bug 797304 - Add special handling for nuked parents in orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
Bobby Holley
ba09c72553
Bug 797304 - Be more aggressive when fixing up orphans. r=peterv
...
To make stronger assumptions, we should dig deeper on the parent chain, and also morph any slim wrappers. This is slightly slower, but not much, since this stuff only gets called for HTML documents, and the parent chains there tend to be short. Moreover, this only gets called during document.open(), where performance doesn't matter so much.
2012-10-16 15:07:54 +02:00
David Zbarsky
04db569bf4
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-16 00:26:51 -04:00
David Zbarsky
a5c86e49fb
Backout 368cd30cccda for bustage
2012-10-15 23:52:17 -04:00
David Zbarsky
6047fde4c1
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-15 23:37:34 -04:00
Jeff Walden
3be62b1cb4
Fix up and un-skip the test for bug 406572, following up on a comment in bug 577325. r=jorendorff
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 8457c42ff9ba9151f240462e06192fa4dc444a75
2012-01-29 03:03:18 -08:00
Bill McCloskey
b5056db604
Backout bug 791174 for orange
2012-10-15 17:00:39 -07:00
Bill McCloskey
732f66b9fd
Bug 791174 - Clean up GC tracing code (r=jonco)
2012-10-12 11:28:44 -07:00
Benjamin Peterson
3e56eb9106
Bug 800407 followup - Fix running in browser environment. r=me
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 5f42dac25147c4e44cc24a0b254d047e9bac6203
2012-10-15 17:16:12 -04:00
Benjamin Peterson
e03c391823
No bug - Add executable bit. rs=terrence
2012-10-15 16:15:52 -04:00
Benjamin Peterson
d836308a73
Bug 800407 - Remove incorrect assertion that Function constructor defined functions cannot have inherited strict mode. r=benjamin code=Nikhil Marathe
...
--HG--
extra : rebase_source : 54cb7adb34ea2b9825d9aadf19f896f68f5dc508
2012-10-15 16:12:41 -04:00
Ehsan Akhgari
71927a786f
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Ed Morley
f87439d0bc
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Kannan Vijayan
4baab444ac
Bug 800935 - Fix ASSERT error in generateCallGetter. (r=nbp)
2012-10-15 10:56:20 -04:00
Ryan VanderMeulen
1598bd50f0
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ehsan Akhgari
4eb184ceb3
Bug 801344 - Make sure that JSRuntime::initSelfHosting never returns an uninitialized value; r=till
2012-10-14 11:12:03 -04:00
Ryan VanderMeulen
ec1d78bd1b
Merge the last PGO-green inbound changeset to m-c.
2012-10-13 19:26:29 -04:00
Jan Beich
da6e012aeb
Bug 801295 - mincore() call has incorrect type on tier3 (non-Linux). r=jlebar
...
--HG--
extra : rebase_source : 3201ac0b491a8cb40f916276e5b34a14d3122dc7
2012-10-13 09:34:00 -04:00
Andrew Quartey
6d6e443bea
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Justin Lebar
f69ef326db
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-12 10:26:06 -04:00
Justin Lebar
8bc3711527
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Ed Morley
f63fc6d67a
Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning
2012-10-12 14:45:38 +01:00
Ehsan Akhgari
8b55ae51e5
Bug 801346 - Remove s_VOID_id from dombindings.cpp; r=bholley
2012-10-15 09:05:09 -04:00
Peter Van der Beken
86dcdcb94b
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Aryeh Gregor
62ddd9835d
Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu
2012-10-14 10:13:19 +02:00
Aryeh Gregor
0159561890
Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz
2012-10-11 14:48:31 +02:00
Jim Blandy
45563a5f66
Bug 743311: Implement Debugger.prototype.findAllGlobals. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
157f965522
Bug 743311: Implement Debugger.prototype.onNewGlobalObject. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
c74f75707e
Bug 743311: Add option to shell 'evaluate' to catch termination, for tests. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
22e36d9913
Bug 796073: Identify debuggees only by Debugger.Object instances and CCWs that can be unwrapped securely. r=luke
...
This patch affects behavior that a lot of debugger tests rely on; I've
tried to update the tests without losing coverage of behavior that is still
supported:
- A prior patch in this series removes uses of addDebuggee to generate
Debugger.Object instances referring to random objects, using
makeDebuggeeValue instead.
- The test debug/Debugger-debuggees-07.js is deleted, because it's testing
for the very behavior we're removing. Other tests are trimmed to remove
usage that is no longer supported.
- The new test debug/Debugger-debuggees-17.js checks that we reject objects
that don't designate debuggees. The existing test
Debugger-debuggees-06.js checks that non-object values are properly
rejected.
- The new test debug/Debugger-debuggees-18.js checks that globals are
correctly identified regardless of how we designate them.
2012-10-13 16:04:41 -07:00
Jim Blandy
d6f2b911ad
Bug 796073: Use Debugger.Object.prototype.makeDebuggeeValue where appropriate, not Debugger.prototype.addDebuggee. r=luke
...
Many tests use Debugger.prototype.addDebuggee to produce Debugger.Object
instances referring to random objects. Now we have
Debugger.Object.prototype.makeDebuggeeValue to do that, which is more
careful about wrappers. This patch changes all the existing tests that
abuse addDebuggee in this way (well, they didn't have any choice when they
were written) to use makeDebuggeeValue instead, in preparation for
tightening up addDebuggee to only accept global objects.
2012-10-13 16:04:41 -07:00
Jim Blandy
06de1875b2
Bug 795119: Complain coherently when evalInGlobal{,withBindings} is passed a CCW to a global, not a global. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
3d778ae143
Bug 799272: Implement Debugger.Object.prototype.unwrap. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
6d7a04fbb0
Bug 799272: Implement Debugger.Object.prototype.global. r=luke
2012-10-13 16:04:16 -07:00
Jacek Szpot
b848f67ec0
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Peter Van der Beken
cca0b00f72
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Nicholas Cameron
38e86da9ce
Bug 734668; reviewer's changes. r=Ms2ger,roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
f6ed7d8545
Bug 734668; remove canvas quickstubs. r=Ms2ger
...
--HG--
extra : rebase_source : ceefaf29933c58a0605d60a599fddf31b0c1b229
2012-10-12 22:42:53 +13:00
Saurabh Anand
917c026dc4
Bug 795780 - Remove unnecessary rooting in proxy methods. r=nnethercote.
...
--HG--
extra : rebase_source : ff593ecc2082dea276f7fe09734394dce595a20c
2012-10-14 17:46:28 +05:30
Siddharth Agarwal
fad4d60944
Back out bug 585011 (making cl.py a pymake native command) because of bug 794490.
2012-10-14 18:54:18 -07:00
Till Schneidereit
1733bed915
Bug 784400 - Move all intrinsics initialization from the globalObject->intrinsicsHolder object to the runtime's selfHostingGlobal. r=luke
2012-10-11 14:43:21 +02:00
Till Schneidereit
08270b5749
Bug 784400 - Enable cloning of object literals within functions. r=luke
2012-10-11 11:53:02 +02:00
Till Schneidereit
3c81f6741c
Bug 784400 - Give self-hosted code access to standard builtins. r=luke
2012-08-28 04:58:00 +02:00
Till Schneidereit
a3e908330f
Bug 784620 - Support reading self-hosted JS from a file set via environment variable. r=terrence
2012-10-11 11:19:43 +02:00
Benjamin Peterson
7bd914c6a1
Bug 779118 - Try to be more robust about waiting for compression to finish. r=luke
2012-10-13 09:24:13 -04:00
Benjamin Peterson
9006692fb0
Bug 791465 - Fix processDirectives' ASI emulation. code=André Bargull r=benjamin
2012-10-13 09:23:53 -04:00
Benjamin Peterson
084463e857
No bug - Readd executable bit. rs=terrence
...
--HG--
extra : rebase_source : c3a77fb2fd8d6b1bae65efdd2bbc481f139b91e9
2012-10-12 14:44:20 -04:00