Commit Graph

551973 Commits

Author SHA1 Message Date
Stone Shih
393c62eba7 Bug 1351148 Part3: Synthesize native input events with priority. f=kats,smaug. r=smaug.
The test helper_touch_action_regions.html uses nsDOMWindowUtils to synthesize native input events and creates some runnables to trigger the test. It expects the runnables which synthesize native input events are processed first, then the runnables to continue the test, and finally the input events are forwarded from chrome process to content process. Enabling event prioritization may change the execution order.
Wraps those runnables to synthesize native input events as priority=input and dispatches those runnables to continue the test with priority=input to make sure the execution order is as expected.

MozReview-Commit-ID: 8hkaB1FRW9T
2017-05-19 15:41:24 +08:00
Stone Shih
de7f705042 Bug 1351148 Part2: Add a priority queue for input events. r=smaug.
MozReview-Commit-ID: 5ud1Ex9UNVo
2017-03-21 15:44:12 +08:00
Stone Shih
1467938d67 Bug 1351148 Part1: Add include header to TimerThread.h to fix compile errors. r=smaug.
MozReview-Commit-ID: 65UfFMwmSrm
2017-05-29 17:19:17 +08:00
Sebastian Hengst
a77bc670c9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-13 01:22:30 +02:00
Sebastian Hengst
bd7d50ff49 Bug 1382001 - bustage fix after merge. r=merge a=merge
MozReview-Commit-ID: 2Z29PK680wh
2017-08-13 01:19:52 +02:00
Sebastian Hengst
81f7b85597 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-13 01:09:23 +02:00
Sebastian Hengst
49901468bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQQOyflOnkq
2017-08-13 00:44:00 +02:00
Stephen Horlander
6f4d7de223 Bug 1389661 - Improve Nightly Branding iteration 03. r=dolske a=aryx for m-c. 2017-08-12 15:32:34 -07:00
Justin Dolske
25749fe5a7 Backed out changeset 71eaeee0843a (bug 1388778) in preparation for next icon. 2017-08-12 15:30:47 -07:00
Dão Gottwald
748b7769be Bug 1389740 - Move common .urlbar-history-dropmarker styles to urlbar-searchbar.inc.css. r=gijs
MozReview-Commit-ID: FFDdRetmnV7
2017-08-13 00:15:27 +02:00
Sebastian Hengst
56c035fa36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Sebastian Hengst
b2605622c5 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BmMg9p7mWJ0
2017-08-12 23:34:39 +02:00
Dão Gottwald
7ff904dafc Bug 1389740 - Replace urlbar-icon margin with padding. r=gijs
MozReview-Commit-ID: 2gzbQNFfQKT
2017-08-12 23:14:15 +02:00
Dão Gottwald
ffe34a4664 Bug 1389740 - Move duplicate urlbar-icon rules to urlbar-searchbar.inc.css. r=gijs
MozReview-Commit-ID: DpSt0vNZYPk
2017-08-12 22:28:45 +02:00
Dão Gottwald
59357486c2 Bug 1389740 - Remove urlbar-wrapper. r=gijs
MozReview-Commit-ID: 7Kau6bgiqr2
2017-08-12 20:56:09 +02:00
Dão Gottwald
5f4443c8a4 Bug 1389740 - Add rudimentary hover effect for urlbar icons. r=gijs
MozReview-Commit-ID: 7H45Hjo7Nnm
2017-08-12 20:54:44 +02:00
Eden Chuang
3555849c8c Bug 1382092 - Support default payment UI service in DOM code part 3. r=MattN. 2017-08-13 01:17:11 +08:00
ffxbld
c81edf0315 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-08-12 09:55:08 -07:00
ffxbld
1d0ed4dc67 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-08-12 09:55:04 -07:00
Sebastian Hengst
57f655f77a Backed out changeset c73631b194bb (bug 1389740) for failing Firefox-UI's test_windows.py and test_about_private_browsing.py. r=backout 2017-08-12 18:42:57 +02:00
Andrew Sutherland
1a8a11ff09 Bug 1388584 - Part 1: Bind ATTACH DATABASE path argument. r=adw r=markh a=Aryx
This is for the trunk/nightly landing only, and approval was explicitly
requested from #sheriffs to land without tests as a preliminary stop-gap.

Tests and a proper fix will land as part of bug 1389660, but that will be a few
days.

--HG--
extra : rebase_source : 5849f2f37d735387e13ac0486f1fae7906725111
extra : source : 908a4bb55a039985473e1565d88abebfe024c44c
2017-08-12 02:33:09 -04:00
Sebastian Hengst
c8d1af166c Backed out changeset 4f4991cb4ac8 (bug 1382092) for bustage on Android. r=backout 2017-08-12 17:06:37 +02:00
Eden Chuang
2ea810c199 Bug 1382092 - Remove the NIGHTLY_BUILD requirement for building the payments UI service. r=RyanVM 2017-08-12 17:16:35 +08:00
Dão Gottwald
87b602a05f Bug 1366555 followup: Remove accidentally re-added code during rebase
MozReview-Commit-ID: L50ETijPr4r
2017-08-12 16:01:47 +02:00
Kris Maglione
8b7bd7e2b8 Bug 1389381: Part 3 - Loop over the entire set iterator when truncating a LimitedSet. r=aswan
MozReview-Commit-ID: 3imHF9IRI2N

--HG--
extra : rebase_source : 5ffbfab63ddf22304883bb68267ebb53a9ab0d52
2017-08-11 14:46:44 -07:00
Kris Maglione
9e2904259b Bug 1389381: Part 2 - Add slop to the maximum size of a LimitedSet. r=aswan
Truncating a Set can be relatively expensive, so truncating only after several
excessive entries have been added can save some cycles.

MozReview-Commit-ID: DIAXQ3ow2fa

--HG--
extra : rebase_source : 0a748ff076ba43659f6315b3e51316845200d300
2017-08-12 11:08:35 -07:00
Kris Maglione
81748f7c7f Bug 1389381: Part 1 - Synchronously remove rending responses after aborting them. r=aswan
Pending responses are normally removed by the response's promise handlers. But
since promise handlers are called asynchronously, multiple calls to
abortResponses can wind up handling the same already-aborted responses when
called before we process the microtask queue.

MozReview-Commit-ID: 4jy0O7PaoqP

--HG--
extra : rebase_source : ceba0c832becc1cd2938030d28f698487a52fc05
2017-08-11 14:37:53 -07:00
Michael Kaply
a231f8e4cd Bug 1380771 - Add support for suggest_url to addEngineWithDetails. r=florian
MozReview-Commit-ID: LoUlLwXqSOH

--HG--
extra : rebase_source : f04cef4ef397a0837af0c310ad004cfde38f9a1d
2017-08-11 16:16:41 -05:00
Dão Gottwald
ad2ba7b0b1 Bug 1389740 - Consolidate URL bar history dropmarker styling. r=Gijs
The dropmarker gets the urlbar-icon class for consistency with the other URL bar icons. On this occasion, I increased the urlbar-icon padding and removed the margin to match the photon spec. Also added a rudimentary hover effect.

#urlbar-icons is renamed to #page-action-buttons to better reflect its meaning, and because .urlbar-icon is now used outside of this container.

#urlbar-wrapper wrapper isn't needed anymore -- we can just set the switchingtabs attribute directly on #urlbar.

MozReview-Commit-ID: EiuUW71IKgU

--HG--
extra : rebase_source : dcc7753e92073e06278d714a0b5b976d073e75c8
2017-08-12 17:49:35 +02:00
Wes Kocher
5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Wes Kocher
c9139bd0e7 Merge autoland to central, a=merge
MozReview-Commit-ID: 1Kbt8srV8vj
2017-08-11 12:47:01 -07:00
Wes Kocher
b6e3e08c6d Backed out changeset 59bc932c44ea (bug 1386906) for breaking single locale fennec builds a=bustage
MozReview-Commit-ID: 4z1nq8Z9gnV
2017-08-11 12:30:22 -07:00
ffxbld
33295c6f4d No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-08-11 10:04:30 -07:00
ffxbld
2efc5037da No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-08-11 10:04:27 -07:00
Jonathan Kew
6710df5af9 Bug 1387912 - Add missing #include to dom/canvas/ImageBitmap.h, to avoid build fragility (unified-compilation dependency. r=jrmuizel a=stability
MozReview-Commit-ID: 3ptkeF67jB2

--HG--
extra : amend_source : 81ecd6836ffed785617bc1f0c6a427c3148d586d
extra : transplant_source : %22sO%3DK%602S%F6%E9%BA%1BO%F9%BD6%E4%A77%12
2017-08-11 11:12:12 +01:00
Mike Hommey
47bc56acc7 Bug 1389398 - Remove remaining clang entries in windows tooltool manifests. r=gps
Since the buildbot-based Windows builds using releng.manifest are busted
anyways, there is no reason to keep clang entries in there. Which makes
those manifests identical to clang.manifest, so remote the latter.

--HG--
extra : rebase_source : eef7eca4bafc4e348eadc04d6da2bd17ea20deea
2017-08-11 16:16:32 +09:00
Gijs Kruitbosch
cd09994193 Bug 1377967 - make middle clicking history, bookmarks and closed tabs items work correctly, r=mikedeboer a=reland stuff lost during last merge
MozReview-Commit-ID: VQUuQHyCXi

--HG--
extra : amend_source : 2ccb64d04d41c9a67d96b3977f70eeabae2fb38e
extra : transplant_source : R%E5%D8%3F%AD%FA%83%DD%29%C0%F0%9C%03%A9k%B9%B0aO%82
2017-08-10 23:05:33 +01:00
Gijs Kruitbosch
0cdb4b5cfa Bug 1388753 - unbreak bookmarks/history item clicks and tidy up code in browserPlacesViews.js, r=mikedeboer
MozReview-Commit-ID: 1vjP6IeIiPz

--HG--
extra : transplant_source : %BD%9E%A3%87%9C%DEl%97%93%AFyc%2A%AA%BF%08%DE%B2b%86
2017-08-10 23:04:54 +01:00
Mark Hammond
472098beec Bug 1386171 - log urls for synced tabs at trace level. r=eoger
MozReview-Commit-ID: 2veccAv2Bpn

--HG--
extra : rebase_source : 3487ad6937913c663bb81d7f6c99f1deca7d5af7
2017-08-11 14:26:29 +10:00
Boris Zbarsky
0dd7bb3d5e Bug 1388625 part 6. Flag the in-flow frames of kids of various wrapper frames during frame construction, so we know to restyle the wrapper frames. r=heycam
MozReview-Commit-ID: 8KNug88sGp

--HG--
extra : rebase_source : 02cd19bcab6595a5fe86ea076207a8c84da4229e
2017-08-11 00:10:27 -04:00
Boris Zbarsky
b183fe45c1 Bug 1388625 part 5. Implement wrapper anonymous box restyling in ServoRestyleManager. r=heycam
MozReview-Commit-ID: FRW4RCR1GT4

--HG--
extra : rebase_source : 4b3788a93173d73c0a47c92a3e8574bae713862f
2017-08-11 00:10:26 -04:00
Boris Zbarsky
b1ca90d55d Bug 1388625 part 4. Add a concept of wrapper anon boxes to nsCSSAnonBoxes. r=heycam
MozReview-Commit-ID: 39i5eHlrrON

--HG--
extra : rebase_source : 7529aa53036b9c338c121f10572768ccfabc812a
2017-08-11 00:07:12 -04:00
Boris Zbarsky
345d831c42 Bug 1388625 part 3. Add nsIFrame flags we will use in stylo post-traversal to keep track of wrapper anonymous boxes. r=heycam
MozReview-Commit-ID: GscWh51aio2

--HG--
extra : rebase_source : 9be722b4384246d580e86b0e4fe0152de5306a2b
2017-08-10 12:49:03 -04:00
Boris Zbarsky
dd203db270 Bug 1388625 part 2. During a stylo restyle, update the style of the anonymous cols in a colgroup, if any. r=heycam
MozReview-Commit-ID: 4H2NzhCyygU

--HG--
extra : rebase_source : 88f0802f507478c97b4b971ba13348c44f212f31
2017-08-10 12:43:05 -04:00
Boris Zbarsky
fbecdd2153 Bug 1388625 part 1. During a stylo restyle, update the style of the trailing anonymous colgroup of a table, if any. r=heycam
MozReview-Commit-ID: 4rz4AlPEsjR

--HG--
extra : rebase_source : aea84e7ded8e01d7c813caecdaa43da83e88eaf6
2017-08-10 12:42:53 -04:00
Boris Zbarsky
c80f4cf28f servo: Merge #18041 - Stylo's atom generation needs to deal with wrapper anon boxes (from bzbarsky:add-wrapper-anon-boxes); r=heycam
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1388625

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c811a1aa7745c848870af226e249e14baaa4ccc3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 585bc173dd1a11827f705340f637f528903e46ac
2017-08-10 23:09:51 -05:00
Matthew Noorenberghe
c49ae5ce3f Bug 1388078 - Form Autofill: Delay adding the AOM upgrade listener until the XPI DB is loaded. r=rhelmer
MozReview-Commit-ID: CPeAOrWhEVu

--HG--
extra : rebase_source : 4d06c9ab80f57e545f9c45fca7f9a7306a2a1586
2017-08-10 21:32:07 -07:00
Nicholas Nethercote
9ab2597a8d Bug 1387956 (part 2) - Overhaul handling of nsWindowSizes. r=mccr8.
This patch does the following.

- Moves nsWindowSizes from nsWindowMemoryReporter.h to its own file,
  nsWindowSizes.h, so it can be included more widely without exposing
  nsWindowMemoryReporter.

- Merges nsArenaMemoryStats.h (which defines nsTabSizes and nsArenaMemoryStats)
  into nsWindowSizes.h.

- Renames nsArenaMemoryStats as nsArenaSizes, and nsWindowSizes::mArenaStats as
  nsWindowSizes::mArenaSizes. This is the more usual naming scheme for such
  types.

- Renames FRAME_ID_STAT_FIELD as NS_ARENA_SIZES_FIELD.

- Passes nsWindowSizes to PresShell::AddSizeOfIncludingThis() and
  nsPresArena::AddSizeOfExcludingThis(), instead of a bunch of smaller things.
  One nice consequence is that the odd nsArenaMemoryStats::mOther field is no
  longer necessary, because we can update nsWindowSizes::mLayoutPresShellSize
  directly in nsPresArena::AddSizeOfExcludingThis().

- Adds |const| to a few methods.

MozReview-Commit-ID: EpgFWKFqy7Y
2017-08-10 14:14:09 +10:00
Nicholas Nethercote
764c284800 Bug 1387956 (part 1) - Change |nsWindowSizes*| arguments to |nsWindowSizes&|. r=mccr8.
This makes it clear they are never null.

MozReview-Commit-ID: H4i8uqZs48H

--HG--
extra : rebase_source : c7ada64881f015c68eaee2fbfad901f806cab833
2017-08-10 14:13:22 +10:00
JerryShih
7b702f3d00 Bug 1352092 - Get the max texture size from WR. r=nical
The gecko side just queries the max texture size from gl context[1]. We
should query that size from WR.

[1]
https://dxr.mozilla.org/mozilla-central/rev/4c5fbf49376351679dcc49f4cff26c3c2e055ccc/gfx/webrender_bindings/WebRenderAPI.cpp#72

MozReview-Commit-ID: 6RQ8ZW9mWSE
2017-08-12 13:41:56 +08:00