682989 Commits

Author SHA1 Message Date
Gabriele Svelto
bc9290f767 Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-04 15:01:19 +00:00
Micah Tigley
4be2734cca Bug 1595800 - Part 4: Update RDM to use setRDMPaneOrientation from BrowsingContext r=bradwerth
Depends on D55002

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:58:20 +00:00
Micah Tigley
8c7e4877d3 Bug 1595800 - Part 3: Remove screen orientation attributes used for RDM from Document. r=smaug
Depends on D55001

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

--HG--
extra : moz-landing-system : lando
2019-12-04 00:44:23 +00:00
Micah Tigley
6769078c62 Bug 1595800 - Part 2: Use screen orientation attributes from BrowsingContext instead of Document. r=smaug
Depends on D54999

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

--HG--
extra : moz-landing-system : lando
2019-12-04 00:44:25 +00:00
Micah Tigley
a510db7b63 Bug 1595800 - Part 1: Move screen orientation attributes from Document to BrowsingContext r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54999

--HG--
extra : moz-landing-system : lando
2019-12-04 00:44:27 +00:00
James Graham
b6f78436eb Bug 1601272 - Print a warning if the reftest document is larger than the viewport, r=automatedtester,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55800

--HG--
extra : moz-landing-system : lando
2019-12-04 14:58:56 +00:00
Marian Raiciof
bba7b6080e Bug 1585593 - Enable Fission for Raptor r=perftest-reviewers,rwood,stephendonner,sparky,ahal
Differential Revision: https://phabricator.services.mozilla.com/D48316

--HG--
extra : moz-landing-system : lando
2019-12-02 19:47:09 +00:00
Dorel Luca
759ed982d6 Bug 1592498 - Disable browser_urlbar_matchBuckets_migration60.js on Win QR Debug. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D55797

--HG--
extra : moz-landing-system : lando
2019-12-04 14:48:06 +00:00
Neil Deakin
93bebc1ca0 Bug 1595154, make sure the message observer is removed after focus is complete in form autofill tests, also move removing of observer from willDestroy to didDestroy so it is more consistently called, r=MattN
Depends on D54944

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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:18:04 +00:00
Neil Deakin
d09b944c3e Bug 1595154, use content.setTimeout in talos frame scripts, r=mconley
Depends on D52723

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

--HG--
extra : moz-landing-system : lando
2019-11-28 15:23:20 +00:00
Neil Deakin
f1796bcf55 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-12-04 11:45:17 +00:00
Neil Deakin
84e9411376 Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-12-04 11:45:15 +00:00
Neil Deakin
0fe11bd612 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-04 11:45:10 +00:00
André Bargull
4e66083a55 Bug 1599465 - Part 13: Add fast path for BigInt exponentiation with uint64 magnitude. r=jwalden
Changes the existing fast-path for 2^n to any (2^m)^n. And adds a fast-path for
uint64 BigInts, so we only need to allocate a single BigInt when the result also
fits in uint64.

The for-loop was changed to a while-loop, because that made it easier to give
both loops the same structure.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 10:18:27 +00:00
Brian Hackett
6638ae836c Bug 1600979 - Ignore exceptions from getFrames call when thread context is invalid, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D55692

--HG--
extra : moz-landing-system : lando
2019-12-03 20:10:27 +00:00
Andreas Pehrson
a06288b2b5 Bug 1598087 - Don't wait for currentTime to progress so playback doesn't end unexpectedly. r=jib
While waiting for "timeupdate" for a currentTime >0 playback could end before
we're done waiting. This causes both unexpected test failures and a timeout.

The simplest way out of this seems to be to first wait for the play promise to
resolve so we know the output tracks are available; second to set currentTime to
0 even if it already is 0. By spec this still seeks, so it is fine.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:09:50 +00:00
Chris Fallin
f6226f0957 Bug 1601074: Fix preliminary-objects-set issue wrt NEWOBJECT_WITHGROUP. r=iain
The recent addition of the JSOP_NEWOBJECT_WITHGROUP opcode for bug
1598347 (itself a regression fix for 1580246) has led to an issue when
more than a certain number of array elements with the same group are
created within an array literal. In particular, when too many objects
are created, the preliminary-objects-set for the ObjectGroup becomes
full and hits a MOZ_CRASH. This patch avoids trying to add to the
preliminary object set in the _WITHGROUP case.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 00:47:39 +00:00
Michael Kaply
9475e105e3 Bug 1600122 - Use the complete list of addons for determing policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D55732

--HG--
extra : moz-landing-system : lando
2019-12-04 09:56:50 +00:00
Geoff Brown
9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Masatoshi Kimura
47bb8fc648 Bug 1455716 - Simplify/rename nsIWebBrowserChrome;setStatus and setStatusWithContext. r=bzbarsky
* Removed the STATUS_LINK constant.
* Removed the statusType parameter from nsIWebBrowserChrome::setStatus.
* Removed the setStatusWithContext method. No one uses the information from
  statusContext.
* Removed the nsIWebBrowserChrome2 interface as setStatusWithContext was the
  only method.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:50:01 +00:00
Florian Quèze
ec351ddd41 Bug 1601014 - avoid running BrowserGlue migration steps for new profiles, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D55704

--HG--
extra : moz-landing-system : lando
2019-12-03 19:54:38 +00:00
Julian Descottes
7a0e6b4873 Bug 1509804 - Add smoke test for HAR automation r=Honza
Depends on D55204

This is just a smoke test to verify that the HAR file is created.
We should probably expand this and test the content as well, but we can handle that in follow up bugs

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:15:08 +00:00
Julian Descottes
175613ea9d Bug 1509804 - Temporary fix for HAR automation r=Honza
This fixes several gaps:
- event api changes
- networkEvent no longer emitted by debugger client
- shape of expected HAR items changed
- use the connector from the netmon api

This is the minimum set of changes I could do to get HAR automation to save valid HAR files again.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 12:59:21 +00:00
Simon Giesecke
d174bc1285 Bug 1596129 - Removed redundant assertions after infallible EmplaceBack calls. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D53932

--HG--
extra : moz-landing-system : lando
2019-12-04 12:48:38 +00:00
Liang-Heng Chen
39e39a5421 Bug 1597622 - add test for kiosk mode enabled; r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55778

--HG--
extra : moz-landing-system : lando
2019-12-04 12:32:43 +00:00
moz-wptsync-bot
2a72afe964 Bug 1600603 - [wpt-sync] Update web-platform-tests to 7cc8448ba2443173e5837a3b5135cff81ebc60bc, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 7cc8448ba2443173e5837a3b5135cff81ebc60bc
wpt-type: landing
2019-12-04 12:13:08 +00:00
James Graham
663b83969e Bug 1600636 - Set logger attribute on TimedRunner, r=ato 2019-12-04 12:13:07 +00:00
moz-wptsync-bot
3228057140 Bug 1599674 [wpt PR 20468] - Update wpt metadata, a=testonly
wpt-pr: 20468
wpt-type: metadata
2019-12-04 12:13:07 +00:00
Staphany Park
8556c93490 Bug 1599674 [wpt PR 20468] - Cookie Store: Refactor tests to also work in window context., a=testonly
Automatic update from web-platform-tests
Cookie Store: Refactor tests to also work in window context.

This refactor condenses service worker test files by converting the
service worker scripts into .any.js WPT files that test both window and
worker contexts.

Change-Id: Iee64f5cc68b939ab02b06910444b8ebffdf359a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851232
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720381}

--

wpt-commits: ff11f93316527e37ec580adca01a9cf0a58a297e
wpt-pr: 20468
2019-12-04 12:13:06 +00:00
Emilio Cobos Álvarez
d0e2d53022 Bug 1600461 [wpt PR 20547] - Delete invalid test., a=testonly
Automatic update from web-platform-tests
Delete invalid test. (#20547)

It seems it expects `transform: rotate(1deg, 20px, 20px)` to somehow be valid.

It was introduced in cdc3032f56c86cc68121e54e169485441d9cdb1a, pointing to https://www.w3.org/TR/css-transforms-1/#svg-transform-functions, which doesn't say anything like that.

Doesn't pass in any browser.
--

wpt-commits: 5df56b25e1cb81f81fe16c88be839f9fd538b41e
wpt-pr: 20547
2019-12-04 12:13:06 +00:00
moz-wptsync-bot
57e839eafc Bug 1600428 [wpt PR 20546] - Update wpt metadata, a=testonly
wpt-pr: 20546
wpt-type: metadata
2019-12-04 12:13:05 +00:00
Florian Rivoal
48c04e5a7d Bug 1600428 [wpt PR 20546] - Word boundary, a=testonly
Automatic update from web-platform-tests
[css-text] Fix typo

--
[css-text add parsing tests for word-boundary-detection

--

wpt-commits: 054edcc23aa1e0ebee50d7ddf1ce6115dd940ece, d15d6d91834108a38070771025b548124d44026b
wpt-pr: 20546
2019-12-04 12:13:05 +00:00
moz-wptsync-bot
5d22f720d4 Bug 1600426 [wpt PR 20545] - Update wpt metadata, a=testonly
wpt-pr: 20545
wpt-type: metadata
2019-12-04 12:13:05 +00:00
Florian Rivoal
5f6a8ee25f Bug 1600426 [wpt PR 20545] - Word boundary, a=testonly
Automatic update from web-platform-tests
[css-text-4] tests for word-boundary-expansion

https://drafts.csswg.org/css-text-4/#word-boundary-expansion

--
[css-text-4] tests for word-boundary-detection

https://drafts.csswg.org/css-text-4/#word-boundary-detection

--

wpt-commits: d31800185dab8e194294620c8ad6bf40f25bf752, 37ddab0528d8ab49db1371188e36f68133ff5c1c
wpt-pr: 20545
2019-12-04 12:13:04 +00:00
moz-wptsync-bot
ad4bf5bb26 Bug 1599892 [wpt PR 20489] - Update wpt metadata, a=testonly
wpt-pr: 20489
wpt-type: metadata
2019-12-04 12:13:04 +00:00
Mason Freed
64e6eaa75d Bug 1599892 [wpt PR 20489] - Fix parser mXSS sanitizer bypass for <p> and <br> within foreign context, a=testonly
Automatic update from web-platform-tests
Fix parser mXSS sanitizer bypass for <p> and <br> within foreign context

Prior to this CL, the following code:
 <svg></p></svg>
parsed to this innerHTML: <svg><p></p></svg>

This is in contrast to this code:
 <svg><p></svg>
which parses to <svg></svg><p></p>

The fact that the </p> is left inside the <svg> allowed sanitizer
bypasses as detailed in [1]. Please also see [2] for the spec
discussion.

With this CL, </p> and </br> within a foreign context now cause
the closing of the foreign context.

[1] https://research.securitum.com/dompurify-bypass-using-mxss/
[2] https://github.com/whatwg/html/issues/5113

Bug: 1005713
Change-Id: Ic07ee50de4eb1ef19b73a075bd83785c99f4f891
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1940722
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720315}

--

wpt-commits: 561b765308e6d188618f3ba73091bb598d8357ce
wpt-pr: 20489
2019-12-04 12:13:03 +00:00
moz-wptsync-bot
4cb67760f9 Bug 1600341 [wpt PR 20534] - Update wpt metadata, a=testonly
wpt-pr: 20534
wpt-type: metadata
2019-12-04 12:13:03 +00:00
Morten Stenshorne
f18e0f1a40 Bug 1600341 [wpt PR 20534] - [LayoutNG] Pixel-snap column rules., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Pixel-snap column rules.

Bug: 829028
Change-Id: I252901109502256f14bc68e64d4303006db50a13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1944350
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720302}

--

wpt-commits: 3503c50a6452e153bde906a9c6644cb6237224fc
wpt-pr: 20534
2019-12-04 12:13:02 +00:00
moz-wptsync-bot
8559a7f76b Bug 1600350 [wpt PR 20536] - Update wpt metadata, a=testonly
wpt-pr: 20536
wpt-type: metadata
2019-12-04 12:13:02 +00:00
Lucas Furukawa Gadani
56bc92b57b Bug 1600350 [wpt PR 20536] - Portals: Do not create a RemoteFrame for a portal when a portal if inserted into a disconnected node., a=testonly
Automatic update from web-platform-tests
Portals: Do not create a RemoteFrame for a portal when a portal if
inserted into a disconnected node.

Bug: 1029508
Change-Id: I8d90a488198b0772baa2bd41a16c6a330fc792fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1943310
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Lucas Gadani <lfg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720283}

--

wpt-commits: 20bb1ca5db519ee5d37ece6492868f8a6b65a2e7
wpt-pr: 20536
2019-12-04 12:13:01 +00:00
moz-wptsync-bot
37a67b4990 Bug 1600380 [wpt PR 20541] - Update wpt metadata, a=testonly
wpt-pr: 20541
wpt-type: metadata
2019-12-04 12:13:01 +00:00
Kevin Ellis
3de51ca203 Bug 1600380 [wpt PR 20541] - Add ref tests for web-animation play controls, a=testonly
Automatic update from web-platform-tests
Add ref tests for web-animation play controls

This patch adds ref tests for play controls and enables these tests to
run as part of a virtual test suite with the compositor enabled. The
tests are designed to catch regression that break animation play
controls.

Tests were added for syncing the compositor start time as well as
updating the playback rate.

The test for zero playback rate exposed a bug where it should have been
disabled on the compositor but wasn't. This bug is also fixed in the
patch.

Bug: 1029123
Change-Id: I0304d80b93ef273dd2f1dbcd58e2371bc046941e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1943367
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720190}

--

wpt-commits: 995900fc628dcbfd79fb78dc816e5bea17119c84
wpt-pr: 20541
2019-12-04 12:13:00 +00:00
moz-wptsync-bot
feca6ca858 Bug 1599934 [wpt PR 20492] - Update wpt metadata, a=testonly
wpt-pr: 20492
wpt-type: metadata
2019-12-04 12:13:00 +00:00
Blink WPT Bot
82e32772d0 Bug 1599934 [wpt PR 20492] - Fix play controls for composited animations., a=testonly
Automatic update from web-platform-tests
Fix play controls for composited animations. (#20492)

Play controls recently broke for composited animations due to timing
differences on when variables are changes. Per spec, the start time is
not cleared when pausing an animation until after the animation is
ready. This discrepancy lead to a case when PreCommit would not get
called when pausing a composited animation.

Reverse and updatePlaybackRate were also broken for composited
animations. We cannot composite infinite duration animations in the
reverse direction. We were using playback rate instead of
EffectivePlaybackRate in one of our checks for compositor eligibility,
and falling to catch this case.

Finally, with changes to when start time is cleared, we can be in a
case where it is important to preserve the start time or the current
time when starting a composited animation. Fortunately, we can
determine when start time is the important factor based in whether the
animation is pending.

Next step: Add WPT tests that would have caught the regressions. Filed
as issue 1029123.

Bug: 1028985, 1028986
Change-Id: I4edf851790a860d20962df84944558e7dbc1863a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1940885
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720042}
--

wpt-commits: dfcdaf109407d4b8db06e8fbf37b2a0cb80f251f
wpt-pr: 20492
2019-12-04 12:13:00 +00:00
moz-wptsync-bot
09e4552f3a Bug 1600143 [wpt PR 20514] - Update wpt metadata, a=testonly
wpt-pr: 20514
wpt-type: metadata
2019-12-04 12:12:59 +00:00
haozhe
2ce5cfdd94 Bug 1600143 [wpt PR 20514] - Remove cross fade from backgrounds, a=testonly
Automatic update from web-platform-tests
Remove cross fade from backgrounds

background-image-interpolation should not use cross fade. Bug filed: https://bugs.chromium.org/p/chromium/issues/detail?id=1029358
background-image-interpolation when interpolate from single image to multiple images at progress -0.3 will give from, from instead just from.
Bug filed: https://bugs.chromium.org/p/chromium/issues/detail?id=1029529

Bug: 900581
Change-Id: I481725439b8ef3944693b4c65dbc4112eca42265
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1942492
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720267}

--

wpt-commits: c2efb44a06853e1acaf0f2cbc298399bdee28a32
wpt-pr: 20514
2019-12-04 12:12:59 +00:00
moz-wptsync-bot
0748237874 Bug 1600169 [wpt PR 20519] - Update wpt metadata, a=testonly
wpt-pr: 20519
wpt-type: metadata
2019-12-04 12:12:58 +00:00
haozhe
10a14f76fb Bug 1600169 [wpt PR 20519] - Port mask-image-interpolation to wpt/expernal, a=testonly
Automatic update from web-platform-tests
Port mask-image-interpolation to wpt/expernal

Chrome does not support mask-image
,and bug filed: https://bugs.chromium.org/p/chromium/issues/detail?id=1029337

Firefox bug filed: https://bugzilla.mozilla.org/show_bug.cgi?id=1600165

Bug: 900581
Change-Id: Ib4a7364ef8adaf8ef1d292536548b31e365a1cde
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1940948
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720264}

--

wpt-commits: 85278129cdf375c9da3d6d8625298dae866c61a3
wpt-pr: 20519
2019-12-04 12:12:58 +00:00
autofoolip
372db7fa62 Bug 1600360 [wpt PR 20537] - Update interfaces/wasm-js-api.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/wasm-js-api.idl (#20537)

Source: https://github.com/tidoust/reffy-reports/blob/01b68ce/ed/idl/wasm-js-api.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/618711675
--

wpt-commits: bd0079fb180488fefee53e7602a8949db7a2d35a
wpt-pr: 20537
2019-12-04 12:12:57 +00:00
moz-wptsync-bot
8b26feb6ba Bug 1598004 [wpt PR 20342] - Update wpt metadata, a=testonly
wpt-pr: 20342
wpt-type: metadata
2019-12-04 12:12:57 +00:00