Граф коммитов

591429 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 3f89f10942 Bug 1452143: Reparse doc sheets after enabling error reporting on a docshell. r=jryans
While at it, remove useless charset rule lookups, since charset rules aren't
part of the OM, and have no effect at all anymore.

MozReview-Commit-ID: EefGrOZvmm7
2018-04-17 11:24:32 +02:00
Emilio Cobos Álvarez df09059366 Bug 1452143: Hook the filters and enable error reporting on demand. r=nchevobbe
MozReview-Commit-ID: BDFmxWjbDgj
2018-04-17 11:24:23 +02:00
Emilio Cobos Álvarez ec2824c99f Bug 1452143: Make InspectorUtils.getAllStyleSheets handle Shadow DOM, and also optionally not return UA / User sheets. r=bholley
We don't want to reparse over and over shared sheets, and that confused code
pretty heavily.

MozReview-Commit-ID: 7qkXoCoPNFW
2018-04-17 11:23:36 +02:00
Emilio Cobos Álvarez 8fc8563d65 Bug 1452143: Expose and honor a cssErrorReportingEnabled in the docshell. r=bholley
The idea would be for parallel CSS parsing to check the static methods in
ErrorReporter before loading the sheet.

MozReview-Commit-ID: D7cedJQpz9K
2018-04-17 11:23:31 +02:00
Jan de Mooij 3635c4e66f Bug 1452982 part 12 - Clean up ContextKind and CheckThreadLocal. r=jonco 2018-04-17 10:48:10 +02:00
Jan de Mooij 050bda2db5 Bug 1452982 part 11 - Rename ActiveThread to MainThread. r=jonco 2018-04-17 10:47:33 +02:00
Benjamin Bouvier fd7a2a8cc5 Bug 1454161: Make --wasm-gc a no-op in non-Nightly builds; r=lth
MozReview-Commit-ID: AynuyMIj9Rz

--HG--
extra : rebase_source : 8f6992520635ad558095ad01fca72d5f6ff39413
extra : amend_source : ff1dba5e050dd9f453a81bab40a9eea2d14b5497
2018-04-16 10:13:57 +02:00
Simon Fraser 957369ecbe Bug 1454411 Update stat calls in funsize r=catlee
Reviewers: catlee

Reviewed By: catlee

Bug #: 1454411

Differential Revision: https://phabricator.services.mozilla.com/D952

--HG--
extra : rebase_source : 3cd2e0499436eb72be3427881627142e606e8edd
2018-04-17 08:03:54 +01:00
Jon Coppeard 275c025454 Bug 1453028 - Add new zeal modes to test the different parts of incremental sweeping r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard 9c2e6f6917 Bug 1453028 - Add a new sweep action to yield in a specified zeal mode r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard f69380bdd2 Bug 1453028 - Rename GC zeal modes that run in two slices and refactor r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard 5bae58b082 Bug 1453028 - Refactor the way we parse zeal mode strings r=sfink 2018-04-17 08:44:55 +02:00
Simon Fraser 88c37965dd Bug 1454343 Update taskcluster cron documentation r=dustin
Reviewers: dustin

Reviewed By: dustin

Bug #: 1454343

Differential Revision: https://phabricator.services.mozilla.com/D950

--HG--
extra : rebase_source : 50cce8d7c47dfaca18358d1c590eadd7417bd93c
2018-04-17 07:42:23 +01:00
Daniel Zielas aa51622886 Bug 1453469 - Remove nsDisplayOwnLayer::mScrollTarget. r=botond
MozReview-Commit-ID: 1LAWH96mm5m

--HG--
extra : rebase_source : fe2bf1d16dc1921057f718cd5f7dd00b11e566c5
extra : amend_source : 53a8a2c0cd03b94002ba0600859e6c18d3a466b6
2018-04-14 09:42:45 +02:00
Eitan Isaacson e4878be59c Bug 1454484 - Rename GeckoViewAccessibility.init to onInit. r=jchen 2018-04-16 13:26:00 -04:00
Eitan Isaacson cef23f6914 Bug 1454310 - Only call AccessibilityNodeInfo.getExtras on API >= 19. r=jchen 2018-04-16 13:26:00 -04:00
Nicholas Nethercote 51f2b494ea Bug 1448222 - Remove MediaPrefs. r=jya
This patch converts all the prefs in MediaPrefs to the new StaticPrefs system.

Note that the "media.wmf.skip-blacklist" pref was present in both MediaPrefs
and gfxPrefs. The copy in MediaPrefs was never used; this explains why this
patch does not add an entry for it to StaticPrefList.h.

Note also that the patch removes themedia.rust.mp4parser pref, because it's
unused.

MozReview-Commit-ID: IfHP37NbIjY

--HG--
extra : rebase_source : df84ea813b7c366d7be663c696891325610149c8
2018-03-20 09:48:56 +11:00
Yura Zenevich b4dc67d73a Bug 1447302 - add telemetry probes for accessibility inspector Developer Tool panel. r=jdescottes
MozReview-Commit-ID: 6tcGHq86goa
2018-04-16 21:17:26 -04:00
Bobby Holley 1da6139753 Bug 1454511 - Widen valgrind suppression for selector parsing. r=njn
The existing suppression tries to be specific about the callstack that
arrives at the function, but that breaks when we rejigger the machinery
up the callstack. In practice, the existing suppressions cover most of
the ways we would arrive at selector parsing, and so I think the
specificity here is more trouble than it's worth.

MozReview-Commit-ID: 2k52xq64SQX
2018-04-16 17:11:49 -07:00
Bobby Holley 0945bafb4a Bug 1454030 - Allow placeholder import sheets. r=emilio
This is necessary because we can't create GeckoStyleSheets off-main-thread,
so we need a placeholder until it can be filled in.

MozReview-Commit-ID: ssRme4fLYg
2018-04-16 15:15:45 -07:00
Bobby Holley c67597649b Bug 1454030 - Stop asserting main thread when looking up CSS keywords. r=emilio
MozReview-Commit-ID: 2BolVJXz8pz
2018-04-16 15:15:43 -07:00
Kris Maglione 3fa888c5d8 Bug 1454416: Re-remove experiments section from about:support. r=me
MozReview-Commit-ID: FEQ3s7S5H3Z
2018-04-16 14:27:54 -07:00
Kris Maglione 8f0814145a Bug 1452307: Follow-up: Fix typeo. r=aswan
MozReview-Commit-ID: BZgxGULJHIb

--HG--
extra : rebase_source : be7622779d47f800d621ec80db6ede49d1b0a415
2018-04-16 14:21:02 -07:00
Florian Quèze 8381200df3 Bug 1450293 - Avoid starting the GPU process for the initial navigator:blank window, r=jimm. 2018-04-16 23:15:05 +02:00
Jon Coppeard 8e39e64d47 Bug 1447693 - Add some assertions around updating type sets after minor GC r=tcampbell 2018-04-16 22:29:24 +02:00
Vivek Dhingra 1227f9237f Bug 1452674 - Firefox Update door-hanger highlight state in Dark theme needs updating. r=ntim,jaws
This patch updates  entry in #appMenu-popup to have white text and green background when a dark theme is active

MozReview-Commit-ID: tXTfTSNOdi

--HG--
extra : rebase_source : 0bb5757fffbf61b2e49b0f4a00b9abe64b1b8b4c
2018-04-13 18:04:21 -04:00
Geoff Brown ca43a015dc Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06:00
Geoff Brown ce07cbb7d8 Bug 1452239 - adb.py - support output callbacks; r=bc
The output callback will be used by geckoview-junit tests, bug 1445716.
2018-04-16 14:05:29 -06:00
Jonathan Kew 7b924dade9 Bug 1436048 part 2 - Store FontWeight as a fixed-point value to support fractional font-weight values. r=jwatt 2018-04-16 20:26:08 +01:00
Margareta Eliza Balazs 12088e3639 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-16 21:51:56 +03:00
Noemi Erli 28e582447f Backed out changeset d0cf37de4a14 (bug 1450954) for failing in dom/media/tests/mochitest/test_getUserMedia_basicScreenshare.html on a CLOSED TREE 2018-04-16 21:48:02 +03:00
Margareta Eliza Balazs dbef13782c Backed out 2 changesets (bug 1451278) for breaking windows pgo builds a=backout
Backed out changeset ac685df07bfc (bug 1451278)
Backed out changeset 5944ccd5060d (bug 1451278)
2018-04-16 21:41:03 +03:00
Eugen Sawin 9ce480ea8b Bug 1454384 - [1.0] Enforce non-null extras and arguments in GeckoRuntimeSettings. r=snorp 2018-04-16 20:10:24 +02:00
Emilio Cobos Álvarez 4d7ccac45c Bug 1454340: Get rid of SetAsUndisplayedContent. r=mats
Move the assertion to the earliest point where it can happen instead, and do it
automatically on exit if it's generated content instead of relying on manual
calls.

MozReview-Commit-ID: 5oPwXg2o22V
2018-04-16 19:53:38 +02:00
Jeff Muizelaar a39255aea0 Bug 1454429. Remove broken paint flashing support.
Doing paint flashing here doesn't work with the merging.
We'll need to do the flashing when we actually paint the blob.

MozReview-Commit-ID: KPujW43upQp
2018-04-16 13:44:58 -04:00
Joel Maher 60ef996d43 Bug 1452522 - add fuzzy-if to mathml/font-inflation-1.html for webrender given high frequency intermittent failures. r=kats 2018-04-16 13:41:21 -04:00
Ryan VanderMeulen bd9e5194af Bug 1386138 - Add Android fuzz for 568441.html. r=me
--HG--
extra : rebase_source : 017b417bb8389378cc4d3bf637a4cefdb0da5f6e
2018-04-16 13:15:49 -04:00
Andreea Pavel a30a60eadc Merge mozilla-inbound to mozilla-central. a=merge 2018-04-16 12:52:34 +03:00
Nicholas Nethercote 2224229b3d Bug 1451278 - Remove NS_ConstExprIsAscii() functions. r=froydnj
MozReview-Commit-ID: DG2HUOa7x6y

--HG--
extra : rebase_source : a0e2f24f96cb688d11984827acb1361abc4988e6
2018-04-16 08:37:25 +10:00
Nicholas Nethercote e1318b1d03 Bug 1451278 - Remove ConstExpr hash functions. r=froydnj
MozReview-Commit-ID: L6yRyt4DZRR

--HG--
extra : rebase_source : 2d56a50b1a99e66c397165b9b851e23ca66d97a0
2018-04-16 08:37:15 +10:00
Makoto Kato 2b953ae3f5 Bug 1361052 - DeleteSelectionAndPrepareToCreateNode should be more safety. r=masayuki
Bug 768765 isn't enough for fix.  Since Selection::GetAnchorFocusRange can
return nullptr, we should consider this condition.

And I cannot reproduce this using crash test, so I add mochitest for this.

MozReview-Commit-ID: 8Ei5YBIBuWv

--HG--
extra : rebase_source : cd11517f73179d949479716a83baec0e1f492eca
2018-04-13 16:58:06 +09:00
Ryan Hunt a59e2dd09a Bug 1438551 - Remove unused mPaintedRegion from TiledLayerBuffer. r=nical
This appears to be unused, and is just needlessly calculating something.

MozReview-Commit-ID: Jpm9sBwJBfT

--HG--
extra : rebase_source : 0a743c6ed0f79b92715d2f902e9a607ccad0d1ea
2018-04-12 15:40:21 -05:00
Xidorn Quan 441a45aca4 Bug 1453521 - Support prefs for aliases in Servo side. r=heycam
MozReview-Commit-ID: 8DAFmLDVYlR

--HG--
extra : rebase_source : 6477a01ad81b66f99856e07792d480dcf63ff315
2018-04-12 10:27:43 +10:00
Masayuki Nakano 38691686f7 Bug 1453872 - Make HTMLEditRules::JoinNodesSmart() return { aRightNode - aLeftNode.Length() } by default r=m_kato
This is regression of bug 1423835.

When I fixed the bug, I accidentally changed the result of
HTMLEditRules::JoinNodesSmart() to use new API.  However, it was simple
misunderstand.  The original code sets the initial value of result to
{ aRightNode - aLeftNode.Length() } but I understood it as
{ aRightNode - aRightNode.Length() }.  Therefore, this patch backs out the
patch only for this line.

MozReview-Commit-ID: 5rD7YFij8v

--HG--
extra : rebase_source : c11770892ab7416b9bf5d3329fc8b7b413387747
2018-04-13 13:18:13 +09:00
James Teh c68c566fd8 Bug 1453876: Fix accessibility blocking of the Ask.com Toolbar. r=eeejay
Bug 1421018 intended to block the Ask.Com Toolbar (tbnotifier.exe).
This is basically malware and is responsible for a huge number of unnecessary accessibility instantiations.
However, there seems to have been some confusion and we ended up blocking tbnnotifier.exe instead.
This changes that block to tbnotifier.exe.

MozReview-Commit-ID: 2gZF8sYeGtb

--HG--
extra : rebase_source : 3d14a24c12748edfc31ddf7dac51bca491abd744
2018-04-13 15:12:13 +10:00
Jim Chen 9e1cc5b538 Bug 1452200 - 3. Don't limit AndroidLog tag length; r=jchen
In practice, Android never enforced restrictions on the tag length, and
in newer versions, the restriction is removed, so we shouldn't limit the
tag length at all.

MozReview-Commit-ID: JQF9FBdB5Fj

--HG--
extra : rebase_source : 71aa09210d694b68a72043f7588fbd799f385c23
2018-04-15 14:53:29 -04:00
Jim Chen e87a6fc89b Bug 1452200 - 2. Convert existing code to use new logging functions; r=snorp
Use the new "debug" and "warn" functions with template literals in
existing code.

MozReview-Commit-ID: 4ob6mom6pQF

--HG--
extra : rebase_source : 564f23c8de1256f73c085845fe030d8bbf45b19c
2018-04-15 14:53:29 -04:00
Jim Chen 9fd43f9378 Bug 1452200 - 1c. Inject logging functions into GeckoView JS modules; r=snorp
Inject new logging functions, "debug" and "warn", into each GeckoView JS
module that geckoview.js loads. Also do the same thing for frame script
classes that extend from GeckoViewContentModule.

The new logging functions are used with template literals (debug `hello
${foo} world`;), which are lazily evaluated, so disabled logs don't use
as many CPU cycles. They can also be easily enabled/disabled.

MozReview-Commit-ID: 7ZfYAMrcCyU

--HG--
extra : rebase_source : 8a830f29ea1cabcdc5055fc86c9880a5216aa456
2018-04-15 14:53:29 -04:00
Jim Chen 48885775a4 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : ccf4e9fae9fa9ea7581de82296035fcc736ca58e
2018-04-15 14:53:28 -04:00
Jim Chen 2eb44a3425 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc

--HG--
extra : rebase_source : eb1e8622b059ee45b574830426194ea35643b37c
2018-04-15 14:53:28 -04:00