Skip to content

Instantly share code, notes, and snippets.

View sideshowbarker's full-sized avatar
👺
最初バカー

sideshowbarker

👺
最初バカー
View GitHub Profile
<!DOCTYPE HTML>
<meta charset="utf-8">
<title>Pathological case for resolution of base URIs with javascript: in iframes (javascript:location.assign)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<base href="/html/browsers/browsing-the-web/navigating-across-documents/javascript-protocol">
<body onload="frames[0].location = 'javascript:location.assign(&quot;test.txt&quot)'">
<iframe onload="frameLoaded()"
src="/html/browsers/browsing-the-web/navigating-across-documents/javascript-protocol/inner-address/inner.html"></iframe>
env:
global:
- CHECKER=http://validator.w3.org/nu/
- FILES=$(find . -name "*.html")
- OUTPUT=$(for file in $FILES; do curl -s -F out=gnu -F doc=@$FILE $CHECKER; done)
script:
- if [ -n "$OUTPUT" ]; then printf "$OUTPUT"; echo; exit 1; fi
(gdb) py-bt
#3 Frame 0x18c41c0, for file /usr/lib/python2.7/multiprocessing/synchronize.py, line 246, in wait (self=<Condition(_lock=<Lock(release=<built-in method release of _multiprocessing.SemLock object at remote 0x1822540>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1822540>, _semlock=<_multiprocessing.SemLock at remote 0x1822540>) at remote 0x1839850>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1822540>, _wait_semaphore=<Semaphore(release=<built-in method release of _multiprocessing.SemLock object at remote 0x1832ab0>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1832ab0>, _semlock=<_multiprocessing.SemLock at remote 0x1832ab0>) at remote 0x1839950>, _sleeping_count=<Semaphore(release=<built-in method release of _multiprocessing.SemLock object at remote 0x1822510>, acquire=<built-in method acquire of _multiprocessing.SemLock object at remote 0x1822510>, _semlock=<_multiprocessing.SemLock at remot
@sideshowbarker
sideshowbarker / gist:4afef022003b6050e9ae
Created December 10, 2014 14:23
wpt manifest.py local_changes failure
$ python tools/scripts/manifest.py
DEBUG:manifest:Creating new manifest at /opt/workspace/web-platform-tests/MANIFEST.json
INFO:manifest:Updating manifest
DEBUG:manifest:Adding all changesets to the manifest
Traceback (most recent call last):
File "tools/scripts/manifest.py", line 855, in <module>
update_from_cli(**vars(opts))
File "tools/scripts/manifest.py", line 821, in update_from_cli
ignore_local=kwargs.get("ignore_local", False))
File "tools/scripts/manifest.py", line 800, in update
@sideshowbarker
sideshowbarker / gist:21fc8a22ad3cad41eb74
Created January 8, 2015 07:03
vnu TLSv10 stack trace
nu.validator.xml.PrudentHttpEntityResolver - https://us.hunchlab.com/login
nu.validator.servlet.VerifierServletTransaction - IOException
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:189)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
at sun.security.ssl.InputRecord.read(InputRecord.java:480)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
@sideshowbarker
sideshowbarker / gist:7fd83a3791f4702c2402
Created January 8, 2015 07:05
vnu TLSv10 stack trace two
nu.validator.xml.PrudentHttpEntityResolver - https://us.hunchlab.com/login
nu.validator.servlet.VerifierServletTransaction - IOException
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
"file:/opt/workspace/web-platform-tests/conformance-checkers/html/elements/picture/srcset-microsyntax-h-novalid.html": error: Expected "Bad value “x 1h” for attribute “srcset” on element “img”: Expected number followed by “w” or “x” but found “1h” at “x 1h”." but instead encountered "Bad value “x 1h” for attribute “srcset” on element “img”: Expected width descriptor but found “1h” at “x 1h”. (When the “sizes” attribute is present, all image candidate strings must specify a width.)".
"file:/opt/workspace/web-platform-tests/conformance-checkers/html/elements/picture/srcset-microsyntax-uppercase-w-novalid.html": error: Expected "Bad value “x 1W” for attribute “srcset” on element “img”: Expected number followed by “w” or “x” but found “1W” at “x 1W”." but instead encountered "Bad value “x 1W” for attribute “srcset” on element “img”: Expected width descriptor but found “1W” at “x 1W”. (When the “sizes” attribute is present, all image candidate strings must specify a width.)".
"file:/opt/workspace/web-platform-te
--- rash-html.rng 2015-03-07 02:32:38.000000000 +0900
+++ rash-html-fixed.rng 2015-03-08 13:39:07.000000000 +0900
@@ -14,7 +14,7 @@
Under the following terms:
* Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-->
-<grammar
+<grammar ns="http://www.w3.org/1999/xhtml"
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
num lang
402022 en
64916 en-us
26782 ja
17777 es
14013 fr
12622 ru
12405 pt
11996 de
7908 pl