Commit Graph

285379 Commits

Author SHA1 Message Date
Dave Townsend
e372eb6efb Bug 1250639: Remove the nsIPrincipal shim for the older API style. r=rhelmer
MozReview-Commit-ID: DyX66KlOLCC
2016-02-23 12:11:37 -08:00
Andrea Marchesini
e110f13887 Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-24 00:01:01 +01:00
Chris Pearce
6117b70e36 Bug 1249424 - Remove use of nsAutoArrayPtr from librlz. r=gerald
MozReview-Commit-ID: 2eXvcgbSQM0
2016-02-24 10:53:10 +13:00
Jordan Lund
be20987342 Bug 1250585 - beetmover - add push to mirrors, r=rail
* this also fixes bug where we take build/0 from tc artifacts regardless if
  there was a retry

MozReview-Commit-ID: KKJCGF6Hc7k
2016-02-23 13:12:06 -08:00
Gregory Szorc
97791119bf Bug 1249858 - Stop processing IPDL and WebIDL files during artifact builds; r=glandium
We don't process IPDL and WebIDL files during artifact builds. The
backend shouldn't need to care about them.

Before: 2001 total backend files; 2001 created; 0 updated; 0 unchanged; 0 deleted
After:  1945 total backend files; 1945 created; 0 updated; 0 unchanged; 0 deleted

After this change, we no longer write any .cpp files to the objdir
during config.status for artifact builds.

As part of this, we stopped generated webidlsrcs.mk and the build broke
because of an unguarded use in a Makefile.

After this change, only 102/3366 files in the objdir after
`mach configure` are not a) in _virtualenv b) named backend.mk
c) named Makefile (~950 each of backend.mk and Makefile).

MozReview-Commit-ID: 11AIn1i4x4f
2016-02-19 21:46:29 -08:00
Gregory Szorc
e2c908066d Bug 1249858 - Do not generate unified C++ files during artifact builds; r=glandium
I can't think of a good reason why unified C++ files need to exist
during artifact builds. Let's not write them in this build config.

Before: 2517 total backend files; 2517 created; 0 updated; 0 unchanged; 0 deleted
After:  2001 total backend files; 2001 created; 0 updated; 0 unchanged; 0 deleted

No measureable change in performance on Linux. But on Windows where file
creation is in the ~1ms range, this will surely result in a speedup of
several hundred milliseconds.

We are still generating some .cpp files during artifact builds. This will be
addressed in subsequent commits.

MozReview-Commit-ID: Lqx36YE8qZZ
2016-02-19 21:41:24 -08:00
Gregory Szorc
fece790a96 Bug 1249858 - Add property exposing whether performing an artifact build; r=glandium
Future commits will add a number of consumers. This will cut down on
boilerplate.

MozReview-Commit-ID: 8h4VWBXXd8O
2016-02-19 21:40:09 -08:00
Nicholas Nethercote
687a6f5be1 Bug 1249503 - Make WindowsAddressSpaceReporter bloat memory reports less. r=erahm.
The WindowsAddressSpaceReporter generates one memory report per segment, and
there can be 10,000+ segments.

This patch changes things so that one memory report is generated per segment
*kind* -- at most a couple of dozen -- rather than one per *segment*.
2016-02-23 18:39:24 +11:00
Benjamin Bouvier
b6e7cbf7ba Bug 1250556: Require Store value expression to have the opcode's type; r=sunfish
MozReview-Commit-ID: 3O5O0t1M5SN
2016-02-23 19:45:38 +01:00
aleth
556e7a70f4 Bug 1093012 - Ensure plugins and extensions are placed in Contents/Resources on OSX for mozmill tests. r=jlund 2016-02-20 23:17:55 +01:00
Nicholas Nethercote
498dfa5d63 Bug 1249550 (part 2) - Add a test. r=tn. 2016-02-23 10:58:05 +11:00
Nicholas Nethercote
0494c4820e Bug 1249550 (part 1) - Flip BMPs with negative height when downscaling. r=tn. 2016-02-22 13:38:58 +11:00
Wes Kocher
18cead6ef6 Backed out 3 changesets (bug 1250342) for reftest failures in text-align-true.html CLOSED TREE
Backed out changeset 0eae0890ee11 (bug 1250342)
Backed out changeset e82e430d0eda (bug 1250342)
Backed out changeset 866f8a7337df (bug 1250342)
2016-02-23 13:10:40 -08:00
Eugen Sawin
eb51f3519d Bug 1116473 - [3.2] Use RefPtr for AndroidSurfaceTexture references. r=snorp 2016-02-23 21:04:25 +01:00
Eugen Sawin
b40f55b915 Bug 1116473 - [2.1] Const-correctness fixes. r=snorp 2016-02-23 21:04:24 +01:00
Eugen Sawin
ef9f2a2e58 Bug 1116473 - [1.1] Handle AndroidSurfaceTexture mapping in thread-safe class. r=snorp 2016-02-23 21:04:23 +01:00
Boris Zbarsky
7e66099590 Bug 1250291 part 3. Stop pretending to report exceptions in WorkerDebuggerRunnable::PostDispatch. r=khuey 2016-02-23 15:02:43 -05:00
Boris Zbarsky
307a76a0c0 Bug 1250291 part 2. Stop pretending to report exceptions in MainThreadWorkerSyncRunnable::PostDispatch. r=khuey 2016-02-23 15:02:42 -05:00
Boris Zbarsky
aeed64f72a Bug 1250291 part 1. Stop pretending to report exceptions in MainThreadStopSyncLoopRunnable::PostDispatch. r=khuey 2016-02-23 15:02:41 -05:00
Boris Zbarsky
b795137508 Bug 1250185 part 2. Remove some JSContext stuff that's no longer needed in Notification code. r=khuey 2016-02-23 15:02:35 -05:00
Boris Zbarsky
23ea13ef9c Bug 1250185 part 1. nsIStructuredCloneContainer.initFromBase64 doesn't need a JSContext argument. r=khuey 2016-02-23 15:02:32 -05:00
Boris Zbarsky
757e995722 Bug 1250234. Make WebSocket::CreateAndDispatchMessageEvent properly report JS exceptions it might be producing. r=khuey 2016-02-23 15:02:28 -05:00
Kyle Huey
1a7d37176f Bug 1085575: Account for another potential race when asserting metadata is consistent. r=bent 2016-02-23 11:56:16 -08:00
Armen Zambrano Gasparnian
cc101f7840 Bug 1246019 - Disable test_alerts.html on Linux until bug 1227730 is fixed. r=kits
MozReview-Commit-ID: xvWxQg3vco
2016-02-23 14:45:23 -05:00
Armen Zambrano Gasparnian
fe98397283 Bug 1244720 - Enable mochitest plain and mochitest browser-chrome for e10s. tier-2 jobs. r=jmaher
MozReview-Commit-ID: BbbAPZy0OFy
2016-02-17 09:27:44 -05:00
Bogdan Postelnicu
50bbc8e987 Bug 1021151 - avoid memory leak in NS_GENERIC_AGGREGATED_CONSTRUCTOR_INIT, use nsAutoPtr instead of naked ptr. r=Ehsan
MozReview-Commit-ID: 6iU7ikbgjEn
2016-02-23 14:12:22 +02:00
Gregory Szorc
1a29056508 Bug 1249210 - Install files using multiple threads on Windows; r=glandium
As previous measurements have shown, creating/appending files
on Windows/NTFS is slow because the CloseHandle() Win32 API takes
1-3ms to complete. This is apparently due to a fundamental issue
with NTFS extents. A way to work around this slowness is to use
multiple threads for I/O so file closing doesn't block execution
as much.

This commit updates the file copier to use a thread pool of 4
threads when processing file copies. Additional threads appear
to have diminishing returns.

On my i7-6700K, this reduces the time for processing the tests install
manifest (24,572 files) on Windows from ~22.0s to ~12.5s in the best
case.

Using the thread pool globally resulted in a performance regression
on Linux. Given the performance sensitivity of manifest copying,
I thought it best to implement a slightly redundant non-Windows
branch to preserve performance. For the record, that same machine
running Linux is capable of processing nearly the same install
manifest (24,616 files) in ~2.2s in the best case.

MozReview-Commit-ID: B9LbKaOoO1u
2016-02-19 18:28:26 -08:00
Chenxia Liu
39dce1f7b6 Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: KPqdlzoqTBH
2016-02-16 19:08:43 -08:00
Mark Hammond
28b383cdfa Bug 1244929 - Allow UITour's showFirefoxAccounts command to accept additional URL params. r=MattN 2016-02-24 12:38:30 +11:00
bsilverberg
0d56ef906f Bug 1238269 - Setting session cookie using chrome.cookies.set fails, r=kmag
Fix bug to allow session cookies to be set
Add tests for session cookies
Clean up existing tests

MozReview-Commit-ID: 3teHqBd1tw5
2016-02-22 17:37:48 -05:00
bsilverberg
b82b4a193b Bug 1249055 - Calling alarms.getAll() throws an exception, r=kmag
Fix a bug in getAll()
Fix a bug in get()

Add tests for get(), getAll(), clear() and clearAll()

MozReview-Commit-ID: 8ML0F4K3LgM
2016-02-18 10:12:04 -05:00
bsilverberg
aa66e2df6d Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests

MozReview-Commit-ID: EeuxXvg0l3M
2016-02-18 08:59:57 -05:00
Margaret Leibovic
63f40cfd0f Bug 1249434 - Add a "Show web fonts" pref in advanced settings. r=jchen
MozReview-Commit-ID: EJl4qh0mOr4
2016-02-22 16:37:48 -08:00
Nick Fitzgerald
5321bf4faa Bug 1149385 - Render retaining paths in the dominators view; r=jsantell
This commit extends the devtools' memory panel's dominators view with a sidebar
that displays the 5 shortest retaining paths from the GC roots for the selected
node in the dominator tree.
2016-02-23 15:38:29 -08:00
Nick Fitzgerald
aa97278bd1 Bug 1249147 - Add a resizable split pane component to devtools/client/shared/components; r=jsantell,linclark
This commit adds HSplitBox which gives two panes aligned horizontally and a
splitter between them to resize their relative widths as needed.
2016-02-23 15:38:29 -08:00
Gijs Kruitbosch
a8d963f452 Bug 1250482 - r=mak
MozReview-Commit-ID: 2wpk7hOKUO7
2016-02-23 13:39:28 +00:00
Gijs Kruitbosch
82850c8ed4 Bug 1250366 - fix whitespace issues with URL highlight code, r=jaws
MozReview-Commit-ID: 1i0IiZ7EDWi
2016-02-23 11:45:07 +00:00
Nick Fitzgerald
abf496a650 Bug 1250307 - Add the by: "bucket" breakdown option; r=jimb
This commit introduces `{ by: "bucket" }` breakdown type. Similar to `by:
"count"`, this breakdown type is a leaf and doesn't further categorize or filter
nodes that it counts. Instead, it accumulates them in a bucket and reports them
as a array of node IDs.

MozReview-Commit-ID: EeyWlrj9ujf
2016-02-23 14:15:51 -08:00
malayaleecoder
f0b1555fa9 Bug 1247723 - Disable the Font Panel; r=pbro
MozReview-Commit-ID: 1x6Fi0SvPpr
2016-02-20 01:38:57 +05:30
Nick Fitzgerald
b90c1cbe3f Bug 1249453 - Add arrows from parent to children in census trees; r=jsantell
MozReview-Commit-ID: LFo4jJot2Sr
2016-02-23 14:14:37 -08:00
Jordan Santell
571f05a66c Bug 1246555 - Abort infinite loop when a marker has a recursive stack trace in the marker details view. r=vp
MozReview-Commit-ID: KLBXHfNF7EB
2016-02-23 14:13:56 -08:00
Jan Odvarko
d12e2a32f8 Bug 1247434 - fix eslint, add comments and remove Locale; r=jryans, pbrosset
MozReview-Commit-ID: LDYftQOw35M
2016-02-19 16:17:50 +01:00
Jan Odvarko
093ef4a421 Bug 1247434 - Move all rep component into shared directory; r=jryans
MozReview-Commit-ID: 9G6TpiJhCPd
2016-02-18 12:58:51 +01:00
Jonathan Watt
3de4b9b539 Bug 1110460, part 5 - Factor out a nsStyleBasicShape::GetShapeTypeName method. r=dholbert 2016-02-17 00:19:27 +00:00
Jonathan Watt
b43dec4e5b Bug 1110460, part 4 - Fix MOZ_ASSERT bug in nsComputedDOMStyle.cpp. r=dholbert 2016-02-17 00:19:26 +00:00
Jonathan Watt
6a4b386eac Bug 1110460, part 3 - Factor out a AddCSSValuePair helper in StyleAnimationValue.cpp. r=dholbert 2016-02-17 00:19:26 +00:00
Jonathan Watt
3a805a3f1a Bug 1110460, part 2 - Move AddPositions() further up StyleAnimationValue.cpp and add asserts. r=dholbert 2016-02-17 00:19:26 +00:00
Jonathan Watt
72d0b7796b Bug 1110460, part 1 - Add operator= to nsCSSValuePair. r=dholbert 2016-02-17 00:19:26 +00:00
Wes Kocher
16685ad6d7 Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures 2016-02-23 10:49:24 -08:00
Jordan Lund
7a7d868b2f Bug 1242771 - echo-variable-UPLOAD_FILES via mozharness fails when stderr is found, DONTBUILD r=rail 2016-02-23 10:41:33 -08:00