Brian Hackett
96114f55fc
Bug 834240 - Add missing setPendingNukeTypes, r=dvander.
2013-03-01 17:08:18 -07:00
Daniel Holbert
2ea3681082
Bug 845868: Reorder js.cpp's #include list so that GCC doesn't spam Wattributes warnings about attributes being ignored on class decl-after-definition. r=Waldo
2013-03-01 16:02:21 -08:00
Dirkjan Ochtman
bbda60f654
Bug 638219 - Set all test-independent command-line bits up once, pass in; r=terrence
...
This will help integration with the jstests framework, which also uses
a single prefix argument to its Test command construction method.
Note that the order of js arguments is changed, from:
cmd = [js] + list(set(self.jitflags)) + shell_args + ['-e', expr]
cmd += ['-f', os.path.join(LIB_DIR, 'prolog.js'), '-f', self.path]
to:
prefix = [os.path.abspath(args[0])] + shlex.split(options.shell_args)
prefix += ['-f', os.path.join(jittests.LIB_DIR, 'prolog.js')]
cmd = prefix + list(set(self.jitflags)) + ['-e', expr, '-f', self.path]
The assumption here is that only the order of -f options matters.
--HG--
extra : rebase_source : 9655d6efc62006aa840d72f6b31d764bd870cc7d
2013-02-15 17:58:45 +01:00
Dirkjan Ochtman
eaeeefdc15
Bug 638219 - Move test result output into result processing function; r=terrence
...
--HG--
extra : rebase_source : c72b28460c2e4b52aa3e4bfa903d5ee1563c1e39
2013-02-15 17:09:33 +01:00
Dirkjan Ochtman
119113b076
Bug 638219 - Reuse cmd saved in results object rather than rebuilding it; r=terrence
...
--HG--
extra : rebase_source : 4b955e7793c966db184f67cc1a90ab8c24bbfcd7
2013-02-15 17:44:24 +01:00
Dirkjan Ochtman
3674963bf2
Bug 638219 - Use TestOutput class to wrap test results; r=terrence
...
--HG--
extra : rebase_source : 446d5f86d11c4d41fc771dde2b6357f6fff63175
2013-02-15 17:00:58 +01:00
Dirkjan Ochtman
97ca9cf882
Bug 638219 - Save static paths in module-level constants; r=terrence
...
These paths are a little far away from the script they're referenced in, so
it's a little fragile. However, since (a) these aren't expected to change
that often, and (b) the code should fail conspicuously if there is a change,
I don't think it's a problem.
--HG--
extra : rebase_source : 2e2d278826d4d30c813156553590c24d9056575f
2013-02-15 09:01:19 +01:00
Dirkjan Ochtman
3d72056484
Bug 638219 - Extract valgrind setup, prepend in Test.command(); r=terrence
...
--HG--
extra : rebase_source : dc17ae04127892f4d5778e5d546d8fba4436766f
2013-02-15 08:33:25 +01:00
Dirkjan Ochtman
da4c653309
Bug 638219 - Move command construction into Test class method; r=terrence
...
--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
extra : rebase_source : 4a02112413b31457cf855d68a6db6d816172652f
2013-02-15 08:32:43 +01:00
Ryan VanderMeulen
54a8ab8389
Merge m-c to inbound on a CLOSED TREE.
2013-03-01 18:43:05 -05:00
Daniel Holbert
4bd8acda55
Bug 842752: Remove unused (& debug-only) variable 'u' from SnapshotReader::readFrameHeader, and related code. r=nbp
2013-03-01 13:57:12 -08:00
Hannes Verschore
851ff52806
Bug 843023: IonMonkey: Inline Math.pow when result is expected to be intger, r=sstangl
2013-03-01 01:22:55 +01:00
Nicholas Nethercote
8955d98214
Bug 839376 (part 14) - More exact rooting in shell/js.cpp. r=sfink.
...
--HG--
extra : rebase_source : 5dbacfb158ff5ea3935c0378f1c691006cb013a8
2013-02-28 15:03:17 -08:00
Steve Fink
b01820adc7
Bug 845519 - Spot-fix Unrooted-related problems. r=terrence
...
--HG--
extra : rebase_source : d725080582e51c4d6385b0adbb188933641988bd
2013-02-28 13:24:47 -08:00
Steve Fink
814e5274d5
Bug 845519 - Use SkipRoots for jschar pointers until we need to start moving them. r=terrence
...
--HG--
extra : rebase_source : d337dba6972e78e1994dd5563f093622e4475fc8
2013-02-26 16:45:49 -08:00
Steve Fink
1a43514b59
Bug 845519 - Check getType(cx) return value (also fixes rooting hazard). r=bhackett
...
--HG--
extra : rebase_source : 3031e892cd93c36db9096e47fcb20fb3dc9913dc
2013-02-26 15:45:12 -08:00
Tom Schuster
7a310f701b
Bug 836949 - Remove E4X only unicode flags. r=jwalden
2013-02-28 13:50:24 +01:00
Daniel Holbert
ef84b2ea53
Bug 846460: Remove duplicate period at the end of error message in rules.mk. r=gps
2013-02-28 22:45:03 -08:00
Norbert Lindenberg
39b0529599
Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 14). r=jwalden
...
--HG--
extra : rebase_source : 03309cc5245306892ae45bad1696f84cfda266a3
2013-02-28 21:47:36 -08:00
Norbert Lindenberg
9abf7c9bcd
Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 13). r=jwalden
...
--HG--
extra : rebase_source : 7591734146c4aa654d3cbdbb8ec9a3671f3fdbdf
2013-02-28 20:51:29 -08:00
Norbert Lindenberg
3e94166fa4
Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 12). r=jwalden
...
--HG--
extra : rebase_source : ed07060d340e7f644b7501635ac40e19e22a8240
2013-02-28 20:51:14 -08:00
Yati Sagade
999eeb2111
Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted]
2013-02-27 22:30:56 +05:30
Steve Fink
3468816283
Bug 845519 - Fix aliasing problem between Rooted<T> and Rooted<derived-from-T>. r=bhackett
...
--HG--
extra : rebase_source : 38e1a42e7408e6bd60dbdc42f2dbb5cffb68625d
2013-02-15 10:18:30 -08:00
Boris Zbarsky
8cfff048ee
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
3988338337
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
c952e87e03
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
e594545631
Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
...
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
08d376c598
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
1e89bd52ab
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ms2ger
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Jan de Mooij
35872753d1
Bug 845841 - Don't inline object element read if the value may be a string. r=bhackett
2013-02-28 09:40:17 +01:00
Gregory Szorc
e1b210ddf6
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Hannes Verschore
7067f66e5d
Bug 843866: IonMonkey: Make sure inference ran before inlining empty script, r=jandem
2013-02-26 11:20:03 +01:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Brian Hackett
5fe9eeef8d
Bug 841530 - Tweaks to fit JIT inspector after the decompilerectomy, r=pierron.
2013-02-25 15:31:49 -07:00
Gregory Szorc
bbaccdd804
Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted
2013-02-25 14:09:16 -08:00
Gregory Szorc
c832d55dac
Bug 784841 - Part 18s: Convert /js; r=glandium
2013-02-25 12:47:22 -08:00
Gregory Szorc
c3f2ed9adf
Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted
2013-02-25 12:47:18 -08:00
Gregory Szorc
42c8470531
Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium
2013-02-25 12:47:11 -08:00
Nicholas D. Matsakis
6598183003
Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn
2013-02-25 08:06:48 -05:00
Ed Morley
8fde6d3a97
Backed out changeset d9d90bf85bcf (bug 845569) for bug839758.js assertions
2013-02-27 10:31:18 +00:00
Ehsan Akhgari
e0ecd62fb0
Bug 780474 - Disable the struct/class mismatch warning on MSVC as well; r=glandium
...
--HG--
extra : rebase_source : 3e593b71e589df349abc41f9182739305478690f
2013-02-25 12:10:41 -05:00
Brian Hackett
a9b7937e44
Bug 844482 - Watch for OOM disabling TI under CreateThisForFunction, r=dvander.
2013-02-25 15:21:13 -07:00
Brian Hackett
b7f111bf33
Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem.
2013-02-25 15:17:12 -07:00
Bobby Holley
0c9994db1d
Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap
2013-02-25 13:54:18 -08:00
Bobby Holley
59d3c6c36d
Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap
2013-02-25 13:54:18 -08:00
Bobby Holley
d916a1015e
Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
...
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-25 13:54:18 -08:00
Bobby Holley
be3814c47e
Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap
2013-02-25 13:54:18 -08:00