Commit graph

19 commits

Author SHA1 Message Date
Anthony Ramine
c801327eab Rewrite how parser handles script scheduling 2016-11-26 22:58:20 +01:00
Ms2ger
ccdb0a3458 Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d 2016-11-15 09:35:34 +01:00
Ms2ger
3b4f0ec0bb Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0 2016-09-26 13:24:06 +02:00
Connor Brewster
3389c497c0 Finish hooking up XML parser
added script integration with xml5ever

Updated test expectations

Removed timeout test expectation

Refactors

application/xhtml+xml is treated as HTML

Updated xml5ever

Updated Text Expectations
2016-04-27 08:44:13 -06:00
Liamsi
62182f9de9 Use the document base url when resolving script URLs 2016-04-15 00:25:56 +02:00
Ms2ger
1f5d8fedd4 Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390 2016-01-18 13:24:36 +01:00
Ms2ger
9aa1b1e408 Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703 2015-12-10 09:38:01 -05:00
Josh Matthews
ef8a127156 Update test expectations. Mark script loads as complete when the response is complete. 2015-05-21 09:53:19 -04:00
Josh Matthews
8082df7d0d Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events. 2015-05-20 14:22:09 -04:00
James Graham
291ac06c01 Update web-platform-tests expected data to revision 2a9fd810bb18610b422dbc3998ab74aa1bffae95 2015-04-24 18:31:05 +01:00
Keith Yeung
fdcf9618cb Handle the for and event attributes on a script element correctly when one of them is present (fixes #5258). 2015-04-01 12:43:17 +02:00
Ms2ger
a8553c3606 Update web-platform-tests. 2015-03-17 22:02:43 +01:00
James Gilbertson
0b085df1bc Implement 'beforescriptexecute' and 'afterscriptexecute' events.
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
2015-02-25 15:37:54 -07:00
Prabhjyot Singh Sodhi
44e2e2747c implementing step 12 of 'prepare a script' algorithm 2015-02-21 04:58:27 +05:30
Ms2ger
92a7fee296 Update web-platform-tests. 2015-02-16 19:57:47 +01:00
Eduard Burtescu
f00dc4d54f Update WPT: script-onload-string is passing now. 2014-12-19 06:29:04 +02:00
Claes 'Letharion' Gyllensvärd
d84c0fc52a Lower case the type attribute before checking if it's JS 2014-11-18 08:39:59 +01:00
Matt Brubeck
fe123ad07c Switch to synchronous script loading
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes #3356.
2014-10-29 14:31:47 -07:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00