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

552019 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack a3c8f6ca5b Bug 1382925 - Part 4: Test origin iteration order by checking @font-face rule cascade. r=emilio
MozReview-Commit-ID: 7UzDKkKOEtw

--HG--
extra : rebase_source : 73cc30904e69d4d822faf0b4f23fe265b95a8581
2017-08-13 13:54:12 +08:00
Cameron McCormack 56eccb1311 Bug 1382925 - Part 3: Pass in relevant origin when style sheet rules change and when author styles are toggled. r=emilio
MozReview-Commit-ID: EGEnUBAvVyX

--HG--
extra : rebase_source : 3a445fb948b4f1284f50fe212b47d2fea9538311
2017-08-12 18:49:01 +08:00
Cameron McCormack 0a951a3cb0 Bug 1382925 - Part 2: Add FFI function to get stylesheet origin. r=emilio
MozReview-Commit-ID: F3VY6qagrpS

--HG--
extra : rebase_source : c53e528ae36a57240bfdd5318d59411e51a8feb9
2017-08-12 18:34:34 +08:00
Cameron McCormack 7e913c1a93 Bug 1382925 - Part 1: Make Servo_StyleSet_NoteStyleSheetsChanged take a set of origins to dirty. r=emilio
MozReview-Commit-ID: KY29REU78tH

--HG--
extra : rebase_source : bc3ca1deb1fcc797e6156c8bd0656012eb9c4315
2017-08-12 18:19:22 +08:00
Cameron McCormack aa82e93df5 servo: Merge #18060 - style: Don't rebuild cascade origins that haven't changed (from heycam:single-origin); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1382925.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f08bc3cd206957fb6683ec7a535cc8b2638b5f9e
2017-08-13 06:39:40 -05:00
Emilio Cobos Álvarez b452d01c4c Bug 1389790: Ensure we always have an up-to-date style context even if we have no frame. r=heycam
I'm still not quite sure how may we end up restyling a text node under there,
but all my attempts to build a test-case have failed.

Anyway this is the right thing to do.

MozReview-Commit-ID: FitqSKhNt2n

--HG--
extra : rebase_source : 23daa450b11d3bbee458973fc62e95338328fe02
2017-08-12 22:17:44 +02: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
Gijs Kruitbosch b77ceb27cd Bug 1389505 - set min-width for the flexible spacers to 0, r=florian,ui-r=abenson
MozReview-Commit-ID: 3WP3aPYmmZX

--HG--
extra : rebase_source : 580d0980518a686d7cc14ba31da41c77f5e316e9
2017-08-11 20:51:56 +01:00
Gijs Kruitbosch 7c9b10befb Bug 1389285 - check that clicking history items actually works, r=mikedeboer
MozReview-Commit-ID: 2WKqYaO8Iht

--HG--
extra : source : bff4d1e4243f2c1472d9339aa7060be4c819b637
2017-08-11 14:05:48 +01:00
Michael Layzell 82c9240971 Bug 1372433 - Label the PContent::Msg_NotifyVisited runnable, r=billm
I don't bother to label the runnables in the parent process being fired by
VisitedQuery, as we are not planning to perform scheduling in the parent process
if I remember correctly. It would be possible to label those runnables as well.

MozReview-Commit-ID: EosNOu62fEV
2017-08-11 18:07:58 -04:00
Michael Layzell 8d41010aea Bug 1389252 - Disable BHR in beta, r=froydnj
MozReview-Commit-ID: K98DceJ2uHz
2017-08-11 17:50:13 -04:00
Eric Rahm 37dd2606b7 Bug 1382001 - Part 2: Use a DAFSA for kSTSPreloadList. r=keeler
This switches the STS preload list over to a more compact representation by
using a DAFSA. `getHSTSPreloadList.js` is updated to output data in the gperf
format expected by `make_dafsa.py`. We then add a generated file that gets
created by pumping `nsSTSPreloadList.inc` through `make_dafsa.py`.

`nsSiteSecurityService` is updated to use the DAFSA which either returns -1
(kNotFound) if an entry is not present or (0, 1) indicating whether or not to
use subdomains.

`nsSTSPreloadList.inc` is an automated conversion to the new gperf-like format.
2017-08-11 14:12:04 -07:00
Eric Rahm ee8cbfef96 Bug 1382001 - Part 1: Handle gperf-like preamble in make_dafsa. r=froydnj
This updates make_dafsa.py to include anything preceding the first '%%' in the
generated header.

For example:

> #include <stdint.h>
> const uint64_t kExpiration = UINT64_C(12345);
> %%
> foo.bar.com, 1
> %%

Would generate:

> #include <stdint.h>
> const uint64_t kExpiration = UINT64_C(12345);
>
> const unsigned char kDafsa[] = {
>   ...
> };

MozReview-Commit-ID: 1oR3ssnlUyA
2017-08-11 14:12:03 -07:00
Geoff Brown 1eceaf8aa5 Bug 1377450 - Disable test test_getUserMedia_addTrackRemoveTrack.html for frequent intermittent failures; r=me,test-only 2017-08-11 14:30:31 -06:00
Geoff Brown 7e7d1e53c7 Bug 1369197 - Disable test browser_ext_browserAction_contextMenu.js for frequent intermittent failures; r=me,test-only 2017-08-11 14:30:29 -06:00
Geoff Brown b4e75f8c50 Bug 1183008 - Disable test_ocsp_caching.js on slow platforms, for ongoing intermittent failures; r=me,test-only 2017-08-11 14:30:27 -06:00
Geoff Brown dad38365b5 Bug 1389500 - Fix |mochitest --verify| by not popping prefs; r=ahal 2017-08-11 14:30:25 -06:00
Jeff Gilbert a10070cf8b Bug 1389366 - Fix |mach try| when hg is not installed. - r=ahal
Also find_executable doesn't seem to work on my windows machine, so I've replaced it.

MozReview-Commit-ID: 3mE4UeQ2ecy
2017-08-11 13:26:58 -07:00
Wes Kocher ef0d82bb2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HSkzFTcnhOy
2017-08-11 13:25:37 -07:00
ZER0 7dca53648e Bug 1381542 - refactored EventEmitter with old SDK event/core capabilities; r=ochameau
`EventEmitter` now can be used in the same way `sdk/event/core`, it also
integrates some of the SDK capabilities.
In addition the `emit` method is now unified in functionality, and is more
consistent with the nodejs counterpart (the listener doesn't receive the event
type anymore as first argument).

MozReview-Commit-ID: DNxnjwmcC4W
2017-08-11 22:21:28 +02:00
Wes Kocher 3985469cdb Bug 1388424 - Fix flake8 issue a=me
MozReview-Commit-ID: 4OcGtGQfgyD
2017-08-11 13:04:38 -07:00
J.C. Jones 95d83ac876 Bug 1387820 - WebAuthn WD-05 Get Assertion Data Fix r=keeler
The WebAuthn WD-05 specification's Get Assertion method defines the returned
AuthenticatorAssertionResponse as providing ClientData, AuthenticatorData, and
the Signature from the Authenticator. Our implementation is incorrectly setting
AuthenticatorData and Signature:

AuthenticatorData as a structure is intended to mirror the structure from
the AuthenticatorData [1] section of the Attestation CBOR Object [2] in the
MakeCredential method, which we weren't doing _at all_. This is clarified in
the editor's draft of the specification, soon to be WD-06.

Signature for U2F Authenticators is defined as the "attestation signature", [3]
which is under-specified and we assumed would be the raw output from the U2F
Authenticator [4]. This should instead be the raw ANSI X9.62 signature with no
additional bytes. [5]

[1] https://www.w3.org/TR/2017/WD-webauthn-20170505/#sec-authenticator-data
[2] https://www.w3.org/TR/2017/WD-webauthn-20170505/#sec-attestation-data
[3] https://www.w3.org/TR/2017/WD-webauthn-20170505/#fido-u2f-attestation
[4] https://lists.w3.org/Archives/Public/public-webauthn/2017Aug/0078.html
[5] https://bugzilla.mozilla.org/show_bug.cgi?id=1387820#c4

MozReview-Commit-ID: DTIOILfS4pK

--HG--
extra : rebase_source : 996c10b2f0359b34f45cf370bb8483c2dc9d3b6e
2017-08-09 20:05:23 -07:00
Sebastian Hengst 5510675246 Backed out changeset 8e52d4dcbaeb (bug 1379256) for failing xpcshell's toolkit/components/osfile/tests/xpcshell/test_read_write.js. r=backout 2017-08-12 13:48:54 +02:00
Sebastian Hengst 7a1209abe1 Backed out changeset 35420ca15900 (bug 1379256) 2017-08-12 13:48:06 +02:00
Sebastian Hengst 1f19257b7d Backed out changeset d319322e33cc (bug 1379256) 2017-08-12 13:48:01 +02:00
Sebastian Hengst 38703f6066 Backed out changeset 3d10672e7e2b (bug 1382388) for failing touched browser-chrome test browser_show_dialog.js. r=backout
--HG--
rename : toolkit/components/payments/res/paymentRequest.css => toolkit/components/payments/content/paymentRequest.css
rename : toolkit/components/payments/res/paymentRequest.js => toolkit/components/payments/content/paymentRequest.js
rename : toolkit/components/payments/res/paymentRequest.xhtml => toolkit/components/payments/content/paymentRequest.xhtml
2017-08-12 13:46:32 +02:00
Sebastian Hengst 8ae78d2792 Backed out changeset 5dae0072182f (bug 1382388) 2017-08-12 13:45:24 +02:00
Gijs Kruitbosch 6ff153a8b2 Bug 1388990 - avoid breaking the broadcast/listener relationships of the back/fwd buttons when customizing, r=dao
MozReview-Commit-ID: EsH3lv8QXfJ

--HG--
extra : rebase_source : 20325d2b014abf9687c83eae3cda267eeda078eb
2017-08-12 11:56:22 +01:00
Dão Gottwald b2154d9295 Bug 1389744 - Stop repositioning pinned tabs when (un)selecting the Dark/Light theme. r=florian
Dark/Light themes don't affect the tab strip layout anymore, so this entirely unnecessary work.

MozReview-Commit-ID: C37VZsd8r2J

--HG--
extra : rebase_source : afe8f784ff23ca650342439247e1803a64584e83
2017-08-12 12:50:26 +02:00
Junior Hsu 0ebdaee9c1 Bug 1388671 - Add null check to avoid crash. r=jduell 2017-08-09 20:39:00 -04:00
Ethan dd89a080a0 Bug 1383495 - Spoof Navigator API platform as win64 when resisting fingerprinting is enabled. r=ehsan 2017-08-11 09:51:09 +08:00
Andreas Tolfsen 94e1614eb3 Bug 1388424 - Read capabilities off top-level object. r=whimboo
geckodriver sends capabilities as a JSON Object in the body of the
command, like this:

	[0,1,"newSession",{"acceptInsecureCerts":true}]

With https://bugzil.la/1387380 we wanted the Marionette Python client
to match this behaviour, however the patch overlooked the fact that
the server reads cmd.parameters.capabilities, meaning it looks for a
"capabilities" field on this object instead of treating the object as
the dictionary of capabilities.

As a follow-up to that bug, this patch removes the ability to override
the session ID by specifying a "sessionId" field.  This functionality
was only used for in-app restart tests.  When Firefox restarts, the
Marionette session is arguably not the same, and sessions should not
live on between restarts.

This patch will fix capabilities passed from geckodriver and align the
Marionette Python client.

For backwards compatibility reasons, it needs to be possible to use the
Python client with older Firefoxen that reads cmd.parameters.capabilities
instead of cmd.parameters.  This is why we duplicate the capabilities
object, like geckodriver does.

MozReview-Commit-ID: DCpaxl9hOLe
2017-08-11 11:06:15 +02:00
Ekanan Ketunuti accb1622a2 Bug 1389363 - Add bullseye to the en-US dictionary. r=ehsan 2017-08-11 09:06:26 +07:00
Dan Banner 586eb1af96 Bug 1379256 - Enable the rest of the recommended ESLint rules for toolkit/components/osfile. r=mossop
MozReview-Commit-ID: F5GmnvS9LpM

--HG--
extra : rebase_source : 88e41671790bde3cbd19cde3cd591edb846b74ca
2017-08-09 15:23:19 +01:00
Dan Banner 7b9493ce4d Bug 1379256 - fix no-undef issues for toolkit/components/osfile. r=mossop
MozReview-Commit-ID: B0vImMrMGF6

--HG--
extra : rebase_source : c6b029c70781bae9cd18a83afa3225fc5155da54
2017-08-09 14:42:27 +01:00
Dan Banner 0cd53eb3ff Bug 1379256 - Enable more ESLint rules for toolkit/components/osfile (automatic fixes). r=mossop
MozReview-Commit-ID: EBIwfqkaSnD

--HG--
extra : rebase_source : c2fcb7e2bbc8bae4ce28035ccb6a063ea5d31372
2017-08-09 14:21:27 +01:00
Jan Odvarko 8faabe1167 Bug 1385791 - Fix tests; r=nchevobbe
MozReview-Commit-ID: LFKwQHj1pIk

--HG--
extra : rebase_source : 9dac5a4433d2987d83ea861afaf544fd3c69efb4
2017-08-11 17:10:55 +02:00
Jan Odvarko 95b942c905 Bug 1385791 - Fix message filtering; r=nchevobbe
MozReview-Commit-ID: 4iPLGUor0Pu

--HG--
extra : rebase_source : cbdb2894c4bc67be74bb6c58501662bb18539e37
2017-08-11 17:10:54 +02:00
Jan Odvarko 67606b8331 Bug 1385791 - New stubs for tests; r=nchevobbe
MozReview-Commit-ID: JoD9ej6689V

--HG--
extra : rebase_source : a08d0768bb6c8be008f6fb9984d5047afdd2ec4a
2017-08-11 17:10:54 +02:00
Jan Odvarko 23ad6c533b Bug 1385791 - Babel support for async func; r=nchevobbe
MozReview-Commit-ID: LTgs0iPG2j0

--HG--
extra : rebase_source : 103ae7c79578a75e42bab0e5614dca8839dd8b15
2017-08-11 17:10:54 +02:00
Bobby Holley 9b328f9688 Bug 1384741 - Followup bustage fix. r=me
MozReview-Commit-ID: Gg0nDtiEamC
2017-08-11 22:36:38 -07:00
Ryan Hunt 3e8077123f Bug 1387551 - Handle "general.smoothScroll" with async keyboard scrolling. r=kats
This commit modifies AsyncPanZoomController to scroll immediately for any keyboard
scrolls when the pref, "general.smoothScroll" is disabled.

MozReview-Commit-ID: 3lfRMOCC7er

--HG--
extra : source : 9e9480d318f92811828756267c4b4fb7ea2fcf1b
2017-08-08 14:53:04 -05:00
Ryan Hunt 8013236c20 Bug 1388466 - Sync focus sequence numbers when the compositor is reset. r=kats
When a compositor is recreated, either from a driver reset or a GPU process crash, the
focus sequence number in content persists, and when APZ is recreated, content will have
a higher sequence number.

There are two ways of handling this: either resetting all of content's focus sequence
numbers to zero to match the new focus state, or updating the new focus state to the
latest sequence number in content.

This commit does the latter by detecting when the focus state was newly created and
syncing it's sequence number to content if content is ahead.

MozReview-Commit-ID: GkIp7AWyaFw

--HG--
extra : source : b6339570bbd8576447f128359278868fb6d1d8e7
2017-08-10 15:07:35 -05:00
Sebastian Hengst cd718a6989 Backed out changeset 0aca62e914cf (bug 1376895) for asserting IsSafeToRun(), at dist\include\mozilla/SchedulerGroup.h:81 e.g. in mochitest dom/events/test/test_bug336682_1.html on Windows 10 x64. r=backout 2017-08-11 14:48:27 +02:00
Nicolas B. Pierron 6782cedebf Bug 1388014 part 2 - IonMonkey: Simplify RValueAllocation hash function. r=jandem 2017-08-11 12:26:05 +00:00
Nicolas B. Pierron b046293a88 Bug 1388014 part 1 - IonMonkey: Devirtualize MResumePoint::getOperand function calls. r=jandem 2017-08-11 12:26:05 +00:00
Gabor Krizsanits 272b1a18ac Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-11 12:44:11 +02:00
Michal Novotny 5d80c6450d Bug 1369051 - Assertion failure: !entry || !entry->IsFresh() in CacheIndex::UpdateIndex, r=honzab 2017-08-11 12:30:59 +02:00