Commit Graph

34220 Commits

Author SHA1 Message Date
Benoit Jacob
083f0e0cc1 Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley 2014-06-23 14:49:08 -04:00
Nick Fitzgerald
59dc6af800 Bug 1027157 - Make warnings reported with JSEXN_NONE so that they don't appear as errors in the console. r=Waldo 2014-06-19 15:44:00 -04:00
Douglas Crosher
8b763ac4fa Bug 1027441 - OdinMonkey: Fix use of size() with pending pool entries. r=luke 2014-06-23 14:12:16 +10:00
Nick Fitzgerald
f79fcccd5f Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel 2014-06-20 13:09:00 -04:00
Luke Wagner
a3d2e05151 Bug 1027674 - OdinMonkey: small Ion FFI optimization (r=dougc)
--HG--
extra : rebase_source : 95b909bffa35ec045286430e537583a4421ec6ea
2014-06-23 09:57:45 -05:00
Jan de Mooij
2b7ee170f0 Bug 1027528 part 13 - Remove JSString::hasPureChars etc, and refactor callers. r=njn 2014-06-23 16:20:57 +02:00
Nicolas B. Pierron
dac5dc5d41 Bug 1003801 - Sort functions based on Bug 1003801 order. r=Vash 2014-06-23 04:41:40 -07:00
Rémi Weng
82f36c0664 Bug 1024589 - IonMonkey: Implement FromCharCode Recover Instruction. r=nbp 2014-06-23 04:41:40 -07:00
Guillaume Maudoux
681ba345c5 Bug 1028556 part 2 - IonMonkey: Fix RPow test case. r=nbp 2014-06-23 04:41:40 -07:00
Guillaume Maudoux
bd9ddb6860 Bug 1028662 - IonMonkey: Implement PowHalf Recover Instruction. r=nbp 2014-06-23 04:41:39 -07:00
Douglas Crosher
ff7ec9890d Bug 1027476 - IonMonkey: (ARM) remove an unnecessary no-pool region in buildOOLFakeExitFrame(). r=jandem 2014-06-19 14:50:13 +10:00
Hannes Verschore
5252b0d88a Bug 1019585: Fix compilation with ggc, r=jandem 2014-06-26 10:59:13 +02:00
Jon Coppeard
7a5c8fb7bb Bug 988486 - Make more GCRuntime state private and add necessary accessors r=terrence 2014-06-26 10:07:35 +01:00
Lars T Hansen
f8d6d1c1b7 Bug 1020290 - fix style warnings for bustage fix on CLOSED TREE 2014-06-26 10:38:22 +02:00
Lars T Hansen
7eb4fcceba Bug 1020290 - fix bustage on CLOSED TREE 2014-06-26 10:08:40 +02:00
Lars T Hansen
bdf2818b88 Bug 1020290 - reduce the proliferation of names by introducing overloading. r=shu 2014-06-26 09:22:19 +02:00
Lars T Hansen
f6d22159a1 Bug 1020290 - move notions of 'nursery' out of ThreadSafeContext, rename 'fjNursery'. r=shu 2014-06-26 09:21:52 +02:00
Lars T Hansen
9816a0c3b7 Bug 1020290 - remove inert code. r=shu 2014-06-26 09:21:24 +02:00
Lars T Hansen
bf0f6dfb34 Bug 1020290 - factor UpdateJitActivations. r=shu 2014-06-26 09:21:02 +02:00
Shu-yu Guo
336c7e0678 Bug 1029440 - Preserve all JIT code when there's recent parallel activity. (r=terrence) 2014-06-25 17:30:56 -07:00
Shu-yu Guo
e444fa694b Bug 1029653 - Delete accidentally committed debug printf. (r=me) 2014-06-25 17:30:56 -07:00
Shu-yu Guo
2085fa4ebe Bug 1029653 - Fix subtle bug in computing the main thread stack limit in PJS. (r=lth) 2014-06-25 17:30:55 -07:00
Shu-yu Guo
e00f170c66 Bug 1029653 - Fix ForkJoinContext::isMainThread. (r=lth) 2014-06-25 17:30:55 -07:00
Shu-yu Guo
add1128f7a Bug 1029653 - Remove bogus heavyweight assertion in computeScopeChain. (r=jandem) 2014-06-25 17:30:55 -07:00
Mike Hommey
b02a375963 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Peter Van der Beken
7785f47487 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Carsten "Tomcat" Book
45f76b3c25 Backed out changeset 214719d6c99c (bug 1000182) for fixing failing jit tests on a CLOSED TREE 2014-06-23 10:14:33 +02:00
Carsten "Tomcat" Book
a7818c0574 Backed out changeset f35c977b4b21 (bug 1000182) for failing jit tests on a CLOSED TREE 2014-06-23 10:12:12 +02:00
Bob Owen
d5b1972d3b Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
823ecbf857 Bug 1026858 - "search for "stdio.h" exactly". r=mshal 2014-06-18 17:19:00 +02:00
Jan Beich
570d6f212a Bug 1028745 - Avoid using foreign ASSERT() macro in JS code. r=bhackett 2014-06-23 07:16:51 +02:00
Jan Beich
0f8b987a2f Bug 1025674 - Unbreak non-unified build of --disable-ion after bug 976446. r=bhackett 2014-06-23 07:16:16 +02:00
Paali Tandia
3506a15324 Bug 1024895 - Implementing Floor recover on bailout. r=nbp 2014-06-22 11:14:00 -07:00
David Moreira
494e623000 Bug 1028573 - Implement RInstruction for MathFunction::round. r=nbp 2014-06-22 11:14:00 -07:00
Guillaume Maudoux
12e818afee Bug 1028658 - Fix indentation of RMod functions. r=nbp 2014-06-22 11:13:59 -07:00
Guillaume Maudoux
08e9171836 Bug 1028556 - IonMonkey: Implement Pow Recover Instruction. r=nbp 2014-06-22 11:13:59 -07:00
Guillaume Turri
01a51381bb Bug 1024896 - IonMonkey: Implement Round Recover Instruction. r=nbp 2014-06-22 11:13:58 -07:00
Bill McCloskey
78c2618e3d Bug 990729 - Add compartmentPerAddon option for XUL overlays (r=bholley) 2014-06-21 11:55:15 -07:00
Bill McCloskey
1ddea0f108 Bug 990729 - No longer store addonId in sandbox metadata (r=bholley) 2014-06-21 11:54:37 -07:00
Bill McCloskey
61a6099aec Bug 1019181 - Don't use JSPROP_PERMANENT for JSOP_DEFCONST (r=jorendorff) 2014-06-21 11:54:36 -07:00
Bill McCloskey
14ad05f2a2 Bug 990729 - Tests for writeToGlobalPrototype (r=bholley) 2014-06-21 11:54:36 -07:00
Bill McCloskey
699e653a64 Bug 990729 - Add writeToGlobalPrototype option for sandboxes (r=bholley) 2014-06-21 11:54:36 -07:00
Bill McCloskey
92f929818a Bug 990729 - Fix nullptr/JS_PropertyStub mistake in js::CheckDefineProperty (r=jorendorff) 2014-06-21 11:54:30 -07:00
Bill McCloskey
75435b477c Bug 990729 - Don't consider JSAddonId* to be a rooting hazard (r=terrence) 2014-06-21 11:54:25 -07:00
Bill McCloskey
08dc80ac48 Bug 1017302 - Expose add-on IDs to JS engine (r=bholley) 2014-06-21 11:54:22 -07:00
Jan de Mooij
64f87ae0f9 Bug 1026438 part 8 - Make irregexp GetCaseIndependentLetters work with Latin1 strings. r=bhackett 2014-06-21 19:56:32 +02:00
Jan de Mooij
2d3dff50ad Bug 1026438 part 7 - Make irregexp CheckSpecialCharacterClass, CheckNotBackReference work with Latin1 strings. r=bhackett 2014-06-21 19:56:30 +02:00
Jan de Mooij
47fae291f5 Bug 1027528 part 17 - Make shell's OffThreadCompileScript work with Latin1 strings. r=bhackett 2014-06-21 19:56:28 +02:00
Jan de Mooij
f4a52669de Bug 1027528 part 16 - Make JSDependentString::undepend work with Latin1 strings. r=luke 2014-06-21 19:56:25 +02:00
Jan de Mooij
24288ad8e7 Bug 1027528 part 14 - Make self-hosting string cloning work with Latin1 strings. r=till 2014-06-21 19:56:23 +02:00
Jan de Mooij
baa4cfe2ab Bug 1027528 part 12 - Make more code work with Latin1 strings. r=terrence 2014-06-21 19:56:21 +02:00
Brian Hackett
cf6c9fa3ca Bug 1020012 - Consolidate ScriptSources with the same source, r=luke. 2014-06-21 10:39:04 -07:00
Chris Peterson
2c6c9dce99 Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron 2014-05-04 23:11:04 -07:00
Shu-yu Guo
694607f859 Bug 1019304 - Part 4: Add MUnreachable to end basic blocks that have bails in them. (r=sunfish) 2014-06-20 18:39:14 -07:00
Shu-yu Guo
badc6fcbf3 Bug 1019304 - Part 3: Mark rematerialized frames inside ForkJoin during ForkJoin minor collection. (r=lth) 2014-06-20 18:39:14 -07:00
Shu-yu Guo
d6ef23d207 Bug 1019304 - Part 2: Overhaul PJS bailout mechanism to be like the normal bailout mechanism. (r=nmatsakis)
- Remove ad-hoc IR tracing and AbortPar machinery.
- PJS bailouts use a different handler that unwinds the entire ForkJoin
  stack, but otherwise shares the same code as sequential bailouts.
- Each thread's stack is snapshotted as a RematerializedFrame vector.
2014-06-20 18:39:14 -07:00
Shu-yu Guo
6305034bf6 Bug 1019304 - Part 1: Teach RematerializedFrame to rematerialize bailout frames. (r=jandem) 2014-06-20 18:39:13 -07:00
Dan Gohman
773eaf4b9a Bug 1011283 - IonMonkey: Disable the DivOrModConstantI optimization. r=nbp 2014-06-20 17:51:40 -07:00
Mike Hommey
6ddd16c14e Bug 1026469 - Use AC_CHECK_LIB instead of MOZ_CHECK_PTHREADS. r=ted 2014-06-21 09:13:58 +09:00
Neil Rashbrook
1c401dad5e Bug 1026254 Broken chrome: URLs should result in error pages r=bsmedberg 2014-06-21 00:50:58 +01:00
Steve Fink
3160ea73e4 Bug 898554 - Add tooltool hashes for b2g analysis, and update the sixgill hash to a more generally useful one. r=unreviewable
--HG--
extra : rebase_source : 10d91ac36ef879c71867c118e14ce51b38bdc69b
2014-06-04 20:18:10 -07:00
Wes Kocher
7d1a7ded8a Backed out 3 changesets (bug 1019304) for spidermonkey test failures on a CLOSED TREE
Backed out changeset adc7e2d717a9 (bug 1019304)
Backed out changeset 5322e6721141 (bug 1019304)
Backed out changeset 45f24290b96e (bug 1019304)
2014-06-20 13:33:03 -07:00
Jason Orendorff
edd72c0670 Bug 1000182, part 1 - Crash @js::ThreadSafeContext::onOutOfMemory with PJS and OOM. r=shu.
Second landing, now with 100% more working in non-debug builds.
2014-06-20 12:01:01 -05:00
Jason Orendorff
581970cd1a Bug 1000182, part 0 - Support unhandlable OOM in jit-test harness. r=terrence. 2014-06-20 12:00:43 -05:00
Wes Kocher
7e8a48e265 Backed out 2 changesets (bug 1000182) for a jit test failure on a CLOSED TREE
Backed out changeset 6abf03bfb9f8 (bug 1000182)
Backed out changeset 0a2fd77083e4 (bug 1000182)
2014-06-20 11:18:58 -07:00
Shu-yu Guo
59b87a3dec Bug 1019304 - Part 3: Mark rematerialized frames inside ForkJoin during ForkJoin minor collection. (r=lth) 2014-06-20 11:08:14 -07:00
Shu-yu Guo
b8d7565067 Bug 1019304 - Part 2: Overhaul PJS bailout mechanism to be like the normal bailout mechanism. (r=nmatsakis)
- Remove ad-hoc IR tracing and AbortPar machinery.
- PJS bailouts use a different handler that unwinds the entire ForkJoin
  stack, but otherwise shares the same code as sequential bailouts.
- Each thread's stack is snapshotted as a RematerializedFrame vector.
2014-06-20 11:08:14 -07:00
Shu-yu Guo
9188d6f678 Bug 1019304 - Part 1: Teach RematerializedFrame to rematerialize bailout frames. (r=jandem) 2014-06-20 11:08:14 -07:00
Shu-yu Guo
59451e27dc Bug 1024756 - Remove unnecessary saving of registers across PJS OOL VM calls. (r=jandem) 2014-06-20 11:08:13 -07:00
Jason Orendorff
77e66219d7 Bug 1000182, part 1 - Crash @js::ThreadSafeContext::onOutOfMemory with PJS and OOM. r=shu. 2014-06-20 12:01:01 -05:00
Jason Orendorff
8ecdb98d44 Bug 1000182, part 0 - Support unhandlable OOM in jit-test harness. r=terrence. 2014-06-20 12:00:43 -05:00
Nicolas B. Pierron
38dfec1d82 Bug 1026460 - Consider observable MIR nodes as live uses. r=shu a=abillings 2014-06-20 08:20:24 -07:00
Jan de Mooij
7ddc7ed325 Bug 1027528 part 11 - Make some shell functions handle Latin1 strings. r=terrence 2014-06-20 16:20:26 +02:00
Jan de Mooij
ad2c6fbce7 Bug 1027528 part 10 - Make ObjectToSource work with Latin1 strings. r=njn 2014-06-20 16:20:24 +02:00
Jan de Mooij
bdb2f89f1d Bug 1027528 part 9 - Make more code work with Latin1 strings. r=terrence 2014-06-20 16:20:22 +02:00
Ms2ger
45efada15c Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Dan Gohman
5e90a2d991 Bug 1027866 - SpiderMonkey: Assert that an element isn't inserted into a InlineList twice. r=jandem 2014-06-20 05:53:12 -07:00
Dan Gohman
bb5df8ae30 Bug 1027853 - IonMonkey: Remove some unneeded fields from MBasicBlock r=nbp 2014-06-20 05:50:13 -07:00
Jan de Mooij
1332700889 Bug 1027528 part 8 - Make Reflect.parse handle Latin1 strings. r=njn 2014-06-20 14:44:37 +02:00
Jan de Mooij
6499dce503 Bug 1027528 part 6 - Make asm.js PropertyName serialization handle Latin1 strings. r=luke 2014-06-20 14:44:35 +02:00
Jan de Mooij
43da44b220 Bug 1027528 part 5 - Make FunctionToString handle Latin1 strings. r=luke 2014-06-20 14:44:33 +02:00
Ms2ger
1ab8344d82 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Jan de Mooij
a34828f171 Bug 1027528 part 4 - Make JSON Quote function handle Latin1 strings. r=Waldo 2014-06-20 12:39:46 +02:00
Jan de Mooij
a2a4ffc44c Bug 1027528 part 3 - Make JS_EncodeString and friends handle Latin1 strings. r=Waldo 2014-06-20 12:39:44 +02:00
Jan de Mooij
16c5b87a65 Bug 1027528 part 2 - Make AtomizeString, StringBuffer::finishAtom handle Latin1 strings. r=luke 2014-06-20 12:39:42 +02:00
Jan de Mooij
f892333a69 Bug 1027528 part 1 - Make Function constructor handle Latin1 strings. r=njn 2014-06-20 12:39:40 +02:00
Jan de Mooij
ec5bbed791 Bug 1026438 part 6 - Make StringHasRegExpMetaChars work with Latin1 strings. r=bhackett 2014-06-20 12:39:39 +02:00
Ms2ger
530bc74c8d Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Dan Gohman
5a4dac7cfb Bug 1027842 - Make jit_test.py search in PATH to find the js shell command. r=terrence 2014-06-19 18:50:09 -07:00
Dan Gohman
07638d0296 Bug 1027848 - SpiderMonkey: Delete obsolete command-line options r=h4writer 2014-06-19 18:50:06 -07:00
Wes Kocher
dff4f03174 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Eric Faust
c2bc7d3543 Bug 1007334 - Followup: More test futzing for readability and Waldo-appeasement on a CLOSED TREE. (r=test-only) 2014-06-19 17:11:11 -07:00
Eric Faust
89eab84346 Bug 1007334 - Followup: Fix bogus test for new behavior on a CLOSED TREE. (r=jwalden over IRC) 2014-06-19 16:41:46 -07:00
Neil Rashbrook
1aeb541237 Bug 1025264 Broken chrome: URLs should result in error pages r=bsmedberg 2014-06-19 23:56:02 +01:00
Nicholas D. Matsakis
e7fb87053d Bug 1022356 Part 01 -- Move from TypedProtoSet to TypedObjectPrediction r=shu 2014-03-12 08:18:28 -04:00
Eric Faust
68d10f3b75 Bug 1007334 - Clean up the GetOwnPropertyNames/Keys situation for ES6 proxies. (r=jorendorff) 2014-06-19 15:34:02 -07:00
Douglas Crosher
e1a71ab79c Bug 1026905 - IonMonkey: remove the instruction counters from the script counters. r=bhackett 2014-06-18 16:22:03 +10:00
Jeff Walden
1dbd12f10f Bug 1027693 - Add a test for top-level let not creating a variable that'd show up in |with (global)| scope. r=jorendorff over IRC on original landing, minor adjustments to eliminate a log-highlighting false positive r=trivial
--HG--
extra : rebase_source : a43dd2daa969aafbab9d1354c82e2a65ffbdd907
2014-06-13 18:44:14 -07:00
Shu-yu Guo
16f8799b22 Bug 1026139 - Test. (r=jimb) 2014-06-19 12:22:11 -07:00
Shu-yu Guo
7b4738fb89 Bug 1026139 - Fix patching already patched frames in debug mode OSR. (r=jandem) 2014-06-19 12:22:11 -07:00
Bobby Holley
197040b5d2 Bug 976148 - Tests. r=gabor 2014-06-19 09:57:06 -07:00
Bobby Holley
dae7d9b796 Bug 976148 - Support the .name and .length properties of Function instances. r=gabor 2014-06-19 09:57:06 -07:00
Bobby Holley
9a3b06e084 Bug 976148 - Support the 'prototype' property for standard constructors. r=gabor 2014-06-19 09:57:06 -07:00
Bobby Holley
8c8ec10cee Bug 976148 - Implement Xrays to Function objects. r=gabor 2014-06-19 09:57:06 -07:00
Bobby Holley
aa8f8da6b1 Bug 976148 - Add a mechanism to identify a standard constructor. r=luke 2014-06-19 09:57:05 -07:00
Ed Morley
b160b2e1cd Backed out changeset ac74a1815c66 for failing intermittently after landing as a 'no bug' \o/ 2014-06-19 17:48:22 +01:00
Jan de Mooij
567f1d7bc3 Bug 1019585 part 8 - Make StrReplaceRegexpRemove handle Latin1 strings. r=terrence 2014-06-19 15:43:36 +02:00
Jan de Mooij
932b5682ea Bug 1019585 part 7 - Make StringRegExpGuard::flattenPattern handle Latin1 strings. r=terrence 2014-06-19 15:43:34 +02:00
Jan de Mooij
0ee6f5488c Bug 1019585 part 6 - Make str_replace regex case handle Latin1 strings. r=terrence 2014-06-19 15:43:32 +02:00
Jan de Mooij
dcc8818130 Bug 1026438 followup - Allow unaligned 16-bit loads in the ARM simulator, as irregexp emits them for Latin1 strings. r=nbp on IRC 2014-06-19 14:28:36 +02:00
Jan de Mooij
14eb15d662 Bug 1019585 part 5 - Make BuildDollarReplacement handle Latin1 strings. r=terrence 2014-06-19 12:59:46 +02:00
Jan de Mooij
1c21dce8b8 Bug 1019585 part 4 - Make str_replace dollar search handle Latin1 strings. r=terrence 2014-06-19 12:59:44 +02:00
Jan de Mooij
85ab572a33 Bug 1026438 part 5 - Make irregexp work with Latin1 strings. r=bhackett 2014-06-19 12:59:40 +02:00
Makoto Kato
1fa8bbcc1d Bug 722215 - dist\include\jsapi.h(3526) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data. r=luke 2014-06-19 18:54:19 +09:00
Nicolas B. Pierron
8c2830477e Bug 1022232 - Add ConvertToInt32Policy to MLimitedTruncate. r=bbouvier a=abillings 2014-06-19 02:01:04 -07:00
Nicolas B. Pierron
ec1d125e97 Bug 1011745 - Correctly distinguish loop header phis. r=h4writer a=abillings 2014-06-19 02:01:03 -07:00
Jan de Mooij
349eaf6723 Bug 1026438 part 4 - Make StringMatch regexp code work with Latin1 strings. r=bhackett 2014-06-19 09:55:31 +02:00
Jan de Mooij
41d8a0a22e Bug 1026438 part 3 - Allow storing separate Latin1/TwoByte versions of regex code. r=bhackett 2014-06-19 09:52:35 +02:00
Bobby Holley
6e05608e3e Bug 1026860 - Remove mThisObjects and use the function parent instead. r=luke,khuey 2014-06-18 22:36:42 -07:00
Nicholas Nethercote
386e3bffeb Bug 1026319 - Convert the second quarter of MFBT to Gecko style. r=froydnj.
--HG--
extra : rebase_source : 98d2557c7fe4648d79143c654e7e31767fca2e65
2014-06-12 23:34:08 -07:00
Nicholas Nethercote
d3fca615dc Bug 1013078 (part 3) - Remove references to now-removed leakyLog*() functions in annotations.js. r=sfink.
--HG--
extra : rebase_source : 61a8f2fb69beece98d1eab0e92051a221106440e
2014-06-18 17:41:58 -07:00
Eric Faust
fdcb1706bc Bug 980565 - Remove defunct Proxy.[[HasOwnProperty]]. (r=jorendorff)
--HG--
rename : js/src/jit-test/tests/proxy/testDirectProxyHasOwn1.js => js/src/jit-test/tests/proxy/testDirectProxyHasOwnProperty.js
2014-06-18 19:46:07 -07:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Eric Faust
dea30e7893 Bug 1011660 - Remove separate DOMClass struct. (r=bz) 2014-06-18 13:19:19 -07:00
Eric Faust
24f9ca420b Bug 1022736 - Allow cacheing of GlobalObject getters on non-global scopechains. (r=jandem) 2014-06-18 13:00:17 -07:00
Nick Fitzgerald
705db2c049 Bug 1004110 - Memoize PCToLineNumber lookups in SavedStacks. r=terrence 2014-06-17 16:32:00 -04:00
Jan de Mooij
c4e38ae02d Bug 1026680 part 5 - Make escape work with Latin1 strings. r=njn 2014-06-18 11:33:52 +02:00
Jan de Mooij
319e93f6ab Bug 1026680 part 4 - Cleanup str_escape. r=njn 2014-06-18 11:33:52 +02:00
Jan de Mooij
9db01e655e Bug 1026680 part 3 - Make unescape work with Latin1 strings. r=njn 2014-06-18 11:33:51 +02:00
Jan de Mooij
a0bcaa8fb4 Bug 1026680 part 2 - Make encodeURI* work with Latin1 strings. r=njn 2014-06-18 11:33:51 +02:00
Jan de Mooij
76806f2deb Bug 1026680 part 1 - Make decodeURI* work with Latin1 strings. r=njn 2014-06-18 11:33:51 +02:00
Ryan VanderMeulen
97316b794a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-18 13:29:24 -04:00
Ryan VanderMeulen
fdda11b713 Backed out changeset 9d86b9442f0b (bug 975011) for Windows debug test bustage that only appears on clobber builds.
CLOSED TREE
2014-06-18 13:21:57 -04:00
Luke Wagner
253ae04d32 Bug 1026877 - OdinMonkey: tidy up AsmJSModule, part 2 (r=bbouvier)
--HG--
extra : rebase_source : e34a44dae9619833aeb4b05c00af838daaf42b71
2014-06-18 10:20:01 -05:00
Luke Wagner
2d6f28c45a Bug 1026877 - OdinMonkey: tidy up AsmJSModule, part 1 (r=bbouvier)
--HG--
extra : rebase_source : c0c4face5eb8aa70e1f9cc89fc13e3c7522a1f88
2014-06-18 08:57:19 -05:00
Cameron Kaiser
48747072fc Bug 1015824 - Fix 64-bit ints in StructuredClone on big endian systems. r=sfink 2014-06-12 20:28:52 -07:00
Lars T Hansen
2b00ecc700 Bug 1024567: use correct predicate to assert that objects are not inside GGC nursery rather than inside any nursery. r=shu 2014-06-16 10:14:38 +02:00
Steve Fink
d313788ccc Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium 2014-02-25 14:15:16 -08:00
Ryan VanderMeulen
75b29a3306 Backed out changeset aca2ec2457ec (bug 1016738) for re-introducing frequent WebRTC crashes. 2014-06-17 21:12:43 -04:00
Lars T Hansen
1cb4f83155 Bug 1024756: Track the frame size properly for NewDenseArray and rest arguments. Test case. r=shu 2014-06-16 10:45:59 +02:00
Sushant Dinesh
4e17ef0462 Bug 1026512. Add collectRangeInfoPreTrunc for MToInt32. r=h4writer. 2014-06-17 21:22:18 +02:00
Sushant Dinesh
8baa4011f5 Bug 1026365. Add analyzeEdgeCasesForward and collectRangeInfoPreTrunc for MMod. r=h4writer 2014-06-17 21:22:15 +02:00
Sushant Dinesh
e9f4f528db Bug 1025050. Add collectRangeInfoPreTrunc for MMul. r=h4writer. 2014-06-17 21:22:12 +02:00
Sushant Dinesh
e45b4c4286 Bug 1023300. Add collectRangeInfoPreTrunc for MDiv. r=h4writer. 2014-06-17 21:22:08 +02:00
Boris Zbarsky
fd7e32dab4 Bug 1019194 part 1. Get rid of nsIIndexedDatabaseManager. r=paul,khuey,mossop 2014-06-17 15:01:47 -04:00
Bill McCloskey
f78d78d6ea Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco) 2014-06-17 11:20:33 -07:00
Bobby Holley
427a9042b4 Bug 987163 - Implement Xrays for TypedArrays. r=gabor 2014-06-17 10:16:08 -07:00
Bobby Holley
b5d9522f1e Bug 987163 - Drop special COW support for TypedArrays. r=gabor
From now on, if someone wants to expose a TypedArray to content, they should
use Cu.cloneInto.
2014-06-17 10:16:08 -07:00
Bobby Holley
a3cdc9da90 Bug 987163 - Fix some squelched OOMs. r=gabor 2014-06-17 10:16:08 -07:00
Bobby Holley
68595fd52e Bug 987163 - Convert from |switch| statements to |if| statements. r=gabor
I realized that the switches are going to be cumbersome for Array stuff, because
we'll have to enumerate each kind of TypedArray as a separate case: statement.
Let's just use |if| so that we can call a helper.
2014-06-17 10:16:08 -07:00
Bobby Holley
eac400d252 Bug 987163 - Mirror the TypedArray ClassSpec between instance and proto JSClasses. r=luke
The Xray code expects to be able to find the ClassSpec via the JSClass of either
instances or standard prototypes. So in the case where these two objects have
different JSClasses, we need to put the information on both.
2014-06-17 10:16:07 -07:00
Jan de Mooij
3b5a0749d1 Bug 1019585 part 3 - Fix JSSubString to work with Latin1 strings. r=terrence
--HG--
extra : rebase_source : bc29bee2826906df79664edae3924990a8eacdb6
2014-06-17 18:43:22 +02:00
Jan de Mooij
2f85a6ad6d Bug 1025875 part 10 - Make array.join work with Latin1 strings. r=luke
--HG--
extra : rebase_source : e811a9ad5b5c8e46ad65554e55272fab95fef2cc
2014-06-17 16:54:13 +02:00
Jan de Mooij
25ebde1953 Bug 1025875 part 9 - Make eval work with Latin1 strings. r=njn
--HG--
extra : rebase_source : 83d0dc7e70db7cc559d62829d301c4fead9f3ba6
2014-06-17 16:42:57 +02:00
Jan de Mooij
a7d2694c5d Bug 1025875 part 6 - Fix small bug in JSRope::flattenInternal. r=luke
--HG--
extra : rebase_source : 9973455caf6edf0e2d05e59127d0e3734e65485d
2014-06-17 16:42:36 +02:00
Douglas Crosher
8612a8c83e Bug 1020122 - IonMonkey: (ARM) Remove some unused arguments on internal assembler methods. r=mjrosenb 2014-06-04 18:05:32 +10:00
Jan de Mooij
7c009a346a Bug 1025875 part 8 - Make JS_EncodeStringToUTF8, print etc work with Latin1 strings. r=Waldo 2014-06-17 15:18:23 +02:00
Jan de Mooij
97e23847a2 Bug 1025875 part 7 - Make Sprinter::putString work with Latin1 strings. r=njn 2014-06-17 15:18:21 +02:00
Jan de Mooij
c4cc1b7253 Bug 1025875 part 5 - Make eval-JSON optimization work with Latin1 strings. r=Waldo 2014-06-17 15:18:18 +02:00
Jan de Mooij
23c7ad9a6e Bug 1025875 part 4 - Make StringEqualsAscii and EqualStringsHelper work with Latin1 strings. r=bhackett 2014-06-17 15:18:16 +02:00
Benjamin Bouvier
d28c7a452d Bug 988486: Fix initialization order in GCRuntime.h; r=jonco 2014-06-17 13:34:36 +02:00
Benjamin Bouvier
74351e4940 Bug 1025587: Inherit strict context on asm.js dynamic linking failure; r=luke 2014-06-17 13:32:21 +02:00
Jan de Mooij
2cbb0e1746 Bug 1025875 part 3 - Make CompareStrings and CompareAtoms work with Latin1 strings. r=njn 2014-06-17 11:28:50 +02:00
Jan de Mooij
01cf5ea3fc Bug 1025875 part 2 - Make string.split work with Latin1 strings. r=luke 2014-06-17 11:28:48 +02:00
Jan de Mooij
d35ab2bd43 Bug 1025875 part 1 - Make some frontend code handle Latin1 strings. r=njn 2014-06-17 11:28:46 +02:00
Jan de Mooij
fd75f1916c Bug 1015766 - Add test. r=test 2014-06-17 11:28:44 +02:00
Jan de Mooij
e54f44f292 Bug 1024444 - Fix minor bug with arguments object aliasing and Baseline. r=luke 2014-06-17 11:28:41 +02:00
Douglas Crosher
f3b02e8c8d Bug 1020141 - IonMonkey: (ARM) Remove the unused 'offset' field from RelativePatch. r=mjrosenb 2014-06-04 18:09:37 +10:00
Nathan Froyd
ad9d2bf854 Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Ben Kelly
fa96ef9593 Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz 2014-06-16 12:52:00 -04:00
Douglas Crosher
a0eb39220e Bug 1021754 - ARM Simulator: Avoid creating a Simulator for helper threads and reference the SimulatorRuntime via the PerThreadData. r=jandem 2014-06-16 20:32:11 +10:00
Brian Hackett
c90d15b368 Bug 1024038 - Remove YARR, r=jandem. 2014-06-16 15:37:53 -07:00
Jim Blandy
0b21a198f7 Bug 960786: SpiderMonkey should provide an introspection API for memory heap analysis (ubi::Node) r=sfink 2014-06-16 15:18:57 -07:00
Terrence Cole
faf428504a Bug 1017650 - Remove the unused |proto| arg from the wrapping machinery; r=efaust 2014-06-16 11:59:59 -07:00
Terrence Cole
e596c6f439 Bug 1017650 - Re-arrange the GC API include dependency ordering; r=jonco
--HG--
extra : rebase_source : bc27b7206c674ef2247169dd700b9fbf61e5bd74
2014-06-16 11:59:45 -07:00
Benjamin Bouvier
d13acbdb85 Bug 1025011: Comment the difference between use* and use*AtStart during Lowering; (comments only: DONTBUILD) r=jandem 2014-06-16 14:57:26 +02:00
Hannes Verschore
c29fe47210 Bug 1020364. Typo to fix bustage on CLOSED TREE. r=bustage 2014-06-16 12:48:13 +02:00
Sushant Dinesh
82ef1a89c1 Bug 1020364. Change parallel_compilation to offthread_compilation to prevent confusion. r=h4writer. 2014-06-16 12:05:12 +02:00
Jon Coppeard
d2801c0c36 Bug 988486 - Make more GCRuntime state private and add accessors r=terrence 2014-06-16 10:40:44 +01:00
Jon Coppeard
9e6c5c884a Bug 1025010 - Clear the store buffer on collection if nursery empty r=terrence 2014-06-16 10:40:43 +01:00
Jon Coppeard
84063012e5 Bug 1024944 - Replace v8 benchmarks with octane r=terrence 2014-06-16 10:40:43 +01:00
Jan de Mooij
63b2baee9a Bug 1024518 part 2 - Make RegExp flags parser handle latin1 strings and add tests. r=bhackett 2014-06-16 10:48:56 +02:00
Jan de Mooij
6b40ada1e7 Bug 1024518 part 1 - Make RegExp parser handle latin1 strings. r=bhackett 2014-06-16 10:47:58 +02:00
Daniel Stenberg
a29ee21efd Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Carsten "Tomcat" Book
0029255568 Backed out changeset 68cec11659b9 (bug 1026680) for windows debug bc1 and other test failures on a CLOSED TREE 2014-06-18 15:34:04 +02:00
Carsten "Tomcat" Book
f40d539f83 Backed out changeset aea4ea200313 (bug 1026680) 2014-06-18 15:33:29 +02:00
Carsten "Tomcat" Book
fd31ede039 Backed out changeset aff142aa038d (bug 1026680) 2014-06-18 15:33:27 +02:00
Carsten "Tomcat" Book
6eb16dd829 Backed out changeset f08470bb573a (bug 1026680) 2014-06-18 15:33:26 +02:00
Carsten "Tomcat" Book
4ec1bee91c Backed out changeset 45dd001f865a (bug 1026680) 2014-06-18 15:33:22 +02:00
Jan de Mooij
8dbd3b8c9a Bug 1026438 part 2 - Make irregexp char sampling work with Latin1 strings. r=bhackett 2014-06-18 14:58:20 +02:00
Jan de Mooij
ad1ba86cb2 Bug 1026438 part 1 - Pass HandleLinearString instead of jschar+length to regexp code. r=bhackett 2014-06-18 14:58:18 +02:00
Jed Davis
8c3089a811 Bug 1011350 - Use TaggedAnonymousMemory to distinguish our various mmap call sites. r=njn
We can probably get more granular information than this, given that we
can re-tag memory after the initial mapping, or tag subregions of an
individual mmap() call differently.  But this is a start.
2014-06-17 17:55:00 +02:00
Jan de Mooij
2f2a6cc19e Bug 1026680 part 5 - Make escape work with Latin1 strings. r=njn 2014-06-18 11:33:52 +02:00
Jan de Mooij
912d722132 Bug 1026680 part 4 - Cleanup str_escape. r=njn 2014-06-18 11:33:52 +02:00
Jan de Mooij
5ed19309dd Bug 1026680 part 3 - Make unescape work with Latin1 strings. r=njn 2014-06-18 11:33:51 +02:00
Jan de Mooij
8480b27536 Bug 1026680 part 2 - Make encodeURI* work with Latin1 strings. r=njn 2014-06-18 11:33:51 +02:00
Jan de Mooij
a3ec65d43e Bug 1026680 part 1 - Make decodeURI* work with Latin1 strings. r=njn 2014-06-18 11:33:51 +02:00
Jon Coppeard
2943db57c7 Bug 1016016 - Add missing read barriers for weak pointers in SavedStacks set t=terrence 2014-06-18 10:07:50 +01:00
Brian Hackett
c77ddc45d6 Bug 1013586 - Backout diagnostic patch 2e9bcf014247. 2014-06-15 16:30:37 -07:00
Andrew McCreight
a1e6587a6b Bug 1019101 - Add a way to get the max CC pause during a given period of time. r=smaug 2014-06-14 16:43:45 -07:00
Jan de Mooij
3478c979da Bug 1025174 - Add RootedLinearString and HandleLinearString typedefs. r=terrence 2014-06-14 10:51:49 +02:00
Jeff Walden
6ec66ffc21 Add comments to js/src/tests/browser.js and js/src/tests/*/shell.js indicating how JS versioning requirements for tests are enforced. No bug, r=me
--HG--
extra : rebase_source : f65153d60d87c117e339f2fd7b550709c4b2a02b
2014-06-13 19:08:20 -07:00
Jeff Walden
d63d5bd840 Add a test for top-level let not creating a variable that'd show up in |with (global)| scope. No bug, r=jorendorff over IRC
--HG--
extra : rebase_source : 50e9ec9c7a97ec83f597fd07f3db57fc80c604c3
2014-06-13 18:44:14 -07:00
Jeff Walden
0a69aedff9 Back out c2a6dee2071f, fails-if condition runs in an environment that's not the same as the test itself (which requires let statements be enabled). r=bustage in a CLOSED TREE 2014-06-13 16:06:54 -07:00
Shu-yu Guo
c581483075 Bug 1024732 - Don't set PJS helper thread state to TERMINATED on error when starting the helper threads. (r=nmatsakis) 2014-06-13 15:11:12 -07:00
Jeff Walden
c82398d0ad Add a test for top-level let not creating a variable that'd show up in |with (global)| scope. No bug, r=jorendorff over IRC
--HG--
extra : rebase_source : bd068aeb3021789ec13d2274f72fa728f6d5c4d5
2014-06-06 15:44:14 -07:00
Ehsan Akhgari
b1ec98ffe9 Bug 1024842 - Make StructuredDataType a typed enum in order to avoid C++11 narrowing conversion warnings when the values of the enum are used in the switch statement later in the file; r=Waldo 2014-06-13 17:36:13 -04:00
Jan de Mooij
27f3f96d34 Bug 1023778 part 8 - Address review comments. r=Waldo 2014-06-13 20:51:16 +02:00
Jan de Mooij
b209104ab4 Bug 1023778 part 7 - Add tests. r=Waldo 2014-06-13 20:51:14 +02:00
Jan de Mooij
43bd1cca4f Bug 1023778 part 6 - Make JSON.parse handle Latin1 strings. r=Waldo 2014-06-13 20:51:12 +02:00
Jan de Mooij
1cb54e8366 Bug 1023778 part 5 - Add AutoStableStringChars class. r=terrence 2014-06-13 20:51:10 +02:00
Jan de Mooij
e49fbcc777 Bug 1023778 part 4 - Add JSONParser<Latin1Char>. r=Waldo 2014-06-13 20:51:07 +02:00
Jan de Mooij
e261152579 Bug 1023778 part 3 - Make AtomizeChars and js_NewStringCopyN accept Latin1 chars. r=luke 2014-06-13 20:51:05 +02:00
Jan de Mooij
0b37117727 Bug 1023778 part 2 - Parameterize JSONParser. r=Waldo 2014-06-13 17:21:39 +02:00
Jan de Mooij
5ec377d208 Bug 1023778 part 1 - Add JSONParserBase base class. r=Waldo 2014-06-13 17:21:37 +02:00
Nicholas Nethercote
fcbaa23ac2 Backout 277bacd9f2f8 (bug 1023719) for causing intermittent crashes.
--HG--
extra : rebase_source : e6c9e54dd2df572da7f8cdf3cd6226a1aeeee883
2014-06-13 06:39:16 -07:00
Nathan Froyd
7fdd1535f9 Bug 1024588 - turn off useragent updates for tests, to avoid hitting the network; r=jmaher 2014-06-12 15:14:43 -04:00
Ehsan Akhgari
e9b6701f1c Bug 1024833 - Use _HAS_EXCEPTIONS=0 when building the JS engine on Windows; r=glandium 2014-06-13 09:34:40 -04:00
Shihua Zheng
5407b1c675 Bug 1024170 - Replace zone calls in JSCompartment::wrap with zoneFromAnyThread. r=bhackett 2014-06-11 16:39:04 -07:00
Till Schneidereit
7917278dfc Bug 1019955 - Write preprocessing results for self-hosted code into file instead of stdout. r=glandium
--HG--
extra : rebase_source : 7dda05b622e766d6d04fe54e8d9bc5e8c30519a0
2014-06-07 14:26:54 +02:00
Ehsan Akhgari
6386cf1efb Bug 1022349 - Part 1: Apply the upstream patch to add support for clang-cl to libffi; r=glandium 2014-06-13 08:27:31 -04:00
Jan de Mooij
b17d051b60 Bug 1017107 - Make StringBuffer support Latin1 strings. r=luke 2014-06-13 14:26:03 +02:00
Ehsan Akhgari
a1e409f827 Bug 1024836 - Fix compilation errors in RangeAnalysis.cpp with clang-cl; r=Waldo
This is similar to bug 1021494.
2014-06-13 07:13:06 -04:00
Benjamin Bouvier
90253750b6 Bug 1024498: More tests for asm.js => ion calls; r=luke 2014-06-13 09:51:34 +02:00
Benjamin Bouvier
674c446fd1 Bug 1024498: Kill NativeFrameSize and rename AsmJSAlignmentAtPrologue into AsmJSSizeOfRetAddr; r=luke 2014-06-13 09:51:22 +02:00
Dan Gohman
4dcc967fd9 Bug 1022321 - IonMonkey: Relax an overzealous assert. r=nbp 2014-06-12 15:47:36 -07:00
Dan Gohman
dd1b688210 Bug 1020482 - MLimitedTruncate instructions are movable. r=nbp 2014-06-12 15:47:36 -07:00
Dan Gohman
e504696683 Bug 1020480 - IonMonkey: Micro-optimize replaceAllUsesWith r=nbp 2014-06-12 15:47:36 -07:00
Dan Gohman
5ad5507494 Bug 1020429 - IonMonkey: Make MAsmJSCall a subclass of MVariadicInstruction r=nbp 2014-06-12 15:47:36 -07:00
David Major
bbff8ff408 Bug 1024265 - Adjust the trusted script buffer size for win64. r=bholley
--HG--
extra : rebase_source : f7e16ccaae5892f3b25ed1b0da6e0f3159dadd25
2014-06-13 10:37:05 +12:00
David Major
dee69d7ce7 Bug 1024265 - Part 0: Fix comments. r=bholley DONTBUILD
--HG--
extra : rebase_source : 8bc1cf12182f241f0a1cfdaf27d54c9c56e69bda
2014-06-13 10:30:33 +12:00
Lars T Hansen
dce148f134 Bug 1023753 - Define JSGC_FJGENERATIONAL only if JS_THREADSAFE. r=ted 2014-06-12 23:12:12 +02:00
Vincent St-Amour
28582f6a62 Bug 1019310 - Make bailout kinds more precise. r=shu 2014-06-12 10:39:00 -04:00
Vincent St-Amour
301d17203d Bug 1019310 - Remove comment about x86 in ARM-specific code. r=shu 2014-06-06 15:43:00 -04:00
Brian Hackett
aef72e8fa3 Bug 1024678 - Avoid pushing/popping floating point registers in regexp jitcode, r=jandem. 2014-06-12 14:13:49 -06:00
Shu-yu Guo
3f4ec4ee24 Bug 1022891 - Part 3: Fix instantiating InlineFrameIterator from inside InlineFrameIterator when settled on a bailout frame. (r=nbp) 2014-06-12 12:46:17 -07:00
Shu-yu Guo
a8aa3e16f0 Bug 1022891 - Part 2: Teach IonBailoutIterator about PJS scripts. (r=nbp) 2014-06-12 12:46:17 -07:00
Shu-yu Guo
be6245602f Bug 1022891 - Part 1: Fix IonBailoutIterator for non-top frames. (r=nbp) 2014-06-12 12:46:17 -07:00
Jim Blandy
86242a14d8 Bug 1024638: Use pandoc "--smart" documentation in js/src/doc documentation. DONTBUILD r=jorendorff 2014-06-12 12:09:23 -07:00
Inanc Seylan
b6ae2b2e43 Bug 1008110 - Implement BitAnd Recover instruction; r=nbp 2014-06-12 09:53:09 -07:00
Lars T Hansen
ccd3c4ef47 Bug 1023755 - PJS: Array.prototype.scanPar per-element thunk reads and writes result array; vulnerable to bailout-and-restart. r=nmatsakis 2014-06-11 19:29:34 +02:00
Brian Hackett
2ac0be8c53 Bug 1019684 - Turn an assert into a release mode crash instead. r=mjrosenb 2014-06-12 09:11:00 -04:00
Shu-yu Guo
aaa09b9d74 Bug 1023686 - Fix JSOP of definition nodes of non-hoisted declarations. (r=luke) 2014-06-12 00:27:46 -07:00
Shu-yu Guo
7851887c67 Bug 1022948 - Fix FPU in PJS worker threads. (r=Waldo) 2014-06-11 01:51:37 -07:00
Brian Hackett
043067b9f7 Bug 1018363 - Allow off thread Ion compilation during incremental GCs, r=billm. 2014-06-11 16:25:38 -06:00
Bobby Holley
fa376e8dca Bug 1020609 - Implement Xrays to Arrays. r=bz 2014-06-11 15:16:07 -07:00
Bobby Holley
6ac4ba5163 Bug 1020609 - Inherit property descriptor attributes for pre-existing own value props in Proxy::set. r=efaust 2014-06-11 15:16:06 -07:00
Bobby Holley
5e41a44c9c Bug 1020609 - Make configurability check in Xray defineProperty match the spec. r=bz
This code is basically emulating the ES semantics with respect to non-configurable
properties. Non-configurable value properties can still be writable, in which case
their value and writability may be updated.
2014-06-11 15:16:06 -07:00