Commit Graph

611502 Commits

Author SHA1 Message Date
Henrik Skupin
ef28c22d42 Bug 1486572 - [wdspec] Create tests for "Is Element Enabled" command.
--HG--
extra : rebase_source : f3e30dad86f40f9366a4f9c844413f9b2ec18e60
2018-08-28 08:58:53 +02:00
Henrik Skupin
844af6be05 Bug 1486572 - [marionette] Always return false for "Is Element Enabled" command and XML documents.
--HG--
extra : rebase_source : 0105a079c80191c0b82ac50d5ee90541b74ea879
2018-08-28 09:14:31 +02:00
Robert Helmer
10b80b68fe bug 1485946 - skip building libprio on MSVC r=froydnj
libprio does not currently build with MSVC (since it only supports
C90 as a compiler), this is being worked on upstream at https://github.com/mozilla/libprio/issues/17

As we are almost certainly not going to ship Firefox build with MSVC anymore,
let's disable this to get it working on this Tier-2 platform.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 20:07:51 +00:00
Mark Banner
591bdec094 Bug 1486775 - Update .eslintignore for recent devtools changes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4446

--HG--
extra : moz-landing-system : lando
2018-08-28 15:23:33 +00:00
Razvan Caliman
46fa24934f Bug 1486720 - Enable font highlighter. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4430

--HG--
extra : moz-landing-system : lando
2018-08-28 13:18:37 +00:00
Emilio Cobos Álvarez
59258ba1a7 Bug 1459065 - Clip filter effects at the stacking context level. r=mstange
Much like mask images. This is the easy fix, for now.

We need to override the ASR clips with Nothing() because we don't really want
children of this display item to get the parent filter applied. It's not only
redundant, but also may be incorrect if the mask image is not opaque for example
(maybe WR should prevent that?).

This was caught by layout/reftests/w3c-css/submitted/masking/mask-opacity-1a.html

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

--HG--
extra : moz-landing-system : lando
2018-08-28 15:42:14 +00:00
Julian Descottes
da674226da Bug 1482868 - Move aboutdebugging sidebar components to dedicated folder;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3222

--HG--
rename : devtools/client/aboutdebugging-new/src/components/Sidebar.css => devtools/client/aboutdebugging-new/src/components/sidebar/Sidebar.css
rename : devtools/client/aboutdebugging-new/src/components/Sidebar.js => devtools/client/aboutdebugging-new/src/components/sidebar/Sidebar.js
rename : devtools/client/aboutdebugging-new/src/components/SidebarItem.css => devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css
rename : devtools/client/aboutdebugging-new/src/components/SidebarItem.js => devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.js
extra : moz-landing-system : lando
2018-08-28 13:41:49 +00:00
Gijs Kruitbosch
a69092408a Bug 1486079 - create initial browser dynamically so we can set various attributes from the start, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4248

--HG--
extra : moz-landing-system : lando
2018-08-28 11:07:34 +00:00
Tom Prince
0ac32ca7ee Bug 1481121: [release] Do update verification back to ESR52 on mozilla-esr60; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D4370

--HG--
extra : rebase_source : ad9ed6b751cf27c16acd7d3842b99d5e6385e683
extra : histedit_source : a7f2615aaed6b0936b0a8908812ff9fcbb896e59
2018-08-27 13:23:39 -06:00
Tom Prince
ca4aa00262 Bug 1481121: [release] Generate bz2 bouncer entries; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D4369

--HG--
extra : rebase_source : 76998b486ee37e434aa25cc0f5a8bb5ac5f0ffb4
extra : histedit_source : be1e894b227362546d493069fb17ee23bb3fca7c
2018-08-27 13:22:33 -06:00
Tom Prince
3458613f63 Bug 1481121: [release] Add support for generating bz2 balrog blobs; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D4368

--HG--
extra : rebase_source : c0c88a119f29997b4316da10d7564eee27ad136b
extra : histedit_source : ab8ccde97f8d840a25c4778fddb008e3f6200adf
2018-08-27 13:21:30 -06:00
Lars T Hansen
d10bb30a7d Bug 1479794 - Do not expose Ref types outside the defining module. r=luke
For the time being, we do not want to expose struct types outside of
the module where they are defined, and so there must be restrictions
on how functions and global variables that traffic in struct types can
be used.

At the same time, intra-module uses of functions and globals that use
struct types must be allowed to the greatest extent possible.

Terminology: A function that takes a Ref parameter or returns a Ref
result is "exposed for Ref", as is a global of Ref type.  Anyref is OK
though, in all cases.

To keep it simple we have the following restrictions that can all be
checked statically.

 - Exported and imported functions cannot be exposed for Ref.

 - If the module has an exported or imported table then no function
   stored in that table by the module (by means of an element segment)
   can be exposed for Ref.

 - If the module has an exported or imported table then no
   call_indirect via that table may reference a type that is exposed
   for Ref.

 - An exported or imported global cannot be exposed for Ref.

Conversely,

 - If a module has a private table then it can contain private
   functions that are exposed for Ref and it is possible to call those
   functions via that table.

 - If a module has a private global then it can be exposed for ref.

Note that code generators can work around the restrictions by instead
using functions and globals that use anyref, and by using downcasts to
check that the types are indeed correct.  (Though the meaning of
downcast will change as the GC feature evolves.)

All the code implementing the restrictions is under an #ifdef so that
we can easily find it later; all the test cases testing the
restrictions are in a separate file.  Few existing tests needed to be
adapted, and none substantially.

--HG--
extra : rebase_source : 89fbbf9524dc02f627018d11861df3ef91de851b
2018-08-27 18:16:13 +02:00
Lars T Hansen
900878e741 Bug 1486553 - Only set .external on the table if necessary. r=luke
Previously we would unconditionally set the .external flag on a table
if it had an element segment, but we should only do this if the table
is initialized with an imported function and so may contain functions
from multiple instances.

--HG--
extra : rebase_source : b7712cedce26749768838f7213bf1574ef5baf48
2018-08-27 21:01:56 +02:00
Andrea Marchesini
ecc89b295c Bug 1486537 - Remove some WPT .ini files related to mixed-content, r=jgraham 2018-08-29 14:56:55 +02:00
Ehsan Akhgari
faefec50e9 Bug 1486944 - Part 2: Add tests to ensure that the reject foreign cookie behavior also depends on the browser.contentblocking.enabled pref; r=baku 2018-08-29 08:28:14 -04:00
Ehsan Akhgari
d1d402d14c Bug 1486944 - Part 1: Make the reject foreign cookie behavior also depend on the browser.contentblocking.enabled pref; r=baku 2018-08-29 08:28:14 -04:00
Ehsan Akhgari
f464a4369f Bug 1486926 - Part 3: Add tests to ensure that the reject foreign cookie behavior honours the Content Blocking allow list; r=baku 2018-08-29 08:27:15 -04:00
Ehsan Akhgari
0378de3486 Bug 1486926 - Part 2: Refactor the antitracking mini-testsuite to make it pass the full cookieBehavior everywhere instead of a boolean; r=baku 2018-08-29 08:27:15 -04:00
Ehsan Akhgari
1743f7b993 Bug 1486926 - Part 1: Make the Disable Protection button in the control centre UI work for the reject foreign cookie behavior; r=baku 2018-08-29 08:27:15 -04:00
Ehsan Akhgari
2b6d204ce5 Bug 1486414 - Add prefs to hide the Trackers and FastBlock categories in the Content Blocking preferences; r=johannh 2018-08-29 08:26:14 -04:00
Ehsan Akhgari
4445ecf24a Bug 1486181 - Make the Third-Party Cookies section of the Control Centre UI be consistent with the Content Blocking section of the Preferences UI; r=johannh 2018-08-29 08:26:14 -04:00
Jon Coppeard
235348e9ef Bug 1486727 - Move some inline method defintions out of gc/Zone.h into new Zone-inl.h r=sfink 2018-08-29 13:23:56 +01:00
Henrik Skupin
b77761050d Bug 1486485 - [wdspec] Add test for empty text to send_alert_text/send.py. r=jgraham
The patch refactors the test file, and also adds an additional test,
which makes sure that the default text of the prompt is replaced in
case of an empty string is send as text.

--HG--
extra : rebase_source : a55ee2906850bec382cb3b2b418fc374bff7e47c
2018-08-27 17:39:04 +02:00
Henrik Skupin
38c57edd5b Bug 1486485 - [marionette] Replace and not append text for "WebDriver:SendAlertText". r=jgraham
--HG--
extra : rebase_source : f2a07d425f099ea4f7bd8dae75f41369ba531228
2018-08-27 17:37:20 +02:00
Ehsan Akhgari
6c1cd190df Bug 1486462 - Add checkboxes to the Content Blocking Preferences UI; r=johannh,flod 2018-08-29 08:18:15 -04:00
Ehsan Akhgari
c40cc9eac5 Bug 1484769 - Part 3: Add a test to ensure that the warnings in the Third-Party Cookies subsection of Content Blocking appear correctly based on the values of the cookieBehavior pref; r=johannh 2018-08-29 08:18:15 -04:00
Ehsan Akhgari
93bea174d4 Bug 1484769 - Part 2: Add a test to ensure that the dependent controls in the Content Blocking Third-Party Cookies section correctly get disabled based on the cookieBehavior pref values; r=johannh 2018-08-29 08:18:15 -04:00
Ehsan Akhgari
c7da84efee Bug 1484769 - Part 1: Update the Content Blocking section of the Preferences UI to add Third-Party Cookies options; r=johannh,flod 2018-08-29 08:18:15 -04:00
moz-wptsync-bot
120d0e7077 Bug 1485965 - [wpt-sync] Update web-platform-tests to 1bc6d9975ef38c3ade2986dff737b4421c6352df, a=testonly
wpt-head: 1bc6d9975ef38c3ade2986dff737b4421c6352df
wpt-type: landing
2018-08-29 11:52:25 +00:00
moz-wptsync-bot
9e21790b23 Bug 1485276 [wpt PR 12610] - Update wpt metadata, a=testonly
wpt-pr: 12610
wpt-type: metadata
2018-08-29 10:09:09 +00:00
Matt Falkenhagen
6bb655bf28 Bug 1485276 [wpt PR 12610] - WPT: service worker: Refactor and format navigation-redirect.https.html., a=testonly
Automatic update from web-platform-testsWPT: service worker: Refactor and format navigation-redirect.https.html.

In preparation for extending or modifying the test to test Client.url
and resultingClientId for https://github.com/whatwg/html/pull/3891.

Bug: 876223
Change-Id: I50e8b8c21c5f8639a24a9c2ec00df3ccafdc8ac8
Reviewed-on: https://chromium-review.googlesource.com/1184656
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585738}

--

wpt-commits: 1bc6d9975ef38c3ade2986dff737b4421c6352df
wpt-pr: 12610
2018-08-29 10:09:09 +00:00
Simon Pieters
b5ddd28cb8 Bug 1485896 [wpt PR 12665] - HTML: force layout in legend-dynamic-update.html, a=testonly
Automatic update from web-platform-testsHTML: force layout in legend-dynamic-update.html

--

wpt-commits: 1580d7706c8b19b79cfa9cfd465ef90d3394894f
wpt-pr: 12665
2018-08-29 10:09:08 +00:00
moz-wptsync-bot
cd8b1b2061 Bug 1485601 [wpt PR 12639] - Update wpt metadata, a=testonly
wpt-pr: 12639
wpt-type: metadata
2018-08-29 10:09:07 +00:00
Anne van Kesteren
b23356fc01 Bug 1485601 [wpt PR 12639] - Fetch/XHR/Beacon: test locked/disturbed ReadableStream, a=testonly
Automatic update from web-platform-testsFetch/XHR/Beacon: test locked/disturbed ReadableStream

See https://github.com/whatwg/fetch/pull/801 for context.
--

wpt-commits: aecdb30fdb5bb87179aa572cbf3d3f33db69f89e
wpt-pr: 12639
2018-08-29 10:09:07 +00:00
Simon Pieters
7d6b843889 Bug 1485731 [wpt PR 12647] - HTML: test dynamically updating the text content of a legend, a=testonly
Automatic update from web-platform-testsHTML: test dynamically updating the text content of a legend

--

wpt-commits: 9646393294fed9c0feac8a19a2b812c0885cb4f1
wpt-pr: 12647
2018-08-29 10:09:06 +00:00
Steve Anton
67a4c0a574 Bug 1482198 [wpt PR 12383] - RTCIceTransport: gather() implementation., a=testonly
Automatic update from web-platform-testsRTCIceTransport: gather() implementation.

This change implements the RTCIceTransport.gather() method and
associated methods/events: getLocalCandidates(), gatheringState,
ongatheringstatechange, and onicecandidate.

The state property is also partially implemented so that the
RTCIceTransport can be stopped and garbage collected.

Bug: 864871
Change-Id: I7056764789d92dc93038a7a2279a15c850b4d299
Reviewed-on: https://chromium-review.googlesource.com/1153845
Commit-Queue: Steve Anton <steveanton@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585634}

--

wpt-commits: 34f9b93c2749043ba68485dea92d1fb554075e60
wpt-pr: 12383
2018-08-29 10:09:05 +00:00
Liquan(Max) Gu
395f3500c0 Bug 1484356 [wpt PR 12556] - [UserTiming] Correct measure where start is undefined, a=testonly
Automatic update from web-platform-tests[UserTiming] Correct measure where start is undefined

According to spec, if start is undefined for performance.measure(), 0 will be
used as the start time. However, the current implementation treats undefined as
"null".

This CL doesn't solve all the problems. For backward compatibility, L2 should
treat undefined passed to start/end as empty, null as a string 'null'. As a
temporary fix, we treat both null and undefined as undefined, which is safer
than as 'null'.

Bug: 876324

Change-Id: I7d74d6be9552d090ab7f28342be9a739017bf59b
Reviewed-on: https://chromium-review.googlesource.com/1180345
Commit-Queue: Liquan (Max) Gǔ <maxlg@chromium.org>
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585103}

--

wpt-commits: 54525995564877fbf730c679200a5ae8610e5f2f
wpt-pr: 12556
2018-08-29 10:09:05 +00:00
moz-wptsync-bot
5ac5d1bbc2 Bug 1484147 [wpt PR 12542] - Update wpt metadata, a=testonly
wpt-pr: 12542
wpt-type: metadata
2018-08-29 10:09:04 +00:00
Yuki Yamada
9eafa1c369 Bug 1484147 [wpt PR 12542] - Modify source path for wpt test of Accept-CH, a=testonly
Automatic update from web-platform-testsModify source path for wpt test of Accept-CH

This CL modifies source path that is used in wpt test of Accept-CH.
window.open() uses the base URL of the entry realm's window in order to
resolve a relative URL.
The entry realm should be main window on calling function
|acceptChLoaded| as a listener for load event of non-main window in this
test.
We want to open do_not_expect_client_hints_headers.html in resources/
so the relative URL in this test should start from "resources/".

Also, entry realm is not set correctly by current chromium
implementation, so fixed test is assumed to fail.

Change-Id: I973393e0a7ca74cac882eb58f5a58aa9a81556ff
Reviewed-on: https://chromium-review.googlesource.com/1179511
Commit-Queue: Yuki Yamada <yukiy@google.com>
Reviewed-by: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584958}

--

wpt-commits: cd356d332be2a1edb92ae8bb185d0ff3fb40a176
wpt-pr: 12542
2018-08-29 10:09:04 +00:00
Timothy Gu
5257e2df6d Bug 1485744 [wpt PR 12650] - HTML: add test for history.state after document.open(), a=testonly
Automatic update from web-platform-testsHTML: add test for history.state after document.open() (#12650)

For https://github.com/whatwg/html/pull/3946.
--

wpt-commits: e57d136af9eef24a9f3b54dffcf9c7ca74331f09
wpt-pr: 12650
2018-08-29 10:09:03 +00:00
moz-wptsync-bot
9bb0eea661 Bug 1485521 [wpt PR 12636] - Update wpt metadata, a=testonly
wpt-pr: 12636
wpt-type: metadata
2018-08-29 10:09:02 +00:00
Timothy Gu
9ae54175cd Bug 1485521 [wpt PR 12636] - HTML: document.open() and document's URL, a=testonly
Automatic update from web-platform-testsHTML: document.open() and document's URL (#12636)

For https://github.com/whatwg/html/pull/3946.

Adapts the basic test in
https://github.com/web-platform-tests/wpt/pull/10817 for a number of
advanced scenarios regarding document activity.

Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
--

wpt-commits: 312d71258a26bfa420f7eef100df4ef92d961483
wpt-pr: 12636
2018-08-29 10:09:02 +00:00
moz-wptsync-bot
c15853975f Bug 1484354 [wpt PR 12555] - Update wpt metadata, a=testonly
wpt-pr: 12555
wpt-type: metadata
2018-08-29 10:09:01 +00:00
Timothy Gu
f3893fca8c Bug 1484354 [wpt PR 12555] - HTML: document.open() and reload, a=testonly
Automatic update from web-platform-testsHTML: document.open() and reload (#12555)

For https://github.com/whatwg/html/pull/3946.
--

wpt-commits: 8b0c29bfa35d03c3db9027af796abcdb08b7c6dc
wpt-pr: 12555
2018-08-29 10:09:01 +00:00
moz-wptsync-bot
f271a26234 Bug 1485727 [wpt PR 12645] - Update wpt metadata, a=testonly
wpt-pr: 12645
wpt-type: metadata
2018-08-29 10:09:00 +00:00
Timothy Gu
7fea34983c Bug 1485727 [wpt PR 12645] - HTML: more tests for document.open bailout order, a=testonly
Automatic update from web-platform-testsHTML: more tests for document.open bailout order (#12645)

A continuation of https://github.com/web-platform-tests/wpt/pull/12240, but
this treats cases when two bailout criteria compete against each other.

See https://github.com/whatwg/html/issues/3818.
--

wpt-commits: 45d82ab6c8893eab5a8f50aedfc20af81679cb10
wpt-pr: 12645
2018-08-29 10:09:00 +00:00
youennf
55a878e5ab Bug 1485468 [wpt PR 12628] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=188842, a=testonly
Automatic update from web-platform-testsMerge pull request #12628 from youennf/wpt-export-for-webkit-188842

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=188842
--

wpt-commits: e570d8f2040c24dd9ba77f1c7887a282a04eb529
wpt-pr: 12628
2018-08-29 10:08:59 +00:00
Anna Offenwanger
8454fca40f Bug 1485761 [wpt PR 12653] - Correctly spell XREnvironmentIntegrationProvider, a=testonly
Automatic update from web-platform-testsCorrectly spell XREnvironmentIntegrationProvider

Change spelling of XREnviromentIntegrationProvider to
XREnvironmentIntegrationProvider. Because apparently it's spelled
environ not enviro.

Cq-Include-Trybots: luci.chromium.try​:win_optional_gpu_tests_rel
Change-Id: I001157b168e325aeab03ec9e1bb22532b8c25b45
Reviewed-on: https://chromium-review.googlesource.com/1186963
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Anna Offenwanger <offenwanger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585532}

--

wpt-commits: bbb7a3793b580ff9517fbe530dd02af4dd3d852d
wpt-pr: 12653
2018-08-29 10:08:58 +00:00
moz-wptsync-bot
0001f18ed0 Bug 1485750 [wpt PR 12651] - Update wpt metadata, a=testonly
wpt-pr: 12651
wpt-type: metadata
2018-08-29 10:08:57 +00:00
alphan102
1eaa69d07f Bug 1485750 [wpt PR 12651] - Do initEvent() before the test, a=testonly
Automatic update from web-platform-testsDOM: do initEvent() before a returnValue test

--

wpt-commits: 8158699f81fb068af4fb8f70661388b1fdb88813
wpt-pr: 12651
2018-08-29 10:08:57 +00:00