Commit Graph

125093 Commits

Author SHA1 Message Date
Andrew McCreight
5dfcba5fc4 Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
3285db03d1 Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
e410a1fca1 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
e62a4382fb Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
52a6ccfe75 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 10:19:41 -07:00
Ed Morley
e1d2b651f0 Bug 850681 - Part 11: Move processString to the message part of log lines & remove unhelpful process IDs; r=ted
Our standard logging format is:
TEST-{INFO,UNEXPECTED-FAIL} | testName | message

For leak logs from processes other than the main process (eg plugin processes),
currently processSingleLeakFile outputs:
TEST-{INFO,UNEXPECTED-FAIL} | foo process 123 | testName | message

This patch turns these into:
TEST-{INFO,UNEXPECTED-FAIL} | testName | foo process: message

Note: The process ID is contained in the raw leak log (which gets printed to the
log anyway), so we don't need to repeat it in the main summary log lines. In
addition, the variable process ID often breaks TBPL bug suggestions, so should
be avoided where possible.
2013-03-18 17:18:08 +00:00
Ed Morley
186a466d7e Bug 850681 - Part 10: Tweak comments; r=ted 2013-03-18 17:18:08 +00:00
Ed Morley
74fad36dd3 Bug 850681 - Part 9: Return early if possible during leak summary generation; r=ted
Now that we close the log file before summary generation (rather than at the
end of processSingleLeakFile()), we can return early in some cases during
leak summary generation.
2013-03-18 17:18:07 +00:00
Ed Morley
6b1ebaa887 Bug 850681 - Part 8: Only parse the leak log once; r=ted
The existing code parses the leak log twice - first time to output the
raw log lines & and the second to output the analysis of them.

As much fun as it is to loop all the things (\o/), let's not.
2013-03-18 17:18:07 +00:00
Ed Morley
a24e6257f9 Bug 850681 - Part 7: Use the cleaner |with open() as foo| pattern & and don't close/reopen the log unnecessarily; r=ted 2013-03-18 17:18:06 +00:00
Ed Morley
8ad547d1ec Bug 850681 - Part 6: Clean up log parsing conditionals & move the leak threshold reminder to the calling function; r=ted
The same threshold is used for all leak logs processed from the test run, so
unnecessary to repeat for each.
2013-03-18 17:18:06 +00:00
Ed Morley
010822e186 Bug 850681 - Part 5: Clean up logging; r=ted 2013-03-18 17:18:05 +00:00
Ed Morley
341c5ad068 Bug 850681 - Part 4: Add a partial list of leaked objects to the leak summary, to allow TBPL to make bug suggestions; r=ted
Current summary line:
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 216 bytes during test execution

With patch parts 1-4:
TEST-UNEXPECTED-FAIL | leakcheck | 180 bytes leaked (Mutex, ReentrantMonitor, nsRunnable, nsTArray_base, nsThread)

...or with ellipses if more than 5 objects:
TEST-UNEXPECTED-FAIL | leakcheck | 3184 bytes leaked (BackstagePass, CondVar, Mutex, ReentrantMonitor, SharedScriptableHelperForJSIID, ...)
2013-03-18 17:18:05 +00:00
Ed Morley
c7b70d6131 Bug 850681 - Part 3: Output all of the leaked object lines as TEST-INFO rather than a combination of TEST-INFO and TEST-UNEXPECTED-FAIL; r=ted
Since the main leak summary will soon include an overview of the leaked objects,
we no longer need/want a subset of the individual leak lines showing up in
TBPL's annotated summary (TBPL's parser matches on 'TEST-UNEXPECTED-FAIL').
2013-03-18 17:18:04 +00:00
Ed Morley
5285499813 Bug 850681 - Part 2: Wait until the full leak log has been processed before outputting the leak total; r=ted
Will allow the addition of an overview of the leaked objects, in part 4.
2013-03-18 17:18:04 +00:00
Ed Morley
b1f2e48cf7 Bug 850681 - Part 1: Use the test name 'leakcheck' rather than 'automationutils.processLeakLog()'; r=ted
Reduces the chance of line wrapping in the TBPL annotated summary, and makes
my eyes bleed less every time I see leak failures.
2013-03-18 17:18:03 +00:00
Kartikaya Gupta
9dd74b5ee4 Bug 852163 - Unregister pref observer on activity destroy so that it doesn't leak the activity. r=Cwiiis 2013-03-18 17:41:36 +01:00
Alessandro Decina
df6968c460 Bug 851906 - Restore compatibility with older GStreamer versions. r=doublec 2013-03-17 07:33:00 -07:00
Sam Foster
a44d48b934 Bug 851443 - Tests for richgrid/richgriditem bindings + stubMethod test helper. r=jimm 2013-03-18 16:30:41 +00:00
Jim Chen
f787b7668a Bug 845416 - Detect mangled package name in ANR reporter; r=blassey 2013-03-18 12:27:40 -04:00
Jim Chen
c5ff1c3d72 Bug 845416 - Limit ANR stack to Fennec stack; r=blassey 2013-03-18 12:27:40 -04:00
Olli Pettay
3006670df1 Bug 851996, Simplify MessageEvent's jsval handling, r=mccr8
--HG--
extra : rebase_source : d9c6b59555d6672c03068e9c5bae65712007515a
2013-03-18 16:50:37 +01:00
Dão Gottwald
22333540cb merge backout 2013-03-18 16:46:39 +01:00
Dão Gottwald
b31f7c5cc4 Backed out changeset f029edccac09 2013-03-18 16:46:17 +01:00
Brian R. Bondy
44b6654687 Bug 851897 - Fix crash in mozilla::widget::nsWinMetroUtils::GetActivationURI. r=jimm 2013-03-18 11:44:16 -04:00
Chris Lord
2a4e661b53 Bug 850889 - Fix jank when animating dynamic toolbar. r=kats
Only update the Gecko-side fixed layer margins when the view is fully visible
or hidden to avoid jank.
2013-03-18 15:43:03 +00:00
Chris Lord
0f24652dac Bug 850889 - Fix animation conflict with overscroll and dynamic toolbar. r=kats
This fixes the conflicting animations when the dynamic toolbar is hiding/showing
and overscroll is snapping back simultaneously. This is by not clamping the
entire viewport on margin-setting, and by making sure that only calling
setFixedLayerMargins changes the fixed layer margins.
2013-03-18 15:43:02 +00:00
Hannes Verschore
67407d53cb Bug 850534: Various Yarr performance improvements, r=dmandelin 2013-03-18 16:40:49 +01:00
Benjamin Smedberg
405b910a7b Bug 831768 - Delay async painting calls so that they never nest within RPC calls. The Adobe Flash implementation doesn't expect this reentry and sometimes deadlocks. The Apple Java stub doesn't expect this reentry and corrupts NPRuntime objects. r=gfritzsche
--HG--
extra : rebase_source : 4cf6c2cd28fbfdf259c3ed2250135810fb2511a7
2013-03-18 16:00:21 +01:00
Marco Bonardo
07c716c8ca Bug 830423 part 2 - Avoid history view refreshes when onvisit falls into the Today bucket.
r=Mano
2013-03-18 16:09:11 +01:00
Marco Bonardo
af5b8eb33d Bug 830423 part 1 - Avoid repeated execution of daysOfHistory query.
r=Mano
2013-03-18 16:09:09 +01:00
Aryeh Gregor
c3554406cb Bug 851911 - Unused variable rv in MakeOrSetMinidumpPath() in nsAppRunner.cpp; r=bsmedberg 2013-03-17 17:04:57 +02:00
Kartikaya Gupta
78ac709f7c Bug 852070 - Update ANRReporter to use ThreadUtils. r=jchen 2013-03-18 15:28:48 +01:00
Josh Matthews
604e47fa2a Bug 847971 - Make openURL select recent windows that match the current privacy state. r=dolske
--HG--
rename : browser/modules/RecentWindow.jsm => toolkit/modules/RecentWindow.jsm
2013-03-14 17:41:52 -04:00
Ed Morley
e73fb6630d Backed out changeset 77f321ed3d9e (bug 851611) for breaking the build; CLOSED TREE 2013-03-18 14:11:07 +00:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Ed Morley
b49331fe90 Backed out changeset ecce21507ea0 (bug 851611) 2013-03-18 14:10:25 +00:00
Andrew Halberstadt
4c74394ed6 Bug 843296 - Check for crashes and minidump_stackwalk for b2g emulator unittests, r=jgriffin 2013-03-18 10:01:06 -04:00
Benoit Girard
0b74251ac3 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 89b92cb9a12d33be5f9d90fa5252637bbb5e2241
2013-03-15 20:48:56 -04:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Benoit Girard
56422401d0 Bug 851611 - Part 1: Refactor profiler interface. r=jrmuizel
--HG--
extra : rebase_source : a48e103dd5b31d620dd5ba67dc835ea9dc90864d
2013-03-15 15:17:50 -04:00
William Chen
3e0b281bfd Bug 782211 - Part 10: Update webapp browser permission test to clean up alerts. r=fabrice 2013-03-18 06:24:55 -07:00
William Chen
7ef3668d05 Bug 782211 - Part 9: Remove native notification systems on desktop platforms. r=dougt 2013-03-18 06:24:55 -07:00
William Chen
8fab6c381c Bug 782211 - Part 8: Updated existing XUL alerts to implement the Notification API. r=enn 2013-03-18 06:24:54 -07:00
Brad Lassey
a4f197c382 bug 851224 - make install should ignore version downgrades r=mfinkle 2013-03-14 14:28:05 -04:00
James Willcox
94d0f36aa2 Bug 829747 - Update WebGL canvases asynchronously r=jgilbert,bgirard 2013-03-18 13:34:43 -04:00
Nathan Froyd
ca2a6014cb Bug 824647 - delete histograms when StatisticsRecorder is deleted; r=jlebar 2013-03-07 11:07:12 -05:00
William Chen
711699dbfc Bug 782211 - Part 7: Added permission prompt for desktop notifications on desktop platforms. r=MattN 2012-07-12 11:45:38 -04:00