Commit Graph

463118 Commits

Author SHA1 Message Date
Nick Fitzgerald
4562939197 Bug 1249107 - Fix assertion failure when reaching start node in JS::ubi::ShortestPaths; r=jimb
The start node was being marked "visited" at the start of the traversal, but
this broke the invariant that if we come across a target node that is marked
"visited" then we had better have an entry for it in our results map. In order
to maintain this invariant and stop triggering these assertion failures, this
commit stops marking the start node as "visited" right off the bat.
2016-02-22 08:55:00 +01:00
Steve Fink
2a3efadfd3 Bug 1250287 - Upgrade gcc and sixgill for all legacy hazard jobs, r=terrence
--HG--
extra : rebase_source : f70f94f8f18ec7131dc872ac37733f6acc3d0ef6
2016-02-18 13:17:59 -08:00
Shu-yu Guo
6164ec0d5c Bug 1225041 - Implement ES6 Annex B.3.5 for direct eval. (r=jorendorff) 2016-02-23 17:19:18 -08:00
Steve Fink
daa98326de Bug 1250287 - Upgrade gcc and sixgill for all legacy hazard jobs, r=terrence
--HG--
extra : rebase_source : 3a9935b66729f8648e2c928ae450ad8c1b7333b7
2016-02-18 13:17:59 -08:00
Cykesiopka
a150859d8e Bug 1248874 - Replace Scoped.h templates used only by PSM in ScopedNSSTypes.h with UniquePtr equivalents. r=dkeeler
MozReview-Commit-ID: 5OClBV522lv

--HG--
extra : transplant_source : G%A3%3B%A0%AC%0D%25%F2%C5K%DC8%0F%90%1B%7Bf%E0%93%F7
2016-02-18 06:01:39 -08:00
Makoto Kato
46428da1ac Bug 1240282 - Don't use NS_LossyConvertUTF16toASCII for URI. r=jimm
We should use GetAsciiSpec for idn and non-ASCII path

MozReview-Commit-ID: EjldSMJYUDg

--HG--
extra : rebase_source : 87b9680d4ed6268b0779d8603e824625c7b6f98c
2016-02-17 20:44:41 +09:00
Xidorn Quan
cf344838d0 Bug 1248505 - Remove nsDocument::IsFullScreenDoc and its uses. r=smaug
MozReview-Commit-ID: DfPI5U531ad

--HG--
extra : source : bcfb7b8155c7460b861ef3e11d92900ecb6c5029
2016-02-24 08:40:08 +08:00
Blake Kaplan
89b19e3239 Bug 1183915 - Put images dragged from content processes in the drag data in the parent. r=smaug 2016-02-23 16:31:29 -08:00
Andrew McCreight
1837d54fa7 Bug 1249685 - Use more nsCOMPtrs for stack variables in DOM code. r=smaug 2016-02-23 16:23:43 -08:00
Blake Kaplan
f92eca37c1 Bug 1193093 - Tighten up these checks a little. r=Gijs 2016-02-23 16:11:53 -08:00
Alexander Surkov
2d15c87cb3 Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen 2016-02-23 18:45:34 -05:00
Alexander Surkov
eea0bcec45 Bug 1249489 - covert css to device pixels in scroll/test_zoom.html and test_nsIAccessibleImage.html, r=yzen 2016-02-23 18:43:37 -05:00
Alexander Surkov
cfcd886fbe Bug 1249489 - covert css to device pixels in hittest/test_canvas_hitregion.html, r=yzen 2016-02-23 18:43:31 -05:00
Alexander Surkov
a5c89bc409 Bug 1249489 - covert css to device pixels in elm/test_canvas.html, r=yzen 2016-02-23 18:43:25 -05:00
Alexander Surkov
7f92893842 Bug 1249400 - add a test for missed hide events in case of accessible stealing, r=yzen 2016-02-23 18:40:20 -05:00
Dave Townsend
5732b53ed9 Bug 1250639: Remove the nsIPrincipal shim for the older API style. r=rhelmer
MozReview-Commit-ID: DyX66KlOLCC

--HG--
extra : rebase_source : 4097d74a428dda7919cc30ad2500bcb48c4427af
2016-02-23 12:11:37 -08:00
Andrea Marchesini
2dd57b41c0 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
173de1feeb Bug 1249424 - Remove use of nsAutoArrayPtr from librlz. r=gerald
MozReview-Commit-ID: 2eXvcgbSQM0

--HG--
extra : rebase_source : 0397373e89a73972512d6d8178105c5ce57100a6
2016-02-24 10:53:10 +13:00
Jordan Lund
26975fb64d 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

--HG--
extra : source : 23f241eec2af1ce07728a69ef53351371a43a85b
2016-02-23 13:12:06 -08:00
Gregory Szorc
503851935a 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

--HG--
extra : rebase_source : ac90bb9f6be8b7b986aa0a61b3ccc203a18346a6
2016-02-19 21:46:29 -08:00
Gregory Szorc
aac8926faf 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

--HG--
extra : rebase_source : 8af5a9915e78af7aee2aa335552689fe33975400
2016-02-19 21:41:24 -08:00
Gregory Szorc
eccb5d39c1 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

--HG--
extra : rebase_source : 3376f015f1766eedcef60e9393b6d68474ffb634
2016-02-19 21:40:09 -08:00
Nicholas Nethercote
334f3c9213 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*.

--HG--
extra : rebase_source : bbe86562ee486fd5fbb5d48ff2cc59a6f4c7b4c9
2016-02-23 18:39:24 +11:00
Benjamin Bouvier
c42132da60 Bug 1250556: Require Store value expression to have the opcode's type; r=sunfish
MozReview-Commit-ID: 3O5O0t1M5SN

--HG--
extra : rebase_source : d819b3780b34f3f2a50bcf83af09c82e9e028b2d
2016-02-23 19:45:38 +01:00
aleth
4bb65f0458 Bug 1093012 - Ensure plugins and extensions are placed in Contents/Resources on OSX for mozmill tests. r=jlund
--HG--
extra : rebase_source : 3d92d98899b7408e422080590cef9e02cf894ced
2016-02-20 23:17:55 +01:00
Nicholas Nethercote
b295b3e288 Bug 1249550 (part 2) - Add a test. r=tn.
--HG--
rename : image/test/reftest/downscaling/downscale-ff.html => image/test/reftest/downscaling/downscale-16px.html
extra : rebase_source : 930c391d986d92bc78eb9f97e44b16aa5198beaa
2016-02-23 10:58:05 +11:00
Nicholas Nethercote
034cfd65bb Bug 1249550 (part 1) - Flip BMPs with negative height when downscaling. r=tn.
--HG--
extra : rebase_source : f0eef7233b52ec8e1e368d96b5776ca70e5eb328
2016-02-22 13:38:58 +11:00
Wes Kocher
42c013e034 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)

--HG--
extra : commitid : Gme2p6OagcA
2016-02-23 13:10:40 -08:00
Eugen Sawin
9f4a3136f9 Bug 1116473 - [3.2] Use RefPtr for AndroidSurfaceTexture references. r=snorp 2016-02-23 21:04:25 +01:00
Eugen Sawin
d5f668aef8 Bug 1116473 - [2.1] Const-correctness fixes. r=snorp 2016-02-23 21:04:24 +01:00
Eugen Sawin
e8dc51ceee Bug 1116473 - [1.1] Handle AndroidSurfaceTexture mapping in thread-safe class. r=snorp 2016-02-23 21:04:23 +01:00
Boris Zbarsky
5c76831b32 Bug 1250291 part 3. Stop pretending to report exceptions in WorkerDebuggerRunnable::PostDispatch. r=khuey 2016-02-23 15:02:43 -05:00
Boris Zbarsky
446267bf04 Bug 1250291 part 2. Stop pretending to report exceptions in MainThreadWorkerSyncRunnable::PostDispatch. r=khuey 2016-02-23 15:02:42 -05:00
Boris Zbarsky
27b59f54f7 Bug 1250291 part 1. Stop pretending to report exceptions in MainThreadStopSyncLoopRunnable::PostDispatch. r=khuey 2016-02-23 15:02:41 -05:00
Boris Zbarsky
015f8c141f 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
e715be26bd Bug 1250185 part 1. nsIStructuredCloneContainer.initFromBase64 doesn't need a JSContext argument. r=khuey 2016-02-23 15:02:32 -05:00
Boris Zbarsky
df912accb2 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
723d39a8d6 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
4ab7224e62 Bug 1246019 - Disable test_alerts.html on Linux until bug 1227730 is fixed. r=kits
MozReview-Commit-ID: xvWxQg3vco

--HG--
extra : rebase_source : ec8e6c92787cd8b9854a60de8e2a8b5460bececd
2016-02-23 14:45:23 -05:00
Armen Zambrano Gasparnian
353abaaa2f Bug 1244720 - Enable mochitest plain and mochitest browser-chrome for e10s. tier-2 jobs. r=jmaher
MozReview-Commit-ID: BbbAPZy0OFy

--HG--
extra : rebase_source : 20b0fd029e5467908a4da720e91e24bcd837c91b
2016-02-17 09:27:44 -05:00
Bogdan Postelnicu
ccd1e6e5c5 Bug 1021151 - avoid memory leak in NS_GENERIC_AGGREGATED_CONSTRUCTOR_INIT, use nsAutoPtr instead of naked ptr. r=Ehsan
MozReview-Commit-ID: 6iU7ikbgjEn

--HG--
extra : rebase_source : bfd77469f91e81c26532819596fa5a19f8d4a766
2016-02-23 14:12:22 +02:00
Gregory Szorc
2f5add2222 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

--HG--
extra : rebase_source : e9fee3861a70e1da9d18448f8435f4bd3e28c647
2016-02-19 18:28:26 -08:00
Chenxia Liu
121f9d5a98 Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: KPqdlzoqTBH

--HG--
extra : amend_source : 2fc8ef3b64a3b88f32130cd7222aa1b9d7fbfb08
2016-02-16 19:08:43 -08:00
Mark Hammond
d09fbf36ce Bug 1244929 - Allow UITour's showFirefoxAccounts command to accept additional URL params. r=MattN 2016-02-24 12:38:30 +11:00
bsilverberg
8643e259ee 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

--HG--
extra : commitid : LdusYd5H5n2
extra : rebase_source : ebf40cc0eade9d5b06ede1d8d29508dcd8af7066
2016-02-22 17:37:48 -05:00
bsilverberg
a48959e080 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

--HG--
extra : commitid : DWiAJfamJVb
extra : rebase_source : b8f8b0fed17a65ca7a5a95000c5372ab1b695a95
2016-02-18 10:12:04 -05:00
bsilverberg
57e3f239dd Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests

MozReview-Commit-ID: EeuxXvg0l3M

--HG--
extra : commitid : IU9DPrAD0iJ
extra : rebase_source : f7e94a0eb892ecd8cd4d23f56a17f86318dd75f1
2016-02-18 08:59:57 -05:00
Margaret Leibovic
c915819bee Bug 1249434 - Add a "Show web fonts" pref in advanced settings. r=jchen
MozReview-Commit-ID: EJl4qh0mOr4

--HG--
extra : rebase_source : a006f4c157b8a0ed2fd73242cb3efec6795b054a
extra : amend_source : 9ed7d8ab72ba09d0a0d8d521b64ea4d327e5c448
2016-02-22 16:37:48 -08:00
Nick Fitzgerald
a954e27a9e 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
4711239ff7 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