Commit Graph

251531 Commits

Author SHA1 Message Date
Marco Bonardo
4067f13aee Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-04 11:19:01 +02:00
Alexander Surkov
9c28a0db40 Bug 676340 - Crash [@ nsAccessible::NativeState() ] (called by nsXULTextFieldAccessible::GetValue), r=tbsaunde 2011-08-04 12:57:31 +09:00
Alexander Surkov
b4f4ed4c12 Bug 676240 - Crash [@ nsXULTreeAccessible::GetChildCount(), r=tbsaunde 2011-08-04 12:57:22 +09:00
Alexander Surkov
b5f6fa8b10 Bug 675515 - Crash [@ TextUpdater::DoUpdate] with long text node, r=tbsaunde, sr=neil 2011-08-04 12:57:08 +09:00
Patrick McManus
2f338d19b9 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Jim Blandy
30171152e1 Bug 672736: Implement the 'findReferences' shell function. r=jorendorff
findReferences(thing)

Walk the entire heap, looking for references to |thing|, and return a
"references object" describing what we found.

Each property of the references object describes one kind of reference. The
property's name is the label supplied to MarkObject, JS_CALL_TRACER, or what
have you, prefixed with "edge: " to avoid collisions with system properties
(like "toString" and "__proto__"). The property's value is an array of things
that refer to |thing| via that kind of reference. Ordinary references from
one object to another are named after the property name (with the "edge: "
prefix).

Garbage collection roots appear as references from 'null'. We use the name
given to the root (with the "edge: " prefix) as the name of the reference.

Note that the references object does record references from objects that are
only reachable via |thing| itself, not just the references reachable
themselves from roots that keep |thing| from being collected. (We could make
this distinction if it is useful.)

If any references are found by the conservative scanner, the references
object will have a property named "edge: machine stack"; the referrers will
be 'null', because they are roots.

js> var o = { x: { y: { z: {} } }}
js> findReferences(o.x.y.z)
({'edge: z':[{z:{}}], 'edge: machine stack':[null, null, null, null, null]})
js> o = { get x() { return 42 } }
({get x () {return 42;}})
js> findReferences(Object.getOwnPropertyDescriptor(o, 'x').get)
({'edge: shape; x getter':[{get x () {return 42;}}],
  'edge: constructor':[{}],
  'edge: machine stack':[null, null, null, null, null],
  'edge: get':[{configurable:true,
                enumerable:true,
                get:#1=(function () {return 42;}),
                set:(void 0)}]})
js> findReferences(Math.atan2)
({'edge: atan2':[Math], 'edge: machine stack':[null, null, null, null, null]})
js> findReferences(o)
({'edge: o':[{o:{get x () {return 42;}}}], 'edge: machine stack':[null, null, null, null, null]})
js>
2011-08-03 20:19:38 -07:00
Ali Juma
5d647f2d21 Bug 675210 - Postpone texture creation on Android to prevent internal format errors. r=mwoodrow 2011-08-03 23:18:31 -04:00
Matt Woodrow
601ed53b80 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Michael Wu
249b0f753d Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Michael Wu
0c7ca8452e Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Tim Taubert
9abc15c2e5 Bug 666475 - Intermittent browser_tabview_privatebrowsing.js | Test timed out; r=ehsan 2011-08-04 03:49:43 +02:00
Tim Taubert
61f4f29417 Bug 651643 - Private browsing service executes transition even when no mode switch required; r=ehsan,zpao 2011-08-04 03:49:38 +02:00
Jason Orendorff
e5002b3bc3 Bug 673070 - Fix name lookups in let scopes a bit more ("Assertion failure: sharedBlock" with e4x after fixing bug 646968). r=brendan. 2011-08-03 20:13:56 -05:00
Justin Dolske
b59dbf1261 Remove trailing whitespace from login manager and satchel. b=none 2011-08-03 17:52:47 -07:00
Justin Dolske
0e47a5cdb8 Bug 669217 - Remove nsISecurityCheckedComponent from videocontrols. r=mrbkap 2011-08-03 17:52:45 -07:00
Patrick McManus
4a430a805c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Jonathan Griffin
d8e2fcf0b9 Bug 675123 - move config.json into virtualenv, a=testonly, DONTBUILD 2011-08-03 17:23:15 -07:00
Taras Glek
2ed09ef2eb Bug 675737: Calculate time taken for by write/open/sync per db + main/other thread r=mak 2011-08-03 17:05:29 -07:00
Hiroyuki Ikezoe
56a42da678 Bug 676450 - Fix printf format in nsGtkIMModule.cpp. r=masayuki 2011-08-03 18:36:00 -04:00
David Zbarsky
feef9bcb83 Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky
110e54925e Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Justin Wood
bc9a7d1530 Merge from m-c 2011-08-09 06:31:01 -04:00
Edgar Flores
f4b896b8ea Bug 624740 - Alerts service shouldn't use nsDependentString to convert an nsAString to an nsString. r=neil 2011-08-09 12:11:48 +02:00
Paul ADENOT
f582e1c46c Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Walter Meinl
22b14f62e9 Bug 677068 - [OS/2] Use MOZ_CHROME_FILE_FORMAT=flat. r=khuey 2011-08-09 12:10:20 +02:00
Alexander Surkov
36f54f3466 Bug 652802, followup 2, nit fix 2011-08-09 18:31:59 +09:00
Alexander Surkov
d9ad8479cc Bug 677467 - focusedChild crashes on application accessible, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/test_takeFocus.html => accessible/tests/mochitest/focus/test_takeFocus.html
2011-08-09 18:31:31 +09:00
Jonathan Kew
1f1cc55e6c bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett 2011-08-09 09:06:01 +01:00
Jonathan Kew
43bc79e305 bug 668813 pt 1 - check character coverage of other styles in the selected font family before falling back to other families. r=jdaggett 2011-08-09 09:00:52 +01:00
Jonathan Kew
65ca3acc2e bug 665360 - hold reference to font family from loader. r=jdaggett 2011-08-09 08:51:46 +01:00
Mike Hommey
1ea403f841 Bug 677159 - Don't allow to include config/config.mk twice. r=khuey 2011-08-09 09:07:48 +02:00
Mike Hommey
9baad907ce Bug 677370 - Fixup Android configure.in bits. r=blassey 2011-08-09 09:07:28 +02:00
Mike Hommey
0cf5a8c697 Bug 675618 - Compile pldhash as C++. r=bsmedberg
--HG--
rename : xpcom/glue/pldhash.c => xpcom/glue/pldhash.cpp
2011-08-09 09:06:37 +02:00
Mike Hommey
64cb4cfd16 Bug 675867 - Enable Identical Code Folding when supported by the linker. r=ted 2011-08-09 09:06:12 +02:00
Mike Hommey
eb55ddf4c9 Bug 675898 - Test what we can test of elfhack when cross-building. r=ted 2011-08-09 09:05:49 +02:00
Mike Hommey
6f6bbae734 Bug 676455 - Don't fail to build NSS's modutil on Android. r=ted 2011-08-09 09:05:23 +02:00
Patrick McManus
373ce83799 Bug 675983 - Websockets - fail connection on 1st fragment with a continuation op code 2011-08-08 23:41:22 -07:00
Masayuki Nakano
a2876f53d6 Bug 676361 Plugin hangs when content's script accesses plugin at mouse wheel event which wasn't consumed by the plugin r=jimm 2011-08-09 10:12:03 +09:00
Mark Finkle
dd0b9dbec6 Bug 677356 - Cleanup some strings [r=mbrubeck] 2011-08-08 17:21:29 -04:00
Benjamin Stover
ea50f72d9c Bug 671454 Implement telemtry ui on mobile r=mfinkle 2011-08-08 14:05:25 -07:00
Matt Brubeck
fb7b003fe2 Bug 676419 - Fix undeclared variables in storage-mozStorage.js [r=zpao] 2011-08-08 12:06:02 -07:00
Matt Brubeck
19d8b814a0 Bug 677035 - Use full classname for ClipboardManager to fix Android SDK 13
build [r=blassey]
2011-08-08 11:51:05 -07:00
Jan Varga
a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Ms2ger
07b3728d4c Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn 2011-08-08 17:14:34 +02:00
Ms2ger
2fcad809a4 Bug 676649 - Include jspubtd.h automagically when necessary in IDL files; r=khuey 2011-08-08 17:14:34 +02:00
Ms2ger
b5d390cce8 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Kyle Huey
15fbe145d9 Merge m-i to m-c. 2011-08-08 08:18:51 -04:00
David Bienvenu
2dc56af85e Bug 674352 - Precompile startup cache for Thunderbird; r=khuey 2011-08-08 09:52:07 +01:00
Alexander Surkov
e1ec962ee2 Bug 676213 - document load and busy events may be fired before subdocuments are ready, r=tbsaunde 2011-08-08 16:55:36 +09:00
Alexander Surkov
65832d0636 Bug 665335 - Don't trigger PresShellActivated when presshell is not activated, r=tbsaunde, roc 2011-08-08 15:57:45 +09:00