Commit Graph

615456 Commits

Author SHA1 Message Date
k88hudson
bc97d29254 Bug 1492174 - Update CFR Messages to reflect planned cohorts r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D6414

--HG--
extra : moz-landing-system : lando
2018-09-20 21:09:17 +00:00
Dana Keeler
109a4a35aa bug 1492424 - check if the TLS handshake failed in nsSecureBrowserUIImpl r=Gijs
The site identity security indicator machinery treats connections where the TLS
handshake failed as insecure (also referred to as "unknown identity"). Before
bug 1468222, such cases were easily detectable as the SSLStatus field of the
relevant nsITransportSecurityInfo would be null. When we merged nsISSLStatus
into nsITransportSecurityInfo, we didn't take this differentiation into account.
This patch brings back the prior behavior by checking if the securityInfo's
securityState indicates that the handshake failed (i.e. it is
STATE_IS_INSECURE).

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

--HG--
extra : moz-landing-system : lando
2018-09-20 20:57:38 +00:00
Jeff Muizelaar
982a5601bf Bug 1492615. Improve logging of blob property changes r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6342

--HG--
extra : moz-landing-system : lando
2018-09-20 20:14:23 +00:00
Luca Greco
5f865f59f4 Bug 1491274 - Split content script-only userScripts API from ext-userScripts.js and user_scripts.json. r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D6156

--HG--
rename : toolkit/components/extensions/child/ext-userScripts.js => toolkit/components/extensions/child/ext-userScripts-content.js
rename : toolkit/components/extensions/schemas/user_scripts.json => toolkit/components/extensions/schemas/user_scripts_content.json
extra : moz-landing-system : lando
2018-09-20 17:25:03 +00:00
Luca Greco
28fc8336c0 Bug 1491272 - Lock experimental userScripts API behind a pref and make it enabled by default on Nightly. r=mixedpuppy
Depends on D6146

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

--HG--
extra : moz-landing-system : lando
2018-09-20 17:10:37 +00:00
Luca Greco
792d7cbf1b Bug 1491272 - Require user_scripts manifest property to have access to the userScripts API namespace. r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D6146

--HG--
extra : moz-landing-system : lando
2018-09-20 17:09:11 +00:00
Aaron Klotz
2049502646 Bug 1488627: Part 2 - Use file IDs instead of paths in launcher process parent binary check; r=mhowell
Depends on D6340

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

--HG--
extra : moz-landing-system : lando
2018-09-20 17:28:05 +00:00
Aaron Klotz
ea460b73f7 Bug 1488627: Part 1 - Add FileUniqueId and DoPathsPointToIdenticalFile to WinHeaderOnlyUtils.h; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D6340

--HG--
extra : moz-landing-system : lando
2018-09-20 17:27:22 +00:00
Byron Campen [:bwc]
93985b16c9 Bug 1486012: Rework ICE restart. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D5897

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_restartIceLocalAndRemoteRollback.html => dom/media/tests/mochitest/test_peerConnection_restartIceLocalAndRemoteRollbackNoSubsequentRestart.html
rename : dom/media/tests/mochitest/test_peerConnection_restartIceLocalRollback.html => dom/media/tests/mochitest/test_peerConnection_restartIceLocalRollbackNoSubsequentRestart.html
extra : moz-landing-system : lando
2018-09-20 16:07:51 +00:00
Chris Peterson
b1044c0330 Bug 1336712 - widget: Drop test check for OS X 10.6. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6586

--HG--
extra : source : 9d07ac90374dbfa5a60bd859760bbd86b7cbe557
extra : histedit_source : 281632aefc44053f51f28bc4f35fc72b935ba99e
2018-09-13 21:33:19 -07:00
Chris Peterson
b3b534c0a9 Bug 1336712 - netwerk: Drop test checks for Windows XP. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6584

--HG--
extra : source : 626463257c8b31f577ad657f430b04ab483aa481
extra : histedit_source : bd8606c8235757cb90bef6f2974154cd886dd118
2018-09-13 21:41:24 -07:00
Chris Peterson
b5ad48a759 Bug 1336712 - dom/media: Remove test checks for Android GB (API Level 15). r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6583

--HG--
extra : source : 8d277a0ad4e4314054b30b644c7b972ff74e7744
extra : histedit_source : 51f5fc31952641c4df66a6a1eb2a958d52997e8c
2018-09-15 00:12:47 -07:00
Chris Peterson
611a064090 Bug 1336712 - dom/canvas: Remove test checks for Android ICS (API Level 10). r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6582

--HG--
extra : source : 536600d55374ec3940ea1b5d4da1c1dbebea55e5
extra : histedit_source : a2288cc63bfe8de672682315105860dc61540d58
2018-09-13 23:30:39 -07:00
Chris Peterson
867866d2d3 Bug 1336712 - dom: Drop test checks for OS X 10.5 and Windows XP. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6578

--HG--
extra : source : 682a1bfda27c8e82aea0d86f256d5dee3ff5c2a0
extra : histedit_source : 2e60b58780900e879177542c5e32a27c805e8f67
2018-09-13 23:30:12 -07:00
Chris Peterson
eaa59c7fc4 Bug 1336712 - a11y: Drop test check for OS X 10.6. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6577

--HG--
extra : source : 96447888db56e219bbb44f066b08344f50946f77
extra : histedit_source : 7d1234f2564f00bb594f436c1530d6ba60544412
2018-09-13 21:47:36 -07:00
Bob Clary
0b522a50c1 Bug 1485638 - [mozsystemmonitor] wrap Multiprocessing.Pipe.poll in _collect as well as in SystemResourceMonitor.stop, r=ahal. 2018-09-23 15:08:56 -07:00
Bob Clary
57cca45e9a Bug 1485638 - [mozsystemmonitor] Multiprocessing.Process should always be called with keyword arguments, r=ahal. 2018-09-23 15:08:56 -07:00
Bob Clary
0c8d65eb00 Bug 1492601 - Use MachCommandCondition.is_firefox_or_android, r=ahal. 2018-09-23 15:08:56 -07:00
Bob Clary
60b6e1c8f0 Bug 1492599 - [mozbuild] Add MachCommandCondition.is_firefox_or_android method, r=ahal,froydnj. 2018-09-23 15:08:56 -07:00
Brad Werth
4c777072f0 Bug 1418470 Part 1: Provide a specialized parse_method for mask-image to use CORS. r=emilio!
Differential Revision: https://phabricator.services.mozilla.com/D5714

--HG--
extra : rebase_source : 4584b0f4558708d675980f4c5ad4f010c54d8138
2018-09-12 15:54:24 -07:00
Jeff Muizelaar
c53343f961 Bug 1491590. Make sure that the paint rect is set to the bounds. r=mstange
This prevents us from doing unnecessary drawing because we clip to
the bounds of the item.

Differential Revision: https://phabricator.services.mozilla.com/D6428
2018-09-21 18:53:41 -04:00
Jeff Muizelaar
90fbfc8d8a Bug 1447880. Paint nsDisplayMasks directly instead of using a BasicLayerManager. r=mstange
This allows us to invalidate individual items inside of the mask instead of
treating the mask and it's children as a single item.

Differential Revision: https://phabricator.services.mozilla.com/D6224
2018-09-21 18:50:23 -04:00
Jeff Muizelaar
805679d7c9 Bug 1447880. Add nsDisplayMask::IsValidMask. r=mstange
This pulls out a nsDisplayMask::IsValidMask that can be used by
blob invalidation to ensure that the mask is drawable.

Differential Revision: https://phabricator.services.mozilla.com/D6502
2018-09-21 18:50:15 -04:00
Jeff Muizelaar
f2485f9b16 Bug 1447880. Allow PaintMaskAndClipPath to support different ways of painting its children. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6223
2018-09-21 18:50:08 -04:00
Jeff Muizelaar
e6183a10a0 Bug 1447880. Handle inactive 3d transforms. r=mstange
It isn't possible to trigger this code currently because
the only way to have an inactive 3d transform is with a mask
or filter item and those get handled with a BasicLayerManager.

This becomes necessary once we handle mask items internally.

Differential Revision: https://phabricator.services.mozilla.com/D6222
2018-09-21 18:49:32 -04:00
Bogdan Tara
3e0d3c693c Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-22 01:06:13 +03:00
Bobby Holley
2a7a7feb5f Bug 1492263 - Add more memory reporters. r=gw
Reviewers: gw

Tags: #secure-revision

Bug #: 1492263

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

MozReview-Commit-ID: 7uGxPsbMkaf
2018-09-21 14:59:10 -07:00
Nathan Froyd
0bd6a5e5e4 Bug 1492894 - part 4 - eliminate already_AddRefed variables in dom/; r=mccr8
We need to disallow these to fix our static analysis, which should have
already been disallowing them.
2018-09-21 16:45:49 -04:00
Nathan Froyd
e068edea43 Bug 1492894 - part 3 - eliminate already_AddRefed variables in layout/; r=emilio
We need to disallow these to fix our static analysis, which should have
already been disallowing them.
2018-09-21 16:45:49 -04:00
Nathan Froyd
b500bde65b Bug 1492894 - part 2 - eliminate already_AddRefed variables in netwerk/; r=valentin
We need to disallow these to fix our static analysis, which should have
already been disallowing them.
2018-09-21 16:45:49 -04:00
Nathan Froyd
846d8789ee Bug 1492894 - part 1 - make the node hierarchy consistently constructed with NodeInfo&&; r=mccr8
Various places in dom/ use the pattern:

  already_AddRefed<NodeInfo> ni = ...;

which is supposed to be disallowed by our static analysis code, but
isn't, for whatever reason.  To fix our static analysis code, we need to
eliminate instances of the above pattern.

Unfortunately, eliminating this pattern requires restructuring how Nodes
are created.  Most Node subclasses take `already_AddRefed<NodeInfo>&` in
their constructors, and a few accept `already_AddRefed<NodeInfo>&&`.  We
need to enforce the latter pattern consistently, which requires changing
dozens of source files.
2018-09-21 16:45:49 -04:00
Eitan Isaacson
dc59a7f112 Bug 1489324 - Add 'child-item-count' and 'hierarchical' attributes to collection containers. r=Jamie 2018-09-21 13:02:20 -07:00
Ehsan Akhgari
3994b52a5a Bug 1491937 - Add some promise rejection handlers in browser_blockingWorkers.js to try to debug the intermittent failure 2018-09-21 15:47:13 -04:00
Jeff Muizelaar
52d34517db Bug 1493097. Re-generate FFI header
--HG--
extra : rebase_source : abe143f7864541645763c9fa1afbdf251f223b89
2018-09-21 15:40:34 -04:00
Jeff Muizelaar
24d813756e Bug 1493097. Update Cargo lockfiles and re-vendor rust dependencies
--HG--
extra : rebase_source : 91dcd4aae7262a775c6fc1bc5657fc703dd2cb5b
2018-09-21 15:40:16 -04:00
Jeff Muizelaar
d7b9762836 Bug 1493097. Update webrender to commit 97a3807ea8266c324feb3ecada2ac5fd78c80e9b
--HG--
extra : rebase_source : c01507424aa77d0f21fc25218f10c19309e8b6ba
2018-09-21 15:36:53 -04:00
Henrik Skupin
fccc5a9772 Bug 1405370 - [wdspec] Add test that shift modifier produces capital letters. r=ato
--HG--
extra : rebase_source : 45dd76d6f3a5d2110e5660fa9e4907f426d8058d
2018-09-20 15:40:55 +02:00
Henrik Skupin
6d9aa79832 Bug 1405370 - [wdspec] Reorganize key action tests for "Perform Actions". r=ato
--HG--
extra : rebase_source : 15e7116a327cf614c01d8af4f5d664aa0150b397
2018-09-20 15:39:31 +02:00
Henrik Skupin
b5f0728d7d Bug 1405370 - [marionette] Synthesized key event for "Shift" has to capitalize typable characters. r=ato
The current code only capitalizes the "keyName" and not the
"modifier.key" property. As such the capitalization gets lost,
because in "event.createKeyboardEventDictionary_()" the
"modifier.key" property gets precedence over "keyName".

To not have to capitalize both at this level, it's better to move
this code directly into "event.createKeyboardEventDictionary_()".

This also makes the method "event.sendSingleKey()" useless, so it
can be removed.

--HG--
extra : rebase_source : 44c69c8856a64ed5aa6f0eac35425e6b2a161ef1
2018-09-20 12:24:27 +02:00
Henrik Skupin
27e02b192b Bug 1405370 - [marionette] Remove obsolete extra keypress event firing. r=ato
As already mentioned in the comment above the code it is all
done automatically by "event.synthesizeKey()".

--HG--
extra : rebase_source : 4acf138b68be6c13eac6d42d9c1568beb7ad8866
2018-09-20 12:05:18 +02:00
Henrik Skupin
17aaf95a98 Bug 1405370 - [marionette] Add missing keys to virtual keyboard lookup table. r=ato
Until now we only supported the internal Unicode to virtual
key mapping at the standard and left location of the keyboard.
This patch adds all the remaining special keys which are
located at the right side and in the numpad area.

This mapping table is somewhat equivalent to the normalized
key translation, but is using the "VK_" prefix.

--HG--
extra : rebase_source : 69030a613fc33e6e3b87eabc44281981c84ee0d7
2018-09-20 11:34:19 +02:00
Henrik Skupin
cb806aa652 Bug 1405370 - [marionette] Remove unused methods in event.js.
--HG--
extra : rebase_source : 86bea9754872c7959a7db9a452d2c7510a8c3ba8
2018-09-18 15:19:39 +02:00
Henrik Skupin
c1af84a166 Bug 1405370 - [marionette] Avoid usage of "window" for function arguments.
To avoid confusion with the global "window" object we should
avoid using this name as function argument.

Changes for driver.js are left-out and will be done by the
patch on bug 1311041.

--HG--
extra : rebase_source : f15714af3a422476923d096eb8cb837ae474c675
2018-09-18 14:51:21 +02:00
Henrik Skupin
f9d7fb935a Bug 1405370 - [marionette] Global "window" object is not available in Javascript modules.
The global "window" object is mostly a left-over from the copy
of event.js from EventUtils.js, which was included as subscript.
But for Javascript modules, and frame scripts it is not available.

--HG--
extra : rebase_source : 56744e1483f03102c3b930b380db19f0d783ea4e
2018-09-18 14:21:40 +02:00
Ehsan Akhgari
f62ff8f898 Bug 1493148 - Backout changeset 7a1ee0e4b6d7 (bug 1491061 part 3) 2018-09-21 15:25:16 -04:00
Thomas P.
dae33d978b Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Jed Davis
f2f934dc7e Bug 1400051 - IPC: use process_util_linux on BSD and remove process_util_bsd. r=glandium
This change is mainly to avoid the use of SetAllFDsToCloseOnExec, which
has an unavoidable race condition that can leak file descriptors into
child processes.  The "Linux" implementation of child process creation,
now that B2G support has been removed, is essentially a generic Unix
fork+dup2+execve which works on BSD (and is already used on Solaris).
2018-09-20 19:53:31 -06:00
Dimi Lee
08b5cd489f Bug 1479898 - P3. Increase the application reputation remote lookup timeout to 15sec. r=francois
3% download protection remote lookup failures are from timeout.
Increase the timeout from 10sec to 15sec to see if this help.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 18:28:35 +00:00
Dimi Lee
d81ea01968 Bug 1479898 - P2. Add telemetry to know the response time of download protection remote lookup. r=francois
Telemetry::APPLICATION_REPUTATION_REMOTE_LOOKUP_RESPONSE_TIME can be
used to give us an idea how could we adjust the timeout accordingly.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 14:04:31 +00:00
Dimi Lee
e96ff9fea9 Bug 1479898 - P1. Only set false to APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT when it is not timeout. r=francois
Right now no matter it is timeout or not, we will always add the counter
to the false case of APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT.
We should only set the counter(false) when it is not timeout.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 00:18:12 +00:00