506601 Commits

Author SHA1 Message Date
Daniel Holbert
3ee9d5690d Bug 1320484 part 1: Improve documentation for debug-only function FrameWantsToBeInAnonymousItem(), & change its arg from nsIAtom* to nsIFrame*. r=mats
This patch doesn't affect behavior at all -- it just refactors the
sanity-checking function "FrameWantsToBeInAnonymousItem()", so that the next
patch in this series can give it a new special case that checks a state bit on
the container frame.

This patch renames "parent" to "container" in this function's variable-names,
for clarity, because when this function returns true, the flex/grid container
is actually NOT expected to be the parent of aFrame.  Rather, it's expected to
be the grandparent, and the anonymous flex/grid item would be the parent.  So,
"aContainerFrame"/"containerType" is a bit more accurate (representing the
flex/grid container for aFrame).

Also worth mentioning: this patch makes FrameWantsToBeInAnonymousItem() perform
its own local GetType() call, instead of accepting an already-queried GetType()
result from the caller (as it previously did).  Technically this could cause a
slight perf hit, but it doesn't really matter since this is in "#ifdef DEBUG"
sanity-checking code anyway.  We could keep the nsIAtom* as an additional arg
to avoid this new call, but it seems better to fall on the side of simplicity &
just look up GetType() independently, rather than complicating the function
signature with an extra arg.

MozReview-Commit-ID: 4oJFkQMuH9c

--HG--
extra : rebase_source : 3b5d60d8c15e69470f450168698b855e353486d3
2017-01-04 20:29:19 -08:00
Hiroyuki Ikezoe
67f3a5ff19 Bug 1328255 - Run test_animation_performance_warning.html in a new window with enabling requestIdleCallaback pref. r=birtles
window.requestIdleCallback can not be used right after enabling its pref in the
same window object. We need to open a new window after enabling the pref.

This patch moves waitForIdleCallback from testcommon.js for preventing from
being used in other tests unintentionally.

MozReview-Commit-ID: Erm2BPnikvB

--HG--
rename : dom/animation/test/chrome/test_animation_performance_warning.html => dom/animation/test/chrome/file_animation_performance_warning.html
extra : rebase_source : 19160631c3cd7a067ac47e02bc69c7b08f0169f2
2017-01-06 07:42:58 +09:00
Dustin J. Mitchell
47dccff324 Bug 1326547: require that regexps in by-* match entire string; r=Callek
MozReview-Commit-ID: GxVAGHtCrzf

--HG--
extra : rebase_source : 8f3e573be44478011931d2579a3df09a11eb6e97
2017-01-03 18:43:48 -05:00
Dustin J. Mitchell
bfbc5f350d Bug 1326547: replace get_keyed_by with resolve_keyed_by; r=Callek
MozReview-Commit-ID: FS1nbVyykXV

--HG--
extra : rebase_source : 6cddb3ecb188f2c9c6dafee98c3b0ed5bfdf1955
2017-01-05 13:42:14 -05:00
Karl Tomlinson
9202053bc8 bug 1328352 set alpha component appropriately in operator over for -moz-field r=stransky+263117
MozReview-Commit-ID: AP9JfZTKDse

--HG--
extra : rebase_source : 1f92499b10d16670aa114a624c810846161ca386
2017-01-04 08:43:20 +13:00
Jean-Luc Bonnafoux
05deb31a6e Bug 752823 - Turn nsHTMLLiAccessible::mBullet into raw pointer. r=surkov 2017-01-02 20:41:50 +01:00
Geoff Brown
f1fac27354 Bug 1287099 - Update Ubuntu 12.04 docker image for linux32; r=jmaher 2017-01-09 09:17:49 -07:00
Neil Deakin
726da10015 Bug 1328043, scrolling into view on focus should happen even when event shouldn't fire, fixes tabbing into blank iframes, r=smaug 2017-01-09 11:03:52 -05:00
Hannes Verschore
a299e5e41c Bug 1328826 - IonMonkey: Speculate concatenation on baseline caches, r=jandem 2017-01-09 16:12:35 +01:00
Carsten "Tomcat" Book
64e8aaabee Backed out changeset e4e55af56102 (bug 1325991) on request from mjf
--HG--
extra : rebase_source : aa69eb8d8ca9348d00892e9e2841abc07b91273a
2017-01-09 16:09:44 +01:00
Valentin Gosu
f31077388e Bug 1320087 - Make the captive portal report UNKNOWN when the wifi is down r=bagder
* Start/Stop the captive portal service in nsIOService::SetConnectivityInternal
* Set the captive portal state to UNKNOWN when stopping it.

MozReview-Commit-ID: 5dude1F4lNb
2017-01-09 16:07:03 +01:00
Hannes Verschore
9c3613a9e5 Bug 1328228: Fix missing include, r=failures 2017-01-09 16:01:51 +01:00
Hannes Verschore
09f51a7a0d Bug 1328228: Fix unused variable, r=failures 2017-01-09 15:33:46 +01:00
Hannes Verschore
593cb74ae1 Bug 1328228: IonMonkey - Track optimizations for compares, r=shu 2017-01-09 15:05:39 +01:00
Hannes Verschore
cf910bd3b0 Bug 1328228: IonMonkey - Track optimizations for newarray and newobject, r=shu 2017-01-09 15:05:38 +01:00
Hannes Verschore
2963087fe4 Bug 1328228: IonMonkey - Split IONFLAGS=trackopts to IONFLAGS=trackopts-ext, r=shu 2017-01-09 15:05:37 +01:00
Sebastian Hengst
4516cf1f2d Bug 1326322 - underline new Sync accesskeys. r=jaws
MozReview-Commit-ID: AwqivuT877J

--HG--
extra : rebase_source : c6aa1097c4fa27e997884b438d75c7b75e99cfaa
2016-12-30 01:56:10 +01:00
Jared Wein
f0942cd4b3 Bug 1328798 - Enable the no-delete-var rule for eslint and fix the one error spotted by the rule. r=jkt
MozReview-Commit-ID: 5wKobd1ehAu

--HG--
extra : rebase_source : 0737687ad78e796b5d97be45a2b564db97c371b5
2017-01-05 12:59:50 -05:00
Iris Hsiao
03a9b9a558 Backed out changeset b33b0cfdf138 (bug 1328798) for functional test bustages
CLOSED TREE
2017-01-05 13:07:20 -05:00
Eitan Isaacson
22092a93bf Bug 1307002 - Transition width of narrate word highlight. r=Gijs
MozReview-Commit-ID: 8l2rGV4xQ7F

--HG--
extra : rebase_source : 7fede29677d332e34417fbe8474622fc3c24c0f7
2016-12-28 14:44:20 -08:00
Gijs Kruitbosch
66df3660b9 Bug 1322730 - display undo migration message on about:newtab, r=Dolske
MozReview-Commit-ID: 8nIGdD9XyFH

--HG--
extra : rebase_source : edb3034962fb0f29e7bd245974096b6609718313
2017-01-04 19:05:50 +00:00
Sebastian Hengst
e5329fbf68 Backed out changeset 9647d2c82af4 (bug 1322730) for eslint failures. r=backout 2017-01-04 20:05:06 +01:00
Mark Banner
39df62d9dc Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC

--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Botond Ballo
e8cc185f9d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg

--HG--
extra : rebase_source : 3517e8c8a578a0bd257a80bb8cb81303d171bb6c
2017-01-04 13:42:36 -05:00
Nicholas Hurley
70f69c9c9a Bug 1320140 - add reporting emails for some predictor telemetry. r=valentin
MozReview-Commit-ID: 3zhAzaYSILb

--HG--
extra : rebase_source : d6b83f93fb367b7abe488934f9b711384ab8676e
2017-01-03 09:22:50 -08:00
J. Ryan Stinnett
0119e527b3 Bug 1321831 - Delay loading RDM devices to allow faster open. r=ochameau
MozReview-Commit-ID: 4UkW0qjSAmr

--HG--
extra : rebase_source : 1d8bb05b41731b8bfe60cb6635bd7ddc3b2ae83f
2016-12-29 11:59:09 -06:00
Chris Manchester
0e8a0a1a8e Bug 1328472 - Collect build stats for Android Taskcluster builds. r=nalexander
MozReview-Commit-ID: J3ARJqSM7in

--HG--
extra : rebase_source : bd91a89da95ce17d55e20053e85a6ef5ab037494
2017-01-03 16:58:20 -08:00
Towkir Ahmed
5fb25d056e Bug 1325570 - The checkboxes from modal can now be checked/unchecked using the left click only; r=jryans
MozReview-Commit-ID: LPRzXjp7q6v

--HG--
extra : rebase_source : 198f3bec99e8a026cbef2f0103b40d1c1e2b53c2
2017-01-04 09:34:37 -06:00
Mike Taylor
a45c16df23 Bug 1328416. Add src param to track where compat reports are coming from. r=sebastian
MozReview-Commit-ID: GNLVJHVWEB4

--HG--
extra : rebase_source : 394c5cf6486271411fd4bff70dd7138f989a133f
2017-01-03 17:10:06 -06:00
Jonathan Watt
9bf8dd0b49 Bug 1328275 - Refactor and comment nsSimplePageSequenceFrame::PrintNextPage to make it easier to understand. r=bobowen 2016-12-28 11:26:31 +00:00
Jan de Mooij
620a16d8f8 Bug 965992 part 4 - Add tests. r=bz 2017-01-07 10:22:30 +01:00
Jan de Mooij
bd6dbbe6b3 Bug 965992 part 3 - Add an is-object debug assert to GuardDOMExpandoMissingOrGuardShape. r=bz 2017-01-07 10:22:12 +01:00
Jan de Mooij
e876c90931 Bug 965992 part 2 - Add inline caches for getting DOM expando properties. r=bz,evilpie 2017-01-07 10:21:43 +01:00
Jan de Mooij
2899972b1e Bug 965992 part 1 - Rename some CacheIR instructions related to DOM proxies. r=bz,evilpie 2017-01-07 10:20:42 +01:00
Cameron McCormack
d4de4e55a0 Bug 1324624 - stylo: More crashtest assertion adjustments.
MozReview-Commit-ID: DM8nLXSiSxr
2017-01-07 16:33:50 +08:00
Masayuki Nakano
b51e97e916 Bug 1272623 part.2 Add automated tests of testing cached inline style at editing r=smaug
MozReview-Commit-ID: 1kIfj3GgCcY

--HG--
extra : rebase_source : 4d808bbea9c5a23464e7e09baa1158ef0adf472c
2016-12-27 18:27:10 +09:00
Michael Layzell
085958fee1 Bug 1272623 part.1 Don't destroy nodes during text replacement due to spell checking r=masayuki
Spellchecker shouldn't delete selection with nsIEditor::eStrip before calling nsIPlaintextEditor::InsertText() because it causes removing some parent nodes which may have some style rules.

MozReview-Commit-ID: 2VJhFFbTzrh

--HG--
extra : rebase_source : ffe9cfb47cbae665219c1399875c592f49aff397
2016-12-27 18:41:07 +09:00
Emilio Cobos Álvarez
d449269afd Bug 1329200: Remove unused FrameManager global generation counter. r=xidorn
MozReview-Commit-ID: AXkaZYxpK2y

--HG--
extra : rebase_source : a02753e044fb89d4ea6a476e4b8f3e9fc0e4eb0c
2017-01-06 16:03:41 +01:00
James Cheng
801c518cad Bug 1325332 - [EME][Fennec] Pref on EME API and only support it for M+ android version. r=cpearce
MozReview-Commit-ID: Bi5pRhIFsxB

--HG--
extra : rebase_source : 3fa45b404874c87a41448491af00e71bc94ecfd6
2016-12-23 15:50:13 +08:00
Phil Ringnalda
8e3c56f8cf Merge m-c to autoland 2017-01-09 18:49:22 -08:00
Phil Ringnalda
0a8b98e56c Backed out 2 changesets (bug 1322862) for frequent Marionette test_navigation.py TestNavigate.test_go_forward failures
Backed out changeset fa592f5df0fe (bug 1322862)
Backed out changeset f7fbaa09b025 (bug 1322862)
2017-01-09 18:38:08 -08:00
Shih-Chiang Chien
c5a3a2feee Bug 1329089 - yield to other transactions while reaching the max write attempts. r=mcmanus
MozReview-Commit-ID: KHlLbvab7HZ

--HG--
extra : rebase_source : dcece1d27b0af3cb779e71b2eaeaccb3fafc088a
2017-01-06 17:55:34 +08:00
Jeremy Chen
f53d660a40 Bug 1316482 - use the refactored TransformText as a template function for both char16_t and uint8_t text. r=xidorn
With this patch, we shall only maintain one version of the TransformText logic.

MozReview-Commit-ID: JAIksFVqvqf

--HG--
extra : rebase_source : 49ec749ae74f872e9749e026affe7f2e22db71f9
2017-01-10 00:02:03 +08:00
Jeremy Chen
7b8e25751d Bug 1316482 - add reftests part 2. r=jfkthame
These tests are for testing different combinations of characters at two sides of
a segment break.

A script, generate-segment-break-rule-tests.py, is used to help generate the tests.

MozReview-Commit-ID: Lh1w5ZDQfN1

--HG--
extra : rebase_source : 8990815b41755a0710d2590837c882ffc58942ee
2017-01-10 00:02:03 +08:00
Jeremy Chen
e83bb5c4ee Bug 1316482 - add reftests part 1. r=jfkthame
These tests are for testing different sequence of segment break(s) / white spaces
/ zero-width spaces between two CJK strings.

MozReview-Commit-ID: C1sCgrynu5f

--HG--
extra : rebase_source : d3d6ca28bd7acc2c6b82756ce108ad5716ac8e41
2017-01-10 00:02:02 +08:00
Jeremy Chen
498b737c47 Bug 1316482 - remove collapsible white spaces according to the White Space Processing Rules. r=jfkthame
This patch is an implementation of CSS Text 3 - 4.1.1 Phase 1 Step 1.

According to the specification, if white space characters are considered
collapsible, they should be removed before applying segment break transformation
rules during the text transform.

In this patch, a refactoring of text transformation logic has been made. Every
run of consecutive document white space characters (spaces/tabs/segment breaks)
is collected first. Then, we could apply the white space processing rules
accordingly.

MozReview-Commit-ID: 1JStjFk5TBs

--HG--
extra : rebase_source : 0c3cd845f12de407558aae4db3f3c75343da7050
2017-01-10 00:02:02 +08:00
Bas Schouten
1e9ffde5c8 Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang
This patch makes sure content processes update their cleartype settings, as well as making sure Moz2D's idea of the ClearType settings are in sync with those of Thebes. If the two differ this can cause graphical glitches.

MozReview-Commit-ID: 94arUnBWoUy

--HG--
extra : rebase_source : d74b702fc63c019ce1c30bdc741ea3ed6da457cd
2017-01-04 20:26:17 +01:00
James Cheng
b6276d9ee4 Bug 1325332 - [EME][Fennec] Pref on EME API and only support it for M+ android version. r=cpearce
MozReview-Commit-ID: Bi5pRhIFsxB

--HG--
extra : rebase_source : 8413b9ea132dc4388bdc48e7c09d3f9e4b7676eb
2016-12-23 15:50:13 +08:00
Xidorn Quan
e7b267ea34 Bug 1328512 part 3 - Change stylo mochitest task to run all style system mochitests rather than tagged ones. r=gps
MozReview-Commit-ID: 7rUHpTFQflF

--HG--
extra : rebase_source : 72a62e1a582afc59ef6cc9c1488862efb14dedc8
2017-01-04 16:37:08 +11:00
Xidorn Quan
6d87099ce5 Bug 1328512 part 2 - Skip crashing/timeout mochitests on stylo. r=heycam
MozReview-Commit-ID: IzjGHfnTi60

--HG--
extra : rebase_source : a897a9a8bbf971e2962bcc5c2336c913884e6d16
2017-01-09 11:45:32 +11:00