Commit Graph

77726 Commits

Author SHA1 Message Date
Doug Thayer
9335edc840 Bug 1388134 - Move some OS.Constants.Path members to lazy init r=baku
These calls to GetPathToSpecialDir are performing some unnecessary IO
during early startup which we'd like to defer. Simply adding the
required ones to the list in osfile_async_front.jsm should mostly get
us there.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 16:54:31 +00:00
Noemi Erli
c7575056e0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-01 19:28:34 +03:00
Noemi Erli
582ba2e5f9 Merge inbound to mozilla-central. a=merge 2018-10-01 19:21:25 +03:00
Jan-Ivar Bruaroey
69468683c7 Bug 1494498 - Some constraints were missing in MediaManager logs. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D7153

--HG--
extra : moz-landing-system : lando
2018-10-01 14:34:33 +00:00
arthur.iakab
b5ec6b9d2b Backed out changeset 6daf4f561843 (bug 1495303)for failing web-platform tests on /payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html 2018-10-01 14:51:26 +03:00
arthur.iakab
e9fe8be654 Backed out changeset a653a439a39b (bug 1483905)for build bustages on webauthn/WebAuthnTransactionChild.cpp:35 CLOSED TREE 2018-10-01 14:11:57 +03:00
Dana Keeler
6012e76803 Bug 1483905 - Ensure the WebAuthnManager stays alive while WebAuthnTransactionChild is using it. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D5305
2018-10-01 06:58:34 -04:00
Edgar Chen
1b2661ee75 Bug 1494978 - Use LookupOrAdd to simplify hashtable lookup in mouse event coalescence; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D7179

--HG--
extra : moz-landing-system : lando
2018-10-01 09:55:42 +00:00
Alexander Surkov
bdd3f4e880 Bug 1494230 - replace #text-base binding by webidl control, r=smaug 2018-10-01 11:37:39 +08:00
sotaro
f28d78646a Bug 1491798- Schedule repaint if WebRender is updated by tab move r=mattwoodrow 2018-10-01 10:12:22 +09:00
Andrea Marchesini
f48b6e8ca4 Bug 1495303 - FeaturePolicy: payment, r=marcosc 2018-10-01 11:59:57 +02:00
Andrea Marchesini
999343a4f0 Bug 1390801 - FeaturePolicy - part 3 - Enabling WPTs, r=ckerschb 2018-10-01 08:09:44 +02:00
Andrea Marchesini
4be054a731 Bug 1390801 - FeaturePolicy - part 2 - WebIDL + DOM integration, r=ckerschb 2018-10-01 08:09:44 +02:00
Andrea Marchesini
4729f26e6e Bug 1390801 - FeaturePolicy - part 1 - HTTP header and attribute parser, r=ckerschb 2018-10-01 08:09:43 +02:00
Chris Peterson
d1f1022588 Bug 1336712 - dom: Remove performance.now() test checks for Windows XP. r=bzbarsky
Firefox no longer supports Windows XP, so these test checks that allow for timeouts with 25 ms resolution can be removed. Also, rewrite some test logic and comments to make the test's intention clearer.

The 'getOSCPU' message handler can be removed from test_worker_performance_now.html because test_worker_performance_now.js no longer needs to check for Windows XP.

Stop setting the pref "privacy.reduceTimerPrecision" = false in test_performance_now.html. That pref removes performance.now()'s 1 ms resolution limit so the performance timer will run at full speed. By leaving the pref's default value, the test can assert that performance.now() is actually honoring the 1 ms limit.

I didn't remove "privacy.reduceTimerPrecision" = false for the worker test. The worker tests run an accelerated setTimeout() clock, so setTimeout(1) can time out in less than 1 ms. Leaving the pref "privacy.reduceTimerPrecision" = true causes hundreds of worker tests to run more slowly (in real time), which would increase test automation time.

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

--HG--
extra : rebase_source : 371d474e556c6f2297286ec1e1f168168aeba0e6
extra : source : d9585d71e99f687b2e5c244d524ccf70096c96a4
2018-09-13 23:39:41 -07:00
Bogdan Tara
2bc8e53eb9 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-30 01:00:16 +03:00
Dorel Luca
1f07a9a776 Merge mozilla-central to autoland 2018-09-29 13:00:46 +03:00
arthur.iakab
85fd583cf2 Merge mozilla-central to autoland 2018-09-29 07:17:34 +03:00
arthur.iakab
6d5ae40a02 Merge inbound to mozilla-central a=merge 2018-09-29 07:16:35 +03:00
Noemi Erli
9138a13ebc Backed out 3 changesets (bug 1487797) for failures in builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/StateMirroring.h
Backed out changeset 74ade0131f9f (bug 1487797)
Backed out changeset 38cba148ab07 (bug 1487797)
Backed out changeset 5dcf18a41fc2 (bug 1487797)
2018-09-29 04:45:08 +03:00
Gurzau Raul
c961dacac0 Backed out changeset 8152c0b1017c (bug 1487463) for bustages at dom/bindings/StructuredCloneTesterBinding.cpp on a CLOSED TREE 2018-09-29 03:52:10 +03:00
Tomislav Jovanovic
7cb46fea7c Bug 1484980 - Add selective canvas tainting for content scripts r=bzbarsky
Reviewers: bzbarsky

Bug #: 1484980

Differential Revision: https://phabricator.services.mozilla.com/D6999
2018-09-26 20:29:36 +02:00
Chun-Min Chang
26daae07c7 Bug 1487797 - Part 2: Make sure the time of audio data are monotonically increasing r=jya
Depends on D6425

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

--HG--
extra : moz-landing-system : lando
2018-09-24 18:05:31 +00:00
Chun-Min Chang
ed8b8bf20c Bug 1487797 - Part 1: Set end-time, instead of start-time, to the last-audio-end-time in ReaderProxy r=jya
Differential Revision: https://phabricator.services.mozilla.com/D6425

--HG--
extra : moz-landing-system : lando
2018-09-27 17:48:12 +00:00
Karl Tomlinson
504add51d9 Bug 1492014 replace WorkletLoadInfo::mDumpEnabled with StaticPrefs r=baku
Depends on D6382

Differential Revision: https://phabricator.services.mozilla.com/D6383
2018-09-24 17:19:09 +00:00
Karl Tomlinson
994a8aaf0b Bug 1492014 test Console::mInnerID instead of mGlobal when needing a window id r=baku
No behavior change intended.

Differential Revision: https://phabricator.services.mozilla.com/D6382
2018-09-24 17:19:14 +00:00
Jan-Ivar Bruaroey
09ed84ec91 Bug 1494806 - Fixed exact string constraints w/arrays, e.g. {deviceId: {exact:['id']}}, were treated as ideal. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D7144

--HG--
extra : moz-landing-system : lando
2018-09-28 11:29:12 +00:00
Imanol Fernandez
22cdf4b044 Bug 1492554 - Make not composited WebGL canvas work with WebVR r=kip,jgilbert
WebGL canvases not composited (e.g. not added to the DOM) don't work in WebVR. WebGLContext::InitializeCanvasRenderer is only called when 2D compositor renders a WebGL canvas for the first time. I tried to mimic what InitializeCanvasRenderer does internally as a workaround.

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

--HG--
extra : moz-landing-system : lando
2018-09-28 19:25:21 +00:00
Tiberius Oros
7c6081880d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-28 18:40:59 +03:00
Andrew McCreight
2fb1f43e47 Bug 1491122 - Fix GetCCParticipant comment r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D5889

--HG--
extra : moz-landing-system : lando
2018-09-28 09:28:02 +00:00
Jonathan Kingston
33b8e3a7b3 Bug 1493956 - Pass an explicit triggeringPrincipal in nsFrameLoader. r=ckerschb,nika
Differential Revision: https://phabricator.services.mozilla.com/D6773

--HG--
extra : moz-landing-system : lando
2018-09-28 14:00:13 +00:00
Ciure Andrei
819cd31a93 Merge inbound to mozilla-central. a=merge 2018-09-28 11:53:32 +03:00
Xidorn Quan
48a77c4938 Bug 1306696 part 4 - Add test for this bug. r=smaug
MozReview-Commit-ID: 1Pzt6DPif00

--HG--
extra : source : 8e4d810704a278ea8130d8dc3c38c3173ca92a55
2018-09-28 14:28:54 +10:00
Coroiu Cristina
0ae7e1ad7b Merge inbound to mozilla-central a=merge 2018-09-28 07:33:05 +03:00
Coroiu Cristina
8f256026f1 Merge mozilla-central to autoland a=merge ona CLOSED TREE 2018-09-28 00:41:04 +03:00
Coroiu Cristina
71988c7b7e Merge inbound to mozilla-central a=merge 2018-09-28 00:36:46 +03:00
Gurzau Raul
a8d8876e9e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 19:45:35 +03:00
Andrew McCreight
5a1eb609f9 Bug 1493276 - Statically prevent CallQueryInterface to a base class r=froydnj
If a class A is derived from a class B, then an instance of A can be
converted to an instance of class B via a static cast, so QI is not
needed. QIs are slower than static casts.

TestCallTemplates seems to be testing that CallQueryInterface compiles
even if the first argument's class is only ambiguously castable to
nsISupports, so I changed the second argument to be a class unrelated
to the concrete class.

I also removed some useless null checks on the return value of new.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:59:55 +00:00
Coroiu Cristina
47c0bc6c06 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-09-28 00:42:47 +03:00
Jan Varga
c30332cd26 Bug 1493908 - Part 2: Add a test to verify that persisted origins are not constrained by the group limit; r=asuth 2018-09-27 23:25:43 +02:00
Jan Varga
8fd43abb04 Bug 1493908 - Part 1: Add support for using async functions in tests; r=asuth 2018-09-27 23:25:16 +02:00
Jonathan Kew
f72a100c9b Bug 1473314 - Make nsRange::GetUsedFontFaces accumulate font faces in the order they are encountered in the document. r=xidorn 2018-09-27 11:33:25 +01:00
Andrea Marchesini
1b26aadbdb Bug 1259908 - Fix intermittent failure for dom/security/test/mixedcontentblocker/test_main.html, r=ckerschb 2018-09-28 12:00:46 +02:00
Marcos Cáceres
ce4c75065c Bug 1489968 - Implement BasicCardErrors for PaymentRequest. r=edenchuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D6378

--HG--
extra : moz-landing-system : lando
2018-09-27 08:03:14 +00:00
shindli
3f30a21a41 Merge inbound to mozilla-central. a=merge 2018-09-27 06:13:50 +03:00
shindli
00d32b55f3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 00:56:23 +03:00
shindli
a8d55dae12 Merge inbound to mozilla-central. a=merge 2018-09-27 00:52:12 +03:00
Bryce Van Dyk
bd574c6ad6 Bug 1494178 - Attempt to instantiate CDM10 before CDM9. r=cpearce
Depends on D6873

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

--HG--
extra : moz-landing-system : lando
2018-09-26 16:34:34 +00:00
Bryce Van Dyk
ed15735d73 Bug 1494178 - Add check to ChromiumCDMChild to mark samples with 0 encrypted bytes as unencrypted. r=cpearce
With the addition of an explicit encryption enum for CDM10 input data, if a
sample has 0 encrypted bytes it must be marked as unencrypted. Historically we
could let the CDM figure out based on the unencrypted + encrypted bytes.
However, if we mark a sample as encrypted but it has 0 encrypted bytes, the CDM
will fail to decrypt.

This changeset adds a check to gracefully handle samples that are marked as
encrypted but with no encrypted ranges. In such cases we mark the data as
unencrypted and log that such data was encountered. This means we don't break
playback of encrypted media should we overlook such cases, but have better
detection via logging.

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

--HG--
extra : moz-landing-system : lando
2018-09-26 16:34:32 +00:00
Gijs Kruitbosch
76afb51661 Bug 1493655 - make nsISecureBrowserUI initialize from a docshell instead of a window, r=keeler,nika
This also removes the (afaict, unused) stub implementation from TabParent. The netwerk header
inclusions were necessary because those files included TabParent.h and through it,
nsISecureBrowserUI, but now TabParent.h no longer does that.

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

--HG--
extra : moz-landing-system : lando
2018-09-26 17:48:38 +00:00