Commit Graph

25109 Commits

Author SHA1 Message Date
Jason Orendorff
622e5934fb Fix breakage caused by 9e684559ec7f (bug 852761) by making inline method JSFunction::getBoundFunctionTarget available to the shell. rs=luke on a CLOSED TREE. 2013-03-20 09:59:47 -07:00
Jason Orendorff
b3a12da42b Bug 852761 - dis() doesn't work on arrow functions. r=luke. 2013-03-20 09:37:33 -07:00
Boris Zbarsky
2f25557da1 Bug 748669 followup. Only build Instruments.cpp if we're doing --enable-instruments. r=peterv 2013-03-20 12:22:25 -04:00
Christian Holler
96a89fb04a Bug 787283 - Add missing test for bug 787283. r=needed-tests 2013-03-20 16:41:26 +01:00
Jon Coppeard
14c8261e29 Bug 781070 - make NullPtr public r=terrence
--HG--
extra : rebase_source : d59f24956708178c310cfca220bfd77d237e8f19
2013-03-20 10:41:20 +00:00
Jan de Mooij
eb375c1d4a Bug 850156 - Use separate memory reporters for Ion and baseline code. r=njn,dvander 2013-03-20 11:24:17 +01:00
Shu-yu Guo
4a7929eab8 Bug 814795 - Remove v8-specific tools for selfhosted code in favor of CPP (r=till) 2013-03-19 23:26:08 -07:00
Phil Ringnalda
17f6e7ca7f Back out fe29b2ae604b, 8c6ec2899d89 and 6b2f3cb031da (bug 851964) for test hangs
CLOSED TREE
2013-03-19 21:44:48 -07:00
Christian Holler
26fd1f889e Bug 616009 - Add missing test for bug 616009. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
ca73968786 Bug 566136 - Add missing test for bug 566136. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
8d684c7bd5 Bug 572232 - Add missing test for bug 572232. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
72e1b2f86b Bug 558531 - Add missing test for bug 558531. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
8ca452a4b6 Bug 563243 - Add missing test for bug 563243. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
290f0eab0b Bug 576891 - Add missing test for bug 576891. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
a37d78cea0 Bug 593611 - Add missing test for bug 593611. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
71d7a6a811 Bug 696748 - Add missing test for bug 696748. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
f141ddc599 Bug 718852 - Add missing test for bug 718852. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
383841c99e Bug 720070 - Add missing test for bug 720070. r=needed-tests 2013-03-20 03:58:09 +01:00
Brian Hackett
7fc5fdd34f Bug 839209 - Relax CanFakeSync, r=dvander. 2013-03-19 20:53:47 -06:00
Nicholas Nethercote
97e449b172 Bug 849367 (part 1) - Speed up TokenStream::matchChar(). r=jorendorff.
--HG--
extra : rebase_source : 1527af5e38158a69f74d252320a899d9208055c6
2013-03-11 22:43:23 -07:00
Nicholas D. Matsakis
5a7744497d Bug 829602 - Enable self-hosted parallelarray r=dvander,till 2013-03-19 22:12:27 -04:00
Vladimir Vukicevic
7e4b43c01f b=851964; Odin/OSX, part 3. enable AsmJS on OSX by using new Breakpad user handler, r=luke 2013-03-18 19:07:07 -04:00
Gregory Szorc
09e7b06723 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Matthew Gregan
c7c49a4e9a Bug 852401 - Remove sydneyaudio. r=doublec
--HG--
rename : media/libsydneyaudio/src/gonk/AudioSystem.h => dom/system/gonk/android_audio/AudioSystem.h
rename : media/libsydneyaudio/src/gonk/AudioTrack.h => dom/system/gonk/android_audio/AudioTrack.h
rename : media/libsydneyaudio/src/gonk/EffectApi.h => dom/system/gonk/android_audio/EffectApi.h
rename : media/libsydneyaudio/src/gonk/IAudioFlinger.h => dom/system/gonk/android_audio/IAudioFlinger.h
rename : media/libsydneyaudio/src/gonk/IAudioFlingerClient.h => dom/system/gonk/android_audio/IAudioFlingerClient.h
rename : media/libsydneyaudio/src/gonk/IAudioRecord.h => dom/system/gonk/android_audio/IAudioRecord.h
rename : media/libsydneyaudio/src/gonk/IAudioTrack.h => dom/system/gonk/android_audio/IAudioTrack.h
rename : media/libsydneyaudio/src/gonk/IEffect.h => dom/system/gonk/android_audio/IEffect.h
rename : media/libsydneyaudio/src/gonk/IEffectClient.h => dom/system/gonk/android_audio/IEffectClient.h
2013-03-19 17:12:36 +13:00
Nicholas Nethercote
a500e79db2 Bug 747831 - Record buffer offset in ParseNodes instead of line number and column index (2nd attempt). r=jorendorff.
--HG--
extra : rebase_source : 91591dfc8b7a9e0e73c0133915be1fff261e88a2
2013-03-11 15:56:58 -07:00
Hannes Verschore
f322e886a3 Bug 852140: IonMonkey: Backout bug 844452 and add testcase, r=nbp 2013-03-19 23:49:49 +01:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
186e10f5d2 Merge m-c to inbound. 2013-03-19 18:01:10 -04:00
Nicolas B. Pierron
cc67989e09 Bug 851067 - Box non-matching argument types. r=h4writer 2013-03-19 14:42:29 -07:00
Norbert Lindenberg
61c4ff69bd Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 7). r=jwalden
--HG--
extra : rebase_source : 57a1c8c62444db6d0213ae3caf0602553a529bcf
2013-03-19 12:04:07 -07:00
Norbert Lindenberg
16306e8f15 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 6). r=jwalden
--HG--
extra : rebase_source : 08950506f05ee9fea816569ef5658ffc1b0d1540
2013-03-19 12:02:57 -07:00
Norbert Lindenberg
67cea3685f Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 5). r=jwalden
--HG--
extra : rebase_source : 6866323d913a8a74b6f69c01d69174fe3ca126aa
2013-03-19 11:18:33 -07:00
Jeff Walden
de1f17ac79 Bug 852563 - Initialize IdValuePair::value to avoid GC sequence-point trickiness. r=bhackett
--HG--
extra : rebase_source : 2105e40d8d0ec0b9c06c2d6c5a0834c68d1f5ffb
2013-03-19 10:41:24 -07:00
Ryan VanderMeulen
155fdbd5f9 Backed out changeset d1b71de5bbc1 (bug 747831) for Windows bustage. 2013-03-19 15:50:18 -04:00
Joey Armstrong
a6c49bb883 bug 751156: robocop dependency build should be a nop 2013-03-19 15:34:59 -04:00
Nicholas Nethercote
f07ae1230a Bug 747831 - Record buffer offset in ParseNodes instead of line number and column index. r=jorendorff. 2013-03-11 15:56:58 -07:00
Terrence Cole
40abb5bb20 Bug 850922 - Don't put NULL getterobj/setterobj in the reloctable store buffers; r=billm
--HG--
extra : rebase_source : 21ac1e5d6cba8a0771c9612c304ff4206a29f902
2013-03-13 16:58:40 -07:00
Brian Hackett
9390890171 Bug 852016 - Watch for uses of 'arguments' in eval() inside generator expressions, r=luke. 2013-03-19 12:23:24 -06:00
Terrence Cole
f29a86b51c Bug 850749 - Make Cell::isTenured use the new IsInsideNursery; r=billm
--HG--
extra : rebase_source : a73a59b4a6880f9821ee453cfa838b7dd0ca952d
2013-03-13 10:22:35 -07:00
Steve Fink
09f38ed56b Bug 838029 - Import bhackett static rooting analysis into tree. r=bhackett
--HG--
extra : rebase_source : 1f9104c6ea23868dfc93c8805b554356f22e233f
2013-03-05 14:48:13 -08:00
Steve Fink
61ca1b5ec9 Bug 838029 - Add --with-sixgill option and Makefile for static analysis. r=ted,reluctantly
--HG--
extra : rebase_source : 3c45de22f013566e56d68c4fbeb346159df23192
2013-01-28 13:43:54 -08:00
Steve Fink
d78dffc4dd Bug 835552 - Make load() be script-relative and read()/snarf() be cwd-relative.. r=njn
--HG--
extra : rebase_source : 2ed11de42cdb9f5298cad2fc4e43974f1a11fb42
2013-03-11 15:36:16 -07:00
Luke Wagner
516d1bc2dd Bug 852331 - immediately GC the Zone after JS::Evaluate on a very large script (r=bhackett)
--HG--
extra : rebase_source : f64efadd1f324b5bfa3574aab1a434b22724fa16
2013-03-18 17:37:24 -07:00
Luke Wagner
eff33f612a Bug 852305 - immediately free LifoAlloc memory when we finish parsing huge scripts (r=njn)
--HG--
extra : rebase_source : 745ae1fff040efe24da68a84114ba3e4046f754d
2013-03-18 17:33:05 -07:00
Ed Morley
1871f57fe3 Backed out changeset 0f012ef3d3ac (bug 809978) for landing after being given r- 2013-03-19 17:21:01 +00:00
Ed Morley
fe5de77092 Backed out changeset 548ff2b01536 (bug 809978) 2013-03-19 17:20:22 +00:00
Joey Armstrong
a10a7723f8 bug 809978: retry link I/O on potential race conditions: CLOSED TREE 2013-03-19 13:02:54 -04:00
Joey Armstrong
41afca41cb bug 809978: retry link I/O on potential race conditions 2013-03-19 12:26:57 -04:00
Jon Coppeard
50ddf53b27 Bug 848754 - GC: Remove relaxed root checking infrastructure r=terrence
--HG--
extra : rebase_source : 7f781b1c7edbae14ce9b2fd4d45c44e8cb5c2968
2013-03-08 08:54:59 +00:00
Jon Coppeard
b752526987 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Nicholas D. Matsakis
771859ad9e Bug 852518 - reorganize ifdefs and in particular do not include FJ code if no ion r=bhackett 2013-03-15 15:42:50 -04:00
Nicholas D. Matsakis
7729d9833c Bug 852518 - Initialize rendezvousEnd_ to NULL and check for NULL in dtor r=bhackett 2013-03-15 14:57:13 -04:00
Brian Hackett
796e52f5a4 Bug 852174 - Fix bogus asserts, r=jandem. 2013-03-19 08:50:31 -06:00
Brian Hackett
7351d30d11 Bug 847412 - Monitor result type after a direct eval from Ion code, r=jandem. 2013-03-19 08:47:06 -06:00
Brian Hackett
9dc30bf494 Bug 849777 - Properly null check parse nodes when reporting parse errors in the bytecode emitter, r=jorendorff. 2013-03-19 07:32:07 -06:00
Norbert Lindenberg
b0c11d2955 Bug 851951 - Use UTF-8 to load jstests into browser. r=Waldo 2013-03-19 09:31:15 -04:00
Mohit Gahlot
466c217001 Bug 851377 - Now ResolvingId::isResolving is not called with a null object. r=bholley 2013-03-18 21:28:05 +05:30
Brian Hackett
a0608b378b Bug 833076 - Add missing script->ensureHasTypes(), r=jandem. 2013-03-19 07:10:10 -06:00
Jan de Mooij
9c2e6e0377 Bug 848665 - Don't use ScriptFrameIter in onEnterFrame/onLeaveFrame hooks. r=jimb 2013-03-19 13:39:25 +01:00
Andrea Marchesini
fef387cf3e Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Jan de Mooij
15cc97f0a6 Bug 851053 - Remove MRecompileCheck. r=bhackett 2013-03-19 12:23:51 +01:00
Hannes Verschore
deb7ce6621 Bug 851552: IonMonkey: Disable GetElement caches after failing multiple times to attach stubs, r=djvj 2013-03-19 11:12:17 +01:00
Hannes Verschore
fbb39a912b Bug 850534: Crash on Yarr OOM, r=dvander 2013-03-19 10:57:28 +01:00
Nicholas Nethercote
b25affb9a1 Bug 850523 (part 2) - Use C++ comments in LifoAlloc.{cpp,h} (2nd attempt). r=wmccloskey.
--HG--
extra : rebase_source : 6d96968f952086df7f4b7952a6926eb0f562bfde
2013-03-14 15:10:39 -07:00
Nicholas Nethercote
f1560712c0 Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter (2nd attempt). r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d90dcad2ed990b6e276ff38c36170b815ae9b823
2013-03-06 20:40:36 -08:00
Jason Orendorff
17906c25e2 Remove silly debug statement left in a test (for bug 848062) that breaks it in opt builds. No bug#, r=sfink on a CLOSED TREE. 2013-03-18 18:53:18 -07:00
Phil Ringnalda
c4b2f66282 Backout 49ca6a3ef0b6 (bug 850922), 1ff4af81172a (bug 849453), 5e0347b9a4e4:085337fa9658 (bug 841059) and 88942e6ce28d (bug 850749) for busting the build
CLOSED TREE
2013-03-18 18:24:25 -07:00
Terrence Cole
db32861913 Bug 850922 - Don't put NULL getterobj/setterobj in the reloctable store buffers; r=billm
--HG--
extra : rebase_source : 858bb441b82e2eceedbadae94a292a7bf03f3c36
2013-03-13 16:58:40 -07:00
Terrence Cole
6a0ed2e274 Bug 849453 - Use the AllocKind to get the size instead of sizeOfThis; r=billm
--HG--
extra : rebase_source : 988997984bda4ec329a801655f1649bb73aeea7a
2013-03-07 10:55:34 -08:00
Terrence Cole
550701a89d Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm
--HG--
extra : rebase_source : f93c1b79b911815b5adf917544d2c2cf73f3f7f6
2013-02-14 14:51:07 -08:00
Terrence Cole
7a12ef5f6b Bug 841059 - Do not use the ArenaHeader for zone/compartment on JSObject; r=billm
--HG--
extra : rebase_source : 6885055e08eab8f3187d5ce8a4ddcfa5efb887d2
2013-02-13 10:39:19 -08:00
Terrence Cole
25ebf7e5dd Bug 850749 - Make Cell::isTenured use the new IsInsideNursery; r=billm
--HG--
extra : rebase_source : 7a7e78012fac6ae26a2033c2c71a8f9d4a00b088
2013-03-13 10:22:35 -07:00
Luke Wagner
65d4ad2e50 Don't assert asm.js validation errors with --disable-ion (no bug, r=me)
--HG--
extra : rebase_source : b3b6f8c8b6323f72a97973d56dd6ea79e8f35eae
2013-03-18 15:56:15 -07:00
David Anderson
92c29f8cad Diagnostic patch for bug 837370 topcrash (r=bhackett). 2013-03-13 18:03:27 -07:00
Jason Orendorff
f824beb54a Bug 848062 - Make arrow functions inherit the value of 'this' from the enclosing scope. r=bhackett. 2013-03-18 15:32:29 -07:00
Jason Orendorff
a0dce0b367 Bug 846406 - Implement arrow functions. r=bhackett. Changes to Y.js r=brendan. 2013-03-17 20:42:36 -07:00
Jan de Mooij
6f909bce1c Bug 851109 - Add NAME IC for invoking getters on the global object. r=djvj
--HG--
extra : rebase_source : 4a4fa5be4a6ee0dc24f309ead094f90a420c6bab
2013-03-18 22:34:34 +01:00
Bobby Holley
2d898008d8 Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz 2013-03-18 14:30:23 -07:00
Ed Morley
2e40fc4ad7 Bug 851842 - Make jit-tests log output more suited to TBPL bug suggestions; r=terrence 2013-03-18 21:13:47 +00:00
Kyle Huey
de9bae661d Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE 2013-03-18 12:57:35 -07:00
Luke Wagner
80be644629 Fix OdinMonkey when --disable-ion (no bug, r=me)
--HG--
extra : rebase_source : 3536acf09aecbdcb2ca9156873fc39571328975a
2013-03-18 11:14:56 -07:00
Bobby Holley
964d540d50 Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff 2013-03-18 11:04:07 -07:00
Hannes Verschore
f87d50e002 Bug 850534: Various Yarr performance improvements, r=dmandelin 2013-03-18 16:40:49 +01:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Phil Ringnalda
a1e8f5ab94 Back out e0038e628250 and 02b242697afb (bug 850523) for test_memoryReporters.xul crashes
CLOSED TREE
2013-03-17 22:15:25 -07:00
Bobby Holley
4624281c15 Bug 813901 - Tests. r=mrbkap 2013-03-17 21:44:42 -07:00
Bobby Holley
1bef561017 Bug 850000 - Don't clobber exceptions set in security wrapper check() hooks. r=mrbkap 2013-03-17 21:44:41 -07:00
Nicholas Nethercote
8c70bc0ebd Bug 850523 (part 2) - Use C++ comments in LifoAlloc.{cpp,h}. r=wmccloskey.
--HG--
extra : rebase_source : 395321642042559ef2484445fa13c03ba22e8390
2013-03-14 15:10:39 -07:00
Nicholas Nethercote
7c30d7630e Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter. r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d183213c48b9d07fb62fce830998bcb8bb044f47
2013-03-06 20:40:36 -08:00
Phil Ringnalda
f1732e8d25 Merge m-c to m-i 2013-03-17 17:14:58 -07:00
Luke Wagner
1e5f657bc3 Disable OdinMonkey on OSX until we can get Breakpad to cooperate (no bug, r=me) 2013-03-17 15:14:50 -07:00
Nicholas Nethercote
88924a37fe Bug 845175 - Lazily allocate the bytecode and srcnote Vectors' storage. r=jorendorff.
--HG--
extra : rebase_source : f39db7bf439b9f86419cb9fdf4f899c052ae7638
2013-03-17 15:10:51 -07:00
Ms2ger
2ef57946b1 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
54232c95fb Merge backout. 2013-03-17 10:44:57 +01:00
Ms2ger
0fcece12d8 Backout bug 658909 for Marionette bustage. 2013-03-17 10:44:33 +01:00
Ms2ger
7bcafadd47 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
cbf9cc343e Bug 851108 - Stop exporting ds/BitArray.h; r=billm 2013-03-17 08:55:17 +01:00
Ms2ger
ded9d214d0 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
c4380f4933 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
a2173990cc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Mike Hommey
0b83db1463 Bug 648407 - Support expandlibs_exec.py --extract on windows. r=ted 2013-03-17 07:44:57 +01:00
Mike Hommey
48307a4b44 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Bobby Holley
b3729e720f Bug 658909 - Tests. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
7fbc4f2469 Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
55e5322189 Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
2261f1ce91 Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
2491e8030a Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
621e6b8496 Bug 658909 - Remove GWNOJO from XPCVariant. r=mrbkap
The old code seems to be deciding whether we have a double-wrapped object by
checking _either_ the rv of GWNOJO _or_ the potential slim wrapper. This is
nonsensical, because double-wrapped objects are never slim wrappers.
Furthermore, that variable here is named 'proto', which further suggests
that this code is nonsensical. So let's just check for WNs.

Also, it seems pretty wack to be innerizing here before storing the jsval,
but I'm going to leave that for now.
2013-03-16 22:58:16 -07:00
Bobby Holley
9066876a33 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
9c4d015129 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
0d540a32dd Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
8a60c09a1f Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
5fbd59201c Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
ffb73d345d Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
8160c96d4e Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
5b8d755b22 Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
b458ef37b2 Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
721351e660 Bug 658909 - Set args at XPCCallContext construct time in XPC_WN_GetterSetter. r=mrbkap
It's not clear to me why it's done this way, but it confuses our ability to
determine during wrapper lookup whether we're doing a set or a get. This aligns
the behavior with XPC_WN_CallMethod, including passing JSID_VOID for the name
(which is safe because XPCCallContext explicitly special-cases JSID_VOID and
doesn't call SetName in that case).
2013-03-16 22:58:13 -07:00
Bobby Holley
e04912b20e Bug 658909 - Initialize the same fields in both XPCCallContext constructors. r=mrbkap
This is a huge footgun. XPCCallContext is hot, but it's not too hot to be safe
here. Garbage XPCWN and JSObject pointers are bad.
2013-03-16 22:58:13 -07:00
Bobby Holley
a22cc9ffed Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
11ee47784a Bug 658909 - Make isSafeToUnwrap pseudo-dynamic for SOWs. r=mrbkap
This can go away as soon as XBL scopes are no longer behind a pref.
2013-03-16 22:58:13 -07:00
Bobby Holley
b3038807d1 Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
Comment says it all.
2013-03-16 22:58:12 -07:00
Daniel Holbert
64a1dc01a2 Bug 848159: In jsopcode.cpp, cast formalIndex to be unsigned when comparing it against another unsigned value, since we've already asserted it's nonnegative. r=jandem 2013-03-16 21:38:06 -07:00
Bill McCloskey
a3cea08b3a Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Nicolas B. Pierron
33f141f4de Bug 849014 - Check type inference before optimizing regexp calls. r=sstangl 2013-03-16 20:05:46 -07:00
Phil Ringnalda
83349304b8 Merge inbound and m-c 2013-03-16 15:09:36 -07:00
Brian Hackett
d6bc021244 Backout 04695ce03bb6 (bug 836968) for topcrashing on a CLOSED TREE 2013-03-16 15:57:39 -06:00
Hannes Verschore
b2dc08fb88 Backed out changeset 9f39547cfab3 (bug 850534) for yarr crashes on a CLOSED TREE 2013-03-14 23:15:50 +01:00
Norbert Lindenberg
6f5d004bf1 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 4). r=jwalden
--HG--
extra : rebase_source : 0c6aaf4093c0c1f6bb6eb073d506378adf0c65ab
2013-03-16 16:39:58 -07:00
Jeff Walden
e652639c08 Bug 851673 - Assertion failure: v.isUndefined(), at jsarray.cpp. r=bholley
--HG--
extra : rebase_source : c898284ed6ec99afe15f4ea60af54282c544a3ac
2013-03-15 19:39:38 -07:00
Dave Hylands
d7ab25ed14 Bug 846670 - Initialize stackBase and stackSize properly for the main-thread when using bionic. r=billm 2013-03-13 16:31:15 -07:00
Terrence Cole
049f2636b2 Bug 851107 - Skip invalid poisoning of inline chars in RegExpExecute; r=sfink
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/nsSVGFilters.cpp
rename : dom/mobilemessage/interfaces/nsIDOMNavigatorMobileMessage.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl
rename : dom/mobilemessage/interfaces/nsIDOMMobileMessageManager.idl => dom/mobilemessage/interfaces/nsIDOMSmsManager.idl
rename : dom/mobilemessage/src/MobileMessageManager.cpp => dom/mobilemessage/src/SmsManager.cpp
rename : dom/mobilemessage/src/MobileMessageManager.h => dom/mobilemessage/src/SmsManager.h
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4-iframe.html => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-iframe.html
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4-ref.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-ref.xhtml
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1.xhtml
extra : rebase_source : 802eba4a16cea37b5c573c2d87f4ca57bdcbd9e2
2013-03-15 15:35:16 -07:00
Jason Orendorff
099d612204 Silence two GCC warnings. No bug#, rs=evilpie on IRC.
--HG--
extra : rebase_source : 55e76cdc123f673984602a324a6ea7c5e327c7de
2013-03-15 12:37:15 -07:00
Daniel Holbert
b76c363e13 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Jeff Walden
43ea4a9ff5 Bug 837957 - Remove the suppress-unused attribute from a bunch of functions that now have uses. r=trivial
--HG--
extra : rebase_source : fee0a5c45182407059812c2f5b5c03341de34fbd
2013-03-15 10:40:37 -07:00
Norbert Lindenberg
650d386629 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 3). r=jwalden
--HG--
extra : rebase_source : 2e0f9f61c23e8318133eca54c5f74e9b9a8cfff9
2013-03-15 10:37:39 -07:00
Norbert Lindenberg
a145355bee Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 2). r=jwalden
--HG--
extra : rebase_source : 4e248934ddd241284423b1d1e76957e65ca844ba
2013-03-15 10:09:33 -07:00
Norbert Lindenberg
5f99d753de Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 1). r=jwalden
--HG--
extra : rebase_source : 78fb64fd73a1892736a399ea94f27c0990d8f041
2013-03-14 14:22:24 -07:00
Luke Wagner
e48f129191 Bug 840282 - OdinMonkey (sr=dmandelin)
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Aryeh Gregor
2402979f16 Bug 801562 - Remove Node.isSupported; r=bz
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Makoto Kato
ea03ff490a Bug 837598 - cannot build WebRTC for Linux/arm. r=glandium 2013-03-15 11:50:17 +09:00
Gene Lian
83b9eea84a Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 6, dispatch MMS events). r=vicamo,mounir sr=sicking a=leo+ 2013-03-09 15:22:42 +08:00
Gene Lian
1d6559a747 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 4-2, nsIMmsService.send()). r=vicamo a=leo+ 2013-03-09 15:22:25 +08:00
Gene Lian
1346b0a8be Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 3-1, s/nsISmsRequest/nsIMobileMessageCallback). r=vicamo a=leo+
--HG--
rename : dom/mobilemessage/interfaces/nsISmsRequest.idl => dom/mobilemessage/interfaces/nsIMobileMessageCallback.idl
2013-03-09 15:22:02 +08:00
Gene Lian
b77e6d922c Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 2, nsIDOMMozMmsMessage). r=vicamo,mounir,mrbkap sr=sicking a=leo+ 2013-03-09 15:21:55 +08:00
Bobby Holley
71b63fdffa Bug 850517 - Support named window access via Xray. r=mrbkap 2013-03-14 22:38:26 -07:00
Paul Adenot
3eda731ae2 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Luke Wagner
6e44d2ce5e Bug 837011 - CallCompiler should return 'true' because it doesn't throw an exception (r=dvander)
--HG--
extra : rebase_source : 326ad9707d64db437d0a7dddfef9bbffbb59038e
2013-03-14 21:28:10 -07:00
Phil Ringnalda
4f7b6b562a Back out 0044e4c2dc53 (bug 851149), 3080f18ba53d (bug 698328), 0b147c3f682b (bug 850713) for Android bustage
CLOSED TREE
2013-03-14 21:19:40 -07:00
Paul Adenot
e63121f8e9 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla
--HG--
extra : rebase_source : d6886dcfe87747e77c3828289b1184a58e6a0c09
2013-03-15 16:28:07 +13:00
Brian Hackett
65685104b8 Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem. 2013-03-16 16:52:45 -06:00
Brian Hackett
5d9fdb41c6 Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem. 2013-03-14 05:18:47 -06:00
Luke Wagner
1ce0feeee7 Bug 850548 - fix ion::StackAlignment value on non-GNU (r=dvander)
--HG--
extra : rebase_source : 424e4aa6cdd104b0c7f47b9c6495f45c770d155f
2013-03-13 20:59:51 -07:00
Benjamin Peterson
8fdfa5a970 Bug 850928 - Fix assorted JS compiler warnings. r=dholbert,dvander
--HG--
extra : rebase_source : 1d60ed741b32b3ecd3028cca11e93d601b77b01f
2013-03-13 19:55:22 -05:00
Dave Hylands
56bed4efd6 Back out 29230c04b932 (Bug 846670) because of broken Linux builds on a CLOSED TREE 2013-03-13 17:49:02 -07:00
Dave Hylands
25c4961f4b Bug 846670 - Initialize stackBase and stackSize properly for the main-thread when using bionic. r=billm 2013-03-13 16:31:15 -07:00
Benjamin Peterson
a6a94ef6e3 Bug 846984 - Prevent race conditions when USE_ZLIB is not defined. r=jorendorff 2013-03-13 17:48:46 -05:00
Steve Fink
f76f5c28eb No bug. JSScript::filename is now a function. r=woof! 2013-03-13 14:47:12 -07:00
Steve Fink
fb57c0fab7 Bug 850873 - Fix null-checking in JS_NewArrayBufferWithContents. r=Waldo 2013-03-13 14:45:22 -07:00
Bobby Holley
30641e3a63 Bug 849730 - Let objectClassIs through for COWs. r=mrbkap 2013-03-13 14:48:59 -07:00
David Anderson
fdb7fde485 Disable PGO for ObjectImpl::nativeLookup (bug 844580, r=billm). 2013-03-12 11:32:06 -07:00
Sean Stangl
69d5b53b78 Bug 850446 - Fix NULL deref in StartOffThreadIonCompile(). r=bhackett 2013-03-13 12:36:47 -07:00
Ehsan Akhgari
cd571e3aef Bug 849995 - Build with -Wsign-compare on clang; r=glandium
--HG--
extra : rebase_source : 34a800c1cabb3299967c58ecb00e7863a10808f8
2013-03-13 15:07:17 -04:00
Jeff Walden
5c0178fee7 Bug 843402 - Make all always-inlined methods just inline, and let the compiler choose how to optimize. r=http://perf.snarkfest.net/compare-talos/index.html?oldRevs=7ad145f9b092&newRev=6be7cad95d97&submit=true is a wash 2013-03-04 09:41:11 -08:00
Hannes Verschore
f569fefef4 Bug 848319: IonMonkey: Enable hoisting of MRegExp, r=sstangl 2013-03-13 19:15:36 +01:00
Hannes Verschore
36f137e772 Bug 850534: Various Yarr performance improvements, r=dmandelin 2013-03-13 18:33:13 +01:00
Ryan VanderMeulen
2e0d51cb97 Backed out changeset e44bc308642a (bug 813901) and changeset 19f154ee6f54 (bug 850000) for bustage on a CLOSED TREE. 2013-03-13 13:22:14 -04:00
Jeff Walden
d26e09939c Kill off unused-function warnings for all the ICU stubs temporarily in Intl.cpp when the Intl API isn't enabled. Followup to bug 837957, r=warning-spam-up-the-wazoo 2013-03-13 10:12:52 -07:00
Jeff Walden
d0d2f0d412 Bug 846976 - Move CallArgs into its own header for better readability. r=jorendorff, f=bz, f=bholley 2013-02-28 20:07:23 -08:00
Jeff Walden
c9db1e0ce7 Bug 847480 - Remove DeprecatedAbs uses from the SpiderMonkey ARM backend. r=mjrosenb 2013-03-06 15:29:47 -08:00
Jeff Walden
ef52f8dea5 Bug 847480 - Remove all DeprecatedAbs uses from range analysis code in SpiderMonkey, fixing a couple bugs and adding tests for those bugs. r=nbp 2013-03-06 15:29:26 -08:00
Jeff Walden
0f05fc70d8 Bug 847480 - Convert DeprecatedAbs uses that can relatively obviously be changd to Abs, to Abs. r=Ms2ger 2013-03-05 15:43:53 -08:00
Jeff Walden
cc0ac55d6b Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
0bfefb7eed Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Jeff Walden
f2df78d4e2 Bug 848747 - Detect a likely-overflowing case early and bail on it. r=nbp 2013-03-07 11:51:33 -08:00
Bobby Holley
70a841abe2 Bug 813901 - Tests. r=mrbkap 2013-03-13 10:01:36 -07:00
Bobby Holley
e6017346d0 Bug 850000 - Don't clobber exceptions set in security wrapper check() hooks. r=mrbkap 2013-03-13 10:01:36 -07:00
Bill McCloskey
50f50ed54e Bug 846890 - Avoid check for native anonymous content when possible (r=bholley) 2013-03-08 18:49:36 -08:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Phil Ringnalda
c246268759 Back out 7d1510d544d9 (bug 836968) on suspicion of causing bug 850547
CLOSED TREE
2013-03-12 23:38:11 -07:00
Hannes Verschore
73acb83475 Bug 850536: Only get the chars of a string once in FlattenSubstrings, r=sstangl 2013-03-13 06:08:35 +01:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e3d8d5c262 Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
55e2c13ea6 Bug 818246 - Part 3: Build system support for XPIDLSRCS in moz.build; r=glandium 2013-03-12 10:15:24 -07:00
Benjamin Peterson
6878c00c80 Bug 779233 - Count script filenames as part of script source memory. r=njn
--HG--
extra : rebase_source : f8c6e2d0867f172a68bac2242dd401db89c92236
2013-03-12 21:56:57 -05:00
Benjamin Peterson
62417c38ee Bug 779233 - Put a script's filename on the ScriptSource. r=billm
--HG--
extra : rebase_source : 4d76299491876e59a1c851ecb82544cb93b4e382
2013-03-12 21:56:55 -05:00
Christian Holler
134d78b38e Bug 728188 - Add missing test for bug 728188. r=needed-tests
--HG--
extra : rebase_source : d9614d10872a2ae7808565bf941258e3b2e98b89
2013-03-13 01:13:15 +01:00
Christian Holler
30db264062 Bug 756851 - Add missing test for bug 756851. r=needed-tests
--HG--
extra : rebase_source : 7a96c277c757c0bffa2d78e05ac6d16a90b5b880
2013-03-13 01:13:15 +01:00
Christian Holler
7778c68dae Bug 763440 - Add missing testcase for bug 763440. r=needed-tests
--HG--
extra : rebase_source : cee87606c1aaa9cbc70f854a9a49711222064e4e
2013-03-13 01:13:15 +01:00
Christian Holler
79b79dc71c Bug 792239 - Add missing test for bug 792239. r=needed-tests
--HG--
extra : rebase_source : 9a42769c75472d5f2e5d5ab830fc7c7dcdc99ded
2013-03-13 01:13:15 +01:00
Christian Holler
bd4e9f0a03 Bug 794025 - Add missing test for bug 794025. r=needed-tests
--HG--
extra : rebase_source : 2e91ba614c130e1aa432824bfe1c7d29b18a209d
2013-03-13 01:13:15 +01:00
Terrence Cole
77119b031a Bug 843907 - Move to manual barriering for MapObject and SetObject's key; r=billm
Automatically adding keys from the OrderedHashTable to the store buffer does not
work because the table uses a non-null value to indicate "empty". Since
RelocatableValue expects NULL to be used for this purpose, minor GCs attempt to
mark the tombstone as if it were a value. This obviously fails.

RelocatableValue is also extremely slow and moving to manual barriering will
make MapObject and SetObject faster with generational GC.

--HG--
rename : content/svg/content/src/SVGFETileElement.cpp => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : ae675d0a16c61fccb7a88468cd32ae2d1899e2e3
2013-02-21 17:31:52 -08:00
Bobby Holley
ccc319c140 Bug 825697 - Check for all wrapper types. r=mrbkap 2013-03-11 10:13:25 -07:00
Jan de Mooij
471709877f Bug 830943 part 2 - Add asserts, testcase. r=dvander 2013-03-11 17:53:23 +01:00
Neil Deakin
615637590a Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Ryan VanderMeulen
bc86c40cbe Merge m-c to inbound. 2013-03-11 10:08:44 -04:00
Phil Ringnalda
938afd9786 Back out 7f12ca5e6d0a (bug 750303) on suspicion of breaking l10n builds 2013-03-10 20:03:28 -07:00