New issue
Advanced search Search tips

Issue 705170 link

Starred by 0 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocked on:
issue 693309


Participants' hotlists:
presentation-api-1ua


Sign in to add a comment

[Presentation API] Web platform test failures for 1-UA mode

Project Member Reported by mfo...@chromium.org, Mar 25 2017

Issue description

Chrome 59.0.3050.0 (Developer Build) unknown (64-bit)

http://web-platform.test:8001/presentation-api/controlling-ua/PresentationConnection_onclosed-manual.html => Timeout

http://web-platform.test:8001/presentation-api/controlling-ua/PresentationConnection_send-manual.html => Timeout 

http://web-platform.test:8001/presentation-api/controlling-ua/reconnectToPresentation_success-manual.html => Timeout

The timeouts are likely dups of known  Bug 693309 

-----

http://web-platform.test:8001/presentation-api/controlling-ua/PresentationRequest_sandboxing_error.html => 

assert_equals: Presentation sandboxing did not work as expected. expected "SecurityError" but got "success"
    at Test.<anonymous> (http://web-platform.test:8001/presentation-api/controlling-ua/PresentationRequest_sandboxing_error.html:20:13)
    at Test.step (http://web-platform.test:8001/resources/testharness.js:1406:25)
    at http://web-platform.test:8001/resources/testharness.js:1446:32

This seems like a regression!

-----

http://web-platform.test:8001/presentation-api/controlling-ua/PresentationConnection_onmessage-manual.html => 

Fail	Receiving a message through PresentationConnection	assert_equals: the default value of binaryType is "arraybuffer" expected "arraybuffer" but got "blob"
    at request.start.then.c (http://web-platform.test:8001/presentation-api/controlling-ua/PresentationConnection_onmessage-manual.html:77:17)
    at <anonymous>

Hmmm...

----

https://web-platform.test:8443/presentation-api/receiving-ua/PresentationReceiver_create-manual.html

Creating a receiving browsing context	promise_test: Unhandled rejection with value: object "SecurityError: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script."
    at <anonymous>

I bet this is always going to fail locally because Chrome won't ignore the certificate errors generated by the self-signed WPT certificate.  Seems like a WontFix.


 
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e29fdab2cf168e2a4de8709aea221cf5ef65cf5f

commit e29fdab2cf168e2a4de8709aea221cf5ef65cf5f
Author: mfoltz <mfoltz@chromium.org>
Date: Wed Mar 29 18:20:07 2017

[Presentation API] Move sandbox check to PresentationRequest constructor.

Fix PresentationRequest_sandboxing_error.html.

[Patched from https://codereview.chromium.org/2780583003]

BUG=705170

Review-Url: https://codereview.chromium.org/2782663002
Cr-Commit-Position: refs/heads/master@{#460460}

[delete] https://crrev.com/6d71d9c5b9a95b7476beefaa9ace1fc8b54d5b43/third_party/WebKit/LayoutTests/presentation/iframe-no-sandbox.html
[delete] https://crrev.com/6d71d9c5b9a95b7476beefaa9ace1fc8b54d5b43/third_party/WebKit/LayoutTests/presentation/iframe-sandbox-allow-presentation.html
[delete] https://crrev.com/6d71d9c5b9a95b7476beefaa9ace1fc8b54d5b43/third_party/WebKit/LayoutTests/presentation/iframe-sandbox-default.html
[add] https://crrev.com/e29fdab2cf168e2a4de8709aea221cf5ef65cf5f/third_party/WebKit/LayoutTests/presentation/presentation-request-iframe-default-success.html
[add] https://crrev.com/e29fdab2cf168e2a4de8709aea221cf5ef65cf5f/third_party/WebKit/LayoutTests/presentation/presentation-request-iframe-sandbox-error.html
[add] https://crrev.com/e29fdab2cf168e2a4de8709aea221cf5ef65cf5f/third_party/WebKit/LayoutTests/presentation/presentation-request-iframe-sandbox-success.html
[delete] https://crrev.com/6d71d9c5b9a95b7476beefaa9ace1fc8b54d5b43/third_party/WebKit/LayoutTests/presentation/resources/embedded-smoke-tests.html
[add] https://crrev.com/e29fdab2cf168e2a4de8709aea221cf5ef65cf5f/third_party/WebKit/LayoutTests/presentation/resources/iframe-sandbox.html
[modify] https://crrev.com/e29fdab2cf168e2a4de8709aea221cf5ef65cf5f/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp

Comment 3 by mfo...@chromium.org, Mar 29 2017

Blockedon: 693309

Comment 4 by mfo...@chromium.org, Mar 29 2017

Owner: mfo...@chromium.org
Status: Assigned (was: Untriaged)

Comment 5 by sko...@chromium.org, Apr 19 2017

Labels: -M-59 M-60

Comment 6 by sko...@chromium.org, Jun 12 2017

Labels: -M-60 M-61

Comment 7 by sko...@chromium.org, Aug 14 2017

Labels: -M-61 M-62

Comment 8 by sko...@chromium.org, Sep 11 2017

Labels: -M-62 M-63

Comment 9 by mfo...@chromium.org, Oct 24 2017

Labels: -M-63 M-64
Just retested with 63.0.3239.9 on Linux.  Here is the current score: 

TIMEOUT

PresentationAvailability_onchange-manual.https.html
reconnectToPresentation_success-manual.https.html

FAIL

PresentationConnection_onclose-manual.https.html
PresentationConnection_onterminate-manual.https.html
getAvailability.https.html
startNewPresentation_displaynotfound-manual.https.html

PresentationConnectionList_onconnectionavailable-manual.https.html
PresentationConnection_onclose-manual.https.html
PresentationReceiver_create-manual.https.html

PASS

PresentationConnection_onconnect-manual.https.html
PresentationConnection_onmessage-manual.https.html
PresentationConnection_send-manual.https.html
PresentationRequest_error.https.html
PresentationRequest_mixedcontent.https.html
PresentationRequest_mixedcontent_multiple.https.html
PresentationRequest_onconnectionavailable-manual.https.html
PresentationRequest_sandboxing_error.https.html
PresentationRequest_sandboxing_success.https.html
PresentationRequest_success.https.html
defaultRequest.https.html
defaultRequest_success-manual.https.html
getAvailability_sandboxing_success.https.html
idlharness.https.html
reconnectToPresentation_notfound_error.https.html
reconnectToPresentation_sandboxing_success.https.html
startNewPresentation_displaynotallowed-manual.https.html
startNewPresentation_error.https.html
startNewPresentation_sandboxing_success-manual.https.html
startNewPresentation_success-manual.https.html
startNewPresentation_unsettledpromise-manual.https.html

PresentationConnection_onmessage-manual.https.html
PresentationConnection_send-manual.https.html
PresentationConnection_terminate-manual.https.html
idlharness-manual.https.html

Labels: -M-64 M-65
Status: Started (was: Assigned)
Labels: -M-65 M-69
Cc: -zhaobin@chromium.org
Labels: -M-69 Target-71
Labels: -Target-71 Target-72

Sign in to add a comment