Commit Graph

613028 Commits

Author SHA1 Message Date
Aaron Klotz
6ba5f572f3 Bug 1489317: Part 2 - Improvements to mscom::AgileReference; r=froydnj
This patch adds the definitions of the RefPtr constructor and operator=.
It also refactors some stuff in AgileReference to make these objects easier
to use. Since it's just a bunch of C++ goop, I figured that you'd be fine to
review this. Let me know if you want to add a reviewer who is more familiar
with the COM nuances.

Depends on D5317

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

--HG--
extra : moz-landing-system : lando
2018-09-10 20:03:10 +00:00
Aaron Klotz
d8aecf7193 Bug 1489317: Part 1 - Add forward delcaration for mscom::AgileReference to RefPtr; r=froydnj
I'd like to add a constructor and operator= to RefPtr for mscom::AgileReference.
This patch is simply the forward declarations to allow for that.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 20:02:39 +00:00
Mike Conley
4f332dbd04 Bug 1488948 - Extend BUSY_TAB_ABANDONED probe until at least 68. data-review=chutten,r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D5455

--HG--
extra : moz-landing-system : lando
2018-09-10 19:12:11 +00:00
Jan-Ivar Bruaroey
c65e5bbe7b Bug 1489623 - Throw SyntaxError on empty urls in iceServers and switch to real SyntaxError over DOMException, + update WPT. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D5452

--HG--
extra : moz-landing-system : lando
2018-09-10 19:23:15 +00:00
Brad Werth
ab814002d3 Bug 1414597 Part 2: Add a test that nodes in XUL documents can be inspected, including after reload. r=jdescottes
Depends on D4495

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

--HG--
extra : moz-landing-system : lando
2018-09-10 19:16:13 +00:00
Brad Werth
f6fd1a0004 Bug 1414597: Fix devtools inspector load events to correctly listen to XUL documents. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D4495

--HG--
extra : moz-landing-system : lando
2018-09-10 19:20:01 +00:00
Chris Manchester
e7c71ddca8 Bug 1487505 - Prompt user to run tup init in an appropriate location when building an objdir outside of the srcdir in tup. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D4808

--HG--
extra : moz-landing-system : lando
2018-09-10 18:40:42 +00:00
Jared Wein
ee03acf81a Bug 1489629 - Adjust the size of the error images, sizing and position of text, and add footer branding to the error pages. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5320

--HG--
extra : moz-landing-system : lando
2018-09-10 18:16:55 +00:00
Daniel Holbert
b93eae7de2 Bug 1486086: Switch to use logical axes, for stale physical-axis-based flex-item border/padding calculation. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D4974

--HG--
extra : moz-landing-system : lando
2018-09-10 17:40:41 +00:00
Kirk Steuber
e3df1a80e2 Bug 1489607 - Make nsXREDirProvider::GetInstallHash consistent with the NSIS CityHash plugin r=mossop
I would like to migrate the update directory to use a version of the hash consistent with what our installer generates as part of the work already being done to migrate the update directory (Bug 1458314).

This patch is a bit of a shim to ensure that no one uses the newly-exposed nsXREDirProvider::GetInstallHash to get the *old* value before Bug 1458314 lands. This way new callers will get a value that is stable, but also consistent with the hash generated by the installer.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 17:35:23 +00:00
Brendan Dahl
2709c0bf92 Bug 1489612 - Fix XUL tooltips in HTML documents. r=smaug
A XUL element within an HTML document should still follow the normal code
path for finding the tooltip element instead of always using the default
tooltip.

MozReview-Commit-ID: IBAmk1m4Zp0

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

--HG--
extra : moz-landing-system : lando
2018-09-08 23:16:32 +00:00
Daniel Varga
4aa1c9c202 Merge mozilla-central to autoland 2018-09-10 19:18:03 +03:00
Daniel Varga
9e7995b3c3 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-10 19:14:55 +03:00
Johann Hofmann
bf36bd3839 Bug 1438402 - Fix intermittent browser_csp_block_all_mixedcontent.js. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D5406

--HG--
extra : moz-landing-system : lando
2018-09-10 13:53:19 +00:00
Daniel Varga
2ddac974c2 Backed out changeset c80bc4f44b7f (bug 1489996) for bc failures in browser/extensions/pdfjs/test/browser_pdfjs_main.js 2018-09-10 16:43:52 +03:00
Margareta Eliza Balazs
32c9003295 Backed out changeset f8a7ea258709 (bug 1479421) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/netmonitor/test/browser_net_json-long.js CLOSED TREE 2018-09-10 16:09:16 +03:00
Ryan VanderMeulen
9368462357 Bug 1489996 - Update pdf.js to version 2.0.841. r=bdahl 2018-09-10 09:02:45 -04:00
ffxbld
61242498b1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D5411

--HG--
extra : moz-landing-system : lando
2018-09-10 12:53:41 +00:00
Ehsan Akhgari
9fcc4e5b9a Bug 1489812 - Part 2: Remove @mozilla.org/editor-utils;1; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D5374
2018-09-10 08:42:27 -04:00
Ehsan Akhgari
d19f79f590 Bug 1489812 - Part 1: Port nsIEditorUtils.slurpBlob() to C++; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D5373
2018-09-10 08:42:26 -04:00
Marcos Cáceres
ef9e5ae876 Bug 1487295 - Add defaults to PaymentMethodChangeEventInit's members. r=baku
--HG--
extra : rebase_source : d5f1590effbec2085672aa4a1552cbb798b4530b
2018-09-10 04:44:00 +03:00
Ehsan Akhgari
7a9998cefe Bug 1489787 - Part 3: Decomtaminate nsComposeTxtSrvFilter; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D5355
2018-09-10 08:15:00 -04:00
Ehsan Akhgari
72c28b2f81 Bug 1489787 - Part 2: Remove the XPCOM component registration for nsComposeTxtSrvFilter; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D5354
2018-09-10 08:15:00 -04:00
Ehsan Akhgari
d212ff2809 Bug 1489787 - Part 1: Remove nsITextServicesFilter and replace nsIEditorSpellCheck.setFilter() with nsIEditorSpellCheck.setFilterType(); r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D5353
2018-09-10 08:14:59 -04:00
Anushi Maheshwari
4baf931da4 Bug 1473603 - Changed "Version History" sections in Data Documentation into secondary-level headings. r=janerik
Signed-off-by: Anushi Maheshwari <anushimaheshwari95@gmail.com>

--HG--
extra : rebase_source : 70593c8397ac2f020a5126082d5872527c756426
2018-09-10 11:42:18 +05:30
James Graham
9851ac101a Bug 1489457 - Restart after another test that's leaking state, a=testonly 2018-09-10 13:11:25 +01:00
Randell Jesup
8a5b70c6c2 Bug 1418545: Don't fire OnDataAvailable for 0 bytes r=mayhemer 2018-09-10 08:03:12 -04:00
Ehsan Akhgari
645a5d3db1 Bug 1489916 - Remove the XPCOM component registration for nsHttpChannelAuthProvider; r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D5390
2018-09-10 08:01:37 -04:00
Ehsan Akhgari
2dc43a81ad Bug 1489915 - Remove the XPCOM component registration for nsFileStream; r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D5389
2018-09-10 08:00:44 -04:00
Ehsan Akhgari
38e3c284c9 Bug 1488659 - Part 2: Remove some dead code and mark the remaining detector classes as final; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5393
2018-09-10 07:59:42 -04:00
Ehsan Akhgari
15fb2860c4 Bug 1488659 - Part 1: Remove the XPCOM registrations for character detector classes; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5392
2018-09-10 07:59:42 -04:00
James Graham
713ce33a4a Bug 1489457 - Restart after test that's leaking state, a=testonly 2018-09-10 12:10:04 +01:00
moz-wptsync-bot
1b353d329f Bug 1489457 - [wpt-sync] Update web-platform-tests to 72ae98cf6f848616cba248590a8c4ef092ae7dfc, a=testonly
wpt-head: 72ae98cf6f848616cba248590a8c4ef092ae7dfc
wpt-type: landing
2018-09-10 10:12:20 +00:00
moz-wptsync-bot
42e1a55479 Bug 1488415 [wpt PR 12825] - Update wpt metadata, a=testonly
wpt-pr: 12825
wpt-type: metadata
2018-09-10 10:12:19 +00:00
Maja Kabus
0ea2261a81 Bug 1488415 [wpt PR 12825] - Idlharness.js tests added for Trusted Types API, a=testonly
Automatic update from web-platform-testsIdlharness.js tests added for Trusted Types API

Added Idlharness tests for Trusted Types interfaces.
Removed "Worker" from "Exposed=(...)" in TrustedXXX .idl files.

Bug: 739170
Change-Id: Id8834affcdded63f3ebb9ebd4d288cfd01ef24a8
Reviewed-on: https://chromium-review.googlesource.com/1204150
Commit-Queue: Maja Kabus <kabusm@google.com>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589146}

--

wpt-commits: 72ae98cf6f848616cba248590a8c4ef092ae7dfc
wpt-pr: 12825
2018-09-10 10:12:19 +00:00
moz-wptsync-bot
92d45b9e0a Bug 1488714 [wpt PR 12847] - Update wpt metadata, a=testonly
wpt-pr: 12847
wpt-type: metadata
2018-09-10 10:12:18 +00:00
Florian Rivoal
d358564491 Bug 1488714 [wpt PR 12847] - [css-contain] Containment and stacking contexts for inline elements, a=testonly
Automatic update from web-platform-testsMerge pull request #12847 from mrego/css-contain-stacking-context

[css-contain] Containment and stacking contexts for inline elements
--

wpt-commits: 7d0d45d65796520f94eda3d4de3986b84e7173ab
wpt-pr: 12847
2018-09-10 10:12:18 +00:00
Florian Rivoal
9019b16609 Bug 1488354 [wpt PR 12823] - Revert "[css-contain] Add support file in local directory", a=testonly
Automatic update from web-platform-testsMerge pull request #12823 from web-platform-tests/revert-12492-contain-support

Revert "[css-contain] Add support file in local directory"
--

wpt-commits: e54519b77a611d45d8f495a3344eca6a840d6fd3
wpt-pr: 12823
2018-09-10 10:12:17 +00:00
Blink WPT Bot
8eae4f37cf Bug 1488707 [wpt PR 12846] - PaymentRequest: Implement PaymentResponse.payerdetailchange event, a=testonly
Automatic update from web-platform-testsPaymentRequest: Implement PaymentResponse.payerdetailchange event (#12846)

The event handler is triggered when the user changes payer information
such as payer name, payer email, or payer phone in the user interface.

Related spec change:
  https://github.com/w3c/payment-request/pull/724

Test:
  payment-request/payment-response/onpayerdetailchange-attribute.https.html
  payment-request/payment-response/onpayerdetailchange-attribute.manual.https.html

Bug: 861704
Change-Id: Ia5d63f53874abd7c76014bf35379a71a0eead622
--

wpt-commits: 3c6c9350988f98c8fac94fab8174bc4729cd6755
wpt-pr: 12846
2018-09-10 10:12:16 +00:00
Florian Rivoal
a0085cbc48 Bug 1489030 [wpt PR 12866] - [css-contain] grid and multicol properties contribute to size, a=testonly
Automatic update from web-platform-testsMerge pull request #12866 from frivoal/contain-size-grid-multicol

[css-contain] grid and multicol properties contribute to size
--

wpt-commits: 7c89c784f97298dde867a8648c5172ffc17367ad
wpt-pr: 12866
2018-09-10 10:12:15 +00:00
jugglinmike
5ebe2f5c98 Bug 1488592 [wpt PR 12835] - [cookies] Correct utility function and tests, a=testonly
Automatic update from web-platform-tests[cookies] Correct utility function and tests (#12835)

* [cookies] Fail on exceptional circumstance

Some tests which use the `credFetch` utility include assertions only for
the absence of cookies. Because `fetch` does not reject the returned
promise for valid HTTP responses outside of the 2XX range, these tests
could be satisfied by querying non-existent URLs. This is not an issue
in any existing tests, but it has the potential to hide problems in
future patches.

Update the `credFetch` function to report unsuccessful requests as
failures.

* [cookies] Correct utility function and tests

The `cookie-helper.sub.js` utility script includes
`set_prefixed_cookie_via_http_test`, a function that defines sub-tests
using the `promise_test` API. Previously, it included the following
code:

    promise_test(t => {
      var postDelete = _ => {
        // (elided)
      };

      if (!options.origin) {
        return postDelete;
      } else {
        // (elided)
      }
    });

The `promise_test` function does not recognize return values which are
functions, so returning the `postDelete` method had no effect, and as a
result, the generated tests performed zero assertions. Because none of
the consumers of `set_prefixed_cookie_via_http_test` specified a value
for the `origin` option, all invocations were effected by this bug.

Correcting the problem surfaced a number of errors in the tests. In the
interest of atomicity, this patch attempts to address them all:

- The logic intended to defensively remove cookies prior to testing was
  implemented using `document.cookie`. Because some tests create cookies
  which include the `HttpOnly` attribute, the DOM API cannot remove
  cookies in all cases. This patch refactors the solution to remove
  such cookies via an HTTP request. It also assumes the environment is
  initially clean and instead expresses the concern via an asynchronous
  "cleanup" function. (This change necessitated an extension to the
  `set.py` script so that it could be used to expire cookies.)
- The test name `__secure.header.html` incorrectly asserted that a
  cookie set with the `Secure` attribute could be observed in a
  non-secure context. This patch corrects the expectation.
- The test named `__secure.header.https.html` incorrectly asserted that
  a cookie set with a foreign `Origin` attribute could be observed from
  the current origin. This patch corrects the expectation.

--

wpt-commits: 88d4f4cc118320c4e02003ffc1ba2c5ee81b1753
wpt-pr: 12835
2018-09-10 10:12:14 +00:00
moz-wptsync-bot
dff9778f3b Bug 1488905 [wpt PR 12855] - Update wpt metadata, a=testonly
wpt-pr: 12855
wpt-type: metadata
2018-09-10 10:12:14 +00:00
Ian Kilpatrick
0ac435fed3 Bug 1488905 [wpt PR 12855] - [LayoutNG] Add LayoutBox::PercentageResolutionLogicalHeight., a=testonly
Automatic update from web-platform-tests[LayoutNG] Add LayoutBox::PercentageResolutionLogicalHeight.

This function allows LayoutNG to correctly query the percentage
resolution block_size in quirks mode. (see test case for an example of
where this happened).

We call this as we are crossing a legacy->LayoutNG boundary while
creating the constraint space from a LayoutObject.

The function will also be used in the CSS Layout API to provide the
correct percentage resolution size.

Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: I295145996f2460de1b25f85ff3784df6d6edbd30
Reviewed-on: https://chromium-review.googlesource.com/1194072
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589074}

--

wpt-commits: a806d658df3bcc3f05675ad8d08a6e109177c6b0
wpt-pr: 12855
2018-09-10 10:12:13 +00:00
moz-wptsync-bot
497f8bab64 Bug 1488630 [wpt PR 12837] - Fix cases where setValueCurveAtTime was not throwing errors, a=testonly
Automatic update from web-platform-testsFix cases where setValueCurveAtTime was not throwing errors

Catch more cases where we should throw errors if a new
setValueCurveAtTime overlaps an existing setValueCurveAtTime event.

Add some additional tests for more coverage.  Also, some of the
existing tests were using incorrect expected error types so fix them.

Remove test expectations file since we pass now.

Bug: 879767
Test: the-audioparam-interface/audioparam-setValueCurve-exceptions.html
Change-Id: I14a7a7c9ab36955b7e084ca9148495860b661111
Reviewed-on: https://chromium-review.googlesource.com/1205719
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589059}

--

wpt-commits: 9f63e45e03bb836556466ba43082c4a1c464b14e
wpt-pr: 12837
2018-09-10 10:12:13 +00:00
moz-wptsync-bot
38013d478a Bug 1488586 [wpt PR 12834] - Update wpt metadata, a=testonly
wpt-pr: 12834
wpt-type: metadata
2018-09-10 10:12:12 +00:00
Raymond Toy
c33b50ec25 Bug 1488586 [wpt PR 12834] - Throw errors for invalid rolloffFactor and coneOuterGain, a=testonly
Automatic update from web-platform-testsThrow errors for invalid rolloffFactor and coneOuterGain

The WebAudio spec says we must throw errors for a negative
rolloffFactor and for a coneOuterGain outside the interval [0,
1]. Make it so.

Also add some additional tests to ctor-panner.html to verify that a
rolloffFactor of 0 or 100 do not throw errors and that a
coneOuterGain of 0 or 1 do not throw errors.

Remove invalid tests from panner-rolloff-clamping.html because
negative rolloffFactor now throws an error.

Finally remove text expectation for ctor-panner.html test, which
passes now.

Bug: 879845
Test: the-pannernode-interface/ctor-panner.html, the-pannernode-interface/panner-rolloff-clamping.html
Change-Id: Ie90e9fe13e82fd3cc955060dc9e77266ef4ff591
Reviewed-on: https://chromium-review.googlesource.com/1205099
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589045}

--

wpt-commits: 7b9c733915fab4723a453e03d692f9c396a8c6fb
wpt-pr: 12834
2018-09-10 10:12:12 +00:00
Simon Pieters
00eaeeafb7 Bug 1469616 [wpt PR 11570] - [wptrunner] Reject tests that almost time out in stability check, a=testonly
Automatic update from web-platform-tests[wptrunner] Reject tests that almost time out

In stability check (wpt run --verify), reject tests that almost time
out, i.e. take more than 80% of the timeout allowed to run). These tests
will be listed in a new section, "slow tests", in the output.

Fixes #9972.

--
Take timeout_multiplier into account

--
Longest duration for each status of each test

Previously we record the longest duration of all tests. However, each
test can have different timeout. Besides, test runs with different
results should be considered differently; runs that time out should be
ignored.

Therefore, we now keep track of the longest duration for each result
status of each test.

Also add a unit test.

--
Fix ci/check_stability.py

--

wpt-commits: 20f4a6dcec93d3ea65a8dd5c3b3a3dbe30476ae6, 0ccdf9b766875ae82000aa88c6c011c6cbd08430, 5a540d04ef8d14f77e0afa9f139788a45c7a65d3, 69717e2cdc71420593c3eedf6d370cb397b5b621
wpt-pr: 11570
2018-09-10 10:12:11 +00:00
moz-wptsync-bot
a6779a55db Bug 1488983 [wpt PR 12861] - Update wpt metadata, a=testonly
wpt-pr: 12861
wpt-type: metadata
2018-09-10 10:12:10 +00:00
Mike Pennisi
05e2e63379 Bug 1488983 [wpt PR 12861] - [cookies] Correct typo, a=testonly
Automatic update from web-platform-tests[cookies] Correct typo

--

wpt-commits: b2097668d2344214cfd7c995644a4dc7d5aa7d46
wpt-pr: 12861
2018-09-10 10:12:10 +00:00
moz-wptsync-bot
1cc6ec8830 Bug 1487661 [wpt PR 12776] - Update wpt metadata, a=testonly
wpt-pr: 12776
wpt-type: metadata
2018-09-10 10:12:09 +00:00