Commit Graph

73209 Commits

Author SHA1 Message Date
Nikhil Marathe
583bf1952d Bug 666599 - Fix ArrayBuffer::obj_lookupProperty. r=mrbkap 2011-07-03 13:32:03 +08:00
Brian Hackett
d9a6f02814 [INFER] ContextStack::currentScript should only return scripts from the current compartment, bug 662841. 2011-07-02 18:49:09 -07:00
Brian Hackett
aacb873583 [INFER] Preserve invariant entry ordering when removing existing redundant entries, bug 668643. 2011-07-02 18:25:12 -07:00
Brian Hackett
9e5b330883 [INFER] Watch for non-closed local names aliased by XML QNAME opcodes, bug 665812. 2011-07-02 07:08:55 -07:00
Brian Hackett
47fd6595dc [INFER] Avoid redundant TypeObject::markUnknown, bug 665289. 2011-07-02 06:58:06 -07:00
Brian Hackett
392d443f17 [INFER] Fix build break. 2011-07-02 06:38:36 -07:00
Brian Hackett
63dde015a5 [INFER] Fix merge botches. 2011-07-01 19:40:53 -07:00
Jason Orendorff
1ceaa9d843 Merge from tracemonkey to jsdbg2. 2011-07-01 19:22:47 -05:00
Jason Orendorff
1f245d40df Merge from tracemonkey to jsdbg2. 2011-07-01 19:02:40 -05:00
Brian Hackett
dee99963bb Merge TM -> JM 2011-07-01 16:24:32 -07:00
Jason Orendorff
18a3fe661b Two changes: Try to make tests/debug/gc-06.js more reliable with conservative GC. And remove the new compartment assertions from jsdbgapi.h, to avoid disturbing jsdbgapi.h-using code other than JSD (such as the shell's trap() function). 2011-07-01 10:30:16 -05:00
Peter Van der Beken
8e31bc0d69 Fix for bug 667315 (Make unknown handler forward to new handler). r=sicking. 2011-07-01 12:55:05 +02:00
Phil Ringnalda
902b4e6f6f Back out 29ec386d969f and ed18b0cca283 (bug 462959) for a very frequent assertion loop in test_played.html 2011-07-03 18:26:00 -07:00
Ms2ger
87578b97f7 Bug 383383 - Don't throw NS_ERROR_DOM_NOT_SUPPORTED_ERR from nsHTMLScriptElement::MaybeProcessScript; r=smaug 2011-07-03 11:53:41 +02:00
Paul Rouget
5fb0e58b1b Bug 665880 - [highlighter] If a <embed> node is highlighted, a <<node.getSVGDocument() is null>> exception is raised; r=rcampbell,gavin.sharp 2011-06-30 10:17:48 -03:00
Rob Campbell
43557976d5 merge devtools to m-c 2011-06-29 12:18:34 -03:00
Jason Orendorff
6520ac2269 Adjust compartment assertions in the new implementations of jsdbgapi.h Trap entry points. Some are tightened up, but JS_ClearScriptTraps no longer asserts, as that caused a test to fail in debug builds. 2011-06-29 10:16:55 -05:00
Sid
c5b48f7c34 Bug 624225 - Remove border-radius from tabs. r=dao 2011-06-29 16:41:01 +02:00
Dão Gottwald
a0ced60dfc Bug 658738 - Correctly remove observer 2011-06-29 16:39:18 +02:00
Dão Gottwald
7b7af2070c Bug 668000 - browser_pageInfo.js leaks 2011-06-29 16:38:31 +02:00
Ted Mielczarek
cc36c6b004 merge mozilla-central and build-system 2011-06-29 09:42:11 -04:00
Jonathan Kew
b6406524e0 bug 663688 - back out changeset c4b84b05c46c to revert the workaround that disabled downloadable fonts on Lion. r=jdaggett 2011-06-29 14:16:12 +01:00
Marco Bonardo
b4624606bd Merge mozilla-inbound to mozilla-central 2011-06-29 11:18:14 +02:00
Doug Turner
714d4d28e2 Bug 665407 - Disable sutagent if not building tests. r=ctalbert 2011-06-28 20:51:30 -07:00
Joe Drew
212d726dc3 Merge last green changeset from m-i to m-c. 2011-06-28 21:46:06 -04:00
Jason Orendorff
ada69f18d9 Fix test jit-test/tests/debug/Debug-ctor-03.js: only expect new Debug(parent) to fail if parent really cannot be put into debug mode. 2011-06-28 18:08:49 -05:00
Jason Orendorff
be6339e5c2 Add breakpoints.
This adds a new per-compartment implementation of breakpoints and
reimplements the jsdbgapi.h "trap" entry points on top of it. Most
jsdbgapi.h-using code will still work, but there is no longer a single
runtime-wide trapList protected by a lock. Embeddings must follow the
compartment rules for thread safety.

JS_ClearAllTraps was removed, replaced by the per-compartment API
JS_ClearAllTrapsForCompartment.

The new implementation asserts that the PC passed to JS_SetTrap is
actually an offset of an instruction, not just a random number. This
caused quite a few tests to fail; fixes are included.

Added Debug.Script.prototype.setBreakpoint, getBreakpoints,
clearBreakpoint, and clearAllBreakpoints; and
Debug.prototype.clearAllBreakpoints.

In addition to tests targeting the new functionality, this changeset
includes some tests for Debug.Script.prototype.getLineOffsets, which is
hard to test without breakpoints.
2011-06-28 16:06:34 -05:00
Jason Orendorff
4230b2f588 Revise comments on js::Debug::mark. Also inline Debug::sweepCompartment into Debug::sweepAll. 2011-06-28 14:48:22 -05:00
Jason Orendorff
8d25455a7a Add Script.prototype.getAllOffsets and getLineOffsets. 2011-06-28 14:46:00 -05:00
Ted Mielczarek
95651e3106 bug 664197 - fix manifestparser tests on Windows 2011-06-28 15:19:03 -04:00
Stephen Horlander
6618016177 Bug 648377: Update Disk Image and File Icons, r=gavin
--HG--
extra : rebase_source : e7395a0458fb3a27f3fb5d55d8d46b6e25c0be52
2011-06-28 14:35:18 -04:00
Stephen Horlander
f7f8e0d5ad Bug 653321: Add new backgrounds to nightly and aurora dmgs, r=gavin
--HG--
extra : rebase_source : 33d63e5530d9987374624a8b2951431d5c76d5bf
2011-06-28 14:28:58 -04:00
Joe Drew
334e33649c Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Joe Drew
b5189f219a Back out fcf08eff68eb (Bug 662555) for causing reftest assertions. 2011-06-28 14:41:14 -04:00
Paul O’Shannessy
6f5e601c1d Bug 666790 - addon download progress doorhanger has error when asking permission to install [r=gavin] 2011-06-28 11:03:00 -07:00
Jason Orendorff
5287606d54 Quick follow-up for thinko in bug 667925: lists can be empty. r=orange. 2011-06-28 12:28:02 -05:00
Jason Orendorff
8b9d92f2ef Bug 667925 - Line number is bogus on JSOP_TRACE opcodes. r=brendan. 2011-06-28 12:15:32 -05:00
Jeff Walden
0dfbe6d91b Bug 657298 - Various bugs in setting the length of an array. r=dmandelin
--HG--
extra : rebase_source : f27bd4d0141df46d7ef054c91c2601d3b50d9690
2011-06-28 10:05:53 -07:00
Jeff Walden
d2d6ef6dd4 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
309bac37f9 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
052a90e97b Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
9a3fd541fa Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
4b185d0ef0 Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
e9d975ff6a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Ted Mielczarek
34678b1150 bug 664197 - bustage fix, make xpcshell selftest work with Python 2.5 2011-06-28 09:52:17 -04:00
Ted Mielczarek
fe1a94b3cf bug 664197 - bustage fix, sync js/src/config 2011-06-28 08:32:29 -04:00
Ted Mielczarek
f9d83d65c8 bug 659950 - implement a much simpler pair of codesize metrics: on-disk application size + installer size. r=glandium
--HG--
extra : rebase_source : 6ac0f4c367e7941de3dbbd05234afdb4e79ab14c
2011-06-28 07:55:56 -04:00
Ted Mielczarek
4ee21a2cb0 bug 664197 - support universal builds in mozinfo/writemozinfo. r=jhammel
--HG--
extra : rebase_source : 13faa21a59805f879568c764cce61e8520749246
2011-06-28 07:55:56 -04:00
Ted Mielczarek
5d1cfab35b bug 664197 - update xpcshell manifests with new conditions. r=jmaher
--HG--
extra : rebase_source : 21b5f1b5b34ec7a1efb2a8b444c9b41a6a39106d
2011-06-28 07:55:56 -04:00
Ted Mielczarek
c96199e18e bug 664197 - extend writemozinfo.py to add a few more keys. r=jhammel
--HG--
extra : rebase_source : 5178bab50d1b7fb35a462813821d350e085e2d4a
2011-06-28 07:55:56 -04:00