https://github.com/web-platform-tests/wpt
Revision f9ee7698e6b9ea271615ff3a58e89f8d85ac86d0 authored by François Daoust on 29 August 2016, 17:28:06 UTC, committed by Louay Bassbouss on 29 August 2016, 17:28:06 UTC
* New start presentation tests that trigger a mixed content error

The tests need to run over HTTPS, hence the ".https.html" extension. They
create a PresentationRequest with an HTTP URL and ensure that "start" reports
a SecurityError exception.

* Disable button once clicked and use document.title for test name

The tests are semi-manual and the test harness gets confused if the button
gets clicked more than once. Disabling the button ensures the user will only
run the test once.

Also, since the page only contains one test, it is good practice to use the
title of the page to convey the name of the test.

* New mixed content tests for Presentation API

The tests check "reconnect" and "getAvailability" mixed content steps.
1 parent 038f2db
History
Tip revision: f9ee7698e6b9ea271615ff3a58e89f8d85ac86d0 authored by François Daoust on 29 August 2016, 17:28:06 UTC
New presentation start tests that trigger a mixed content error (#3590)
Tip revision: f9ee769
File Mode Size
2dcontext
FileAPI
IndexedDB
WebCryptoAPI
WebIDL
XMLHttpRequest
ambient-light
annotation-model
app-uri
battery-status
common
compat
conformance-checkers
content-security-policy
cookies
cors
cssom-view
custom-elements
docs
dom
domparsing
domxpath
editing
encoding
encrypted-media
eventsource
ext-xhtml-pubid
fetch
fonts
gamepad
generic-sensor
geolocation-API
hr-time
html
html-imports
html-longdesc
html-media-capture
http
images
infrastructure
innerText
input-events
js
media
media-source
mediacapture-streams
microdata
mixed-content
navigation-timing
notifications
old-tests
orientation-event
page-visibility
payment-request
performance-timeline
pointerevents
pointerlock
presentation-api
progress-events
proximity
quirks-mode
referrer-policy
resource-timing
resources @ 8550cfe
screen-orientation
secure-contexts
selection
selectors
selectors-api
service-workers
shadow-dom
streams
subresource-integrity
svg
tools @ de4d6eb
touch-events
typedarrays
uievents
url
user-timing
vibration
wai-aria
web-animations
webaudio
webauthn
webdriver
webgl
webmessaging
webrtc
websockets
webstorage
webvtt
workers
.gitignore -rw-r--r-- 131 bytes
.gitmodules -rw-r--r-- 200 bytes
.travis.yml -rw-r--r-- 216 bytes
CONTRIBUTING.md -rw-r--r-- 1.5 KB
LICENSE -rw-r--r-- 145 bytes
README.md -rw-r--r-- 8.9 KB
config.default.json -rw-r--r-- 679 bytes
lint -rwxr-xr-x 261 bytes
lint.whitelist -rw-r--r-- 4.2 KB
manifest -rwxr-xr-x 167 bytes
serve -rwxr-xr-x 80 bytes
serve.py -rw-r--r-- 60 bytes
server-side.md -rw-r--r-- 8.1 KB
testharness_runner.html -rw-r--r-- 95 bytes

README.md

back to top