小编Ild*_*lov的帖子

'无法识别的内容 - 安全 - 政策指令"reflect-xss'"与通过chromedriver生成的PayPal相关的错误

由于某些原因,我们的持续集成测试自2017年7月7日(星期二)起失败.

该日志通过https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#user-content-log-entry-json-object生成

我用过铬56.0.2924.87-1
ChromeDriver 2.25

            [1] => Array
                (
                    [level] => SEVERE
                    [message] => https://www.sandbox.paypal.com/signin/inject/?stsRedirectUri=https%3A%2F%2Fwww.sandbox.paypal.com%2Fcheckoutnow%2F2&country.x=US&locale.x=en_US&returnUri=https%3A%2F%2Fwww.sandbox.paypal.com%2Fcheckoutnow%2F2&state=%3Fflow%3D1-P%26token%3DEC-5N74679848773161E%26useraction%3Dcommit&flowId=EC-5N74679848773161E&correlationId=c2516170ad8f6&flowContextData=d-T_d1elACFNiXhhfk4mio6Sh6WWFGmbOuXXROs9tP7rjABQARmehjUHUAKHiCRWrplD4ufu0B8WDTklRnEubKC-FY90pbF_e3y0S5fNbCjSjKyO8meAs7IsOC0&rememberMe=true - Unrecognized Content-Security-Policy directive 'reflected-xss'.

                    [timestamp] => 1486491911470
                )

            [2] => Array
                (
                    [level] => SEVERE
                    [message] => about:blank - Unrecognized Content-Security-Policy directive 'reflected-xss'.

                    [timestamp] => 1486491911554
                )

            [3] => Array
                (
                    [level] => SEVERE
                    [message] => about:blank - Unrecognized Content-Security-Policy directive 'reflected-xss'.

                    [timestamp] => 1486491911554
                )

            [4] => Array
                (
                    [level] => SEVERE
                    [message] => https://www.paypalobjects.com/web/res/069/67a0e1f4befbbcfdd8dc1dfb1f35b/js/app.js 47 Unrecognized Content-Security-Policy directive 'reflected-xss'.

                    [timestamp] …
Run Code Online (Sandbox Code Playgroud)

paypal paypal-sandbox selenium-chromedriver

2
推荐指数
1
解决办法
7072
查看次数

如何避免 Facebook 微数据调试器工具中出现“产品缺少字段:google_product_category”警告?

工具 https://business.facebook.com/ads/microdata/debug 给了我警告

产品缺少一个字段:google_product_category 如果没有 google_product_category 信息,您的产品可能不会按照您希望的方式出现在广告中。

我可以使用哪个 OpenGraph 标签来解决问题?

HTML代码如

<meta property="google:product:category" content="Pet Supplies"/>
    or
<meta property="google_product_category" content="Pet Supplies"/>
Run Code Online (Sandbox Code Playgroud)

对我不起作用。

facebook-graph-api google-shopping-api facebook-opengraph facebook-pixel

0
推荐指数
1
解决办法
1616
查看次数