Commit Graph

74730 Commits

Author SHA1 Message Date
Alexander Surkov
9aa1f9b34a Bug 675515 - Crash [@ TextUpdater::DoUpdate] with long text node, r=tbsaunde, sr=neil 2011-08-04 12:57:08 +09:00
Patrick McManus
8cb5471157 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Jim Blandy
32f475624f 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
6224d810fd Bug 675210 - Postpone texture creation on Android to prevent internal format errors. r=mwoodrow 2011-08-03 23:18:31 -04:00
Matt Woodrow
c296cab4d8 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Michael Wu
bfc8ebbc5c Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Michael Wu
48f2ffa17a Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Tim Taubert
e608cd7642 Bug 666475 - Intermittent browser_tabview_privatebrowsing.js | Test timed out; r=ehsan 2011-08-04 03:49:43 +02:00
Tim Taubert
2c846a49c3 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
aeda130b6d 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
2defc58264 Remove trailing whitespace from login manager and satchel. b=none 2011-08-03 17:52:47 -07:00
Justin Dolske
202caee5f8 Bug 669217 - Remove nsISecurityCheckedComponent from videocontrols. r=mrbkap 2011-08-03 17:52:45 -07:00
Patrick McManus
a18697492c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Jonathan Griffin
355b83627e Bug 675123 - move config.json into virtualenv, a=testonly, DONTBUILD 2011-08-03 17:23:15 -07:00
Taras Glek
6769ff0594 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
d3fd2422e2 Bug 676450 - Fix printf format in nsGtkIMModule.cpp. r=masayuki 2011-08-03 18:36:00 -04:00
David Zbarsky
b849d09dcc Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky
8509478d01 Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Justin Wood
f20a7276c2 Merge from m-c 2011-08-09 06:31:01 -04:00
Edgar Flores
9d669df11c 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
36cf6a91a7 Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Walter Meinl
d2fdfb8ae8 Bug 677068 - [OS/2] Use MOZ_CHROME_FILE_FORMAT=flat. r=khuey 2011-08-09 12:10:20 +02:00
Alexander Surkov
bed967623d Bug 652802, followup 2, nit fix 2011-08-09 18:31:59 +09:00
Alexander Surkov
9dc8941a50 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
3468d6f6ed bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett 2011-08-09 09:06:01 +01:00
Jonathan Kew
cf6ef49886 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
83fd93ec43 bug 665360 - hold reference to font family from loader. r=jdaggett 2011-08-09 08:51:46 +01:00
Mike Hommey
098183f48a Bug 677159 - Don't allow to include config/config.mk twice. r=khuey 2011-08-09 09:07:48 +02:00
Mike Hommey
5da7dccc2d Bug 677370 - Fixup Android configure.in bits. r=blassey 2011-08-09 09:07:28 +02:00
Mike Hommey
c06a2320b0 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
e01a7b607c Bug 675867 - Enable Identical Code Folding when supported by the linker. r=ted 2011-08-09 09:06:12 +02:00
Mike Hommey
9489006cda Bug 675898 - Test what we can test of elfhack when cross-building. r=ted 2011-08-09 09:05:49 +02:00
Mike Hommey
26b79d5dba Bug 676455 - Don't fail to build NSS's modutil on Android. r=ted 2011-08-09 09:05:23 +02:00
Patrick McManus
1f488d8684 Bug 675983 - Websockets - fail connection on 1st fragment with a continuation op code 2011-08-08 23:41:22 -07:00
Masayuki Nakano
7fe76a0ad5 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
6a1b21e8ba Bug 677356 - Cleanup some strings [r=mbrubeck] 2011-08-08 17:21:29 -04:00
Benjamin Stover
df5b8bdd46 Bug 671454 Implement telemtry ui on mobile r=mfinkle 2011-08-08 14:05:25 -07:00
Matt Brubeck
7dea5b70eb Bug 676419 - Fix undeclared variables in storage-mozStorage.js [r=zpao] 2011-08-08 12:06:02 -07:00
Matt Brubeck
a78ee14ed5 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
5020b003ce 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
7c8d83cd86 Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn 2011-08-08 17:14:34 +02:00
Ms2ger
cb2d2be120 Bug 676649 - Include jspubtd.h automagically when necessary in IDL files; r=khuey 2011-08-08 17:14:34 +02:00
Ms2ger
e2080fcb25 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Kyle Huey
b076ca1dd7 Merge m-i to m-c. 2011-08-08 08:18:51 -04:00
David Bienvenu
1833591031 Bug 674352 - Precompile startup cache for Thunderbird; r=khuey 2011-08-08 09:52:07 +01:00
Alexander Surkov
12c50e74bc 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
89610eda17 Bug 665335 - Don't trigger PresShellActivated when presshell is not activated, r=tbsaunde, roc 2011-08-08 15:57:45 +09:00
Alexander Surkov
9ccea30850 Bug 652802, followup, fix copy/paste error in relations/test_tabbrowser.xul, r=tbsaunde 2011-08-08 15:57:38 +09:00
Mark Finkle
0a6e73fbec Bug 677109 - Preferences window cut-off due to checkbox image size constraint failure [r=mbrubeck] 2011-08-07 23:37:26 -04:00
Frédéric Wang
71dfe7521a b=557481 Change comments about TeX/Mathematica fonts to STIX/Asana fonts r=karlt
--HG--
extra : transplant_source : %92%3D%40%EE%90%16%21%EE%0F%E2%2C%B9m4%40%F9%AC%D2%3D%B8
2011-08-05 13:06:36 +12:00