Commit Graph

124992 Commits

Author SHA1 Message Date
Andrew McCreight
5b6aea0c17 Bug 827486, part 7 - add basic code gen test. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
778d3abc1c Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
3344412262 Bug 827486, part 5: add the main JS impl code gen. r=bz 2013-03-18 10:19:42 -07:00
Andrew McCreight
50e5e4bede 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
5df573f3a1 Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
f46f1584c9 Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz 2013-03-18 10:19:41 -07:00
Andrew McCreight
4e1d7f16f8 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 10:19:41 -07:00
Ed Morley
e978d29cf3 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
734e31bc68 Bug 850681 - Part 10: Tweak comments; r=ted 2013-03-18 17:18:08 +00:00
Ed Morley
80cc2c540c 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
5712f4cef3 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
923f59d03d 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
09a9fa4aec 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
fff4f9ec3d Bug 850681 - Part 5: Clean up logging; r=ted 2013-03-18 17:18:05 +00:00
Ed Morley
ed94e8b2c2 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
490b7cff8c 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
f93c9bb039 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
0278697df2 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
ae46c5bc06 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
0c608b57f4 Bug 851906 - Restore compatibility with older GStreamer versions. r=doublec 2013-03-17 07:33:00 -07:00
Sam Foster
d366f149ef Bug 851443 - Tests for richgrid/richgriditem bindings + stubMethod test helper. r=jimm 2013-03-18 16:30:41 +00:00
Jim Chen
756888b857 Bug 845416 - Detect mangled package name in ANR reporter; r=blassey 2013-03-18 12:27:40 -04:00
Jim Chen
5e594b1ef8 Bug 845416 - Limit ANR stack to Fennec stack; r=blassey 2013-03-18 12:27:40 -04:00
Olli Pettay
84399f01de 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
3407e18f54 merge backout 2013-03-18 16:46:39 +01:00
Dão Gottwald
a468c8c2b6 Backed out changeset f029edccac09 2013-03-18 16:46:17 +01:00
Brian R. Bondy
e2c698846b Bug 851897 - Fix crash in mozilla::widget::nsWinMetroUtils::GetActivationURI. r=jimm 2013-03-18 11:44:16 -04:00
Chris Lord
3fff2318d9 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
f778b03ed9 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
f87d50e002 Bug 850534: Various Yarr performance improvements, r=dmandelin 2013-03-18 16:40:49 +01:00
Benjamin Smedberg
0b88092a3d 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
4b6f455e23 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
601c09ba3a Bug 830423 part 1 - Avoid repeated execution of daysOfHistory query.
r=Mano
2013-03-18 16:09:09 +01:00
Aryeh Gregor
b4fa2eed79 Bug 851911 - Unused variable rv in MakeOrSetMinidumpPath() in nsAppRunner.cpp; r=bsmedberg 2013-03-17 17:04:57 +02:00
Kartikaya Gupta
1b04e820bc Bug 852070 - Update ANRReporter to use ThreadUtils. r=jchen 2013-03-18 15:28:48 +01:00
Josh Matthews
ed86bd9366 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
4b08fac07f Backed out changeset 77f321ed3d9e (bug 851611) for breaking the build; CLOSED TREE 2013-03-18 14:11:07 +00:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 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
d0bde2d8d9 Backed out changeset ecce21507ea0 (bug 851611) 2013-03-18 14:10:25 +00:00
Andrew Halberstadt
7617977547 Bug 843296 - Check for crashes and minidump_stackwalk for b2g emulator unittests, r=jgriffin 2013-03-18 10:01:06 -04:00
Benoit Girard
8ef3c1241a 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
664cf994b4 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
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Benoit Girard
77998a9630 Bug 851611 - Part 1: Refactor profiler interface. r=jrmuizel
--HG--
extra : rebase_source : a48e103dd5b31d620dd5ba67dc835ea9dc90864d
2013-03-15 15:17:50 -04:00
William Chen
721fe01598 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
444e9f543f Bug 782211 - Part 9: Remove native notification systems on desktop platforms. r=dougt 2013-03-18 06:24:55 -07:00
William Chen
3210246027 Bug 782211 - Part 8: Updated existing XUL alerts to implement the Notification API. r=enn 2013-03-18 06:24:54 -07:00
William Chen
18996f8701 Bug 782211 - Part 7: Added permission prompt for desktop notifications on desktop platforms. r=MattN 2012-07-12 11:45:38 -04:00
William Chen
e0afdb6d07 Bug 782211 - Part 6: Updated the B2G notifications to implement the Notification API. r=etienne 2012-07-12 11:45:38 -04:00