⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 264117 in webkit


Ignore:
Timestamp:
Jul 8, 2020, 10:57:56 AM (6 years ago)
Author:
Chris Dumez
Message:

Resync all remaining web-platform-tests/html tests from upstream
https://bugs.webkit.org/show_bug.cgi?id=214057

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Resync all remaining web-platform-tests/html tests from upstream cef93b58e7cf31f1d47ccb.

  • resources/resource-files.json:
  • web-platform-tests/html/*: Updated.

LayoutTests:

Location:
trunk/LayoutTests
Files:
310 added
107 deleted
123 edited
32 copied
9 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r264114 r264117  
     12020-07-08  Chris Dumez  <cdumez@apple.com>
     2
     3        Resync all remaining web-platform-tests/html tests from upstream
     4        https://bugs.webkit.org/show_bug.cgi?id=214057
     5
     6        Reviewed by Sam Weinig.
     7
     8        * TestExpectations:
     9        * tests-options.json:
     10
    1112020-07-08  Sam Weinig  <weinig@apple.com>
    212
  • trunk/LayoutTests/TestExpectations

    r264104 r264117  
    364364imported/w3c/web-platform-tests/html/browsers/offline/appcache/appcache-iframe.https.html [ Skip ]
    365365imported/w3c/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html [ Skip ]
     366imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html [ Skip ]
     367imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker.https.html [ Skip ]
    366368imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html [ Skip ]
    367369imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html [ Skip ]
     
    395397imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/referrer-same-origin.sub.html [ Skip ]
    396398imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/referrer-unsafe-url.sub.html [ Skip ]
     399imported/w3c/web-platform-tests/html/user-activation/consumption-crossorigin.sub.tentative.html [ Skip ]
     400imported/w3c/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html [ Skip ]
     401imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-crossorigin.sub.tentative.html [ Skip ]
     402imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-sameorigin.tentative.html [ Skip ]
     403imported/w3c/web-platform-tests/html/user-activation/propagation-crossorigin.sub.tentative.html [ Skip ]
     404imported/w3c/web-platform-tests/html/user-activation/propagation-sameorigin.tentative.html [ Skip ]
    397405imported/w3c/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.html [ Skip ]
    398406imported/w3c/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.worker.html [ Skip ]
     
    414422imported/w3c/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_access_details.sub.html [ Skip ]
    415423imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-disallow-scripts-via-unsandboxed-popup.tentative.html [ Skip ]
     424imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html [ Skip ]
    416425imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-multiple-error-events.html [ Skip ]
    417426imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-multiple-load-events.html [ Skip ]
     
    465474imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/inline-level.html [ ImageOnlyFailure ]
    466475imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/propagate-text-decoration.html [ ImageOnlyFailure ]
     476imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-painting-order.html [ ImageOnlyFailure ]
     477imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html [ ImageOnlyFailure ]
     478imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-update-with-border-object-fit.html [ ImageOnlyFailure ]
     479imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe.sub.html [ ImageOnlyFailure ]
     480imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-1-print.html [ ImageOnlyFailure ]
     481imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-2-print.html [ ImageOnlyFailure ]
     482imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-1-print.html [ ImageOnlyFailure ]
     483imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-2-print.html [ ImageOnlyFailure ]
     484imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-text-decoration.html [ ImageOnlyFailure ]
     485imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-add-label.html [ ImageOnlyFailure ]
     486imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label-to-empty-string.html [ ImageOnlyFailure ]
     487imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label.html [ ImageOnlyFailure ]
     488imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-rm-label.html [ ImageOnlyFailure ]
    467489imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html [ ImageOnlyFailure ]
    468490imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/adopt-from-image-document.html [ ImageOnlyFailure ]
     
    490512# Newly imported WPT tests that are flaky.
    491513imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.html [ Failure Pass ]
     514imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html [ Failure Pass ]
    492515imported/w3c/web-platform-tests/html/webappapis/update-rendering/child-document-raf-order.html [ Failure Pass ]
    493516imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-to-eager.tentative.html [ Failure Pass ]
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r264056 r264117  
     12020-07-08  Chris Dumez  <cdumez@apple.com>
     2
     3        Resync all remaining web-platform-tests/html tests from upstream
     4        https://bugs.webkit.org/show_bug.cgi?id=214057
     5
     6        Reviewed by Sam Weinig.
     7
     8        Resync all remaining web-platform-tests/html tests from upstream cef93b58e7cf31f1d47ccb.
     9
     10        * resources/resource-files.json:
     11        * web-platform-tests/html/*: Updated.
     12
    1132020-07-07  Lauro Moura  <lmoura@igalia.com>
    214
  • trunk/LayoutTests/imported/w3c/resources/resource-files.json

    r264035 r264117  
    15351535        "web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html",
    15361536        "web-platform-tests/html/canvas/element/line-styles/lineto_ref.html",
     1537        "web-platform-tests/html/canvas/element/manual/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html",
     1538        "web-platform-tests/html/canvas/element/manual/line-styles/lineto_ref.html",
     1539        "web-platform-tests/html/canvas/element/manual/transformations/transform_ref.html",
    15371540        "web-platform-tests/html/canvas/element/manual/unclosed-canvas-1-expected.htm",
    15381541        "web-platform-tests/html/canvas/element/manual/unclosed-canvas-2-expected.htm",
     
    23652368        "web-platform-tests/html/interaction/focus/document-level-focus-apis/support/test.html",
    23662369        "web-platform-tests/html/interaction/focus/processing-model/support/preventScroll-helper.html",
     2370        "web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-adopt-to-inactive-document-crash.html",
    23672371        "web-platform-tests/html/rendering/non-replaced-elements/flow-content-0/support/dialog-framed.html",
    23682372        "web-platform-tests/html/rendering/non-replaced-elements/lists/TODO-lists.html",
     
    23712375        "web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-2-notref.html",
    23722376        "web-platform-tests/html/rendering/non-replaced-elements/tables/table-layout-notref.html",
     2377        "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-crash.html",
    23732378        "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-div-display-contents.html",
    23742379        "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-shadow-dom.html",
     
    23792384        "web-platform-tests/html/rendering/non-replaced-elements/the-page/support/body-topmargin-leftmargin.html",
    23802385        "web-platform-tests/html/rendering/non-replaced-elements/the-page/test-body.xhtml",
     2386        "web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-content-crash.html",
    23812387        "web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas_scale_ref.html",
    23822388        "web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas_without_context_ref.html",
     2389        "web-platform-tests/html/rendering/the-details-element/empty-crash.html",
    23832390        "web-platform-tests/html/rendering/the-details-element/single-summary.html",
    23842391        "web-platform-tests/html/semantics/document-metadata/the-base-element/example.html",
     
    24622469        "web-platform-tests/html/semantics/forms/resetting-a-form/support/reset-form-event-realm.html",
    24632470        "web-platform-tests/html/semantics/forms/the-button-element/button-activate-frame.html",
     2471        "web-platform-tests/html/semantics/forms/the-form-element/form-action-in-inactive-document-crash.html",
    24642472        "web-platform-tests/html/semantics/forms/the-input-element/hidden-charset-case-sensitive-child.html",
    24652473        "web-platform-tests/html/semantics/forms/the-label-element/iframe-label-attributes.html",
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/README.md

    r223327 r264117  
    99For historical reasons, parts of HTML have their own directories:
    1010
    11 * [/2dcontext](/2dcontext)
    1211* [/custom-elements](/custom-elements)
    1312* [/eventsource](/eventsource)
    1413* [/imagebitmap-renderingcontext](/imagebitmap-renderingcontext)
    1514* [/innerText](/innerText)
    16 * [/offscreen-canvas](/offscreen-canvas)
    1715* [/shadow-dom](/shadow-dom)
    1816* [/webmessaging](/webmessaging)
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/w3c-import.log

    r262539 r264117  
    172172/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.html
    173173/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.png
    174 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001-expected.htm
    175 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001.htm
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/w3c-import.log

    r262539 r264117  
    5151/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.html
    5252/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html
    53 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas.html
    54 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self-expected.html
    55 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self.html
    56 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html
    57 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub.html
    58 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image.html
    59 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1.html
    60 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.measure.actualBoundingBox.html

    r262539 r264117  
    4444        _assert(Math.abs(ctx.measureText('A').actualBoundingBoxDescent) <= 1, "Math.abs(ctx.measureText('A').actualBoundingBoxDescent) <= 1");
    4545
     46        _assert(ctx.measureText('D').actualBoundingBoxLeft >= 48, "ctx.measureText('D').actualBoundingBoxLeft >= 48");
     47        _assert(ctx.measureText('D').actualBoundingBoxLeft <= 52, "ctx.measureText('D').actualBoundingBoxLeft <= 52");
     48        _assert(ctx.measureText('D').actualBoundingBoxRight >= 75, "ctx.measureText('D').actualBoundingBoxRight >= 75");
     49        _assert(ctx.measureText('D').actualBoundingBoxRight <= 80, "ctx.measureText('D').actualBoundingBoxRight <= 80");
     50        _assert(ctx.measureText('D').actualBoundingBoxAscent >= 35, "ctx.measureText('D').actualBoundingBoxAscent >= 35");
     51        _assert(ctx.measureText('D').actualBoundingBoxAscent <= 40, "ctx.measureText('D').actualBoundingBoxAscent <= 40");
     52        _assert(ctx.measureText('D').actualBoundingBoxDescent >= 12, "ctx.measureText('D').actualBoundingBoxDescent >= 12");
     53        _assert(ctx.measureText('D').actualBoundingBoxDescent <= 15, "ctx.measureText('D').actualBoundingBoxDescent <= 15");
     54
    4655        _assert(Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) <= 1, "Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) <= 1");
    4756        _assert(ctx.measureText('ABCD').actualBoundingBoxRight >= 200, "ctx.measureText('ABCD').actualBoundingBoxRight >= 200");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/w3c-import.log

    r262539 r264117  
    8383/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.basic.html
    8484/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.changed.html
    85 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html
    8685/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.removed.html
    8786/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.removed.png
     
    334333/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.svgimage.zeroheight.html
    335334/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.svgimage.zerowidth.html
     335/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity.html
     336/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html
     337/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid.html
    336338/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.strokeStyle.default.html
    337 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001.htm
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/w3c-import.log

    r262539 r264117  
    4747/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.width.transformed.html
    4848/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.width.valid.html
    49 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001-expected.htm
    50 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001.htm
    51 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a-expected.html
    52 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a.html
    53 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_ref.html
    54 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/w3c-import.log

    r262539 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/README.md
    1718/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/unclosed-canvas-1-expected.htm
    1819/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/unclosed-canvas-1-expected.htm
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/w3c-import.log

    r262539 r264117  
    8282/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/2d.shadow.transform.1.html
    8383/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/2d.shadow.transform.2.html
    84 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001.htm
    85 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002-expected.htm
    86 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002.htm
    87 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/w3c-import.log

    r262539 r264117  
    4141/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/2d.text.font.relative_size.html
    4242/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/2d.text.measure.width.space.html
    43 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001-expected.htm
    44 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001.htm
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/w3c-import.log

    r262539 r264117  
    2121/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.globalAlpha.html
    2222/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.globalCompositeOperation.html
    23 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled.html
    2423/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.lineCap.html
    2524/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.lineJoin.html
     
    3837/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.transformation.html
    3938/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.underflow.html
    40 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001-expected.htm
    41 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001.htm
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/w3c-import.log

    r262539 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform.html
    1817/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.order.html
    1918/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.rotate.direction.html
     
    3837/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.translate.basic.html
    3938/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.translate.nonfinite.html
    40 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001-expected.html
    41 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001.html
    42 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001-expected.htm
    43 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001.htm
    44 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a-expected.html
    45 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a.html
    46 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_ref.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/text/2d.text.measure.actualBoundingBox.html

    r262615 r264117  
    3737    _assertSame(Math.abs(ctx.measureText('A').actualBoundingBoxDescent), 0, "Math.abs(ctx.measureText('A').actualBoundingBoxDescent)", "0");
    3838
     39    _assert(ctx.measureText('D').actualBoundingBoxLeft >= 48, "ctx.measureText('D').actualBoundingBoxLeft >= 48");
     40    _assert(ctx.measureText('D').actualBoundingBoxLeft <= 52, "ctx.measureText('D').actualBoundingBoxLeft <= 52");
     41    _assert(ctx.measureText('D').actualBoundingBoxRight >= 75, "ctx.measureText('D').actualBoundingBoxRight >= 75");
     42    _assert(ctx.measureText('D').actualBoundingBoxRight <= 80, "ctx.measureText('D').actualBoundingBoxRight <= 80");
     43    _assert(ctx.measureText('D').actualBoundingBoxAscent >= 35, "ctx.measureText('D').actualBoundingBoxAscent >= 35");
     44    _assert(ctx.measureText('D').actualBoundingBoxAscent <= 40, "ctx.measureText('D').actualBoundingBoxAscent <= 40");
     45    _assert(ctx.measureText('D').actualBoundingBoxDescent >= 12, "ctx.measureText('D').actualBoundingBoxDescent >= 12");
     46    _assert(ctx.measureText('D').actualBoundingBoxDescent <= 15, "ctx.measureText('D').actualBoundingBoxDescent <= 15");
     47
    3948    _assertSame(Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft), 0, "Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft)", "0");
    4049    _assert(ctx.measureText('ABCD').actualBoundingBoxRight >= 200, "ctx.measureText('ABCD').actualBoundingBoxRight >= 200");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/text/2d.text.measure.actualBoundingBox.worker.js

    r262615 r264117  
    3333    _assertSame(Math.abs(ctx.measureText('A').actualBoundingBoxDescent), 0, "Math.abs(ctx.measureText('A').actualBoundingBoxDescent)", "0");
    3434
     35    _assert(ctx.measureText('D').actualBoundingBoxLeft >= 48, "ctx.measureText('D').actualBoundingBoxLeft >= 48");
     36    _assert(ctx.measureText('D').actualBoundingBoxLeft <= 52, "ctx.measureText('D').actualBoundingBoxLeft <= 52");
     37    _assert(ctx.measureText('D').actualBoundingBoxRight >= 75, "ctx.measureText('D').actualBoundingBoxRight >= 75");
     38    _assert(ctx.measureText('D').actualBoundingBoxRight <= 80, "ctx.measureText('D').actualBoundingBoxRight <= 80");
     39    _assert(ctx.measureText('D').actualBoundingBoxAscent >= 35, "ctx.measureText('D').actualBoundingBoxAscent >= 35");
     40    _assert(ctx.measureText('D').actualBoundingBoxAscent <= 40, "ctx.measureText('D').actualBoundingBoxAscent <= 40");
     41    _assert(ctx.measureText('D').actualBoundingBoxDescent >= 12, "ctx.measureText('D').actualBoundingBoxDescent >= 12");
     42    _assert(ctx.measureText('D').actualBoundingBoxDescent <= 15, "ctx.measureText('D').actualBoundingBoxDescent <= 15");
     43
    3544    _assertSame(Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft), 0, "Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft)", "0");
    3645    _assert(ctx.measureText('ABCD').actualBoundingBoxRight >= 200, "ctx.measureText('ABCD').actualBoundingBoxRight >= 200");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/w3c-import.log

    r262615 r264117  
    5959/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/initial.reset.transform.html
    6060/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/initial.reset.transform.worker.js
    61 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.html
    62 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w.html
    63 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.html
    64 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.worker.js
    65 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.html
    66 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.worker.js
    67 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.resize.html
    68 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html
    69 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html
    70 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.html
    71 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.w.html
    72 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable.html
    73 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable.w.html
    7461/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/size.attributes.default.html
    7562/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/size.attributes.default.worker.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/w3c-import.log

    r262615 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/2d.transformation.getTransform.html
    1817/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/2d.transformation.order.html
    1918/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/2d.transformation.order.worker.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/canvas-tests.js

    r262539 r264117  
    145145          const video = document.createElement("video");
    146146          video.oncanplaythrough = () => resolve(video);
     147          video.preload = "auto";
    147148          video.onerror = reject;
    148149          video.src = getVideoURI(crossOriginUrl + "/media/movie_300");
     
    157158          const video = document.createElement("video");
    158159          video.oncanplaythrough = () => resolve(video);
     160          video.preload = "auto";
    159161          video.onerror = reject;
    160162          video.src = "/common/redirect.py?location=" + getVideoURI(crossOriginUrl + "/media/movie_300");
     
    169171          const video = document.createElement("video");
    170172          video.oncanplaythrough = () => resolve(video);
     173          video.preload = "auto";
    171174          video.onerror = reject;
    172175          video.src = crossOriginUrl + "/common/redirect.py?location=" + getVideoURI(sameOriginUrl + "/media/movie_300");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/w3c-import.log

    r262539 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/2x2.png
    1718/LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/canvas-frame.css
    1819/LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/canvas-frame.css.headers
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/build.sh

    r262539 r264117  
    33
    44cd "${0%/*}"
    5 virtualenv -p python .virtualenv
     5virtualenv -p python2 .virtualenv
    66.virtualenv/bin/pip install pyyaml cairocffi
    77.virtualenv/bin/python gentest.py
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/gentestutils.py

    r262539 r264117  
    136136
    137137    tests = []
    138     TESTSFILES = ['tests.yaml', 'tests2d.yaml', 'tests2dtext.yaml']
     138    test_yaml_directory = "yaml/element"
    139139    if ISOFFSCREENCANVAS:
    140         TESTSFILES = ['tests2d-offscreen.yaml']
     140        test_yaml_directory = "yaml/offscreen"
     141    TESTSFILES = [
     142        os.path.join(test_yaml_directory, f) for f in os.listdir(test_yaml_directory)
     143        if f.endswith(".yaml")]
    141144    for t in sum([ yaml.load(open(f, "r").read()) for f in TESTSFILES], []):
    142145        if 'DISABLED' in t:
     
    309312            expected_img = None
    310313            if expected == 'green':
    311                 expected_img = "/images/" + make_flat_image('green-100x50.png', 100, 50, 0,1,0,1)
     314                expected_img = "/images/green-100x50.png"
    312315            elif expected == 'clear':
    313                 expected_img = "/images/" + make_flat_image('clear-100x50.png', 100, 50, 0,0,0,0)
     316                expected_img = "/images/clear-100x50.png"
    314317            else:
    315318                if ';' in expected:
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/spec.yaml

    r262539 r264117  
    270270  - id: 2d.pattern.modify
    271271    text: "Modifying this image after calling the createPattern() method *must* not affect the pattern<^>."
     272  - id: 2d.pattern.transform
     273    text: "The setTransform(transform) method, when invoked, must run these steps:"
    272274  - id: 2d.pattern.missing
    273275    text: "If the empty string is specified, repeat *must* be assumed<^>."
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/w3c-import.log

    r262539 r264117  
    2626/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/templates-offscreen.yaml
    2727/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/templates.yaml
    28 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests.yaml
    29 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests2d-offscreen.yaml
    30 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests2d.yaml
    31 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests2dtext.yaml
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml

    r264114 r264117  
    1 # Copyright (c) 2010 Philip Taylor
    2 # Released under the BSD license and W3C Test Suite License: see LICENSE.txt
    3 
    4 - name: 2d.text.font.parse.basic
    5   testing:
    6     - 2d.text.font.parse
    7     - 2d.text.font.get
    8   code: |
    9     ctx.font = '20px serif';
    10     @assert ctx.font === '20px serif';
    11 
    12     ctx.font = '20PX   SERIF';
    13     @assert ctx.font === '20px serif'; @moz-todo
    14 
    15 - name: 2d.text.font.parse.tiny
    16   testing:
    17     - 2d.text.font.parse
    18     - 2d.text.font.get
    19   code: |
    20     ctx.font = '1px sans-serif';
    21     @assert ctx.font === '1px sans-serif';
    22 
    23 - name: 2d.text.font.parse.complex
    24   testing:
    25     - 2d.text.font.parse
    26     - 2d.text.font.get
    27     - 2d.text.font.lineheight
    28   code: |
    29     ctx.font = 'small-caps italic 400 12px/2 Unknown Font, sans-serif';
    30     @assert ctx.font === 'italic small-caps 12px "Unknown Font", sans-serif'; @moz-todo
    31 
    32   # TODO:
    33   #   2d.text.font.parse.size.absolute
    34   #     xx-small x-small small medium large x-large xx-large
    35   #   2d.text.font.parse.size.relative
    36   #     smaller larger
    37   #   2d.text.font.parse.size.length.relative
    38   #     em ex px
    39   #   2d.text.font.parse.size.length.absolute
    40   #     in cm mm pt pc
    41 
    42 - name: 2d.text.font.parse.size.percentage
    43   testing:
    44     - 2d.text.font.parse
    45     - 2d.text.font.get
    46     - 2d.text.font.fontsize
    47     - 2d.text.font.size
    48   canvas: 'style="font-size: 144px" width="100" height="50"'
    49   code: |
    50     ctx.font = '50% serif';
    51     @assert ctx.font === '72px serif'; @moz-todo
    52     canvas.setAttribute('style', 'font-size: 100px');
    53     @assert ctx.font === '72px serif'; @moz-todo
    54 
    55 - name: 2d.text.font.parse.size.percentage.default
    56   testing:
    57     - 2d.text.font.undefined
    58   code: |
    59     var canvas2 = document.createElement('canvas');
    60     var ctx2 = canvas2.getContext('2d');
    61     ctx2.font = '1000% serif';
    62     @assert ctx2.font === '100px serif'; @moz-todo
    63 
    64 - name: 2d.text.font.parse.system
    65   desc: System fonts must be computed to explicit values
    66   testing:
    67     - 2d.text.font.parse
    68     - 2d.text.font.get
    69     - 2d.text.font.systemfonts
    70   code: |
    71     ctx.font = 'message-box';
    72     @assert ctx.font !== 'message-box';
    73 
    74 - name: 2d.text.font.parse.invalid
    75   testing:
    76     - 2d.text.font.invalid
    77   code: |
    78     ctx.font = '20px serif';
    79     @assert ctx.font === '20px serif';
    80 
    81     ctx.font = '20px serif';
    82     ctx.font = '';
    83     @assert ctx.font === '20px serif';
    84 
    85     ctx.font = '20px serif';
    86     ctx.font = 'bogus';
    87     @assert ctx.font === '20px serif';
    88 
    89     ctx.font = '20px serif';
    90     ctx.font = 'inherit';
    91     @assert ctx.font === '20px serif';
    92 
    93     ctx.font = '20px serif';
    94     ctx.font = '10px {bogus}';
    95     @assert ctx.font === '20px serif';
    96 
    97     ctx.font = '20px serif';
    98     ctx.font = '10px initial';
    99     @assert ctx.font === '20px serif'; @moz-todo
    100 
    101     ctx.font = '20px serif';
    102     ctx.font = '10px default';
    103     @assert ctx.font === '20px serif'; @moz-todo
    104 
    105     ctx.font = '20px serif';
    106     ctx.font = '10px inherit';
    107     @assert ctx.font === '20px serif';
    108 
    109     ctx.font = '20px serif';
    110     ctx.font = '1em serif; background: green; margin: 10px';
    111     @assert ctx.font === '20px serif';
    112 
    113 - name: 2d.text.font.default
    114   testing:
    115     - 2d.text.font.default
    116   code: |
    117     @assert ctx.font === '10px sans-serif';
    118 
    119 - name: 2d.text.font.relative_size
    120   testing:
    121     - 2d.text.font.relative_size
    122   code: |
    123     var canvas2 = document.createElement('canvas');
    124     var ctx2 = canvas2.getContext('2d');
    125     ctx2.font = '1em sans-serif';
    126     @assert ctx2.font === '10px sans-serif';
    127 
    128 - name: 2d.text.align.valid
    129   testing:
    130     - 2d.text.align.get
    131     - 2d.text.align.set
    132   code: |
    133     ctx.textAlign = 'start';
    134     @assert ctx.textAlign === 'start';
    135 
    136     ctx.textAlign = 'end';
    137     @assert ctx.textAlign === 'end';
    138 
    139     ctx.textAlign = 'left';
    140     @assert ctx.textAlign === 'left';
    141 
    142     ctx.textAlign = 'right';
    143     @assert ctx.textAlign === 'right';
    144 
    145     ctx.textAlign = 'center';
    146     @assert ctx.textAlign === 'center';
    147 
    148 - name: 2d.text.align.invalid
    149   testing:
    150     - 2d.text.align.invalid
    151   code: |
    152     ctx.textAlign = 'start';
    153     ctx.textAlign = 'bogus';
    154     @assert ctx.textAlign === 'start';
    155 
    156     ctx.textAlign = 'start';
    157     ctx.textAlign = 'END';
    158     @assert ctx.textAlign === 'start';
    159 
    160     ctx.textAlign = 'start';
    161     ctx.textAlign = 'end ';
    162     @assert ctx.textAlign === 'start';
    163 
    164     ctx.textAlign = 'start';
    165     ctx.textAlign = 'end\0';
    166     @assert ctx.textAlign === 'start';
    167 
    168 - name: 2d.text.align.default
    169   testing:
    170     - 2d.text.align.default
    171   code: |
    172     @assert ctx.textAlign === 'start';
    173 
    174 
    175 - name: 2d.text.baseline.valid
    176   testing:
    177     - 2d.text.baseline.get
    178     - 2d.text.baseline.set
    179   code: |
    180     ctx.textBaseline = 'top';
    181     @assert ctx.textBaseline === 'top';
    182 
    183     ctx.textBaseline = 'hanging';
    184     @assert ctx.textBaseline === 'hanging';
    185 
    186     ctx.textBaseline = 'middle';
    187     @assert ctx.textBaseline === 'middle';
    188 
    189     ctx.textBaseline = 'alphabetic';
    190     @assert ctx.textBaseline === 'alphabetic';
    191 
    192     ctx.textBaseline = 'ideographic';
    193     @assert ctx.textBaseline === 'ideographic';
    194 
    195     ctx.textBaseline = 'bottom';
    196     @assert ctx.textBaseline === 'bottom';
    197 
    198 - name: 2d.text.baseline.invalid
    199   testing:
    200     - 2d.text.baseline.invalid
    201   code: |
    202     ctx.textBaseline = 'top';
    203     ctx.textBaseline = 'bogus';
    204     @assert ctx.textBaseline === 'top';
    205 
    206     ctx.textBaseline = 'top';
    207     ctx.textBaseline = 'MIDDLE';
    208     @assert ctx.textBaseline === 'top';
    209 
    210     ctx.textBaseline = 'top';
    211     ctx.textBaseline = 'middle ';
    212     @assert ctx.textBaseline === 'top';
    213 
    214     ctx.textBaseline = 'top';
    215     ctx.textBaseline = 'middle\0';
    216     @assert ctx.textBaseline === 'top';
    217 
    218 - name: 2d.text.baseline.default
    219   testing:
    220     - 2d.text.baseline.default
    221   code: |
    222     @assert ctx.textBaseline === 'alphabetic';
    223 
    224 
    225 
    226 
    227 
    2281- name: 2d.text.draw.fill.basic
    2292  desc: fillText draws filled text
    2303  manual:
    2314  testing:
    232     - 2d.text.draw
    233     - 2d.text.draw.fill
     5  - 2d.text.draw
     6  - 2d.text.draw.fill
    2347  code: |
    2358    ctx.fillStyle = '#000';
     
    25427  desc: fillText does not start a new path or subpath
    25528  testing:
    256     - 2d.text.draw.fill
     29  - 2d.text.draw.fill
    25730  code: |
    25831    ctx.fillStyle = '#f00';
     
    27851  manual:
    27952  testing:
    280     - 2d.text.draw
     53  - 2d.text.draw
    28154  code: |
    28255    ctx.fillStyle = '#000';
     
    28760    ctx.fillText('\u202eFAIL \xa0 \xa0 SSAP', 5, 35);
    28861  expected: *passfill
    289 
    29062- name: 2d.text.draw.fill.maxWidth.large
    29163  desc: fillText handles maxWidth correctly
    29264  manual:
    29365  testing:
    294     - 2d.text.draw.maxwidth
     66  - 2d.text.draw.maxwidth
    29567  code: |
    29668    ctx.fillStyle = '#000';
     
    30072    ctx.fillText('PASS', 5, 35, 200);
    30173  expected: *passfill
    302 
    30374- name: 2d.text.draw.fill.maxWidth.small
    30475  desc: fillText handles maxWidth correctly
    30576  testing:
    306     - 2d.text.draw.maxwidth
     77  - 2d.text.draw.maxwidth
    30778  code: |
    30879    ctx.fillStyle = '#0f0';
     
    31788  desc: fillText handles maxWidth correctly
    31889  testing:
    319     - 2d.text.draw.maxwidth
     90  - 2d.text.draw.maxwidth
    32091  code: |
    32192    ctx.fillStyle = '#0f0';
     
    330101  desc: fillText handles maxWidth correctly
    331102  testing:
    332     - 2d.text.draw.maxwidth
     103  - 2d.text.draw.maxwidth
    333104  code: |
    334105    ctx.fillStyle = '#0f0';
     
    343114  desc: fillText handles maxWidth correctly
    344115  testing:
    345     - 2d.text.draw.maxwidth
     116  - 2d.text.draw.maxwidth
    346117  code: |
    347118    ctx.fillStyle = '#0f0';
     
    357128  manual:
    358129  testing:
    359     - 2d.text.draw
    360     - 2d.text.draw.stroke
     130  - 2d.text.draw
     131  - 2d.text.draw.stroke
    361132  code: |
    362133    ctx.fillStyle = '#000';
     
    383154  desc: strokeText does not start a new path or subpath
    384155  testing:
    385     - 2d.text.draw.stroke
     156  - 2d.text.draw.stroke
    386157  code: |
    387158    ctx.fillStyle = '#f00';
     
    408179  manual:
    409180  testing:
    410     - 2d.text.draw
     181  - 2d.text.draw
    411182  code: |
    412183    ctx.fillStyle = '#0f0';
     
    443214  desc: fillText works on @font-face fonts
    444215  testing:
    445     - 2d.text.draw.maxwidth
    446   fonts:
    447     - CanvasTest
     216  - 2d.text.draw.maxwidth
     217  fonts:
     218  - CanvasTest
    448219  code: |
    449220    ctx.font = '50px CanvasTest';
     
    464235  desc: fillText handles maxWidth based on line size, not bounding box size
    465236  testing:
    466     - 2d.text.draw.maxwidth
    467   fonts:
    468     - CanvasTest
     237  - 2d.text.draw.maxwidth
     238  fonts:
     239  - CanvasTest
    469240  code: |
    470241    ctx.font = '50px CanvasTest';
     
    484255- name: 2d.text.draw.fontface
    485256  testing:
    486     - 2d.text.font.fontface
    487   fonts:
    488     - CanvasTest
     257  - 2d.text.font.fontface
     258  fonts:
     259  - CanvasTest
    489260  code: |
    490261    ctx.font = '67px CanvasTest';
     
    503274
    504275- name: 2d.text.draw.fontface.repeat
    505   desc: Draw with the font immediately, then wait a bit until and draw again. (This crashes some version of WebKit.)
    506   testing:
    507     - 2d.text.font.fontface
    508   fonts:
    509     - CanvasTest
     276  desc: Draw with the font immediately, then wait a bit until and draw again. (This
     277    crashes some version of WebKit.)
     278  testing:
     279  - 2d.text.font.fontface
     280  fonts:
     281  - CanvasTest
    510282  fonthack: 0
    511283  code: |
     
    526298
    527299- name: 2d.text.draw.fontface.notinpage
    528   desc: "@font-face fonts should work even if they are not used in the page"
    529   testing:
    530     - 2d.text.font.fontface
    531   fonts:
    532     - CanvasTest
     300  desc: '@font-face fonts should work even if they are not used in the page'
     301  testing:
     302  - 2d.text.font.fontface
     303  fonts:
     304  - CanvasTest
    533305  fonthack: 0
    534306  code: |
     
    547319  expected: green
    548320
    549 - name: 2d.text.draw.baseline.top
    550   desc: textBaseline top is the top of the em square (not the bounding box)
    551   testing:
    552     - 2d.text.baseline.top
    553   fonts:
    554     - CanvasTest
    555   code: |
    556     ctx.font = '50px CanvasTest';
    557     deferTest();
    558     step_timeout(t.step_func_done(function () {
    559         ctx.fillStyle = '#f00';
    560         ctx.fillRect(0, 0, 100, 50);
    561         ctx.fillStyle = '#0f0';
    562         ctx.textBaseline = 'top';
    563         ctx.fillText('CC', 0, 0);
     321- name: 2d.text.draw.align.left
     322  desc: textAlign left is the left of the first em square (not the bounding box)
     323  testing:
     324  - 2d.text.align.left
     325  fonts:
     326  - CanvasTest
     327  code: |
     328    ctx.font = '50px CanvasTest';
     329    deferTest();
     330    step_timeout(t.step_func_done(function () {
     331        ctx.fillStyle = '#f00';
     332        ctx.fillRect(0, 0, 100, 50);
     333        ctx.fillStyle = '#0f0';
     334        ctx.textAlign = 'left';
     335        ctx.fillText('DD', 0, 37.5);
    564336        @assert pixel 5,5 ==~ 0,255,0,255;
    565337        @assert pixel 95,5 ==~ 0,255,0,255;
     
    571343  expected: green
    572344
    573 - name: 2d.text.draw.baseline.bottom
    574   desc: textBaseline bottom is the bottom of the em square (not the bounding box)
    575   testing:
    576     - 2d.text.baseline.bottom
    577   fonts:
    578     - CanvasTest
    579   code: |
    580     ctx.font = '50px CanvasTest';
    581     deferTest();
    582     step_timeout(t.step_func_done(function () {
    583         ctx.fillStyle = '#f00';
    584         ctx.fillRect(0, 0, 100, 50);
    585         ctx.fillStyle = '#0f0';
    586         ctx.textBaseline = 'bottom';
    587         ctx.fillText('CC', 0, 50);
     345- name: 2d.text.draw.align.right
     346  desc: textAlign right is the right of the last em square (not the bounding box)
     347  testing:
     348  - 2d.text.align.right
     349  fonts:
     350  - CanvasTest
     351  code: |
     352    ctx.font = '50px CanvasTest';
     353    deferTest();
     354    step_timeout(t.step_func_done(function () {
     355        ctx.fillStyle = '#f00';
     356        ctx.fillRect(0, 0, 100, 50);
     357        ctx.fillStyle = '#0f0';
     358        ctx.textAlign = 'right';
     359        ctx.fillText('DD', 100, 37.5);
    588360        @assert pixel 5,5 ==~ 0,255,0,255;
    589361        @assert pixel 95,5 ==~ 0,255,0,255;
     
    595367  expected: green
    596368
    597 - name: 2d.text.draw.baseline.middle
    598   desc: textBaseline middle is the middle of the em square (not the bounding box)
    599   testing:
    600     - 2d.text.baseline.middle
    601   fonts:
    602     - CanvasTest
    603   code: |
    604     ctx.font = '50px CanvasTest';
    605     deferTest();
    606     step_timeout(t.step_func_done(function () {
    607         ctx.fillStyle = '#f00';
    608         ctx.fillRect(0, 0, 100, 50);
    609         ctx.fillStyle = '#0f0';
    610         ctx.textBaseline = 'middle';
    611         ctx.fillText('CC', 0, 25);
     369- name: 2d.text.draw.align.start.ltr
     370  desc: textAlign start with ltr is the left edge
     371  testing:
     372  - 2d.text.align.left
     373  fonts:
     374  - CanvasTest
     375  canvas: width="100" height="50" dir="ltr"
     376  code: |
     377    ctx.font = '50px CanvasTest';
     378    deferTest();
     379    step_timeout(t.step_func_done(function () {
     380        ctx.fillStyle = '#f00';
     381        ctx.fillRect(0, 0, 100, 50);
     382        ctx.fillStyle = '#0f0';
     383        ctx.textAlign = 'start';
     384        ctx.fillText('DD', 0, 37.5);
    612385        @assert pixel 5,5 ==~ 0,255,0,255;
    613386        @assert pixel 95,5 ==~ 0,255,0,255;
     
    619392  expected: green
    620393
    621 - name: 2d.text.draw.baseline.alphabetic
    622   testing:
    623     - 2d.text.baseline.alphabetic
    624   fonts:
    625     - CanvasTest
    626   code: |
    627     ctx.font = '50px CanvasTest';
    628     deferTest();
    629     step_timeout(t.step_func_done(function () {
    630         ctx.fillStyle = '#f00';
    631         ctx.fillRect(0, 0, 100, 50);
    632         ctx.fillStyle = '#0f0';
    633         ctx.textBaseline = 'alphabetic';
    634         ctx.fillText('CC', 0, 37.5);
     394- name: 2d.text.draw.align.start.rtl
     395  desc: textAlign start with rtl is the right edge
     396  testing:
     397  - 2d.text.align.right
     398  - 2d.text.draw.direction
     399  fonts:
     400  - CanvasTest
     401  canvas: width="100" height="50" dir="rtl"
     402  code: |
     403    ctx.font = '50px CanvasTest';
     404    deferTest();
     405    step_timeout(t.step_func_done(function () {
     406        ctx.fillStyle = '#f00';
     407        ctx.fillRect(0, 0, 100, 50);
     408        ctx.fillStyle = '#0f0';
     409        ctx.textAlign = 'start';
     410        ctx.fillText('DD', 100, 37.5);
    635411        @assert pixel 5,5 ==~ 0,255,0,255;
    636412        @assert pixel 95,5 ==~ 0,255,0,255;
     
    642418  expected: green
    643419
    644 - name: 2d.text.draw.baseline.ideographic
    645   testing:
    646     - 2d.text.baseline.ideographic
    647   fonts:
    648     - CanvasTest
    649   code: |
    650     ctx.font = '50px CanvasTest';
    651     deferTest();
    652     step_timeout(t.step_func_done(function () {
    653         ctx.fillStyle = '#f00';
    654         ctx.fillRect(0, 0, 100, 50);
    655         ctx.fillStyle = '#0f0';
    656         ctx.textBaseline = 'ideographic';
    657         ctx.fillText('CC', 0, 31.25);
    658         @assert pixel 5,5 ==~ 0,255,0,255;
    659         @assert pixel 95,5 ==~ 0,255,0,255;
    660         @assert pixel 25,25 ==~ 0,255,0,255;
    661         @assert pixel 75,25 ==~ 0,255,0,255;
    662         @assert pixel 5,45 ==~ 0,255,0,255; @moz-todo
    663         @assert pixel 95,45 ==~ 0,255,0,255; @moz-todo
    664     }), 500);
    665   expected: green
    666 
    667 - name: 2d.text.draw.baseline.hanging
    668   testing:
    669     - 2d.text.baseline.hanging
    670   fonts:
    671     - CanvasTest
    672   code: |
    673     ctx.font = '50px CanvasTest';
    674     deferTest();
    675     step_timeout(t.step_func_done(function () {
    676         ctx.fillStyle = '#f00';
    677         ctx.fillRect(0, 0, 100, 50);
    678         ctx.fillStyle = '#0f0';
    679         ctx.textBaseline = 'hanging';
    680         ctx.fillText('CC', 0, 12.5);
    681         @assert pixel 5,5 ==~ 0,255,0,255; @moz-todo
    682         @assert pixel 95,5 ==~ 0,255,0,255; @moz-todo
     420- name: 2d.text.draw.align.end.ltr
     421  desc: textAlign end with ltr is the right edge
     422  testing:
     423  - 2d.text.align.right
     424  fonts:
     425  - CanvasTest
     426  canvas: width="100" height="50" dir="ltr"
     427  code: |
     428    ctx.font = '50px CanvasTest';
     429    deferTest();
     430    step_timeout(t.step_func_done(function () {
     431        ctx.fillStyle = '#f00';
     432        ctx.fillRect(0, 0, 100, 50);
     433        ctx.fillStyle = '#0f0';
     434        ctx.textAlign = 'end';
     435        ctx.fillText('DD', 100, 37.5);
     436        @assert pixel 5,5 ==~ 0,255,0,255;
     437        @assert pixel 95,5 ==~ 0,255,0,255;
    683438        @assert pixel 25,25 ==~ 0,255,0,255;
    684439        @assert pixel 75,25 ==~ 0,255,0,255;
     
    688443  expected: green
    689444
    690 - name: 2d.text.draw.align.left
    691   desc: textAlign left is the left of the first em square (not the bounding box)
    692   testing:
    693     - 2d.text.align.left
    694   fonts:
    695     - CanvasTest
    696   code: |
    697     ctx.font = '50px CanvasTest';
    698     deferTest();
    699     step_timeout(t.step_func_done(function () {
    700         ctx.fillStyle = '#f00';
    701         ctx.fillRect(0, 0, 100, 50);
    702         ctx.fillStyle = '#0f0';
    703         ctx.textAlign = 'left';
     445- name: 2d.text.draw.align.end.rtl
     446  desc: textAlign end with rtl is the left edge
     447  testing:
     448  - 2d.text.align.left
     449  - 2d.text.draw.direction
     450  fonts:
     451  - CanvasTest
     452  canvas: width="100" height="50" dir="rtl"
     453  code: |
     454    ctx.font = '50px CanvasTest';
     455    deferTest();
     456    step_timeout(t.step_func_done(function () {
     457        ctx.fillStyle = '#f00';
     458        ctx.fillRect(0, 0, 100, 50);
     459        ctx.fillStyle = '#0f0';
     460        ctx.textAlign = 'end';
    704461        ctx.fillText('DD', 0, 37.5);
    705462        @assert pixel 5,5 ==~ 0,255,0,255;
     
    712469  expected: green
    713470
    714 - name: 2d.text.draw.align.right
    715   desc: textAlign right is the right of the last em square (not the bounding box)
    716   testing:
    717     - 2d.text.align.right
    718   fonts:
    719     - CanvasTest
    720   code: |
    721     ctx.font = '50px CanvasTest';
    722     deferTest();
    723     step_timeout(t.step_func_done(function () {
    724         ctx.fillStyle = '#f00';
    725         ctx.fillRect(0, 0, 100, 50);
    726         ctx.fillStyle = '#0f0';
    727         ctx.textAlign = 'right';
    728         ctx.fillText('DD', 100, 37.5);
     471- name: 2d.text.draw.align.center
     472  desc: textAlign center is the center of the em squares (not the bounding box)
     473  testing:
     474  - 2d.text.align.center
     475  fonts:
     476  - CanvasTest
     477  code: |
     478    ctx.font = '50px CanvasTest';
     479    deferTest();
     480    step_timeout(t.step_func_done(function () {
     481        ctx.fillStyle = '#f00';
     482        ctx.fillRect(0, 0, 100, 50);
     483        ctx.fillStyle = '#0f0';
     484        ctx.textAlign = 'center';
     485        ctx.fillText('DD', 50, 37.5);
    729486        @assert pixel 5,5 ==~ 0,255,0,255;
    730487        @assert pixel 95,5 ==~ 0,255,0,255;
     
    736493  expected: green
    737494
    738 - name: 2d.text.draw.align.start.ltr
    739   desc: textAlign start with ltr is the left edge
    740   testing:
    741     - 2d.text.align.left
    742   fonts:
    743     - CanvasTest
    744   canvas: width="100" height="50" dir="ltr"
    745   code: |
    746     ctx.font = '50px CanvasTest';
    747     deferTest();
    748     step_timeout(t.step_func_done(function () {
    749         ctx.fillStyle = '#f00';
    750         ctx.fillRect(0, 0, 100, 50);
    751         ctx.fillStyle = '#0f0';
    752         ctx.textAlign = 'start';
    753         ctx.fillText('DD', 0, 37.5);
    754         @assert pixel 5,5 ==~ 0,255,0,255;
    755         @assert pixel 95,5 ==~ 0,255,0,255;
    756         @assert pixel 25,25 ==~ 0,255,0,255;
    757         @assert pixel 75,25 ==~ 0,255,0,255;
    758         @assert pixel 5,45 ==~ 0,255,0,255;
    759         @assert pixel 95,45 ==~ 0,255,0,255;
    760     }), 500);
    761   expected: green
    762 
    763 - name: 2d.text.draw.align.start.rtl
    764   desc: textAlign start with rtl is the right edge
    765   testing:
    766     - 2d.text.align.right
    767     - 2d.text.draw.direction
    768   fonts:
    769     - CanvasTest
    770   canvas: width="100" height="50" dir="rtl"
    771   code: |
    772     ctx.font = '50px CanvasTest';
    773     deferTest();
    774     step_timeout(t.step_func_done(function () {
    775         ctx.fillStyle = '#f00';
    776         ctx.fillRect(0, 0, 100, 50);
    777         ctx.fillStyle = '#0f0';
    778         ctx.textAlign = 'start';
    779         ctx.fillText('DD', 100, 37.5);
    780         @assert pixel 5,5 ==~ 0,255,0,255;
    781         @assert pixel 95,5 ==~ 0,255,0,255;
    782         @assert pixel 25,25 ==~ 0,255,0,255;
    783         @assert pixel 75,25 ==~ 0,255,0,255;
    784         @assert pixel 5,45 ==~ 0,255,0,255;
    785         @assert pixel 95,45 ==~ 0,255,0,255;
    786     }), 500);
    787   expected: green
    788 
    789 - name: 2d.text.draw.align.end.ltr
    790   desc: textAlign end with ltr is the right edge
    791   testing:
    792     - 2d.text.align.right
    793   fonts:
    794     - CanvasTest
    795   canvas: width="100" height="50" dir="ltr"
    796   code: |
    797     ctx.font = '50px CanvasTest';
    798     deferTest();
    799     step_timeout(t.step_func_done(function () {
    800         ctx.fillStyle = '#f00';
    801         ctx.fillRect(0, 0, 100, 50);
    802         ctx.fillStyle = '#0f0';
    803         ctx.textAlign = 'end';
    804         ctx.fillText('DD', 100, 37.5);
    805         @assert pixel 5,5 ==~ 0,255,0,255;
    806         @assert pixel 95,5 ==~ 0,255,0,255;
    807         @assert pixel 25,25 ==~ 0,255,0,255;
    808         @assert pixel 75,25 ==~ 0,255,0,255;
    809         @assert pixel 5,45 ==~ 0,255,0,255;
    810         @assert pixel 95,45 ==~ 0,255,0,255;
    811     }), 500);
    812   expected: green
    813 
    814 - name: 2d.text.draw.align.end.rtl
    815   desc: textAlign end with rtl is the left edge
    816   testing:
    817     - 2d.text.align.left
    818     - 2d.text.draw.direction
    819   fonts:
    820     - CanvasTest
    821   canvas: width="100" height="50" dir="rtl"
    822   code: |
    823     ctx.font = '50px CanvasTest';
    824     deferTest();
    825     step_timeout(t.step_func_done(function () {
    826         ctx.fillStyle = '#f00';
    827         ctx.fillRect(0, 0, 100, 50);
    828         ctx.fillStyle = '#0f0';
    829         ctx.textAlign = 'end';
    830         ctx.fillText('DD', 0, 37.5);
    831         @assert pixel 5,5 ==~ 0,255,0,255;
    832         @assert pixel 95,5 ==~ 0,255,0,255;
    833         @assert pixel 25,25 ==~ 0,255,0,255;
    834         @assert pixel 75,25 ==~ 0,255,0,255;
    835         @assert pixel 5,45 ==~ 0,255,0,255;
    836         @assert pixel 95,45 ==~ 0,255,0,255;
    837     }), 500);
    838   expected: green
    839 
    840 - name: 2d.text.draw.align.center
    841   desc: textAlign center is the center of the em squares (not the bounding box)
    842   testing:
    843     - 2d.text.align.center
    844   fonts:
    845     - CanvasTest
    846   code: |
    847     ctx.font = '50px CanvasTest';
    848     deferTest();
    849     step_timeout(t.step_func_done(function () {
    850         ctx.fillStyle = '#f00';
    851         ctx.fillRect(0, 0, 100, 50);
    852         ctx.fillStyle = '#0f0';
    853         ctx.textAlign = 'center';
    854         ctx.fillText('DD', 50, 37.5);
    855         @assert pixel 5,5 ==~ 0,255,0,255;
    856         @assert pixel 95,5 ==~ 0,255,0,255;
    857         @assert pixel 25,25 ==~ 0,255,0,255;
    858         @assert pixel 75,25 ==~ 0,255,0,255;
    859         @assert pixel 5,45 ==~ 0,255,0,255;
    860         @assert pixel 95,45 ==~ 0,255,0,255;
    861     }), 500);
    862   expected: green
    863 
    864495
    865496- name: 2d.text.draw.space.basic
    866497  desc: U+0020 is rendered the correct size (1em wide)
    867498  testing:
    868     - 2d.text.draw.spaces
    869   fonts:
    870     - CanvasTest
     499  - 2d.text.draw.spaces
     500  fonts:
     501  - CanvasTest
    871502  code: |
    872503    ctx.font = '50px CanvasTest';
     
    879510        @assert pixel 25,25 ==~ 0,255,0,255;
    880511        @assert pixel 75,25 ==~ 0,255,0,255;
    881     }), 500);
    882   expected: green
    883 
    884 - name: 2d.text.draw.space.collapse.space
    885   desc: Space characters are converted to U+0020, and collapsed (per CSS)
    886   testing:
    887     - 2d.text.draw.spaces
    888   fonts:
    889     - CanvasTest
    890   code: |
    891     ctx.font = '50px CanvasTest';
    892     deferTest();
    893     step_timeout(t.step_func_done(function () {
    894         ctx.fillStyle = '#f00';
    895         ctx.fillRect(0, 0, 100, 50);
    896         ctx.fillStyle = '#0f0';
    897         ctx.fillText('E  EE', -100, 37.5);
    898         @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    899         @assert pixel 75,25 ==~ 0,255,0,255;
    900     }), 500);
    901   expected: green
    902 
    903 - name: 2d.text.draw.space.collapse.other
    904   desc: Space characters are converted to U+0020, and collapsed (per CSS)
    905   testing:
    906     - 2d.text.draw.spaces
    907   fonts:
    908     - CanvasTest
    909   code: |
    910     ctx.font = '50px CanvasTest';
    911     deferTest();
    912     step_timeout(t.step_func_done(function () {
    913         ctx.fillStyle = '#f00';
    914         ctx.fillRect(0, 0, 100, 50);
    915         ctx.fillStyle = '#0f0';
    916         ctx.fillText('E \x09\x0a\x0c\x0d  \x09\x0a\x0c\x0dEE', -100, 37.5);
    917         @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    918         @assert pixel 75,25 ==~ 0,255,0,255; @moz-todo
    919512    }), 500);
    920513  expected: green
     
    923516  desc: Non-space characters are not converted to U+0020 and collapsed
    924517  testing:
    925     - 2d.text.draw.spaces
    926   fonts:
    927     - CanvasTest
     518  - 2d.text.draw.spaces
     519  fonts:
     520  - CanvasTest
    928521  code: |
    929522    ctx.font = '50px CanvasTest';
     
    938531    }), 500);
    939532  expected: green
    940 
    941 - name: 2d.text.draw.space.collapse.start
    942   desc: Space characters at the start of a line are collapsed (per CSS)
    943   testing:
    944     - 2d.text.draw.spaces
    945   fonts:
    946     - CanvasTest
    947   code: |
    948     ctx.font = '50px CanvasTest';
    949     deferTest();
    950     step_timeout(t.step_func_done(function () {
    951         ctx.fillStyle = '#f00';
    952         ctx.fillRect(0, 0, 100, 50);
    953         ctx.fillStyle = '#0f0';
    954         ctx.fillText(' EE', 0, 37.5);
    955         @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    956         @assert pixel 75,25 ==~ 0,255,0,255;
    957     }), 500);
    958   expected: green
    959 
    960 - name: 2d.text.draw.space.collapse.end
    961   desc: Space characters at the end of a line are collapsed (per CSS)
    962   testing:
    963     - 2d.text.draw.spaces
    964   fonts:
    965     - CanvasTest
    966   code: |
    967     ctx.font = '50px CanvasTest';
    968     deferTest();
    969     step_timeout(t.step_func_done(function () {
    970         ctx.fillStyle = '#f00';
    971         ctx.fillRect(0, 0, 100, 50);
    972         ctx.fillStyle = '#0f0';
    973         ctx.textAlign = 'right';
    974         ctx.fillText('EE ', 100, 37.5);
    975         @assert pixel 25,25 ==~ 0,255,0,255;
    976         @assert pixel 75,25 ==~ 0,255,0,255; @moz-todo
    977     }), 500);
    978   expected: green
    979 
    980533
    981534- name: 2d.text.measure.width.basic
    982535  desc: The width of character is same as font used
    983536  testing:
    984     - 2d.text.measure
    985   fonts:
    986     - CanvasTest
     537  - 2d.text.measure
     538  fonts:
     539  - CanvasTest
    987540  code: |
    988541    deferTest();
     
    1004557  desc: The empty string has zero width
    1005558  testing:
    1006     - 2d.text.measure
    1007   fonts:
    1008     - CanvasTest
     559  - 2d.text.measure
     560  fonts:
     561  - CanvasTest
    1009562  code: |
    1010563    deferTest();
     
    1018571    });
    1019572
    1020 - name: 2d.text.measure.width.space
    1021   desc: Space characters are converted to U+0020 and collapsed (per CSS)
    1022   testing:
    1023     - 2d.text.measure.spaces
    1024   fonts:
    1025     - CanvasTest
    1026   code: |
    1027     deferTest();
    1028     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1029     document.fonts.add(f);
    1030     document.fonts.ready.then(() => {
    1031         step_timeout(t.step_func_done(function () {
    1032             ctx.font = '50px CanvasTest';
    1033             @assert ctx.measureText('A B').width === 150;
    1034             @assert ctx.measureText('A  B').width === 150; @moz-todo
    1035             @assert ctx.measureText('A \x09\x0a\x0c\x0d  \x09\x0a\x0c\x0dB').width === 150; @moz-todo
    1036             @assert ctx.measureText('A \x0b B').width >= 200;
    1037 
    1038             @assert ctx.measureText(' AB').width === 100; @moz-todo
    1039             @assert ctx.measureText('AB ').width === 100; @moz-todo
    1040         }), 500);
    1041     });
    1042 
    1043573- name: 2d.text.measure.advances
    1044574  desc: Testing width advances
    1045575  testing:
    1046     - 2d.text.measure.advances
    1047   fonts:
    1048     - CanvasTest
     576  - 2d.text.measure.advances
     577  fonts:
     578  - CanvasTest
    1049579  code: |
    1050580    deferTest();
     
    1076606  desc: Testing actualBoundingBox
    1077607  testing:
    1078     - 2d.text.measure.actualBoundingBox
    1079   fonts:
    1080     - CanvasTest
     608  - 2d.text.measure.actualBoundingBox
     609  fonts:
     610  - CanvasTest
    1081611  code: |
    1082612    deferTest();
     
    1097627            @assert Math.abs(ctx.measureText('A').actualBoundingBoxDescent) <= 1;
    1098628
     629            @assert ctx.measureText('D').actualBoundingBoxLeft >= 48;
     630            @assert ctx.measureText('D').actualBoundingBoxLeft <= 52;
     631            @assert ctx.measureText('D').actualBoundingBoxRight >= 75;
     632            @assert ctx.measureText('D').actualBoundingBoxRight <= 80;
     633            @assert ctx.measureText('D').actualBoundingBoxAscent >= 35;
     634            @assert ctx.measureText('D').actualBoundingBoxAscent <= 40;
     635            @assert ctx.measureText('D').actualBoundingBoxDescent >= 12;
     636            @assert ctx.measureText('D').actualBoundingBoxDescent <= 15;
     637
    1099638            @assert Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) <= 1;
    1100639            @assert ctx.measureText('ABCD').actualBoundingBoxRight >= 200;
     
    1107646  desc: Testing fontBoundingBox
    1108647  testing:
    1109     - 2d.text.measure.fontBoundingBox
    1110   fonts:
    1111     - CanvasTest
     648  - 2d.text.measure.fontBoundingBox
     649  fonts:
     650  - CanvasTest
    1112651  code: |
    1113652    deferTest();
     
    1130669  desc: Testing emHeights
    1131670  testing:
    1132     - 2d.text.measure.emHeights
    1133   fonts:
    1134     - CanvasTest
     671  - 2d.text.measure.emHeights
     672  fonts:
     673  - CanvasTest
    1135674  code: |
    1136675    deferTest();
     
    1155694  desc: Testing baselines
    1156695  testing:
    1157     - 2d.text.measure.baselines
    1158   fonts:
    1159     - CanvasTest
     696  - 2d.text.measure.baselines
     697  fonts:
     698  - CanvasTest
    1160699  code: |
    1161700    deferTest();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/text.yaml

    r264114 r264117  
    1 # Copyright (c) 2010 Philip Taylor
    2 # Released under the BSD license and W3C Test Suite License: see LICENSE.txt
    3 
    41- name: 2d.text.font.parse.basic
    52  testing:
    6     - 2d.text.font.parse
    7     - 2d.text.font.get
     3  - 2d.text.font.parse
     4  - 2d.text.font.get
    85  code: |
    96    ctx.font = '20px serif';
     
    129    ctx.font = '20PX   SERIF';
    1310    @assert ctx.font === '20px serif'; @moz-todo
     11    t.done();
    1412
    1513- name: 2d.text.font.parse.tiny
    1614  testing:
    17     - 2d.text.font.parse
    18     - 2d.text.font.get
     15  - 2d.text.font.parse
     16  - 2d.text.font.get
    1917  code: |
    2018    ctx.font = '1px sans-serif';
    2119    @assert ctx.font === '1px sans-serif';
     20    t.done();
    2221
    2322- name: 2d.text.font.parse.complex
    2423  testing:
    25     - 2d.text.font.parse
    26     - 2d.text.font.get
    27     - 2d.text.font.lineheight
     24  - 2d.text.font.parse
     25  - 2d.text.font.get
     26  - 2d.text.font.lineheight
    2827  code: |
    2928    ctx.font = 'small-caps italic 400 12px/2 Unknown Font, sans-serif';
    3029    @assert ctx.font === 'italic small-caps 12px "Unknown Font", sans-serif'; @moz-todo
     30    t.done();
    3131
    3232  # TODO:
     
    4040  #     in cm mm pt pc
    4141
    42 - name: 2d.text.font.parse.size.percentage
    43   testing:
    44     - 2d.text.font.parse
    45     - 2d.text.font.get
    46     - 2d.text.font.fontsize
    47     - 2d.text.font.size
    48   canvas: 'style="font-size: 144px" width="100" height="50"'
    49   code: |
    50     ctx.font = '50% serif';
    51     @assert ctx.font === '72px serif'; @moz-todo
    52     canvas.setAttribute('style', 'font-size: 100px');
    53     @assert ctx.font === '72px serif'; @moz-todo
    54 
    55 - name: 2d.text.font.parse.size.percentage.default
    56   testing:
    57     - 2d.text.font.undefined
    58   code: |
    59     var canvas2 = document.createElement('canvas');
    60     var ctx2 = canvas2.getContext('2d');
    61     ctx2.font = '1000% serif';
    62     @assert ctx2.font === '100px serif'; @moz-todo
    63 
    6442- name: 2d.text.font.parse.system
    6543  desc: System fonts must be computed to explicit values
    6644  testing:
    67     - 2d.text.font.parse
    68     - 2d.text.font.get
    69     - 2d.text.font.systemfonts
     45  - 2d.text.font.parse
     46  - 2d.text.font.get
     47  - 2d.text.font.systemfonts
    7048  code: |
    7149    ctx.font = 'message-box';
    7250    @assert ctx.font !== 'message-box';
     51    t.done();
    7352
    7453- name: 2d.text.font.parse.invalid
    7554  testing:
    76     - 2d.text.font.invalid
     55  - 2d.text.font.invalid
    7756  code: |
    7857    ctx.font = '20px serif';
     
    11089    ctx.font = '1em serif; background: green; margin: 10px';
    11190    @assert ctx.font === '20px serif';
     91    t.done();
    11292
    11393- name: 2d.text.font.default
    11494  testing:
    115     - 2d.text.font.default
     95  - 2d.text.font.default
    11696  code: |
    11797    @assert ctx.font === '10px sans-serif';
     98    t.done();
    11899
    119100- name: 2d.text.font.relative_size
    120101  testing:
    121     - 2d.text.font.relative_size
    122   code: |
    123     var canvas2 = document.createElement('canvas');
    124     var ctx2 = canvas2.getContext('2d');
    125     ctx2.font = '1em sans-serif';
    126     @assert ctx2.font === '10px sans-serif';
     102  - 2d.text.font.relative_size
     103  code: |
     104    ctx.font = '1em sans-serif';
     105    @assert ctx.font === '10px sans-serif';
     106    t.done();
    127107
    128108- name: 2d.text.align.valid
    129109  testing:
    130     - 2d.text.align.get
    131     - 2d.text.align.set
     110  - 2d.text.align.get
     111  - 2d.text.align.set
    132112  code: |
    133113    ctx.textAlign = 'start';
     
    145125    ctx.textAlign = 'center';
    146126    @assert ctx.textAlign === 'center';
     127    t.done();
    147128
    148129- name: 2d.text.align.invalid
    149130  testing:
    150     - 2d.text.align.invalid
     131  - 2d.text.align.invalid
    151132  code: |
    152133    ctx.textAlign = 'start';
     
    165146    ctx.textAlign = 'end\0';
    166147    @assert ctx.textAlign === 'start';
     148    t.done();
    167149
    168150- name: 2d.text.align.default
    169151  testing:
    170     - 2d.text.align.default
     152  - 2d.text.align.default
    171153  code: |
    172154    @assert ctx.textAlign === 'start';
     155    t.done();
    173156
    174157
    175158- name: 2d.text.baseline.valid
    176159  testing:
    177     - 2d.text.baseline.get
    178     - 2d.text.baseline.set
     160  - 2d.text.baseline.get
     161  - 2d.text.baseline.set
    179162  code: |
    180163    ctx.textBaseline = 'top';
     
    195178    ctx.textBaseline = 'bottom';
    196179    @assert ctx.textBaseline === 'bottom';
     180    t.done();
    197181
    198182- name: 2d.text.baseline.invalid
    199183  testing:
    200     - 2d.text.baseline.invalid
     184  - 2d.text.baseline.invalid
    201185  code: |
    202186    ctx.textBaseline = 'top';
     
    215199    ctx.textBaseline = 'middle\0';
    216200    @assert ctx.textBaseline === 'top';
     201    t.done();
    217202
    218203- name: 2d.text.baseline.default
    219204  testing:
    220     - 2d.text.baseline.default
     205  - 2d.text.baseline.default
    221206  code: |
    222207    @assert ctx.textBaseline === 'alphabetic';
    223 
    224 
    225 
    226 
     208    t.done();
    227209
    228210- name: 2d.text.draw.fill.basic
     
    230212  manual:
    231213  testing:
    232     - 2d.text.draw
    233     - 2d.text.draw.fill
     214  - 2d.text.draw
     215  - 2d.text.draw.fill
    234216  code: |
    235217    ctx.fillStyle = '#000';
     
    239221    ctx.font = '35px Arial, sans-serif';
    240222    ctx.fillText('PASS', 5, 35);
     223    t.done();
    241224  expected: &passfill |
    242225    size 100 50
     
    254237  desc: fillText does not start a new path or subpath
    255238  testing:
    256     - 2d.text.draw.fill
     239  - 2d.text.draw.fill
    257240  code: |
    258241    ctx.fillStyle = '#f00';
     
    272255    @assert pixel 50,25 == 0,255,0,255;
    273256    @assert pixel 5,45 == 0,255,0,255;
     257    t.done();
    274258  expected: green
    275259
     
    278262  manual:
    279263  testing:
    280     - 2d.text.draw
     264  - 2d.text.draw
    281265  code: |
    282266    ctx.fillStyle = '#000';
     
    286270    ctx.font = '35px Arial, sans-serif';
    287271    ctx.fillText('\u202eFAIL \xa0 \xa0 SSAP', 5, 35);
     272    t.done();
    288273  expected: *passfill
    289 
    290274- name: 2d.text.draw.fill.maxWidth.large
    291275  desc: fillText handles maxWidth correctly
    292276  manual:
    293277  testing:
    294     - 2d.text.draw.maxwidth
     278  - 2d.text.draw.maxwidth
    295279  code: |
    296280    ctx.fillStyle = '#000';
     
    299283    ctx.font = '35px Arial, sans-serif';
    300284    ctx.fillText('PASS', 5, 35, 200);
     285    t.done();
    301286  expected: *passfill
    302 
    303287- name: 2d.text.draw.fill.maxWidth.small
    304288  desc: fillText handles maxWidth correctly
    305289  testing:
    306     - 2d.text.draw.maxwidth
     290  - 2d.text.draw.maxwidth
    307291  code: |
    308292    ctx.fillStyle = '#0f0';
     
    312296    ctx.fillText('fail fail fail fail fail', -100, 35, 90);
    313297    _assertGreen(ctx, 100, 50);
     298    t.done();
    314299  expected: green
    315300
     
    317302  desc: fillText handles maxWidth correctly
    318303  testing:
    319     - 2d.text.draw.maxwidth
     304  - 2d.text.draw.maxwidth
    320305  code: |
    321306    ctx.fillStyle = '#0f0';
     
    325310    ctx.fillText('fail fail fail fail fail', 5, 35, 0);
    326311    _assertGreen(ctx, 100, 50);
     312    t.done();
    327313  expected: green
    328314
     
    330316  desc: fillText handles maxWidth correctly
    331317  testing:
    332     - 2d.text.draw.maxwidth
     318  - 2d.text.draw.maxwidth
    333319  code: |
    334320    ctx.fillStyle = '#0f0';
     
    338324    ctx.fillText('fail fail fail fail fail', 5, 35, -1);
    339325    _assertGreen(ctx, 100, 50);
     326    t.done();
    340327  expected: green
    341328
     
    343330  desc: fillText handles maxWidth correctly
    344331  testing:
    345     - 2d.text.draw.maxwidth
     332  - 2d.text.draw.maxwidth
    346333  code: |
    347334    ctx.fillStyle = '#0f0';
     
    351338    ctx.fillText('fail fail fail fail fail', 5, 35, NaN);
    352339    _assertGreen(ctx, 100, 50);
     340    t.done();
    353341  expected: green
    354342
     
    357345  manual:
    358346  testing:
    359     - 2d.text.draw
    360     - 2d.text.draw.stroke
     347  - 2d.text.draw
     348  - 2d.text.draw.stroke
    361349  code: |
    362350    ctx.fillStyle = '#000';
     
    367355    ctx.font = '35px Arial, sans-serif';
    368356    ctx.strokeText('PASS', 5, 35);
     357    t.done();
    369358  expected: |
    370359    size 100 50
     
    383372  desc: strokeText does not start a new path or subpath
    384373  testing:
    385     - 2d.text.draw.stroke
     374  - 2d.text.draw.stroke
    386375  code: |
    387376    ctx.fillStyle = '#f00';
     
    402391    @assert pixel 50,25 == 0,255,0,255;
    403392    @assert pixel 5,45 == 0,255,0,255;
     393    t.done();
    404394  expected: green
    405395
     
    408398  manual:
    409399  testing:
    410     - 2d.text.draw
     400  - 2d.text.draw
    411401  code: |
    412402    ctx.fillStyle = '#0f0';
     
    420410    ctx.strokeText('VAVAVAVAVAVAVA', -50, 25);
    421411    ctx.strokeText('ToToToToToToTo', -50, 45);
     412    t.done();
    422413  expected: green
    423414
     
    437428# Hanging baseline      is 0.500em above alphabetic
    438429
    439 # WebKit doesn't block onload on font loads, so we try to make it a bit more reliable
    440 # by waiting with step_timeout after load before drawing
    441 
    442430- name: 2d.text.draw.fill.maxWidth.fontface
    443431  desc: fillText works on @font-face fonts
    444432  testing:
    445     - 2d.text.draw.maxwidth
    446   fonts:
    447     - CanvasTest
    448   code: |
    449     ctx.font = '50px CanvasTest';
    450     deferTest();
    451     step_timeout(t.step_func_done(function () {
     433  - 2d.text.draw.maxwidth
     434  fonts:
     435  - CanvasTest
     436  code: |
     437    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     438    let fonts = (self.fonts ? self.fonts : document.fonts);
     439    f.load();
     440    fonts.add(f);
     441    fonts.ready.then(function() {
     442        ctx.font = '50px CanvasTest';
    452443        ctx.fillStyle = '#0f0';
    453444        ctx.fillRect(0, 0, 100, 50);
     
    458449        @assert pixel 25,25 ==~ 0,255,0,255;
    459450        @assert pixel 75,25 ==~ 0,255,0,255;
    460     }), 500);
     451      }).then(t_pass, t_fail);
    461452  expected: green
    462453
     
    464455  desc: fillText handles maxWidth based on line size, not bounding box size
    465456  testing:
    466     - 2d.text.draw.maxwidth
    467   fonts:
    468     - CanvasTest
    469   code: |
    470     ctx.font = '50px CanvasTest';
    471     deferTest();
    472     step_timeout(t.step_func_done(function () {
     457  - 2d.text.draw.maxwidth
     458  fonts:
     459  - CanvasTest
     460  code: |
     461    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     462    let fonts = (self.fonts ? self.fonts : document.fonts);
     463    f.load();
     464    fonts.add(f);
     465    fonts.ready.then(function() {
     466        ctx.font = '50px CanvasTest';
    473467        ctx.fillStyle = '#f00';
    474468        ctx.fillRect(0, 0, 100, 50);
     
    479473        @assert pixel 25,25 ==~ 0,255,0,255;
    480474        @assert pixel 75,25 ==~ 0,255,0,255;
    481     }), 500);
     475      }).then(t_pass, t_fail);
    482476  expected: green
    483477
    484478- name: 2d.text.draw.fontface
    485479  testing:
    486     - 2d.text.font.fontface
    487   fonts:
    488     - CanvasTest
    489   code: |
    490     ctx.font = '67px CanvasTest';
    491     deferTest();
    492     step_timeout(t.step_func_done(function () {
     480  - 2d.text.font.fontface
     481  fonts:
     482  - CanvasTest
     483  code: |
     484    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     485    let fonts = (self.fonts ? self.fonts : document.fonts);
     486    f.load();
     487    fonts.add(f);
     488    fonts.ready.then(function() {
     489        ctx.font = '67px CanvasTest';
    493490        ctx.fillStyle = '#f00';
    494491        ctx.fillRect(0, 0, 100, 50);
     
    499496        @assert pixel 25,25 ==~ 0,255,0,255;
    500497        @assert pixel 75,25 ==~ 0,255,0,255;
    501     }), 500);
     498      }).then(t_pass, t_fail);
    502499  expected: green
    503500
    504501- name: 2d.text.draw.fontface.repeat
    505   desc: Draw with the font immediately, then wait a bit until and draw again. (This crashes some version of WebKit.)
    506   testing:
    507     - 2d.text.font.fontface
    508   fonts:
    509     - CanvasTest
     502  desc: Draw with the font immediately, then wait a bit until and draw again. (This
     503    crashes some version of WebKit.)
     504  testing:
     505  - 2d.text.font.fontface
     506  fonts:
     507  - CanvasTest
    510508  fonthack: 0
    511509  code: |
    512     ctx.fillStyle = '#f00';
    513     ctx.fillRect(0, 0, 100, 50);
    514     ctx.font = '67px CanvasTest';
    515     ctx.fillStyle = '#0f0';
    516     ctx.fillText('AA', 0, 50);
    517     deferTest();
    518     step_timeout(t.step_func_done(function () {
     510    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     511    let fonts = (self.fonts ? self.fonts : document.fonts);
     512    f.load();
     513    fonts.add(f);
     514    fonts.ready.then(function() {
     515        ctx.fillStyle = '#f00';
     516        ctx.fillRect(0, 0, 100, 50);
     517        ctx.font = '67px CanvasTest';
     518        ctx.fillStyle = '#0f0';
    519519        ctx.fillText('AA', 0, 50);
    520         @assert pixel 5,5 ==~ 0,255,0,255;
    521         @assert pixel 95,5 ==~ 0,255,0,255;
    522         @assert pixel 25,25 ==~ 0,255,0,255;
    523         @assert pixel 75,25 ==~ 0,255,0,255;
    524     }), 500);
     520        ctx.fillText('AA', 0, 50);
     521        @assert pixel 5,5 ==~ 0,255,0,255;
     522        @assert pixel 95,5 ==~ 0,255,0,255;
     523        @assert pixel 25,25 ==~ 0,255,0,255;
     524        @assert pixel 75,25 ==~ 0,255,0,255;
     525      }).then(t_pass, t_fail);
    525526  expected: green
    526527
    527528- name: 2d.text.draw.fontface.notinpage
    528   desc: "@font-face fonts should work even if they are not used in the page"
    529   testing:
    530     - 2d.text.font.fontface
    531   fonts:
    532     - CanvasTest
     529  desc: '@font-face fonts should work even if they are not used in the page'
     530  testing:
     531  - 2d.text.font.fontface
     532  fonts:
     533  - CanvasTest
    533534  fonthack: 0
    534535  code: |
    535     ctx.font = '67px CanvasTest';
    536     deferTest();
    537     step_timeout(t.step_func_done(function () {
     536    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     537    let fonts = (self.fonts ? self.fonts : document.fonts);
     538    f.load();
     539    fonts.add(f);
     540    fonts.ready.then(function() {
     541        ctx.font = '67px CanvasTest';
    538542        ctx.fillStyle = '#f00';
    539543        ctx.fillRect(0, 0, 100, 50);
     
    544548        @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    545549        @assert pixel 75,25 ==~ 0,255,0,255; @moz-todo
    546     }), 500);
     550      }).then(t_pass, t_fail);
    547551  expected: green
    548552
     
    550554  desc: textBaseline top is the top of the em square (not the bounding box)
    551555  testing:
    552     - 2d.text.baseline.top
    553   fonts:
    554     - CanvasTest
    555   code: |
    556     ctx.font = '50px CanvasTest';
    557     deferTest();
    558     step_timeout(t.step_func_done(function () {
     556  - 2d.text.baseline.top
     557  fonts:
     558  - CanvasTest
     559  code: |
     560    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     561    let fonts = (self.fonts ? self.fonts : document.fonts);
     562    f.load();
     563    fonts.add(f);
     564    fonts.ready.then(function() {
     565        ctx.font = '50px CanvasTest';
    559566        ctx.fillStyle = '#f00';
    560567        ctx.fillRect(0, 0, 100, 50);
     
    568575        @assert pixel 5,45 ==~ 0,255,0,255;
    569576        @assert pixel 95,45 ==~ 0,255,0,255;
    570     }), 500);
     577      }).then(t_pass, t_fail);
    571578  expected: green
    572579
     
    574581  desc: textBaseline bottom is the bottom of the em square (not the bounding box)
    575582  testing:
    576     - 2d.text.baseline.bottom
    577   fonts:
    578     - CanvasTest
    579   code: |
    580     ctx.font = '50px CanvasTest';
    581     deferTest();
    582     step_timeout(t.step_func_done(function () {
     583  - 2d.text.baseline.bottom
     584  fonts:
     585  - CanvasTest
     586  code: |
     587    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     588    let fonts = (self.fonts ? self.fonts : document.fonts);
     589    f.load();
     590    fonts.add(f);
     591    fonts.ready.then(function() {
     592        ctx.font = '50px CanvasTest';
    583593        ctx.fillStyle = '#f00';
    584594        ctx.fillRect(0, 0, 100, 50);
     
    592602        @assert pixel 5,45 ==~ 0,255,0,255;
    593603        @assert pixel 95,45 ==~ 0,255,0,255;
    594     }), 500);
     604      }).then(t_pass, t_fail);
    595605  expected: green
    596606
     
    598608  desc: textBaseline middle is the middle of the em square (not the bounding box)
    599609  testing:
    600     - 2d.text.baseline.middle
    601   fonts:
    602     - CanvasTest
    603   code: |
    604     ctx.font = '50px CanvasTest';
    605     deferTest();
    606     step_timeout(t.step_func_done(function () {
     610  - 2d.text.baseline.middle
     611  fonts:
     612  - CanvasTest
     613  code: |
     614    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     615    let fonts = (self.fonts ? self.fonts : document.fonts);
     616    f.load();
     617    fonts.add(f);
     618    fonts.ready.then(function() {
     619        ctx.font = '50px CanvasTest';
    607620        ctx.fillStyle = '#f00';
    608621        ctx.fillRect(0, 0, 100, 50);
     
    616629        @assert pixel 5,45 ==~ 0,255,0,255;
    617630        @assert pixel 95,45 ==~ 0,255,0,255;
    618     }), 500);
     631      }).then(t_pass, t_fail);
    619632  expected: green
    620633
    621634- name: 2d.text.draw.baseline.alphabetic
    622635  testing:
    623     - 2d.text.baseline.alphabetic
    624   fonts:
    625     - CanvasTest
    626   code: |
    627     ctx.font = '50px CanvasTest';
    628     deferTest();
    629     step_timeout(t.step_func_done(function () {
     636  - 2d.text.baseline.alphabetic
     637  fonts:
     638  - CanvasTest
     639  code: |
     640    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     641    let fonts = (self.fonts ? self.fonts : document.fonts);
     642    f.load();
     643    fonts.add(f);
     644    fonts.ready.then(function() {
     645        ctx.font = '50px CanvasTest';
    630646        ctx.fillStyle = '#f00';
    631647        ctx.fillRect(0, 0, 100, 50);
     
    639655        @assert pixel 5,45 ==~ 0,255,0,255;
    640656        @assert pixel 95,45 ==~ 0,255,0,255;
    641     }), 500);
     657      }).then(t_pass, t_fail);
    642658  expected: green
    643659
    644660- name: 2d.text.draw.baseline.ideographic
    645661  testing:
    646     - 2d.text.baseline.ideographic
    647   fonts:
    648     - CanvasTest
    649   code: |
    650     ctx.font = '50px CanvasTest';
    651     deferTest();
    652     step_timeout(t.step_func_done(function () {
     662  - 2d.text.baseline.ideographic
     663  fonts:
     664  - CanvasTest
     665  code: |
     666    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     667    let fonts = (self.fonts ? self.fonts : document.fonts);
     668    f.load();
     669    fonts.add(f);
     670    fonts.ready.then(function() {
     671        ctx.font = '50px CanvasTest';
    653672        ctx.fillStyle = '#f00';
    654673        ctx.fillRect(0, 0, 100, 50);
     
    662681        @assert pixel 5,45 ==~ 0,255,0,255; @moz-todo
    663682        @assert pixel 95,45 ==~ 0,255,0,255; @moz-todo
    664     }), 500);
     683      }).then(t_pass, t_fail);
    665684  expected: green
    666685
    667686- name: 2d.text.draw.baseline.hanging
    668687  testing:
    669     - 2d.text.baseline.hanging
    670   fonts:
    671     - CanvasTest
    672   code: |
    673     ctx.font = '50px CanvasTest';
    674     deferTest();
    675     step_timeout(t.step_func_done(function () {
     688  - 2d.text.baseline.hanging
     689  fonts:
     690  - CanvasTest
     691  code: |
     692    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     693    let fonts = (self.fonts ? self.fonts : document.fonts);
     694    f.load();
     695    fonts.add(f);
     696    fonts.ready.then(function() {
     697        ctx.font = '50px CanvasTest';
    676698        ctx.fillStyle = '#f00';
    677699        ctx.fillRect(0, 0, 100, 50);
     
    685707        @assert pixel 5,45 ==~ 0,255,0,255;
    686708        @assert pixel 95,45 ==~ 0,255,0,255;
    687     }), 500);
     709      }).then(t_pass, t_fail);
    688710  expected: green
    689711
     
    691713  desc: textAlign left is the left of the first em square (not the bounding box)
    692714  testing:
    693     - 2d.text.align.left
    694   fonts:
    695     - CanvasTest
    696   code: |
    697     ctx.font = '50px CanvasTest';
    698     deferTest();
    699     step_timeout(t.step_func_done(function () {
     715  - 2d.text.align.left
     716  fonts:
     717  - CanvasTest
     718  code: |
     719    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     720    let fonts = (self.fonts ? self.fonts : document.fonts);
     721    f.load();
     722    fonts.add(f);
     723    fonts.ready.then(function() {
     724        ctx.font = '50px CanvasTest';
    700725        ctx.fillStyle = '#f00';
    701726        ctx.fillRect(0, 0, 100, 50);
     
    709734        @assert pixel 5,45 ==~ 0,255,0,255;
    710735        @assert pixel 95,45 ==~ 0,255,0,255;
    711     }), 500);
     736      }).then(t_pass, t_fail);
    712737  expected: green
    713738
     
    715740  desc: textAlign right is the right of the last em square (not the bounding box)
    716741  testing:
    717     - 2d.text.align.right
    718   fonts:
    719     - CanvasTest
    720   code: |
    721     ctx.font = '50px CanvasTest';
    722     deferTest();
    723     step_timeout(t.step_func_done(function () {
     742  - 2d.text.align.right
     743  fonts:
     744  - CanvasTest
     745  code: |
     746    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     747    let fonts = (self.fonts ? self.fonts : document.fonts);
     748    f.load();
     749    fonts.add(f);
     750    fonts.ready.then(function() {
     751        ctx.font = '50px CanvasTest';
    724752        ctx.fillStyle = '#f00';
    725753        ctx.fillRect(0, 0, 100, 50);
     
    733761        @assert pixel 5,45 ==~ 0,255,0,255;
    734762        @assert pixel 95,45 ==~ 0,255,0,255;
    735     }), 500);
     763      }).then(t_pass, t_fail);
    736764  expected: green
    737765
     
    739767  desc: textAlign start with ltr is the left edge
    740768  testing:
    741     - 2d.text.align.left
    742   fonts:
    743     - CanvasTest
     769  - 2d.text.align.left
     770  fonts:
     771  - CanvasTest
    744772  canvas: width="100" height="50" dir="ltr"
    745773  code: |
    746     ctx.font = '50px CanvasTest';
    747     deferTest();
    748     step_timeout(t.step_func_done(function () {
     774    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     775    let fonts = (self.fonts ? self.fonts : document.fonts);
     776    f.load();
     777    fonts.add(f);
     778    fonts.ready.then(function() {
     779        ctx.font = '50px CanvasTest';
    749780        ctx.fillStyle = '#f00';
    750781        ctx.fillRect(0, 0, 100, 50);
     
    758789        @assert pixel 5,45 ==~ 0,255,0,255;
    759790        @assert pixel 95,45 ==~ 0,255,0,255;
    760     }), 500);
     791      }).then(t_pass, t_fail);
    761792  expected: green
    762793
     
    764795  desc: textAlign start with rtl is the right edge
    765796  testing:
    766     - 2d.text.align.right
    767     - 2d.text.draw.direction
    768   fonts:
    769     - CanvasTest
     797  - 2d.text.align.right
     798  - 2d.text.draw.direction
     799  fonts:
     800  - CanvasTest
    770801  canvas: width="100" height="50" dir="rtl"
    771802  code: |
    772     ctx.font = '50px CanvasTest';
    773     deferTest();
    774     step_timeout(t.step_func_done(function () {
     803    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     804    let fonts = (self.fonts ? self.fonts : document.fonts);
     805    f.load();
     806    fonts.add(f);
     807    fonts.ready.then(function() {
     808        ctx.font = '50px CanvasTest';
    775809        ctx.fillStyle = '#f00';
    776810        ctx.fillRect(0, 0, 100, 50);
     
    784818        @assert pixel 5,45 ==~ 0,255,0,255;
    785819        @assert pixel 95,45 ==~ 0,255,0,255;
    786     }), 500);
     820      }).then(t_pass, t_fail);
    787821  expected: green
    788822
     
    790824  desc: textAlign end with ltr is the right edge
    791825  testing:
    792     - 2d.text.align.right
    793   fonts:
    794     - CanvasTest
     826  - 2d.text.align.right
     827  fonts:
     828  - CanvasTest
    795829  canvas: width="100" height="50" dir="ltr"
    796830  code: |
    797     ctx.font = '50px CanvasTest';
    798     deferTest();
    799     step_timeout(t.step_func_done(function () {
     831    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     832    let fonts = (self.fonts ? self.fonts : document.fonts);
     833    f.load();
     834    fonts.add(f);
     835    fonts.ready.then(function() {
     836        ctx.font = '50px CanvasTest';
    800837        ctx.fillStyle = '#f00';
    801838        ctx.fillRect(0, 0, 100, 50);
     
    809846        @assert pixel 5,45 ==~ 0,255,0,255;
    810847        @assert pixel 95,45 ==~ 0,255,0,255;
    811     }), 500);
     848      }).then(t_pass, t_fail);
    812849  expected: green
    813850
     
    815852  desc: textAlign end with rtl is the left edge
    816853  testing:
    817     - 2d.text.align.left
    818     - 2d.text.draw.direction
    819   fonts:
    820     - CanvasTest
     854  - 2d.text.align.left
     855  - 2d.text.draw.direction
     856  fonts:
     857  - CanvasTest
    821858  canvas: width="100" height="50" dir="rtl"
    822859  code: |
    823     ctx.font = '50px CanvasTest';
    824     deferTest();
    825     step_timeout(t.step_func_done(function () {
     860    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     861    let fonts = (self.fonts ? self.fonts : document.fonts);
     862    f.load();
     863    fonts.add(f);
     864    fonts.ready.then(function() {
     865        ctx.font = '50px CanvasTest';
    826866        ctx.fillStyle = '#f00';
    827867        ctx.fillRect(0, 0, 100, 50);
     
    835875        @assert pixel 5,45 ==~ 0,255,0,255;
    836876        @assert pixel 95,45 ==~ 0,255,0,255;
    837     }), 500);
     877      }).then(t_pass, t_fail);
    838878  expected: green
    839879
     
    841881  desc: textAlign center is the center of the em squares (not the bounding box)
    842882  testing:
    843     - 2d.text.align.center
    844   fonts:
    845     - CanvasTest
    846   code: |
    847     ctx.font = '50px CanvasTest';
    848     deferTest();
    849     step_timeout(t.step_func_done(function () {
     883  - 2d.text.align.center
     884  fonts:
     885  - CanvasTest
     886  code: |
     887    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     888    let fonts = (self.fonts ? self.fonts : document.fonts);
     889    f.load();
     890    fonts.add(f);
     891    fonts.ready.then(function() {
     892        ctx.font = '50px CanvasTest';
    850893        ctx.fillStyle = '#f00';
    851894        ctx.fillRect(0, 0, 100, 50);
     
    859902        @assert pixel 5,45 ==~ 0,255,0,255;
    860903        @assert pixel 95,45 ==~ 0,255,0,255;
    861     }), 500);
     904      }).then(t_pass, t_fail);
    862905  expected: green
    863906
     
    866909  desc: U+0020 is rendered the correct size (1em wide)
    867910  testing:
    868     - 2d.text.draw.spaces
    869   fonts:
    870     - CanvasTest
    871   code: |
    872     ctx.font = '50px CanvasTest';
    873     deferTest();
    874     step_timeout(t.step_func_done(function () {
     911  - 2d.text.draw.spaces
     912  fonts:
     913  - CanvasTest
     914  code: |
     915    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     916    let fonts = (self.fonts ? self.fonts : document.fonts);
     917    f.load();
     918    fonts.add(f);
     919    fonts.ready.then(function() {
     920        ctx.font = '50px CanvasTest';
    875921        ctx.fillStyle = '#f00';
    876922        ctx.fillRect(0, 0, 100, 50);
     
    879925        @assert pixel 25,25 ==~ 0,255,0,255;
    880926        @assert pixel 75,25 ==~ 0,255,0,255;
    881     }), 500);
     927      }).then(t_pass, t_fail);
    882928  expected: green
    883929
     
    885931  desc: Space characters are converted to U+0020, and collapsed (per CSS)
    886932  testing:
    887     - 2d.text.draw.spaces
    888   fonts:
    889     - CanvasTest
    890   code: |
    891     ctx.font = '50px CanvasTest';
    892     deferTest();
    893     step_timeout(t.step_func_done(function () {
     933  - 2d.text.draw.spaces
     934  fonts:
     935  - CanvasTest
     936  code: |
     937    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     938    let fonts = (self.fonts ? self.fonts : document.fonts);
     939    f.load();
     940    fonts.add(f);
     941    fonts.ready.then(function() {
     942        ctx.font = '50px CanvasTest';
    894943        ctx.fillStyle = '#f00';
    895944        ctx.fillRect(0, 0, 100, 50);
     
    898947        @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    899948        @assert pixel 75,25 ==~ 0,255,0,255;
    900     }), 500);
     949      }).then(t_pass, t_fail);
    901950  expected: green
    902951
     
    904953  desc: Space characters are converted to U+0020, and collapsed (per CSS)
    905954  testing:
    906     - 2d.text.draw.spaces
    907   fonts:
    908     - CanvasTest
    909   code: |
    910     ctx.font = '50px CanvasTest';
    911     deferTest();
    912     step_timeout(t.step_func_done(function () {
     955  - 2d.text.draw.spaces
     956  fonts:
     957  - CanvasTest
     958  code: |
     959    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     960    let fonts = (self.fonts ? self.fonts : document.fonts);
     961    f.load();
     962    fonts.add(f);
     963    fonts.ready.then(function() {
     964        ctx.font = '50px CanvasTest';
    913965        ctx.fillStyle = '#f00';
    914966        ctx.fillRect(0, 0, 100, 50);
     
    917969        @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    918970        @assert pixel 75,25 ==~ 0,255,0,255; @moz-todo
    919     }), 500);
     971      }).then(t_pass, t_fail);
    920972  expected: green
    921973
     
    923975  desc: Non-space characters are not converted to U+0020 and collapsed
    924976  testing:
    925     - 2d.text.draw.spaces
    926   fonts:
    927     - CanvasTest
    928   code: |
    929     ctx.font = '50px CanvasTest';
    930     deferTest();
    931     step_timeout(t.step_func_done(function () {
     977  - 2d.text.draw.spaces
     978  fonts:
     979  - CanvasTest
     980  code: |
     981    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     982    let fonts = (self.fonts ? self.fonts : document.fonts);
     983    f.load();
     984    fonts.add(f);
     985    fonts.ready.then(function() {
     986        ctx.font = '50px CanvasTest';
    932987        ctx.fillStyle = '#f00';
    933988        ctx.fillRect(0, 0, 100, 50);
     
    936991        @assert pixel 25,25 ==~ 0,255,0,255;
    937992        @assert pixel 75,25 ==~ 0,255,0,255;
    938     }), 500);
     993      }).then(t_pass, t_fail);
    939994  expected: green
    940995
     
    942997  desc: Space characters at the start of a line are collapsed (per CSS)
    943998  testing:
    944     - 2d.text.draw.spaces
    945   fonts:
    946     - CanvasTest
    947   code: |
    948     ctx.font = '50px CanvasTest';
    949     deferTest();
    950     step_timeout(t.step_func_done(function () {
     999  - 2d.text.draw.spaces
     1000  fonts:
     1001  - CanvasTest
     1002  code: |
     1003    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1004    let fonts = (self.fonts ? self.fonts : document.fonts);
     1005    f.load();
     1006    fonts.add(f);
     1007    fonts.ready.then(function() {
     1008        ctx.font = '50px CanvasTest';
    9511009        ctx.fillStyle = '#f00';
    9521010        ctx.fillRect(0, 0, 100, 50);
     
    9551013        @assert pixel 25,25 ==~ 0,255,0,255; @moz-todo
    9561014        @assert pixel 75,25 ==~ 0,255,0,255;
    957     }), 500);
     1015      }).then(t_pass, t_fail);
    9581016  expected: green
    9591017
     
    9611019  desc: Space characters at the end of a line are collapsed (per CSS)
    9621020  testing:
    963     - 2d.text.draw.spaces
    964   fonts:
    965     - CanvasTest
    966   code: |
    967     ctx.font = '50px CanvasTest';
    968     deferTest();
    969     step_timeout(t.step_func_done(function () {
     1021  - 2d.text.draw.spaces
     1022  fonts:
     1023  - CanvasTest
     1024  code: |
     1025    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1026    let fonts = (self.fonts ? self.fonts : document.fonts);
     1027    f.load();
     1028    fonts.add(f);
     1029    fonts.ready.then(function() {
     1030        ctx.font = '50px CanvasTest';
    9701031        ctx.fillStyle = '#f00';
    9711032        ctx.fillRect(0, 0, 100, 50);
     
    9751036        @assert pixel 25,25 ==~ 0,255,0,255;
    9761037        @assert pixel 75,25 ==~ 0,255,0,255; @moz-todo
    977     }), 500);
    978   expected: green
    979 
     1038      }).then(t_pass, t_fail);
     1039  expected: green
    9801040
    9811041- name: 2d.text.measure.width.basic
    982   desc: The width of character is same as font used
    983   testing:
    984     - 2d.text.measure
    985   fonts:
    986     - CanvasTest
    987   code: |
    988     deferTest();
    989     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    990     document.fonts.add(f);
    991     document.fonts.ready.then(() => {
    992         step_timeout(t.step_func_done(function () {
    993             ctx.font = '50px CanvasTest';
    994             @assert ctx.measureText('A').width === 50;
    995             @assert ctx.measureText('AA').width === 100;
    996             @assert ctx.measureText('ABCD').width === 200;
    997 
    998             ctx.font = '100px CanvasTest';
    999             @assert ctx.measureText('A').width === 100;
    1000         }), 500);
    1001     });
     1042  desc: The width of character is same as font used for OffscreenCanvas
     1043  testing:
     1044  - 2d.text.measure
     1045  fonts:
     1046  - CanvasTest
     1047  code: |
     1048    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1049    let fonts = (self.fonts ? self.fonts : document.fonts);
     1050    f.load();
     1051    fonts.add(f);
     1052    fonts.ready.then(function() {
     1053        ctx.font = '50px CanvasTest';
     1054        @assert ctx.measureText('A').width === 50;
     1055        @assert ctx.measureText('AA').width === 100;
     1056        @assert ctx.measureText('ABCD').width === 200;
     1057
     1058        ctx.font = '100px CanvasTest';
     1059        @assert ctx.measureText('A').width === 100;
     1060    }).then(t_pass, t_fail);
    10021061
    10031062- name: 2d.text.measure.width.empty
    1004   desc: The empty string has zero width
    1005   testing:
    1006     - 2d.text.measure
    1007   fonts:
    1008     - CanvasTest
    1009   code: |
    1010     deferTest();
    1011     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1012     document.fonts.add(f);
    1013     document.fonts.ready.then(() => {
    1014         step_timeout(t.step_func_done(function () {
    1015             ctx.font = '50px CanvasTest';
    1016             @assert ctx.measureText("").width === 0;
    1017         }), 500);
    1018     });
     1063  desc: The empty string has zero width for OffscreenCanvas
     1064  testing:
     1065  - 2d.text.measure
     1066  fonts:
     1067  - CanvasTest
     1068  code: |
     1069    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1070    let fonts = (self.fonts ? self.fonts : document.fonts);
     1071    f.load();
     1072    fonts.add(f);
     1073    fonts.ready.then(function() {
     1074        ctx.font = '50px CanvasTest';
     1075        @assert ctx.measureText("").width === 0;
     1076    }).then(t_pass, t_fail);
    10191077
    10201078- name: 2d.text.measure.width.space
    1021   desc: Space characters are converted to U+0020 and collapsed (per CSS)
    1022   testing:
    1023     - 2d.text.measure.spaces
    1024   fonts:
    1025     - CanvasTest
    1026   code: |
    1027     deferTest();
    1028     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1029     document.fonts.add(f);
    1030     document.fonts.ready.then(() => {
    1031         step_timeout(t.step_func_done(function () {
    1032             ctx.font = '50px CanvasTest';
    1033             @assert ctx.measureText('A B').width === 150;
    1034             @assert ctx.measureText('A  B').width === 150; @moz-todo
    1035             @assert ctx.measureText('A \x09\x0a\x0c\x0d  \x09\x0a\x0c\x0dB').width === 150; @moz-todo
    1036             @assert ctx.measureText('A \x0b B').width >= 200;
    1037 
    1038             @assert ctx.measureText(' AB').width === 100; @moz-todo
    1039             @assert ctx.measureText('AB ').width === 100; @moz-todo
    1040         }), 500);
    1041     });
     1079  desc: Space characters are converted to U+0020 and collapsed (per CSS) for OffscreenCanvas
     1080  testing:
     1081  - 2d.text.measure.spaces
     1082  fonts:
     1083  - CanvasTest
     1084  code: |
     1085    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1086    let fonts = (self.fonts ? self.fonts : document.fonts);
     1087    f.load();
     1088    fonts.add(f);
     1089    fonts.ready.then(function() {
     1090        ctx.font = '50px CanvasTest';
     1091        @assert ctx.measureText('A B').width === 150;
     1092        @assert ctx.measureText('A  B').width === 150; @moz-todo
     1093        @assert ctx.measureText('A \x09\x0a\x0c\x0d  \x09\x0a\x0c\x0dB').width === 150; @moz-todo
     1094        @assert ctx.measureText('A \x0b B').width >= 200;
     1095
     1096        @assert ctx.measureText(' AB').width === 100; @moz-todo
     1097        @assert ctx.measureText('AB ').width === 100; @moz-todo
     1098    }).then(t_pass, t_fail);
    10421099
    10431100- name: 2d.text.measure.advances
    1044   desc: Testing width advances
    1045   testing:
    1046     - 2d.text.measure.advances
    1047   fonts:
    1048     - CanvasTest
    1049   code: |
    1050     deferTest();
    1051     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1052     document.fonts.add(f);
    1053     document.fonts.ready.then(() => {
    1054         step_timeout(t.step_func_done(function () {
    1055             ctx.font = '50px CanvasTest';
    1056             ctx.direction = 'ltr';
    1057             ctx.align = 'left'
    1058             // Some platforms may return '-0'.
    1059             @assert Math.abs(ctx.measureText('Hello').advances[0]) === 0;
    1060             // Different platforms may render text slightly different.
    1061             @assert ctx.measureText('Hello').advances[1] >= 36;
    1062             @assert ctx.measureText('Hello').advances[2] >= 58;
    1063             @assert ctx.measureText('Hello').advances[3] >= 70;
    1064             @assert ctx.measureText('Hello').advances[4] >= 80;
    1065 
    1066             var tm = ctx.measureText('Hello');
    1067             @assert ctx.measureText('Hello').advances[0] === tm.advances[0];
    1068             @assert ctx.measureText('Hello').advances[1] === tm.advances[1];
    1069             @assert ctx.measureText('Hello').advances[2] === tm.advances[2];
    1070             @assert ctx.measureText('Hello').advances[3] === tm.advances[3];
    1071             @assert ctx.measureText('Hello').advances[4] === tm.advances[4];
    1072         }), 500);
    1073     });
     1101  desc: Testing width advances for OffscreenCanvas
     1102  testing:
     1103  - 2d.text.measure.advances
     1104  fonts:
     1105  - CanvasTest
     1106  code: |
     1107    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1108    let fonts = (self.fonts ? self.fonts : document.fonts);
     1109    f.load();
     1110    fonts.add(f);
     1111    fonts.ready.then(function() {
     1112        ctx.font = '50px CanvasTest';
     1113        ctx.direction = 'ltr';
     1114        ctx.align = 'left'
     1115        // Some platforms may return '-0'.
     1116        @assert Math.abs(ctx.measureText('Hello').advances[0]) === 0;
     1117        // Different platforms may render text slightly different.
     1118        @assert ctx.measureText('Hello').advances[1] >= 36;
     1119        @assert ctx.measureText('Hello').advances[2] >= 58;
     1120        @assert ctx.measureText('Hello').advances[3] >= 70;
     1121        @assert ctx.measureText('Hello').advances[4] >= 80;
     1122
     1123        var tm = ctx.measureText('Hello');
     1124        @assert ctx.measureText('Hello').advances[0] === tm.advances[0];
     1125        @assert ctx.measureText('Hello').advances[1] === tm.advances[1];
     1126        @assert ctx.measureText('Hello').advances[2] === tm.advances[2];
     1127        @assert ctx.measureText('Hello').advances[3] === tm.advances[3];
     1128        @assert ctx.measureText('Hello').advances[4] === tm.advances[4];
     1129    }).then(t_pass, t_fail);
    10741130
    10751131- name: 2d.text.measure.actualBoundingBox
    1076   desc: Testing actualBoundingBox
    1077   testing:
    1078     - 2d.text.measure.actualBoundingBox
    1079   fonts:
    1080     - CanvasTest
    1081   code: |
    1082     deferTest();
    1083     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1084     document.fonts.add(f);
    1085     document.fonts.ready.then(() => {
    1086         step_timeout(t.step_func_done(function () {
    1087             ctx.font = '50px CanvasTest';
    1088             ctx.direction = 'ltr';
    1089             ctx.align = 'left'
    1090             ctx.baseline = 'alphabetic'
    1091             // Different platforms may render text slightly different.
    1092             // Values that are nominally expected to be zero might actually vary by a pixel or so
    1093             // if the UA accounts for antialiasing at glyph edges, so we allow a slight deviation.
    1094             @assert Math.abs(ctx.measureText('A').actualBoundingBoxLeft) <= 1;
    1095             @assert ctx.measureText('A').actualBoundingBoxRight >= 50;
    1096             @assert ctx.measureText('A').actualBoundingBoxAscent >= 35;
    1097             @assert Math.abs(ctx.measureText('A').actualBoundingBoxDescent) <= 1;
    1098 
    1099             @assert Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) <= 1;
    1100             @assert ctx.measureText('ABCD').actualBoundingBoxRight >= 200;
    1101             @assert ctx.measureText('ABCD').actualBoundingBoxAscent >= 85;
    1102             @assert ctx.measureText('ABCD').actualBoundingBoxDescent >= 37;
    1103         }), 500);
    1104     });
     1132  desc: Testing actualBoundingBox for OffscreenCanvas
     1133  testing:
     1134  - 2d.text.measure.actualBoundingBox
     1135  fonts:
     1136  - CanvasTest
     1137  code: |
     1138    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1139    let fonts = (self.fonts ? self.fonts : document.fonts);
     1140    f.load();
     1141    fonts.add(f);
     1142    fonts.ready.then(function() {
     1143        ctx.font = '50px CanvasTest';
     1144        ctx.direction = 'ltr';
     1145        ctx.align = 'left'
     1146        ctx.baseline = 'alphabetic'
     1147        // Some platforms may return '-0'.
     1148        @assert Math.abs(ctx.measureText('A').actualBoundingBoxLeft) === 0;
     1149        // Different platforms may render text slightly different.
     1150        @assert ctx.measureText('A').actualBoundingBoxRight >= 50;
     1151        @assert ctx.measureText('A').actualBoundingBoxAscent >= 35;
     1152        @assert Math.abs(ctx.measureText('A').actualBoundingBoxDescent) === 0;
     1153
     1154        @assert ctx.measureText('D').actualBoundingBoxLeft >= 48;
     1155        @assert ctx.measureText('D').actualBoundingBoxLeft <= 52;
     1156        @assert ctx.measureText('D').actualBoundingBoxRight >= 75;
     1157        @assert ctx.measureText('D').actualBoundingBoxRight <= 80;
     1158        @assert ctx.measureText('D').actualBoundingBoxAscent >= 35;
     1159        @assert ctx.measureText('D').actualBoundingBoxAscent <= 40;
     1160        @assert ctx.measureText('D').actualBoundingBoxDescent >= 12;
     1161        @assert ctx.measureText('D').actualBoundingBoxDescent <= 15;
     1162
     1163        @assert Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) === 0;
     1164        @assert ctx.measureText('ABCD').actualBoundingBoxRight >= 200;
     1165        @assert ctx.measureText('ABCD').actualBoundingBoxAscent >= 85;
     1166        @assert ctx.measureText('ABCD').actualBoundingBoxDescent >= 37;
     1167    }).then(t_pass, t_fail);
    11051168
    11061169- name: 2d.text.measure.fontBoundingBox
    1107   desc: Testing fontBoundingBox
    1108   testing:
    1109     - 2d.text.measure.fontBoundingBox
    1110   fonts:
    1111     - CanvasTest
    1112   code: |
    1113     deferTest();
    1114     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1115     document.fonts.add(f);
    1116     document.fonts.ready.then(() => {
    1117         step_timeout(t.step_func_done(function () {
    1118             ctx.font = '50px CanvasTest';
    1119             ctx.direction = 'ltr';
    1120             ctx.align = 'left'
    1121             @assert ctx.measureText('A').fontBoundingBoxAscent === 85;
    1122             @assert ctx.measureText('A').fontBoundingBoxDescent === 39;
    1123 
    1124             @assert ctx.measureText('ABCD').fontBoundingBoxAscent === 85;
    1125             @assert ctx.measureText('ABCD').fontBoundingBoxDescent === 39;
    1126         }), 500);
    1127     });
    1128 
     1170  desc: Testing fontBoundingBox for OffscreenCanvas
     1171  testing:
     1172  - 2d.text.measure.fontBoundingBox
     1173  fonts:
     1174  - CanvasTest
     1175  code: |
     1176    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1177    let fonts = (self.fonts ? self.fonts : document.fonts);
     1178    f.load();
     1179    fonts.add(f);
     1180    fonts.ready.then(function() {
     1181        ctx.font = '50px CanvasTest';
     1182        ctx.direction = 'ltr';
     1183        ctx.align = 'left'
     1184        @assert ctx.measureText('A').fontBoundingBoxAscent === 85;
     1185        @assert ctx.measureText('A').fontBoundingBoxDescent === 39;
     1186
     1187        @assert ctx.measureText('ABCD').fontBoundingBoxAscent === 85;
     1188        @assert ctx.measureText('ABCD').fontBoundingBoxDescent === 39;
     1189    }).then(t_pass, t_fail);
    11291190- name: 2d.text.measure.emHeights
    1130   desc: Testing emHeights
    1131   testing:
    1132     - 2d.text.measure.emHeights
    1133   fonts:
    1134     - CanvasTest
    1135   code: |
    1136     deferTest();
    1137     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1138     document.fonts.add(f);
    1139     document.fonts.ready.then(() => {
    1140          step_timeout(t.step_func_done(function () {
    1141             ctx.font = '50px CanvasTest';
    1142             ctx.direction = 'ltr';
    1143             ctx.align = 'left'
    1144             @assert ctx.measureText('A').emHeightAscent === 37.5;
    1145             @assert ctx.measureText('A').emHeightDescent === 12.5;
    1146             @assert ctx.measureText('A').emHeightDescent + ctx.measureText('A').emHeightAscent === 50;
    1147 
    1148             @assert ctx.measureText('ABCD').emHeightAscent === 37.5;
    1149             @assert ctx.measureText('ABCD').emHeightDescent === 12.5;
    1150             @assert ctx.measureText('ABCD').emHeightDescent + ctx.measureText('ABCD').emHeightAscent === 50;
    1151         }), 500);
    1152     });
    1153 
     1191  desc: Testing emHeights for OffscreenCanvas
     1192  testing:
     1193  - 2d.text.measure.emHeights
     1194  fonts:
     1195  - CanvasTest
     1196  code: |
     1197    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1198    let fonts = (self.fonts ? self.fonts : document.fonts);
     1199    f.load();
     1200    fonts.add(f);
     1201    fonts.ready.then(function() {
     1202        ctx.font = '50px CanvasTest';
     1203        ctx.direction = 'ltr';
     1204        ctx.align = 'left'
     1205        @assert ctx.measureText('A').emHeightAscent === 37.5;
     1206        @assert ctx.measureText('A').emHeightDescent === 12.5;
     1207        @assert ctx.measureText('A').emHeightDescent + ctx.measureText('A').emHeightAscent === 50;
     1208
     1209        @assert ctx.measureText('ABCD').emHeightAscent === 37.5;
     1210        @assert ctx.measureText('ABCD').emHeightDescent === 12.5;
     1211        @assert ctx.measureText('ABCD').emHeightDescent + ctx.measureText('ABCD').emHeightAscent === 50;
     1212    }).then(t_pass, t_fail);
    11541213- name: 2d.text.measure.baselines
    1155   desc: Testing baselines
    1156   testing:
    1157     - 2d.text.measure.baselines
    1158   fonts:
    1159     - CanvasTest
    1160   code: |
    1161     deferTest();
    1162     var f = new FontFace("CanvasTest", "/fonts/CanvasTest.ttf");
    1163     document.fonts.add(f);
    1164     document.fonts.ready.then(() => {
    1165          step_timeout(t.step_func_done(function () {
    1166             ctx.font = '50px CanvasTest';
    1167             ctx.direction = 'ltr';
    1168             ctx.align = 'left'
    1169             @assert Math.abs(ctx.measureText('A').getBaselines().alphabetic) === 0;
    1170             @assert ctx.measureText('A').getBaselines().ideographic === -39;
    1171             @assert ctx.measureText('A').getBaselines().hanging === 68;
    1172 
    1173             @assert Math.abs(ctx.measureText('ABCD').getBaselines().alphabetic) === 0;
    1174             @assert ctx.measureText('ABCD').getBaselines().ideographic === -39;
    1175             @assert ctx.measureText('ABCD').getBaselines().hanging === 68;
    1176         }), 500);
    1177     });
    1178 
     1214  desc: Testing baselines for OffscreenCanvas
     1215  testing:
     1216  - 2d.text.measure.baselines
     1217  fonts:
     1218  - CanvasTest
     1219  code: |
     1220    var f = new FontFace("CanvasTest", "url('/fonts/CanvasTest.ttf')");
     1221    let fonts = (self.fonts ? self.fonts : document.fonts);
     1222    f.load();
     1223    fonts.add(f);
     1224    fonts.ready.then(function() {
     1225       ctx.font = '50px CanvasTest';
     1226       ctx.direction = 'ltr';
     1227       ctx.align = 'left'
     1228       @assert Math.abs(ctx.measureText('A').getBaselines().alphabetic) === 0;
     1229       @assert ctx.measureText('A').getBaselines().ideographic === -39;
     1230       @assert ctx.measureText('A').getBaselines().hanging === 68;
     1231
     1232       @assert Math.abs(ctx.measureText('ABCD').getBaselines().alphabetic) === 0;
     1233       @assert ctx.measureText('ABCD').getBaselines().ideographic === -39;
     1234       @assert ctx.measureText('ABCD').getBaselines().hanging === 68;
     1235    }).then(t_pass, t_fail);
    11791236# TODO: shadows, alpha, composite, clip
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/canvas/w3c-import.log

    r264114 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/META.yml
    18 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/html-element-list.js
     17/LayoutTests/imported/w3c/web-platform-tests/html/canvas/META.yml
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https-expected.txt

    r249886 r264117  
    33
    44FAIL Cross-Origin-Embedder-Policy and blob: URL from https://localhost:9443 in subframe via subframe assert_true: Cross-origin without CORP did not fail expected true got false
    5 FAIL Cross-Origin-Embedder-Policy and blob: URL from https://localhost:9443 in subframe via navigate assert_true: Cross-origin without CORP did not fail expected true got false
    6 FAIL Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe assert_true: Cross-origin without CORP did not fail expected true got false
    7 FAIL Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate assert_true: Cross-origin without CORP did not fail expected true got false
    8 FAIL Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe assert_true: Cross-origin without CORP did not fail expected true got false
    9 FAIL Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate assert_true: Cross-origin without CORP did not fail expected true got false
     5PASS Cross-Origin-Embedder-Policy and blob: URL from https://localhost:9443 in subframe via navigate
     6PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe
     7PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate
     8PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe
     9PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate
    1010
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https.html

    r249886 r264117  
    2929      const path = new URL("resources/blob-url-factory.html", window.location).pathname;
    3030      frame.src = `${origin}${path}?id=${id}&variant=${variant}&crossOrigin=${crossOrigin}`;
    31       window.addEventListener("message", t.step_func(({ data }) => {
     31      window.addEventListener("message", t.step_func_done(({ data }) => {
    3232        if (data.id !== id) {
    3333          return;
     
    3636        assert_true(data.sameOriginNoCORPSuccess, "Same-origin without CORP did not succeed");
    3737        assert_true(data.crossOriginNoCORPFailure, "Cross-origin without CORP did not fail");
    38         t.done();
    3938      }));
    4039      document.body.append(frame);
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-frame-javascript.https.html

    r264114 r264117  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
     5<script src="/common/get-host-info.sub.js"></script>
    56<script src="resources/script-factory.js"></script>
    6 <script src="/common/get-host-info.sub.js"></script>
    77<div id=log></div>
    88<script>
     
    1111    assert_equals(data.id, "");
    1212    assert_equals(data.origin, window.origin);
    13     assert_true(data.sameOriginNoCORPSuccess, "Same-origin without CORP did not succeed");
     13    assert_true(data.sameOriginNoCORPSuccess);
    1414    assert_true(data.crossOriginNoCORPFailure, "Cross-origin without CORP did not fail");
    1515  }));
    1616  const frame = document.createElement("iframe");
    1717  t.add_cleanup(() => frame.remove());
    18   frame.srcdoc = createScript(window.origin, get_host_info().HTTPS_NOTSAMESITE_ORIGIN);
     18  frame.src = "resources/coep-frame.html";
     19  frame.onload = t.step_func(() => {
     20    frame.onload = null;
     21    frame.src = `javascript:${encodeURIComponent(createScript(window.origin, get_host_info().HTTPS_NOTSAMESITE_ORIGIN))}`;
     22  });
    1923  document.body.append(frame);
    20 }, "Cross-Origin-Embedder-Policy and srcdoc");
     24}, "Cross-Origin-Embedder-Policy frame and javascript: URLs");
    2125</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/data.https.html

    r249886 r264117  
    1515  const frame = document.createElement("iframe");
    1616  t.add_cleanup(() => frame.remove());
    17   frame.src = `data:text/html,${createScript("null", window.origin)}`;
     17  frame.src = `data:text/html,<script>${encodeURIComponent(createScript("null", window.origin))}<\/script>`;
    1818  document.body.append(frame);
    1919}, "Cross-Origin-Embedder-Policy and data: URLs");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/javascript.https.html

    r264114 r264117  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
     5<script src="/common/get-host-info.sub.js"></script>
    56<script src="resources/script-factory.js"></script>
    6 <script src="/common/get-host-info.sub.js"></script>
    77<div id=log></div>
    88<script>
     
    1111    assert_equals(data.id, "");
    1212    assert_equals(data.origin, window.origin);
    13     assert_true(data.sameOriginNoCORPSuccess, "Same-origin without CORP did not succeed");
     13    assert_true(data.sameOriginNoCORPSuccess);
    1414    assert_true(data.crossOriginNoCORPFailure, "Cross-origin without CORP did not fail");
    1515  }));
    1616  const frame = document.createElement("iframe");
    1717  t.add_cleanup(() => frame.remove());
    18   frame.srcdoc = createScript(window.origin, get_host_info().HTTPS_NOTSAMESITE_ORIGIN);
     18  frame.src = `javascript:${encodeURIComponent(createScript(window.origin, get_host_info().HTTPS_NOTSAMESITE_ORIGIN))}`;
    1919  document.body.append(frame);
    20 }, "Cross-Origin-Embedder-Policy and srcdoc");
     20}, "Cross-Origin-Embedder-Policy and javascript: URLs");
    2121</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none-load-from-cache-storage.https.html

    r253791 r264117  
    5353// Try loading an image from a |response|. Return a Promise resolving or
    5454// rejecting depending on the image loading result.
     55const loadFailure = {name: "Image.onerror"};
    5556function readImageFromResponse(response) {
    5657  return new Promise((resolve, reject) => {
    5758    const img = document.createElement("img");
    5859    img.onload = resolve.bind(this, "");
    59     img.onerror = reject.bind(this, {name: "Image.onerror"});
     60    img.onerror = reject.bind(this, loadFailure);
    6061    response.blob().then(blob => {
    6162      img.src = URL.createObjectURL(blob);
     
    119120    // Opaque response are not readable.
    120121    if (response_type === "opaque") {
    121       await promise_rejects(t, {name: "Image.onerror"}, readImageFromResponse(response));
     122      await promise_rejects_exactly(t, loadFailure, readImageFromResponse(response));
    122123      return;
    123124    }
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-none.https.html

    r249886 r264117  
    3939
    4040promise_test(async (t) => {
    41   await promise_rejects(
    42     t, TypeError(),
     41  await promise_rejects_js(
     42    t, TypeError,
    4343    fetch(remote('resources/nothing-same-origin-corp.txt'), {mode: 'no-cors'}));
    4444}, 'making a cross-origin request for CORP: same-origin');
     
    5555
    5656promise_test(async (t) => {
    57   await promise_rejects(
    58     t, TypeError(),
     57  await promise_rejects_js(
     58    t, TypeError,
    5959    fetch(remote('resources/nothing-same-origin-corp.txt?passthrough'),
    6060      {mode: 'no-cors'}));
     
    7272
    7373promise_test(async (t) => {
    74   await promise_rejects(
    75     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'cors'}));
     74  await promise_rejects_js(
     75    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'cors'}));
    7676}, 'making a cross-origin request with CORS without ACAO');
    7777
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-require-corp.https.html

    r249886 r264117  
    3939
    4040promise_test(async (t) => {
    41   await promise_rejects(
    42     t, TypeError(),
     41  await promise_rejects_js(
     42    t, TypeError,
    4343    fetch(remote('resources/nothing-same-origin-corp.txt'), {mode: 'no-cors'}));
    4444}, 'making a cross-origin request for CORP: same-origin');
    4545
    4646promise_test(async (t) => {
    47   await promise_rejects(
    48     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'no-cors'}));
     47  await promise_rejects_js(
     48    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'no-cors'}));
    4949}, 'making a cross-origin request for no CORP');
    5050
     
    5656
    5757promise_test(async (t) => {
    58   await promise_rejects(
    59     t, TypeError(),
     58  await promise_rejects_js(
     59    t, TypeError,
    6060    fetch(remote('resources/nothing-same-origin-corp.txt?passthrough'),
    6161      {mode: 'no-cors'}));
     
    6363
    6464promise_test(async (t) => {
    65   await promise_rejects(
    66     t, TypeError(),
     65  await promise_rejects_js(
     66    t, TypeError,
    6767    fetch(remote('/common/blank.html?passthrough'), {mode: 'no-cors'}));
    6868}, 'making a cross-origin request for no CORP [PASS THROUGH]');
     
    7575
    7676promise_test(async (t) => {
    77   await promise_rejects(
    78     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'cors'}));
     77  await promise_rejects_js(
     78    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'cors'}));
    7979}, 'making a cross-origin request with CORS without ACAO');
    8080
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https-expected.txt

    r249886 r264117  
    22PASS "none" top-level: navigating a frame to "none" should succeed
    33PASS "none" top-level: navigating a frame from "require-corp" to "none" should succeed
    4 PASS "none" top-level: navigating a frame back from "require-corp" should succeed
     4FAIL "none" top-level: navigating a frame back from "require-corp" should succeed t.step_wait_func_done is not a function. (In 't.step_wait_func_done(() => w.location.href.endsWith("/navigate-require-corp.sub.html"))', 't.step_wait_func_done' is undefined)
    55FAIL "require-corp" top-level noopener popup: navigating to "none" should succeed Can't find variable: BroadcastChannel
     6PASS CORP: same-site is not checked.
    67
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https.html

    r253791 r264117  
    55<script src=/resources/testharnessreport.js></script>
    66<script src=/common/utils.js></script> <!-- Use token() to allow running tests in parallel -->
     7<script src="/common/get-host-info.sub.js"></script>
    78<div id=log></div>
    89<script>
     10const HOST = get_host_info();
     11const BASE = new URL("resources", location).pathname;
     12
    913async_test(t => {
    1014  const frame = document.createElement("iframe");
     
    4246  t.add_cleanup(() => w.close());
    4347
    44   t.step_timeout(() => {
     48  w.onload = t.step_func(() => {
     49    assert_true(w.location.href.endsWith("?to=navigate-require-corp.sub.html"));
    4550    w.history.back();
    46     t.step_timeout(() => {
    47       assert_not_equals(w.document, null);
    48       t.done();
    49     }, 500);
    50   }, 500);
     51    t.step_wait_func_done(() => w.location.href.endsWith("/navigate-require-corp.sub.html"));
     52  });
    5153}, `"none" top-level: navigating a frame back from "require-corp" should succeed`);
    5254
     
    8082  assert_equals(win, null);
    8183}, `"require-corp" top-level noopener popup: navigating to "none" should succeed`);
     84
     85async_test(t => {
     86  const frame = document.createElement("iframe");
     87  const id = token();
     88  t.add_cleanup(() => frame.remove());
     89  window.addEventListener('message', t.step_func((e) => {
     90    if (e.data === id) {
     91      // Loaded!
     92      t.done();
     93    }
     94  }));
     95  frame.src = `${HOST.HTTPS_NOTSAMESITE_ORIGIN}${BASE}/navigate-require-corp-same-site.sub.html?token=${id}`;
     96  document.body.append(frame);
     97}, 'CORP: same-site is not checked.');
     98
    8299</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https.html

    r264114 r264117  
    11<!doctype html>
    22<meta name="timeout" content="long">
    3 <title>Cross-Origin-Embedder-Policy header and nested navigable resource without such header</title>
     3<title>Cross-Origin-Embedder-Policy-Report-Only header does not affect the actual behavior</title>
    44<script src=/resources/testharness.js></script>
    55<script src=/resources/testharnessreport.js></script>
    66<script src=/common/utils.js></script> <!-- Use token() to allow running tests in parallel -->
     7<script src="/common/get-host-info.sub.js"></script>
    78<div id=log></div>
    89<script>
     10const HOST = get_host_info();
     11const BASE = new URL("resources", location).pathname;
     12
    913async_test(t => {
    1014  const frame = document.createElement("iframe");
     
    4246  t.add_cleanup(() => w.close());
    4347
    44   t.step_timeout(() => {
     48  w.onload = t.step_func(() => {
    4549    w.history.back();
    4650    t.step_timeout(() => {
    4751      assert_not_equals(w.document, null);
    4852      t.done();
    49     }, 500);
    50   }, 500);
     53    }, 1500);
     54  });
    5155}, `"none" top-level: navigating a frame back from "require-corp" should succeed`);
    5256
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.https.html

    r264114 r264117  
     1<!doctype html>
    12<script src=/resources/testharness.js></script>
    23<script src=/resources/testharnessreport.js></script>
     
    1819  await iframe_loaded;
    1920  assert_not_equals(iframe.contentDocument, null);
    20 
    21   t.done();
    2221}, "about:blank can always be embedded by a 'require-corp' document");
    2322
     
    2827  iframe_C.src = "/common/blank.html";
    2928  let iframe_B_loaded = new Promise(resolve => iframe_B.onload = resolve);
    30   let iframe_C_loaded = new Promise(resolve => iframe_C.onload = resolve);
    3129  document.body.appendChild(iframe_B);
    3230
     
    3634  iframe_B.contentDocument.body.appendChild(iframe_C);
    3735
     36
    3837  // The document nested under about:blank must not load because it does not
    3938  // specify the Cross-Origin-Embedder-Policy: require-corp header.
    4039  // An error page must be displayed instead.
    41   await iframe_C_loaded;
    42   assert_equals(iframe_C.contentDocument, null);
    43 
    44   t.done();
     40  // See https://github.com/whatwg/html/issues/125 for why a timeout is used
     41  // here. Long term all network error handling should be similar and have a
     42  // reliable event.
     43  assert_equals(iframe_C.contentWindow.location.href, "about:blank");
     44  assert_not_equals(iframe_C.contentDocument, null);
     45  await t.step_wait(() => iframe_C.contentDocument === null);
    4546}, "A(B(C)) A=require-corp, B=about:blank, C=no-require-corp => C can't load");
    4647
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.https.html

    r264114 r264117  
    1919  assert_not_equals(iframe.contentDocument, null);
    2020  assert_equals(iframe.contentDocument.body.innerText, "loaded document");
    21 
    22   t.done();
    2321}, "about:srcdoc can always be embedded by a 'require-corp' document");
    2422
     
    2927  iframe_C.src = "/common/blank.html";
    3028  let iframe_B_loaded = new Promise(resolve => iframe_B.onload = resolve);
    31   let iframe_C_loaded = new Promise(resolve => iframe_C.onload = resolve);
    3229  document.body.appendChild(iframe_B);
    3330
     
    4138  // specify the Cross-Origin-Embedder-Policy: require-corp header.
    4239  // An error page must be displayed instead.
    43   await iframe_C_loaded;
    44   assert_equals(iframe_C.contentDocument, null);
    45 
    46   t.done();
     40  // See https://github.com/whatwg/html/issues/125 for why a timeout is used
     41  // here. Long term all network error handling should be similar and have a
     42  // reliable event.
     43  assert_equals(iframe_C.contentWindow.location.href, "about:blank");
     44  assert_not_equals(iframe_C.contentDocument, null);
     45  await t.step_wait(() => iframe_C.contentDocument === null);
    4746}, "A(B(C)) A=require-corp, B=about:srcdoc, C=no-require-corp => C can't load");
    4847
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html

    r253791 r264117  
    5353// Try loading an image from a |response|. Return a Promise resolving or
    5454// rejecting depending on the image loading result.
     55const loadFailure = {name: "Image.onerror"};
    5556function readImageFromResponse(response) {
    5657  return new Promise((resolve, reject) => {
    5758    const img = document.createElement("img");
    5859    img.onload = resolve.bind(this, "");
    59     img.onerror = reject.bind(this, {name: "Image.onerror"});
     60    img.onerror = reject.bind(this, loadFailure);
    6061    response.blob().then(blob => {
    6162      img.src = URL.createObjectURL(blob);
     
    110111
    111112    if (response_type === 'error') {
    112       await promise_rejects(t, new TypeError(), cache.match(url));
     113      await promise_rejects_js(t, TypeError, cache.match(url));
    113114      return;
    114115    }
     
    125126    // Opaque response can't be read from the document.
    126127    if (response_type === "opaque") {
    127       await promise_rejects(t, {name: "Image.onerror"}, readImageFromResponse(response));
     128      await promise_rejects_exactly(t, loadFailure, readImageFromResponse(response));
    128129      return;
    129130    }
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-none.https.html

    r249886 r264117  
    4040
    4141promise_test(async (t) => {
    42   await promise_rejects(
    43     t, TypeError(),
     42  await promise_rejects_js(
     43    t, TypeError,
    4444    fetch(remote('resources/nothing-same-origin-corp.txt'), {mode: 'no-cors'}));
    4545}, 'making a cross-origin request for CORP: same-origin');
    4646
    4747promise_test(async (t) => {
    48   await promise_rejects(
    49     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'no-cors'}));
     48  await promise_rejects_js(
     49    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'no-cors'}));
    5050}, 'making a cross-origin request for no CORP');
    5151
     
    5757
    5858promise_test(async (t) => {
    59   await promise_rejects(
    60     t, TypeError(),
     59  await promise_rejects_js(
     60    t, TypeError,
    6161    fetch(remote('resources/nothing-same-origin-corp.txt?passthrough'),
    6262      {mode: 'no-cors'}));
     
    7474
    7575promise_test(async (t) => {
    76   await promise_rejects(
    77     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'cors'}));
     76  await promise_rejects_js(
     77    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'cors'}));
    7878}, 'making a cross-origin request with CORS without ACAO');
    7979
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html

    r249886 r264117  
    4040
    4141promise_test(async (t) => {
    42   await promise_rejects(
    43     t, TypeError(),
     42  await promise_rejects_js(
     43    t, TypeError,
    4444    fetch(remote('resources/nothing-same-origin-corp.txt'), {mode: 'no-cors'}));
    4545}, 'making a cross-origin request for CORP: same-origin');
    4646
    4747promise_test(async (t) => {
    48   await promise_rejects(
    49     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'no-cors'}));
     48  await promise_rejects_js(
     49    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'no-cors'}));
    5050}, 'making a cross-origin request for no CORP');
    5151
     
    5757
    5858promise_test(async (t) => {
    59   await promise_rejects(
    60     t, TypeError(),
     59  await promise_rejects_js(
     60    t, TypeError,
    6161    fetch(remote('resources/nothing-same-origin-corp.txt?passthrough'),
    6262      {mode: 'no-cors'}));
     
    6464
    6565promise_test(async (t) => {
    66   await promise_rejects(
    67     t, TypeError(),
     66  await promise_rejects_js(
     67    t, TypeError,
    6868    fetch(remote('/common/blank.html?passthrough'), {mode: 'no-cors'}));
    6969}, 'making a cross-origin request for no CORP [PASS THROUGH]');
     
    7676
    7777promise_test(async (t) => {
    78   await promise_rejects(
    79     t, TypeError(), fetch(remote('/common/blank.html'), {mode: 'cors'}));
     78  await promise_rejects_js(
     79    t, TypeError, fetch(remote('/common/blank.html'), {mode: 'cors'}));
    8080}, 'making a cross-origin request with CORS without ACAO');
    8181
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https-expected.txt

    r249886 r264117  
    11
    2 FAIL "require-corp" top-level: navigating a frame to "none" should fail assert_equals: expected null but got Document node with 1 child
     2FAIL "require-corp" top-level: navigating a frame to "none" should fail t.step_wait_func_done is not a function. (In 't.step_wait_func_done(() => frame.contentDocument === null)', 't.step_wait_func_done' is undefined)
    33FAIL "require-corp" top-level: navigating a frame from "require-corp" to "none" should fail Can't find variable: BroadcastChannel
    44FAIL "require-corp" top-level: creating a noopener "none" popup should succeed Can't find variable: BroadcastChannel
     
    99PASS "require-corp" top-level: fetch() to CORP: cross-origin response should succeed
    1010FAIL "require-corp" top-level: fetch() to response without CORP should fail assert_unreached: Should have rejected: undefined Reached unreachable code
     11FAIL "require-corp" top-level: fetch() to response without CORP through a WindowProxy should fail assert_unreached: Should have rejected: undefined Reached unreachable code
     12FAIL "require-corp" top-level: navigating an iframe to a page without CORP, through a WindowProxy, should fail t.step_wait_func_done is not a function. (In 't.step_wait_func_done(() => frame.contentDocument === null)', 't.step_wait_func_done' is undefined)
     13PASS CORP: same-site is checked and allowed.
     14FAIL CORP: same-site is checked and blocked. assert_false: expected false got true
     15FAIL navigation CORP is checked with the parent frame, not the navigation source - to be allowed Can't find variable: BroadcastChannel
     16FAIL navigation CORP is checked with the parent frame, not the navigation source - to be blocked Can't find variable: BroadcastChannel
     17FAIL navigation CORP is checked for each redirect Can't find variable: BroadcastChannel
    1118
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html

    r253791 r264117  
    88<div id=log></div>
    99<script>
    10 async_test(t => {
    11   const frame = document.createElement("iframe");
    12   t.add_cleanup(() => frame.remove());
    13   t.step_timeout(() => {
    14     // Make sure the iframe didn't load. See https://github.com/whatwg/html/issues/125 for why a
    15     // timeout is used here. Long term all network error handling should be similar and have a
    16     // reliable event.
    17     assert_equals(frame.contentDocument, null);
    18     t.done();
    19   }, 500);
     10const HOST = get_host_info();
     11const BASE = new URL("resources", location).pathname;
     12
     13async_test(t => {
     14  const frame = document.createElement("iframe");
     15  t.add_cleanup(() => frame.remove());
    2016  frame.src = "/common/blank.html";
    2117  document.body.append(frame);
     18  // Make sure the iframe didn't load. See https://github.com/whatwg/html/issues/125 for why a
     19  // timeout is used here. Long term all network error handling should be similar and have a
     20  // reliable event.
    2221  assert_equals(frame.contentDocument.body.localName, "body");
     22  t.step_wait_func_done(() => frame.contentDocument === null);
    2323}, `"require-corp" top-level: navigating a frame to "none" should fail`);
    2424
     
    2828  const bc = new BroadcastChannel(token());
    2929  bc.onmessage = t.step_func((event) => {
    30     assert_not_equals(frame.contentDocument, null);
    31     let payload = event.data;
    32     assert_equals(payload, "loaded");
    33     t.step_timeout(() => {
    34       assert_equals(frame.contentDocument, null);
    35       t.done();
    36     }, 2000);
     30    let payload = event.data;
     31    assert_equals(payload, "loaded");
     32    t.step_wait_func_done(() => frame.contentDocument === null);
    3733  });
    3834  frame.src = `resources/navigate-require-corp.sub.html?channelName=${bc.name}&to=/common/blank.html`;
     
    130126
    131127promise_test(t => {
    132   return promise_rejects(t, new TypeError(), fetch(get_host_info().HTTPS_REMOTE_ORIGIN+"/common/blank.html", {mode: "no-cors"}));
     128  return promise_rejects_js(t, TypeError, fetch(get_host_info().HTTPS_REMOTE_ORIGIN+"/common/blank.html", {mode: "no-cors"}));
    133129}, `"require-corp" top-level: fetch() to response without CORP should fail`);
     130
     131promise_test(t => {
     132  const w = window.open();
     133  return promise_rejects_js(t, w.TypeError, w.fetch(get_host_info().HTTPS_REMOTE_ORIGIN+"/common/blank.html", {mode: "no-cors"}));
     134}, `"require-corp" top-level: fetch() to response without CORP through a WindowProxy should fail`);
     135
     136async_test(t => {
     137  let w = window.open();
     138  const frame = w.document.createElement("iframe");
     139  t.add_cleanup(() => {
     140    w.close();
     141    frame.remove();
     142  });
     143  frame.src = "/common/blank.html";
     144  document.body.append(frame);
     145  // Make sure the iframe didn't load. See https://github.com/whatwg/html/issues/125 for why a
     146  // timeout is used here. Long term all network error handling should be similar and have a
     147  // reliable event.
     148  assert_equals(frame.contentDocument.body.localName, "body");
     149  t.step_wait_func_done(() => frame.contentDocument === null);
     150}, `"require-corp" top-level: navigating an iframe to a page without CORP, through a WindowProxy, should fail`);
     151
     152async_test(t => {
     153  const frame = document.createElement("iframe");
     154  const id = token();
     155  t.add_cleanup(() => frame.remove());
     156  window.addEventListener('message', t.step_func((e) => {
     157    if (e.data === id) {
     158      // Loaded!
     159      t.done();
     160    }
     161  }));
     162  // REMOTE_ORIGIN is cross-origin, same-site.
     163  frame.src = `${HOST.HTTPS_REMOTE_ORIGIN}${BASE}/navigate-require-corp-same-site.sub.html?token=${id}`;
     164  document.body.append(frame);
     165}, 'CORP: same-site is checked and allowed.');
     166
     167async_test(t => {
     168  const frame = document.createElement("iframe");
     169  const id = token();
     170  t.add_cleanup(() => frame.remove());
     171  let loaded = false;
     172  window.addEventListener('message', t.step_func((e) => {
     173    if (e.data === id) {
     174      loaded = true;
     175    }
     176  }));
     177  t.step_timeout(() => {
     178    // Make sure the iframe didn't load. See https://github.com/whatwg/html/issues/125 for why a
     179    // timeout is used here. Long term all network error handling should be similar and have a
     180    // reliable event.
     181    assert_false(loaded);
     182    t.done();
     183  }, 2000);
     184
     185  // NOTESAMESITE_ORIGIN is cross-origin, cross-site.
     186  frame.src = `${HOST.HTTPS_NOTSAMESITE_ORIGIN}${BASE}/navigate-require-corp-same-site.sub.html?token=${id}`;
     187  document.body.append(frame);
     188}, 'CORP: same-site is checked and blocked.');
     189
     190async_test(t => {
     191  const frame = document.createElement("iframe");
     192  const bc = new BroadcastChannel(token());
     193  t.add_cleanup(() => frame.remove());
     194  bc.onmessage = t.step_func_done((event) => {
     195    const payload = event.data;
     196    assert_equals(payload, "loaded");
     197  });
     198
     199  const dest = `${HOST.ORIGIN}${BASE}/navigate-require-corp.sub.html?channelName=${bc.name}`;
     200  // REMOTE_ORIGIN is cross-origin, same-site.
     201  frame.src = `${HOST.REMOTE_ORIGIN}${BASE}/navigate-require-corp-same-site.sub.html?to=${encodeURIComponent(dest)}`;
     202  document.body.append(frame);
     203}, 'navigation CORP is checked with the parent frame, not the navigation source - to be allowed');
     204
     205async_test(t => {
     206  const frame = document.createElement("iframe");
     207  const bc = new BroadcastChannel(token());
     208  t.add_cleanup(() => frame.remove());
     209  let loaded = false;
     210  bc.onmessage = t.step_func((event) => {
     211    loaded = true;
     212  });
     213  t.step_timeout(() => {
     214    // Make sure the iframe didn't load. See https://github.com/whatwg/html/issues/125 for why a
     215    // timeout is used here. Long term all network error handling should be similar and have a
     216    // reliable event.
     217    assert_false(loaded);
     218    t.done();
     219  }, 2000);
     220
     221  const dest = `${HOST.REMOTE_ORIGIN}${BASE}/navigate-require-corp.sub.html?channelName=${bc.name}`;
     222  // REMOTE_ORIGIN is cross-origin, same-site.
     223  frame.src = `${HOST.REMOTE_ORIGIN}${BASE}/navigate-require-corp-same-site.sub.html?to=${encodeURIComponent(dest)}`;
     224  document.body.append(frame);
     225}, 'navigation CORP is checked with the parent frame, not the navigation source - to be blocked');
     226
     227async_test(t => {
     228  const bc = new BroadcastChannel(token());
     229  let loaded = false;
     230  bc.onmessage = t.step_func((event) => {
     231    loaded = true;
     232  });
     233  t.step_timeout(() => {
     234    // Make sure the iframe didn't load. See
     235    // https://github.com/whatwg/html/issues/125 for why a timeout is used
     236    // here. Long term all network error handling should be similar and have a
     237    // reliable event.
     238    assert_false(loaded);
     239    t.done();
     240  }, 2000);
     241
     242  const dest = `${HOST.ORIGIN}${BASE}/navigate-require-corp.sub.html?channelName=${bc.name}`;
     243  const frame = document.createElement("iframe");
     244  t.add_cleanup(() => frame.remove());
     245  // |dest| is a same-origin URL and hence not blocked by CORP but reidirect.py
     246  // is a cross-origin (actually cross-site) URL, so blocked by CORP.
     247  frame.src = `${HOST.HTTPS_NOTSAMESITE_ORIGIN}/common/redirect.py?location=${encodeURIComponent(dest)}`;
     248  document.body.append(frame);
     249}, 'navigation CORP is checked for each redirect');
     250
    134251</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/blob-url-factory.html

    r249886 r264117  
    66const variant = query.get("variant");
    77const parent = (variant === "subframe") ? "parent.parent" : "parent";
    8 const blob = new Blob([createScript(window.origin, query.get("crossOrigin"), parent, id)], { type: "text/html" });
     8const blob = new Blob([`<script>${createScript(window.origin, query.get("crossOrigin"), parent, id)}<\/script>`], { type: "text/html" });
    99const blobURL = URL.createObjectURL(blob);
    1010if (variant === "subframe") {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp-same-site.sub.html.headers

    r264114 r264117  
    11Cross-Origin-Embedder-Policy: require-corp
     2Cross-Origin-Resource-Policy: same-site
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/script-factory.js

    r249886 r264117  
    11// This creates a serialized <script> element that is useful for blob/data/srcdoc-style tests.
    22
    3 function createScript(sameOrigin, crossOrigin, parent="parent", id="") {
    4   return `<script>
    5 const data = { id: "${id}",
     3function createScript(sameOrigin, crossOrigin, type="parent", id="") {
     4  return `const data = { id: "${id}",
     5               opener: !!window.opener,
    66               origin: window.origin,
    77               sameOriginNoCORPSuccess: false,
     
    1919}
    2020
    21 Promise.all(records).then(() => window.${parent}.postMessage(data, "*"));
    22 <\/script>`;
     21Promise.all(records).then(() => {
     22  // Using BroadcastChannel is useful for blob: URLs, which are always same-origin
     23  if ("${type}" === "channel") {
     24    const bc = new BroadcastChannel("${id}");
     25    bc.postMessage(data);
     26  } else {
     27    window.${type}.postMessage(data, "*");
     28  }
     29});`;
    2330}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/w3c-import.log

    r253791 r264117  
    1717/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/blob-url-factory.html
    1818/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/blob-url-factory.html.headers
     19/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/cache-storage-reporting.js
     20/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/coep-frame.html
     21/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/coep-frame.html.headers
     22/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/dedicated-worker.js
     23/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/fetch-in-dedicated-worker.js
     24/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/iframe.html
    1925/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-none.sub.html
     26/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp-same-site.sub.html
     27/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp-same-site.sub.html.headers
    2028/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp.sub.html
    2129/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp.sub.html.headers
     
    2432/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-same-origin-corp.txt
    2533/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-same-origin-corp.txt.headers
     34/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/report.py
     35/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/reporting-empty-frame.html
     36/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/reporting-empty-frame.html.headers
     37/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/reporting-worker.js
     38/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw-import-scripts.js
     39/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw-import-scripts.js.headers
     40/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js
     41/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js.headers
    2642/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/script-factory.js
    2743/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/sw-store-to-cache-storage.js
    2844/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/sw.js
     45/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/universal-worker.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/srcdoc.https.html

    r249886 r264117  
    1616  const frame = document.createElement("iframe");
    1717  t.add_cleanup(() => frame.remove());
    18   frame.srcdoc = createScript(window.origin, get_host_info().HTTPS_NOTSAMESITE_ORIGIN);
     18  frame.srcdoc = `<script>${createScript(window.origin, get_host_info().HTTPS_NOTSAMESITE_ORIGIN)}<\/script>`;
    1919  document.body.append(frame);
    2020}, "Cross-Origin-Embedder-Policy and srcdoc");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/w3c-import.log

    r253791 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/META.yml
    1718/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/README.md
    1819/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https.html
    1920/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https.html.headers
     21/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html
     22/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html
     23/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html
     24/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html
     25/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-frame-javascript.https.html
     26/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html
    2027/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/data.https.html
    2128/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/data.https.html.headers
     29/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker-cache-storage.https.html
     30/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker.https.html
     31/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/javascript.https.html
     32/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/javascript.https.html.headers
    2233/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/meta-http-equiv.https.html
     34/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/no-secure-context.html
     35/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/no-secure-context.html.headers
    2336/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/non-initial-about-blank.https.html
    2437/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/non-initial-about-blank.https.html.headers
     
    2942/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https.html
    3043/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https.html.headers
    31 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.html
    32 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.html.headers
    33 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.html
    34 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.html.headers
     44/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https.html
     45/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https.html.headers
     46/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-navigation.https.html
     47/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html
     48/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html
     49/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html.sub.headers
     50/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.https.html
     51/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.https.html.headers
     52/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.https.html
     53/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.https.html.headers
    3554/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html
    3655/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html.headers
     
    3857/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html
    3958/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html.headers
     59/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html
    4060/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html
    4161/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html.headers
    4262/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/sandbox.https.html
    4363/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/sandbox.https.html.headers
     64/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/service-worker-cache-storage.https.html
    4465/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/srcdoc.https.html
    4566/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/srcdoc.https.html.headers
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-blob-popup.https.html.headers

    r264114 r264117  
     1Cross-Origin-Opener-Policy: same-origin
    12Cross-Origin-Embedder-Policy: require-corp
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html

    r249886 r264117  
    11<!doctype html>
    22<title>Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy: a navigating popup</title>
    3 <meta content=timeout value=long>
     3<meta name=timeout content=long>
     4<meta name=variant content=?0-1>
     5<meta name=variant content=?2-3>
     6<meta name=variant content=?4-last>
    47<script src=/resources/testharness.js></script>
    58<script src=/resources/testharnessreport.js></script>
     9<script src="/common/subset-tests.js"></script>
    610<script src="/common/get-host-info.sub.js"></script>
    711<script src="resources/common.js"></script>
     
    3337  },
    3438  {
    35     "title": "coop unsafe-inherit/coep",
    36     "coop": "unsafe-inherit",
     39    "title": "coop unsafe-none/coep",
     40    "coop": "unsafe-none",
    3741    "coep": "require-corp",
    38     "opener": true
     42    "opener": false
    3943  },
    4044  {
    41     "title": "coop unsafe-inherit/no coep",
    42     "coop": "unsafe-inherit",
     45    "title": "coop unsafe-none/no coep",
     46    "coop": "unsafe-none",
    4347    "coep": "",
    4448    "opener": false
    4549  }
    46 ].forEach(variant => {
     50].forEach((variant, i) => {
     51  // Only run specified variants
     52  if (!shouldRunSubTest(i)) {
     53    return;
     54  }
     55
    4756  ["same-origin", "same-site"].forEach(site => {
    4857    const title = `Popup navigating to ${site} with ${variant.title}`;
     
    5463    async_test(t => {
    5564      // For each test we open a COOP: same-origin/COEP: require-corp document in a popup and then
    56       // navigate that to either a same-origin or same-site document whose COOP and COEP are set as
    57       // per the top-most array. We then verify that this document has the correct opener for its
    58       // specific setup.
     65      // navigate that to either a same-origin (site=="same-origin") or same-site (site=="same-site")
     66      // document whose COOP and COEP are set as per the top-most array. We then verify that this
     67      // document has the correct opener for its specific setup.
    5968      url_test(t, `${SAME_ORIGIN.origin}/html/cross-origin-opener-policy/resources/coop-coep.py?coop=same-origin&coep=require-corp&navigate=${encodeURIComponent(navigateURL)}`, channel, opener);
    6069    }, title);
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-redirect.https.html

    r249886 r264117  
    11<!doctype html>
    22<title>Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy: redirects</title>
     3<meta name=timeout content=long>
    34<script src=/resources/testharness.js></script>
    45<script src=/resources/testharnessreport.js></script>
     
    4243  },
    4344  {
    44     "title": "coop unsafe-inherit/coep to coop/coep",
    45     "redirectCOOP": "unsafe-inherit",
     45    "title": "coop unsafe-none/coep to coop/coep",
     46    "redirectCOOP": "unsafe-none",
    4647    "redirectCOEP": "require-corp",
    4748    "coop": "same-origin",
    4849    "coep": "require-corp",
    49     "opener": true
     50    "opener": false
    5051  },
    5152  {
    52     "title": "coop unsafe-inherit/coep to coop unsafe-inherit/coep",
    53     "redirectCOOP": "unsafe-inherit",
     53    "title": "coop unsafe-none/coep to coop unsafe-inherit/coep",
     54    "redirectCOOP": "unsafe-none",
    5455    "redirectCOEP": "require-corp",
    55     "coop": "unsafe-inherit",
     56    "coop": "unsafe-none",
    5657    "coep": "require-corp",
    57     "opener": true
     58    "opener": false
    5859  }
    5960].forEach(variant => {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html

    r253791 r264117  
    11<!doctype html>
    22<title>Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy</title>
     3<meta name=timeout content=long>
    34<script src=/resources/testharness.js></script>
    45<script src=/resources/testharnessreport.js></script>
     
    1415  },
    1516  {
    16     "title": "popup with coop unsafe-inherit/coep",
    17     "coop": "unsafe-inherit",
     17    "title": "popup with coop unsafe-none/coep",
     18    "coop": "unsafe-none",
    1819    "coep": "require-corp",
    19     "opener": true
     20    "opener": false
    2021  },
    2122  {
    22     "title": "popup with coop unsafe-inherit without coep",
    23     "coop": "unsafe-inherit",
     23    "title": "popup with coop unsafe-none without coep",
     24    "coop": "unsafe-none",
    2425    "coep": "",
    2526    "opener": false
     
    3637  }, `Same-origin ${variant.title}`);
    3738
    38   // This seems useful to test, CROSS_SITE is probably too redundant though.
     39  // "same-site" is a historical value, equivalent to "unsafe-none"
    3940  async_test(t => {
    4041    coop_coep_test(t, SAME_SITE, variant.coop, variant.coep, `same-site-${variant.title.replace(/ /g,"-")}`, false);
    41   }, `Same-site ${variant.title}`);
     42  }, `historical: "same-site" ${variant.title}`);
    4243});
    4344
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html

    r249886 r264117  
    22<title>Cross-Origin-Opener-Policy: a navigated popup</title>
    33<!-- In particular this is different from coep-navigate-popup.https.html as this document initiates
    4      the navigation (and uses unsafe-allow-outgoing and no COEP as without that it cannot be
     4     the navigation (and uses same-origin-allow-popups and no COEP as without that it cannot be
    55     observed). COOP should work identically, but implementations might have used the wrong
    66     authority. -->
     
    1313  const popupName = token();
    1414  const popup = window.open(noCOOP, popupName);
    15   t.add_cleanup(() => popup.close());
     15  const channel = new BroadcastChannel(token());
     16  // Close the popup once the test is complete.
     17  // The browsing context is closed after the navigation hence use the broadcast channel
     18  // to trigger the closure.
     19  t.add_cleanup(() => {
     20    channel.postMessage("close");
     21  });
    1622  popup.onload = t.step_func(() => {
    1723    assert_equals(popup.name, popupName);
    1824    assert_equals(new URL(popup.document.URL).pathname, noCOOP);
    19     const channel = new BroadcastChannel(token());
    2025    channel.onmessage = t.step_func_done(event => {
    2126      const payload = event.data;
     
    2429      assert_equals(payload.name.length, 0);
    2530      assert_false(payload.opener);
     31      assert_true(popup.closed);
    2632    });
    2733    const coop = `resources/coop-coep.py?coop=same-origin&coep=&channel=${channel.name}`;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html.headers

    r249886 r264117  
    1 Cross-Origin-Opener-Policy: same-origin unsafe-allow-outgoing
     1Cross-Origin-Opener-Policy: same-origin-allow-popups
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-sandbox.https.html

    r249886 r264117  
    66<div id=log>
    77<script>
     8[
     9  "allow-popups allow-scripts allow-same-origin",
     10  "allow-popups allow-scripts",
     11].forEach(sandboxValue => {
     12  async_test(t => {
     13    const frame = document.createElement("iframe");
     14    const channel = new BroadcastChannel(token());
     15    channel.onmessage = t.unreached_func("A COOP popup was created from a sandboxed frame");
     16    t.add_cleanup(() => frame.remove());
     17    frame.sandbox = sandboxValue;
     18    frame.srcdoc = `<script>
     19  const popup = window.open("resources/coop-coep.py?coop=same-origin&coep=&channel=${channel.name}");
     20  <\/script>`;
     21    document.body.append(frame);
     22    addEventListener('load', t.step_func(() => {
     23      // This uses a timeout to give some time for incorrect implementations to broadcast. A
     24      // theoretical testdriver.js API for browsing contexts could be used to speed this up.
     25      t.step_timeout(() => {
     26        t.done()
     27      }, 1500);
     28    }));
     29  }, `<iframe sandbox="${sandboxValue}"> ${document.title}`);
     30});
     31
    832async_test(t => {
    933  const frame = document.createElement("iframe");
    1034  const channel = new BroadcastChannel(token());
    11   channel.onmessage = t.unreached_func("A COOP popup was created from a sandboxed frame");
     35  frame.sandbox = "allow-scripts allow-same-origin";
     36  frame.name = `iframe-${channel.name}`;
     37  frame.src = `resources/coop-coep.py?coop=same-origin&coep=&channel=${channel.name}`;
     38  channel.onmessage = t.step_func( event => {
     39    const payload = event.data;
     40    assert_equals(payload.name, frame.name, "name");
     41    t.done();
     42  });
    1243  t.add_cleanup(() => frame.remove());
    13   frame.sandbox = "allow-popups allow-scripts allow-same-origin";
    14   frame.srcdoc = `<script>
    15 const popup = window.open("resources/coop-coep.py?coop=same-origin&coep=&channel=${channel.name}");
    16 <\/script>`;
    1744  document.body.append(frame);
    18   t.step_timeout(() => {
    19     t.done()
    20   }, 500);
    21 });
     45}, `Iframe with sandbox and COOP must load.`);
    2246</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/coep-navigate-popup-unsafe-inherit.https.html

    r264114 r264117  
    11<!doctype html>
    2 <title>Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy: a navigating popup</title>
    3 <meta content=timeout value=long>
     2<title>Historical: Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy: a navigating popup</title>
     3<meta name=timeout content=long>
    44<script src=/resources/testharness.js></script>
    55<script src=/resources/testharnessreport.js></script>
    66<script src="/common/get-host-info.sub.js"></script>
    7 <script src="resources/common.js"></script>
     7<script src="../resources/common.js"></script>
    88<script>
    99[
    1010  {
    11     "title": "coop/coep",
    12     "coop": "same-origin",
    13     "coep": "require-corp",
    14     "opener": true
    15   },
    16   {
    17     "title": "no coop/coep",
    18     "coop": "",
     11    "title": "coop unsafe-inherit/coep",
     12    "coop": "unsafe-inherit", // historical value, equivalent to "unsafe-none"
    1913    "coep": "require-corp",
    2014    "opener": false
    2115  },
    2216  {
    23     "title": "coop/no coep",
    24     "coop": "same-origin",
    25     "coep": "",
    26     "opener": false
    27   },
    28   {
    29     "title": "no coop/no coep",
    30     "coop": "",
    31     "coep": "",
    32     "opener": false
    33   },
    34   {
    35     "title": "coop unsafe-inherit/coep",
    36     "coop": "unsafe-inherit",
    37     "coep": "require-corp",
    38     "opener": true
    39   },
    40   {
    4117    "title": "coop unsafe-inherit/no coep",
    42     "coop": "unsafe-inherit",
     18    "coop": "unsafe-inherit", // historical value, equivalent to "unsafe-none"
    4319    "coep": "",
    4420    "opener": false
     
    5430    async_test(t => {
    5531      // For each test we open a COOP: same-origin/COEP: require-corp document in a popup and then
    56       // navigate that to either a same-origin or same-site document whose COOP and COEP are set as
    57       // per the top-most array. We then verify that this document has the correct opener for its
    58       // specific setup.
     32      // navigate that to either a document with same origin (site=="same-origin") or
     33      // not-same-origin (site=="same-site") whose COOP and COEP are set as per the top-most array.
     34      // We then verify that this document has the correct opener for its specific setup.
    5935      url_test(t, `${SAME_ORIGIN.origin}/html/cross-origin-opener-policy/resources/coop-coep.py?coop=same-origin&coep=require-corp&navigate=${encodeURIComponent(navigateURL)}`, channel, opener);
    6036    }, title);
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/w3c-import.log

    r264114 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/README.md
    18 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html
    19 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html.headers
    20 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-redirect.https.html
    21 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-redirect.https.html.headers
    22 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html
    23 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html.headers
    24 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html
    25 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html.headers
    26 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-sandbox.https.html
    27 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-sandbox.https.html.headers
    28 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html
    29 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html.headers
    30 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-none.https.html
    31 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-redirect-cache.https.html
    32 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-redirect-cache.https.html.headers
    33 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html
    34 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html.headers
    35 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html
    36 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html.headers
    37 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https.html
    38 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers
    39 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html
    40 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html.headers
    41 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https.html
    42 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https.html.headers
     17/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/coep-navigate-popup-unsafe-inherit.https.html
     18/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html
     19/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html.headers
     20/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html
     21/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html.headers
     22/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html
     23/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html.headers
     24/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html
     25/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html.headers
     26/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html
     27/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html.headers
     28/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html
     29/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html.headers
     30/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html
     31/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html.headers
     32/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html
     33/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html.headers
     34/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html
     35/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html.headers
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html

    r253791 r264117  
    11<!doctype html>
    2 <meta name="timeout" content="long">
     2<meta name=timeout content=long>
    33<title>Cross-Origin-Opener-Policy requires secure contexts</title>
    44<script src=/resources/testharness.js></script>
     
    66<script>
    77async_test(t => {
    8   const popup = window.open("/common/blank.html");
     8  const popup = window.open("resources/call-functionCalledByOpenee.html");
     9  t.add_cleanup(() => {
     10    popup.close();
     11  });
     12  window.functionCalledByOpenee = t.step_func_done(() => {
     13    assert_false(popup.closed);
     14  });
    915  assert_equals(window, popup.opener);
    10 
    11   t.step_timeout(() => {
    12     assert_false(popup.closed);
    13     assert_equals(popup.location.pathname, "/common/blank.html");
    14     popup.close();
    15     t.done();
    16   }, 500);
    1716}, "Cross-Origin-Opener-Policy only works over secure contexts");
    1817
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw-from-coop.https.html.headers

    r264114 r264117  
     1Cross-Origin-Opener-Policy: same-origin
    12Cross-Origin-Embedder-Policy: require-corp
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-redirect-cache.https.html

    r253791 r264117  
    11<!doctype html>
    22<meta charset=utf-8>
    3 <meta name="timeout" content="long">
     3<meta name=timeout content=long>
    44<script src=/resources/testharness.js></script>
    55<script src=/resources/testharnessreport.js></script>
     
    1414  bc.onmessage = t.step_func(event => {
    1515    const payload = event.data;
    16     assert_equals(payload.name, hasOpener ? channelName : "");
    17     assert_equals(payload.opener, hasOpener);
    18     bc.close()
    19 
    20     // test the same url for cache
    21     url_test(t, url, channelName, hasOpener);
     16    validate_results(() => {
     17      bc.close()
     18      // test the same url for cache
     19      url_test(t, url, channelName, hasOpener);
     20    }, t, w, channelName, hasOpener, undefined /* OpenerDomAccess */, payload)
    2221  });
    2322
    2423  const w = window.open(url, channelName);
    2524
    26   // w will be closed by its postback iframe. When out of process,
    27   // window.close() does not work.
    28   t.add_cleanup(() => w.close());
     25  // The popup is closed by url_test.
    2926}
    3027
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html

    r249886 r264117  
    66async_test(t => {
    77  const popup = window.open("resources/coop-coep.py?coop=same-origin&coep=&navigate=about:blank");
     8  t.add_cleanup(() => popup.close());
    89  assert_equals(window, popup.opener);
    9   t.step_timeout(() => {
    10     assert_equals(popup.location.href, "about:blank");
    11     popup.close();
    12     t.done();
    13   }, 500);
     10
     11  popup.onload = t.step_func(() => {
     12    assert_true(popup.location.href.endsWith("&navigate=about:blank"));
     13    // Use wait_for_callback as about:blank cannot message back.
     14    t.step_wait_func_done(() => popup.location.href === "about:blank");
     15  });
    1416}, "Navigating a popup to about:blank");
    1517</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/w3c-import.log

    r264114 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/common.js
    18 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/coop-coep.py
    19 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html
    20 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html.headers
     17/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/dispatcher.js
     18/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/dispatcher.py
     19/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/executor.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/report.py
     21/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/reporting-common.js
     22/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/try-access.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/w3c-import.log

    r264114 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/META.yml
    18 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/html-element-list.js
     17/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/META.yml
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/common.js

    r253791 r264117  
    33const CROSS_ORIGIN = {origin: get_host_info().HTTPS_NOTSAMESITE_ORIGIN, name: "CROSS_ORIGIN"}
    44
    5 function url_test(t, url, channelName, hasOpener) {
     5function verify_window(callback, w, hasOpener) {
     6  // If there's no opener, the w must be closed:
     7  assert_equals(w.closed, !hasOpener, 'w.closed');
     8  // Opener's access on w.length is possible only if hasOpener:
     9  assert_equals(w.length, hasOpener? 1: 0, 'w.length');
     10  callback();
     11}
     12
     13function validate_results(callback, test, w, channelName, hasOpener, openerDOMAccess, payload) {
     14  assert_equals(payload.name, hasOpener ? channelName : "", 'name');
     15  assert_equals(payload.opener, hasOpener, 'opener');
     16  // TODO(zcorpan): add openerDOMAccess expectations to all tests
     17  if (openerDOMAccess !== undefined) {
     18    assert_equals(payload.openerDOMAccess, openerDOMAccess, 'openerDOMAccess');
     19  }
     20
     21  // The window proxy in Chromium might still reflect the previous frame,
     22  // until its unloaded. This delays the verification of w here.
     23  if( !w.closed && w.length == 0) {
     24    test.step_timeout( () => {
     25        verify_window(callback, w, hasOpener);
     26    }, 500);
     27  } else {
     28    verify_window(callback, w, hasOpener);
     29  }
     30}
     31
     32function url_test(t, url, channelName, hasOpener, openerDOMAccess, callback) {
     33  if (callback === undefined) {
     34    callback = () => { t.done(); };
     35  }
    636  const bc = new BroadcastChannel(channelName);
    7   bc.onmessage = t.step_func_done(event => {
     37  bc.onmessage = t.step_func(event => {
    838    const payload = event.data;
    9     assert_equals(payload.name, hasOpener ? channelName : "");
    10     assert_equals(payload.opener, hasOpener);
     39    validate_results(callback, t, w, channelName, hasOpener, openerDOMAccess, payload);
    1140  });
    1241
    1342  const w = window.open(url, channelName);
    1443
    15   // w will be closed by its postback iframe. When out of process,
    16   // window.close() does not work.
    17   t.add_cleanup(() => w.close());
     44  // Close the popup once the test is complete.
     45  // The browsing context might be closed hence use the broadcast channel
     46  // to trigger the closure.
     47  t.add_cleanup(() => {
     48    bc.postMessage("close");
     49  });
    1850}
    1951
    20 function coop_coep_test(t, host, coop, coep, channelName, hasOpener) {
    21   url_test(t, `${host.origin}/html/cross-origin-opener-policy/resources/coop-coep.py?coop=${encodeURIComponent(coop)}&coep=${coep}&channel=${channelName}`, channelName, hasOpener);
     52function coop_coep_test(t, host, coop, coep, channelName, hasOpener, openerDOMAccess, callback) {
     53  url_test(t, `${host.origin}/html/cross-origin-opener-policy/resources/coop-coep.py?coop=${encodeURIComponent(coop)}&coep=${coep}&channel=${channelName}`, channelName, hasOpener, openerDOMAccess, callback);
    2254}
    2355
    24 function coop_test(t, host, coop, channelName, hasOpener) {
    25   coop_coep_test(t, host, coop, "", channelName, hasOpener);
     56function coop_test(t, host, coop, channelName, hasOpener, callback) {
     57  coop_coep_test(t, host, coop, "", channelName, hasOpener, undefined /* openerDOMAccess */, callback);
    2658}
    2759
     
    3163      coop_test(t, test[0], test[1],
    3264                `${documentCOOPValueTitle}_to_${test[0].name}_${test[1].replace(/ /g,"-")}`,
    33                 test[2]);
     65                test[2], () => { t.done(); });
    3466    }, `${documentCOOPValueTitle} document opening popup to ${test[0].origin} with COOP: "${test[1]}"`);
    3567  }
    3668}
     69
     70function run_coop_test_iframe (documentTitle, iframe_origin, popup_origin, popup_coop, expects_opener, expects_name) {
     71  const name = iframe_origin.name + "_iframe_opening_" + popup_origin.name + "_popup_with_coop_" + popup_coop;
     72  async_test(t => {
     73      const frame = document.createElement("iframe");
     74
     75      // Close the popup and remove the frame once the test is
     76      // complete. The browsing context might be closed hence use the
     77      // broadcast channel to trigger the closure.
     78      t.add_cleanup(() => {
     79        frame.remove();
     80        bc.postMessage("close");
     81      });
     82
     83      const origin = CROSS_ORIGIN.origin;
     84      const path = new URL("resources/iframe-popup.sub.html", window.location).pathname;
     85      const bc = new BroadcastChannel(name);
     86      frame.src = `${iframe_origin.origin}${path}?popup_origin=${popup_origin.origin}&popup_coop=${popup_coop}&channel=${name}`;
     87
     88      bc.onmessage = t.step_func_done(event => {
     89              const payload = event.data;
     90              assert_equals(payload.opener, expects_opener, 'opener');
     91              assert_equals(payload.name, expects_name? name:"", 'name');
     92      });
     93      document.body.append(frame);
     94  }, `${documentTitle} with ${iframe_origin.name} iframe opening popup a ${popup_origin.name} with COOP: ${popup_coop}`);
     95}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/coop-coep.py

    r253791 r264117  
    11def main(request, response):
    22    coop = request.GET.first("coop")
     3    coopReportOnly = request.GET.first("coop-report-only") if "coop-report-only" in request.GET else ""
    34    coep = request.GET.first("coep")
     5    coepReportOnly = request.GET.first("coep-report-only") if "coep-report-only" in request.GET else ""
    46    redirect = request.GET.first("redirect", None)
    57    if coop != "":
    68        response.headers.set("Cross-Origin-Opener-Policy", coop)
     9    if coop != "":
     10        response.headers.set("Cross-Origin-Opener-Policy-Report-Only", coopReportOnly)
    711    if coep != "":
    812        response.headers.set("Cross-Origin-Embedder-Policy", coep)
     13    if coep != "":
     14         response.headers.set("Cross-Origin-Embedder-Policy-Report-Only", coepReportOnly)
    915    if 'cache' in request.GET:
    1016        response.headers.set('Cache-Control', 'max-age=3600')
     17    host = request.url_parts[1]
    1118
    1219    if redirect != None:
     
    2027<meta charset=utf-8>
    2128<script src="/common/get-host-info.sub.js"></script>
    22 <iframe></iframe>
     29<body></body>
    2330<script>
    24   const navigate = new URL(location).searchParams.get("navigate");
    25   if (navigate !== null) {
    26     self.location = navigate;
     31  const params = new URL(location).searchParams;
     32  const navHistory = params.get("navHistory");
     33  const avoidBackAndForth = params.get("avoidBackAndForth");
     34  const navigate = params.get("navigate");
     35  // Need to wait until the page is fully loaded before navigating
     36  // so that it creates a history entry properly.
     37  const fullyLoaded = new Promise((resolve, reject) => {
     38    addEventListener('load', () => {
     39      requestAnimationFrame(() => {
     40        requestAnimationFrame(() => {
     41          resolve();
     42        });
     43      });
     44    });
     45  });
     46  if (navHistory !== null) {
     47    fullyLoaded.then(() => {
     48      history.go(Number(navHistory));
     49    });
     50  } else if (navigate !== null && (history.length === 1 || !avoidBackAndForth)) {
     51    fullyLoaded.then(() => {
     52      self.location = navigate;
     53    });
    2754  } else {
    28     const iframe = document.querySelector("iframe");
     55    let openerDOMAccessAllowed = false;
     56    try {
     57      openerDOMAccessAllowed = !!self.opener.document.URL;
     58    } catch(ex) {
     59    }
     60    // Handle the response from the frame, closing the popup once the
     61    // test completes.
     62    addEventListener("message", event => {
     63      if (event.data == "close") {
     64        close();
     65      }
     66    });
     67    iframe = document.createElement("iframe");
    2968    iframe.onload = () => {
    30       const payload = { name: self.name, opener: !!self.opener };
     69      const payload = { name: self.name, opener: !!self.opener, openerDOMAccess: openerDOMAccessAllowed };
    3170      iframe.contentWindow.postMessage(payload, "*");
    3271    };
    3372    const channelName = new URL(location).searchParams.get("channel");
    3473    iframe.src = `${get_host_info().HTTPS_ORIGIN}/html/cross-origin-opener-policy/resources/postback.html?channel=${channelName}`;
     74    document.body.appendChild(iframe);
    3575  }
    3676</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html

    r249886 r264117  
    44const channelName = new URL(location).searchParams.get("channel");
    55const bc = new BroadcastChannel(channelName);
     6
     7// Handle the close message from the test-cleanup, forwarding it to the
     8// top level document, as this iframe and the opening document might not
     9// be able to close the popup.
     10bc.onmessage = event => {
     11  if (event.data == "close") {
     12    top.postMessage("close", "*");
     13  }
     14};
     15
    616window.addEventListener("message", event => {
    717  bc.postMessage(event.data);
    8   window.parent.close();
    918});
    1019</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html.headers

    r249886 r264117  
    11Cross-Origin-Embedder-Policy: require-corp
     2Cross-Origin-Resource-Policy: cross-origin
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/call-functionCalledByOpenee.html
    1718/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/common.js
    1819/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/coop-coep.py
     20/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/iframe-popup.sub.html
     21/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/popup-coop-by-sw.js
    1922/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html
    2023/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html.headers
     24/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/universal-worker.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/w3c-import.log

    r253791 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/META.yml
    1718/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/README.md
     19/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/blob-popup.https.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/blob-popup.https.html.headers
     21/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-blob-popup.https.html
     22/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-blob-popup.https.html.headers
    1823/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html
    1924/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html.headers
     
    2227/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html
    2328/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html.headers
     29/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-history-popup.https.html
    2430/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html
    2531/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html.headers
    2632/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-sandbox.https.html
    2733/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-sandbox.https.html.headers
     34/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html
     35/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html.headers
     36/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html
     37/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html.headers
     38/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html
     39/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html.headers
     40/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html
     41/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html.headers
     42/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html
     43/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html.headers
     44/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html
     45/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html.headers
     46/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html
     47/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html.headers
    2848/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html
    2949/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html.headers
    30 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-none.https.html
     50/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw-from-coop.https.html
     51/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw-from-coop.https.html.headers
     52/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw.https.html
     53/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-meta-http-equiv.https.html
    3154/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-redirect-cache.https.html
    3255/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-redirect-cache.https.html.headers
     56/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html
     57/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html.headers
     58/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html
     59/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html.headers
     60/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html
     61/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html.headers
    3362/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html
    3463/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html.headers
    35 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html
    36 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html.headers
    37 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https.html
    38 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers
    39 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html
    40 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html.headers
    41 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https.html
    42 /LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https.html.headers
     64/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html
     65/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html.headers
     66/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html
     67/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html.headers
     68/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html
     69/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html.headers
     70/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html
     71/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html
     72/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html.headers
     73/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-site.https.html
     74/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html
     75/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-same-origin.https.html
     76/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-same-site.https.html
     77/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-with-structured-header.https.html
     78/LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-with-structured-header.https.html.headers
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/blank.py

    r249886 r264117  
    11def main(request, response):
    2     return [("Content-Type", "text/html; charset=%s" % (request.GET['encoding']))], ""
     2    return [(b"Content-Type", b"text/html; charset=%s" % (request.GET[b'encoding']))], u""
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/css-tmpl.py

    r249886 r264117  
     1from wptserve.utils import isomorphic_decode
     2
    13def main(request, response):
    2     encoding = request.GET['encoding']
    3     tmpl = request.GET['tmpl']
    4     sheet = tmpl % u'\\0000E5'
    5     return [("Content-Type", "text/css; charset=%s" % encoding)], sheet.encode(encoding)
     4    encoding = request.GET[b'encoding']
     5    tmpl = request.GET[b'tmpl']
     6    sheet = isomorphic_decode(tmpl) % u'\\0000E5'
     7    return [(b"Content-Type", b"text/css; charset=%s" % encoding)], sheet.encode(isomorphic_decode(encoding))
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/manifest.py

    r249886 r264117  
     1from wptserve.utils import isomorphic_decode
     2
    13def main(request, response):
    2     id = request.GET['id']
    3     mode = request.GET['mode']
    4     fallback_url = ""
    5     if mode == "FALLBACK":
    6         fallback_url = "fallback-namespace/"
     4    id = request.GET[b'id']
     5    mode = request.GET[b'mode']
     6    fallback_url = u""
     7    if mode == b"FALLBACK":
     8        fallback_url = u"fallback-namespace/"
    79    manifest = u"""CACHE MANIFEST
    810
    911%s:
    1012%s stash.py?q=\u00E5&id=%s&action=put
    11 """ % (mode, fallback_url, id)
    12     return [("Content-Type", "text/cache-manifest; charset=%s" % request.GET['encoding'])], manifest.encode('utf-8') # charset should be ignored for cache manifests
     13""" % (isomorphic_decode(mode), fallback_url, isomorphic_decode(id))
     14    return [(b"Content-Type", b"text/cache-manifest; charset=%s" % request.GET[b'encoding'])], manifest.encode('utf-8') # charset should be ignored for cache manifests
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/page-using-manifest.py

    r249886 r264117  
     1from wptserve.utils import isomorphic_decode
     2
    13def main(request, response):
    2     id = request.GET['id']
    3     encoding = request.GET['encoding']
    4     mode = request.GET['mode']
    5     iframe = ""
    6     if mode == 'NETWORK':
    7         iframe = "<iframe src='stash.py?q=%%C3%%A5&id=%s&action=put'></iframe>" % id
    8     doc = """<!doctype html>
     4    id = request.GET[b'id']
     5    encoding = request.GET[b'encoding']
     6    mode = request.GET[b'mode']
     7    iframe = u""
     8    if mode == b'NETWORK':
     9        iframe = u"<iframe src='stash.py?q=%%C3%%A5&id=%s&action=put'></iframe>" % isomorphic_decode(id)
     10    doc = u"""<!doctype html>
    911<html manifest="manifest.py?id=%s&encoding=%s&mode=%s">
    1012%s
    11 """ % (id, encoding, mode, iframe)
    12     return [("Content-Type", "text/html; charset=%s" % encoding)], doc.encode(encoding)
     13""" % (isomorphic_decode(id), isomorphic_decode(encoding), isomorphic_decode(mode), iframe)
     14    return [(b"Content-Type", b"text/html; charset=%s" % encoding)], doc.encode(isomorphic_decode(encoding))
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resource.py

    r249886 r264117  
    22import re
    33
     4from wptserve.utils import isomorphic_decode, isomorphic_encode
     5
    46def main(request, response):
    5     type = request.GET['type']
    6     encoding = request.GET['encoding']
     7    type = request.GET[b'type']
     8    encoding = request.GET[b'encoding']
    79    # We want the raw input for 'q'
    810    q = re.search(r'q=([^&]+)', request.url_parts.query).groups()[0]
    9     if type == 'html':
    10         return [("Content-Type", "text/html; charset=utf-8")], q
    11     elif type == 'css':
    12         return [("Content-Type", "text/css; charset=utf-8")], "#test::before { content:'%s' }" % q
    13     elif type == 'js':
    14         return [("Content-Type", "text/javascript; charset=utf-8")], "%s = '%s';" % (request.GET['var'], q)
    15     elif type == 'worker':
    16         return [("Content-Type", "text/javascript")], "postMessage('%s'); close();" % q
    17     elif type == 'sharedworker':
    18         return [("Content-Type", "text/javascript")], "onconnect = function(e) { e.source.postMessage('%s'); close(); };" % q
    19     elif type == 'worker_importScripts':
    20         return ([("Content-Type", "text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
    21                 """try {
     11    if type == b'html':
     12        return [(b"Content-Type", b"text/html; charset=utf-8")], isomorphic_encode(q)
     13    elif type == b'css':
     14        return [(b"Content-Type", b"text/css; charset=utf-8")], b"#test::before { content:'%s' }" % isomorphic_encode(q)
     15    elif type == b'js':
     16        return [(b"Content-Type", b"text/javascript; charset=utf-8")], b"%s = '%s';" % (request.GET[b'var'], isomorphic_encode(q))
     17    elif type == b'worker':
     18        return [(b"Content-Type", b"text/javascript")], b"postMessage('%s'); close();" % isomorphic_encode(q)
     19    elif type == b'sharedworker':
     20        return [(b"Content-Type", b"text/javascript")], b"onconnect = function(e) { e.source.postMessage('%s'); close(); };" % isomorphic_encode(q)
     21    elif type == b'worker_importScripts':
     22        return ([(b"Content-Type", b"text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
     23                b"""try {
    2224                     var x = 'importScripts failed to run';
    2325                     importScripts('?q=\\u00E5&type=js&var=x&encoding=%s');
     
    2729                     postMessage(String(ex));
    2830                   }""" % encoding)
    29     elif type == 'worker_worker':
    30         return ([("Content-Type", "text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
    31                 """try {
     31    elif type == b'worker_worker':
     32        return ([(b"Content-Type", b"text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
     33                b"""try {
    3234                     var worker = new Worker('?q=\\u00E5&type=worker&encoding=%s');
    3335                     worker.onmessage = function(e) {
     
    3840                     postMessage(String(ex));
    3941                   }""" % encoding)
    40     elif type =='worker_sharedworker':
    41         return ([("Content-Type", "text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
    42                 """try {
     42    elif type == b'worker_sharedworker':
     43        return ([(b"Content-Type", b"text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
     44                b"""try {
    4345                   var worker = new SharedWorker('?q=\\u00E5&type=sharedworker&encoding=%s');
    4446                     worker.port.onmessage = function(e) {
     
    4951                     postMessage(String(ex));
    5052                   }""" % encoding)
    51     elif type == 'sharedworker_importScripts':
    52         return ([("Content-Type", "text/javascript; charset=%s" % request.GET['encoding'])], # charset should be ignored for workers
    53                 """onconnect = function(e) {
     53    elif type == b'sharedworker_importScripts':
     54        return ([(b"Content-Type", b"text/javascript; charset=%s" % request.GET[b'encoding'])], # charset should be ignored for workers
     55                b"""onconnect = function(e) {
    5456                     var connect_port = e.source;
    5557                     try {
     
    6264                     }
    6365                   };""" % encoding)
    64     elif type == 'sharedworker_worker':
    65         return ([("Content-Type", "text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
    66                 """onconnect = function(e) {
     66    elif type == b'sharedworker_worker':
     67        return ([(b"Content-Type", b"text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
     68                b"""onconnect = function(e) {
    6769                     var connect_port = e.source;
    6870                     try {
     
    7678                     }
    7779                   };""" % encoding)
    78     elif type == 'sharedworker_sharedworker':
    79         return ([("Content-Type", "text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
    80                 """onconnect = function(e) {
     80    elif type == b'sharedworker_sharedworker':
     81        return ([(b"Content-Type", b"text/javascript; charset=%s" % encoding)], # charset should be ignored for workers
     82                b"""onconnect = function(e) {
    8183                     var connect_port = e.source;
    8284                     try {
     
    9597                     }
    9698                   };""" % encoding)
    97     elif type == 'eventstream':
    98         return [("Content-Type", "text/event-stream")], "data: %s\n\n" % q
    99     elif type == 'svg':
    100         return [("Content-Type", "image/svg+xml")], "<svg xmlns='http://www.w3.org/2000/svg'>%s</svg>" % q
    101     elif type == 'xmlstylesheet_css':
    102         return ([("Content-Type", "application/xhtml+xml; charset=%s" % encoding)],
    103                 (u"""<?xml-stylesheet href="?q=&#x00E5;&amp;type=css&amp;encoding=%s"?><html xmlns="http://www.w3.org/1999/xhtml"/>""" % encoding)
    104                 .encode(encoding))
    105     elif type == 'png':
    106         if q == '%E5':
    107             image = 'green-1x1.png'
    108         elif q == '%C3%A5':
    109             image = 'green-2x2.png'
    110         elif q == '%3F':
    111             image = 'green-16x16.png'
     99    elif type == b'eventstream':
     100        return [(b"Content-Type", b"text/event-stream")], b"data: %s\n\n" % isomorphic_encode(q)
     101    elif type == b'svg':
     102        return [(b"Content-Type", b"image/svg+xml")], b"<svg xmlns='http://www.w3.org/2000/svg'>%s</svg>" % isomorphic_encode(q)
     103    elif type == b'xmlstylesheet_css':
     104        return ([(b"Content-Type", b"application/xhtml+xml; charset=%s" % encoding)],
     105                (u"""<?xml-stylesheet href="?q=&#x00E5;&amp;type=css&amp;encoding=%s"?><html xmlns="http://www.w3.org/1999/xhtml"/>""" % isomorphic_decode(encoding))
     106                .encode(isomorphic_decode(encoding)))
     107    elif type == b'png':
     108        if q == u'%E5':
     109            image = u'green-1x1.png'
     110        elif q == u'%C3%A5':
     111            image = u'green-2x2.png'
     112        elif q == u'%3F':
     113            image = u'green-16x16.png'
    112114        else:
    113             image = 'green-256x256.png'
    114         rv = open(os.path.join(request.doc_root, "images", image), "rb").read()
    115         return [("Content-Type", "image/png")], rv
    116     elif type == 'video':
    117         ext = request.GET['ext']
    118         if q == '%E5':
    119             video = 'A4' # duration: 3
    120         elif q == '%C3%A5':
    121             video = 'movie_5' # duration: 5
    122         elif q == '%3F':
    123             video = 'green-at-15' # duration: 30
     115            image = u'green-256x256.png'
     116        rv = open(os.path.join(request.doc_root, u"images", image), "rb").read()
     117        return [(b"Content-Type", b"image/png")], rv
     118    elif type == b'video':
     119        ext = request.GET[b'ext']
     120        if q == u'%E5':
     121            video = u'A4' # duration: 3
     122        elif q == u'%C3%A5':
     123            video = u'movie_5' # duration: 5
     124        elif q == u'%3F':
     125            video = u'green-at-15' # duration: 30
    124126        else:
    125             video = 'movie_300' # duration: 300
    126         rv = open(os.path.join(request.doc_root, "media", "%s.%s" % (video, ext)), "rb").read()
    127         if ext == 'ogv':
    128             ext = 'ogg'
    129         return [("Content-Type", "video/%s" % ext)], rv
    130     elif type == 'webvtt':
    131         return [("Content-Type", "text/vtt")], "WEBVTT\n\n00:00:00.000 --> 00:00:01.000\n%s" % q
     127            video = u'movie_300' # duration: 300
     128        rv = open(os.path.join(request.doc_root, u"media", u"%s.%s" % (video, isomorphic_decode(ext))), "rb").read()
     129        if ext == b'ogv':
     130            ext = b'ogg'
     131        return [(b"Content-Type", b"video/%s" % ext)], rv
     132    elif type == b'webvtt':
     133        return [(b"Content-Type", b"text/vtt")], b"WEBVTT\n\n00:00:00.000 --> 00:00:01.000\n%s" % isomorphic_encode(q)
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/stash.py

    r249886 r264117  
    1 import time
    21import re
    32
    43def main(request, response):
    5     key = request.GET['id']
    6     action = request.GET['action']
    7     if action == 'put':
     4    key = request.GET[b'id']
     5    action = request.GET[b'action']
     6    if action == b'put':
    87        # We want the raw input for 'q'
    98        q = re.search(r'q=([^&]+)', request.url_parts.query).groups()[0]
    109        request.server.stash.put(key, q)
    11         return [("Content-Type", "text/html")], 'Put %s' % q
     10        return [(b"Content-Type", b"text/html")], u'Put %s' % q
    1211    else:
    1312        q = request.server.stash.take(key)
    1413        if q != None:
    15             return [("Content-Type", "text/html")], q
    16         return [], ""
     14            return [(b"Content-Type", b"text/html")], q
     15        return [], u""
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/w3c-import.log

    r249886 r264117  
    1818/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/legend-focusable.html
    1919/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/legend.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea.html
    2021/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll.html
     22/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/textarea-scroll-selection.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag-expected.txt

    r249886 r264117  
    11     
    2 
     2 
     3 
     4 
     5 
     6 
     7 
     8 
     9 
    310
    411PASS a should not be focusable by default.
     
    1421PASS [contenteditable] should be focusable by default.
    1522PASS iframe should be focusable by default.
     23PASS #svg-a should not be focusable by default.
     24PASS #svg-text should not be focusable by default.
     25PASS img should not be focusable by default.
    1626PASS A with tabindex=0 should be focusable.
    17 FAIL SUMMARY#summary-out-tabindex0 with tabindex=0 should be focusable. assert_equals: expected Element node <summary tabindex="0" id="summary-out-tabindex0"></summary> but got Element node <a tabindex="0"></a>
    18 FAIL SUMMARY#summary-second-tabindex0 with tabindex=0 should be focusable. assert_equals: expected Element node <summary tabindex="0" id="summary-second-tabindex0"></sum... but got Element node <a tabindex="0"></a>
     27PASS a with tabindex=0 should be focusable.
     28PASS text with tabindex=0 should be focusable.
     29FAIL SUMMARY#summary-out-tabindex0 with tabindex=0 should be focusable. assert_equals: expected Element node <summary tabindex="0" id="summary-out-tabindex0"></summary> but got Element node <text tabindex="0"></text>
     30FAIL SUMMARY#summary-second-tabindex0 with tabindex=0 should be focusable. assert_equals: expected Element node <summary tabindex="0" id="summary-second-tabindex0"></sum... but got Element node <text tabindex="0"></text>
     31PASS IMG with tabindex=0 should be focusable.
     32PASS A with tabindex=-1 should be focusable.
     33PASS a with tabindex=-1 should be focusable.
     34PASS text with tabindex=-1 should be focusable.
     35FAIL SUMMARY#summary-out-tabindex-negative with tabindex=-1 should be focusable. assert_equals: expected Element node <summary tabindex="-1" id="summary-out-tabindex-negative"... but got Element node <text tabindex="-1"></text>
     36FAIL SUMMARY#summary-second-tabindex-negative with tabindex=-1 should be focusable. assert_equals: expected Element node <summary tabindex="0" id="summary-second-tabindex-negativ... but got Element node <text tabindex="-1"></text>
     37PASS IMG with tabindex=-1 should be focusable.
     38PASS A with tabindex=invalid should not be focusable.
     39PASS A#with-href with tabindex=invalid should be focusable.
     40PASS a with tabindex=invalid should not be focusable.
     41PASS a#with-href with tabindex=invalid should be focusable.
     42PASS text with tabindex=invalid should not be focusable.
     43PASS DIV with tabindex=invalid should not be focusable.
     44PASS SUMMARY#summary-out-tabindex-invalid with tabindex=invalid should not be focusable.
     45PASS IMG with tabindex=invalid should not be focusable.
    1946
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag.html

    r249886 r264117  
    1616<div contenteditable="true"></div>
    1717<iframe></iframe>
     18<svg><a id="svg-a"></a></svg>
     19<svg><text id="svg-text"></text></svg>
     20<img>
    1821</div>
    1922<script>
    20 const defaultList = [
    21   ['a', false],
    22   ['a[href]', true],
    23   ['button', true],
    24   ['input[type="hidden"]', false],
    25   ['input[type="button"]', true],
    26   ['select', true],
    27   ['textarea', true],
    28   ['#summary-out', false],
    29   ['#summary-first', true],
    30   ['#summary-second', false],
    31   ['[contenteditable]', true],
    32   ['iframe', true],
    33 ];
    34 for (entry of defaultList) {
    35   test(() => {
    36     var element = document.querySelector('#default-samples ' + entry[0]);
    37     element.focus();
    38     if (entry[1])
    39       assert_equals(document.activeElement, element);
    40     else
    41       assert_not_equals(document.activeElement, element);
    42   }, entry[0] + ' should ' + (entry[1] ? '' : 'not ') + 'be focusable by default.');
     23setup({ explicit_done: true });
     24window.addEventListener("load", runTests);
     25
     26function runTests() {
     27  const defaultList = [
     28    ['a', false],
     29    ['a[href]', true],
     30    ['button', true],
     31    ['input[type="hidden"]', false],
     32    ['input[type="button"]', true],
     33    ['select', true],
     34    ['textarea', true],
     35    ['#summary-out', false],
     36    ['#summary-first', true],
     37    ['#summary-second', false],
     38    ['[contenteditable]', true],
     39    ['iframe', true],
     40    ['#svg-a', false],
     41    ['#svg-text', false],
     42    ['img', false],
     43  ];
     44  for (entry of defaultList) {
     45    test(() => {
     46      var element = document.querySelector('#default-samples ' + entry[0]);
     47      element.focus();
     48      if (entry[1])
     49        assert_equals(document.activeElement, element);
     50      else
     51        assert_not_equals(document.activeElement, element);
     52    }, entry[0] + ' should ' + (entry[1] ? '' : 'not ') + 'be focusable by default.');
     53  }
     54
     55  runTests_tabindex0();
    4356}
    4457</script>
     
    4659<div id="tabindex-0">
    4760<a tabindex="0"></a>
     61<svg><a tabindex="0"></a></svg>
     62<svg><text tabindex="0"></text></svg>
    4863<summary tabindex="0" id="summary-out-tabindex0"></summary>
    4964<details open><summary id="summary-first"></summary><summary tabindex="0" id="summary-second-tabindex0"></summary></details>
     65<img tabindex="0">
    5066</div>
    5167<script>
    52 for (element of document.querySelectorAll('#tabindex-0 [tabindex]')) {
    53   var elementDesc = element.tagName;
    54   if (element.id)
    55     elementDesc += '#' + element.id;
    56   test(() => {
    57     element.focus();
    58     assert_equals(document.activeElement, element);
    59   }, elementDesc + ' with tabindex=0 should be focusable.');
     68function runTests_tabindex0() {
     69  for (element of document.querySelectorAll('#tabindex-0 [tabindex]')) {
     70    var elementDesc = element.tagName;
     71    if (element.id)
     72      elementDesc += '#' + element.id;
     73    test(() => {
     74      element.focus();
     75      assert_equals(document.activeElement, element);
     76    }, elementDesc + ' with tabindex=0 should be focusable.');
     77  }
     78
     79  runTests_tabindex_negative();
     80}
     81</script>
     82
     83<div id="tabindex-negative">
     84<a tabindex="-1"></a>
     85<svg><a tabindex="-1"></a></svg>
     86<svg><text tabindex="-1"></text></svg>
     87<summary tabindex="-1" id="summary-out-tabindex-negative"></summary>
     88<details open><summary id="summary-first"></summary><summary tabindex="0" id="summary-second-tabindex-negative"></summary></details>
     89<img tabindex="-1">
     90</div>
     91<script>
     92function runTests_tabindex_negative() {
     93  for (element of document.querySelectorAll('#tabindex-negative [tabindex]')) {
     94    var elementDesc = element.tagName;
     95    if (element.id)
     96      elementDesc += '#' + element.id;
     97    test(() => {
     98      element.focus();
     99      assert_equals(document.activeElement, element);
     100    }, elementDesc + ' with tabindex=-1 should be focusable.');
     101  }
     102
     103  runTests_tabindex_invalid();
     104}
     105</script>
     106
     107<div id="tabindex-invalid">
     108<a tabindex="invalid"></a>
     109<a href="#" tabindex="invalid" id="with-href" data-focusable=true></a>
     110<svg><a tabindex="invalid"></a></svg>
     111<svg><a href="#" tabindex="invalid" id="with-href" data-focusable=true></a></svg>
     112<svg><text tabindex="invalid"></text></svg>
     113<div tabindex="invalid"></div>
     114<summary tabindex="invalid" id="summary-out-tabindex-invalid"></summary>
     115<img tabindex="invalid">
     116</div>
     117<script>
     118function runTests_tabindex_invalid() {
     119  for (element of document.querySelectorAll('#tabindex-invalid [tabindex]')) {
     120    var focusable = element.dataset && element.dataset.focusable;
     121    var elementDesc = element.tagName;
     122    if (element.id)
     123      elementDesc += '#' + element.id;
     124    test(() => {
     125      element.focus();
     126      focusable ? assert_equals(document.activeElement, element)
     127                : assert_not_equals(document.activeElement, element);
     128    }, `${elementDesc} with tabindex=invalid should ${focusable ? "be" : "not be"} focusable.`);
     129  }
     130
     131  done();
    60132}
    61133</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/w3c-import.log

    r250823 r264117  
    2222/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/first.html
    2323/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/focusable-area-in-top-document.html
     24/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type.html
    2425/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/no-cross-origin-autofocus.html
    2526/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/no-sandboxed-automatic-features.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/w3c-import.log

    r249886 r264117  
    1919/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/focus-02.html
    2020/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/focus-file-input.html
     21/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/focus-input-type-switch.html
    2122/LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-adopt-to-inactive-document-crash.html
    1718/LayoutTests/imported/w3c/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-events.html
    1819/LayoutTests/imported/w3c/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-loop.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/w3c-import.log

    r249886 r264117  
    2828/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman-expected.html
    2929/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html
     30/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/lists-presentational-hints-ascii-case-insensitive.html
    3031/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/ol-type-supported-expected.html
    3132/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/ol-type-supported-xhtml-expected.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/w3c-import.log

    r253791 r264117  
    3030/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-3s-expected.html
    3131/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-3s.html
     32/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-presentational-hints-ascii-case-insensitive-expected.html
     33/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-presentational-hints-ascii-case-insensitive.html
    3234/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-cell-width-expected.html
    3335/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-cell-width-s-expected.html
     
    4547/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-group-direction-expected.html
    4648/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-group-direction.html
     49/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-group-height-expected.html
     50/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-group-height.html
     51/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-001-print-expected.html
     52/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-001-print.html
     53/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-002-print-expected.html
     54/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-002-print.html
    4755/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-ua-stylesheet.html
     56/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-valign-baseline-ascii-case-insensitive.html
    4857/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-vspace-hspace-s.html
    4958/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-vspace-hspace.html
     
    5463/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-width-s.html
    5564/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-width.html
     65/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/tr-transform-and-will-change-expected.html
     66/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/tr-transform-and-will-change.html
    5667/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/transformed-tbody-tr-collapsed-border-expected.html
    5768/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/transformed-tbody-tr-collapsed-border.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/w3c-import.log

    r253791 r264117  
    2626/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-containing-block.html
    2727/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-content-before-legend.html
     28/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-crash.html
    2829/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-default-style.html
    2930/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-display.html
     
    4849/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-vertical-expected.html
    4950/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-vertical.html
     51/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/flex-legend-float-abspos.html
    5052/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html
    5153/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-text-align.html
     
    7476/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-list-item.html
    7577/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-margin-inline.html
     78/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-painting-order-expected.html
     79/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-painting-order.html
    7680/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-position-relative-expected.html
    7781/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-position-relative.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-page/iframe-scrolling-attribute-values.html

    r258553 r264117  
    44<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#the-page">
    55<link rel="match" href="iframe-scrolling-attribute-values-ref.html">
     6<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-4">
    67
    78<style>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-no-alt-replaced-expected.txt

    r249886 r264117  
    1  
     1   
    22
    3 PASS Images without alt attribute or with an empty alt attribute render as replaced elements regardless of src
     3FAIL Images without alt attribute or with an empty alt attribute render as replaced elements regardless of src assert_equals: width: <img src="broken" alt=""> expected 100 but got 0
    44
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-no-alt-replaced.html

    r254461 r264117  
    44<script src="/resources/testharnessreport.js"></script>
    55<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
     6<link rel="author" href="mailto:yuzhehan@chromium.org" title="Yu Han">
    67<link rel="author" href="https://mozilla.org" title="Mozilla">
    78<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1196668">
     9<link rel="help" href="https://crbug.com/753868">
     10<link ref="help" href="https://html.spec.whatwg.org/multipage/rendering.html#images-3">
    811<style>
    912  img {
     
    1518<img src="broken">
    1619<img alt="">
     20<img alt>
     21<img src="broken" alt="">
    1722<script>
    1823const t = async_test("Images without alt attribute or with an empty alt attribute render as replaced elements regardless of src");
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/w3c-import.log

    r253996 r264117  
    1818/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html
    1919/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/content-aspect-ratio.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/embedded-and-images-presentational-hints-ascii-case-insensitive.html
     21/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html
     22/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio-lazy.tentative.html
    2023/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.html
    2124/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-dim-expected.html
    2225/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-dim.html
     26/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-empty-alt-replaced.html
    2327/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-no-alt-replaced.html
    2428/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-replaced-box-while-loading.html
     29/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-title-only-w-sizing.html
    2530/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img_border_percent-expected.xhtml
    2631/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img_border_percent.xhtml
     
    2934/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-align-right-2-expected.html
    3035/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-align-right-2.html
     36/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-content-crash.html
     37/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt-expected.html
     38/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html
    3139/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-type-change-from-image-1-expected.html
    3240/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-type-change-from-image-1.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/w3c-import.log

    r249886 r264117  
    1717/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-fallback-expected.html
    1818/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-fallback.html
     19/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-update-with-border-object-fit-expected.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-update-with-border-object-fit.html
    1921/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas_scale-expected.html
    2022/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas_scale.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe.sub-expected.html
     18/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe.sub.html
     19/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/object-fallback-text-decoration-expected.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/object-fallback-text-decoration.html
    1721/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode-expected.html
    1822/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/w3c-import.log

    r253791 r264117  
    2525/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-empty-expected.html
    2626/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-empty.html
     27/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-multiple-re-add-option-via-document-fragment-expected.html
     28/LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-multiple-re-add-option-via-document-fragment.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/w3c-import.log

    r249886 r264117  
    2121/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-display-property-is-ignored-expected.html
    2222/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-display-property-is-ignored.html
     23/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-1-print-expected.html
     24/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-1-print.html
     25/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-2-print-expected.html
     26/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-2-print.html
     27/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-1-print-expected.html
     28/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-1-print.html
     29/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-2-print-expected.html
     30/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-2-print.html
     31/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/empty-crash.html
    2332/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/single-summary.html
     33/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-display-list-item-expected.html
     34/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-display-list-item.html
     35/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-text-decoration-expected.html
     36/LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-text-decoration.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/unmapped-attributes-expected.txt

    r249886 r264117  
    2727PASS <iframe border> should not be mapped to style borderLeftWidth in CSS1Compat mode
    2828PASS <iframe border> should not be mapped to style borderLeftWidth in BackCompat mode
     29PASS <iframe hspace> should not be mapped to style marginLeft in CSS1Compat mode
     30PASS <iframe hspace> should not be mapped to style marginLeft in BackCompat mode
     31PASS <iframe hspace> should not be mapped to style marginRight in CSS1Compat mode
     32PASS <iframe hspace> should not be mapped to style marginRight in BackCompat mode
     33PASS <iframe vspace> should not be mapped to style marginTop in CSS1Compat mode
     34PASS <iframe vspace> should not be mapped to style marginTop in BackCompat mode
     35PASS <iframe vspace> should not be mapped to style marginBottom in CSS1Compat mode
     36PASS <iframe vspace> should not be mapped to style marginBottom in BackCompat mode
    2937PASS <marquee border> should not be mapped to style borderTopWidth in CSS1Compat mode
    3038PASS <marquee border> should not be mapped to style borderTopWidth in BackCompat mode
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/unmapped-attributes.html

    r249886 r264117  
    5353  [ newElem("iframe"), "border", "borderBottomWidth" ],
    5454  [ newElem("iframe"), "border", "borderLeftWidth" ],
     55  [ newElem("iframe"), "hspace", "marginLeft" ],
     56  [ newElem("iframe"), "hspace", "marginRight" ],
     57  [ newElem("iframe"), "vspace", "marginTop" ],
     58  [ newElem("iframe"), "vspace", "marginBottom" ],
    5559  [ newElem("marquee"), "border", "borderTopWidth" ],
    5660  [ newElem("marquee"), "border", "borderRightWidth" ],
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex-expected.txt

    r249886 r264117  
    14143
    15154
     16 
     17abc
     18
     19abc
    1620
    1721PASS inline-flex
    1822PASS flex
     23FAIL align-items:flex-start should work assert_equals: expected 84 but got 74
     24FAIL align-items:stretch should work assert_equals: expected 13 but got 33
    1925
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex.html

    r249886 r264117  
    77#flex { display: flex }
    88#ref > div { display: flex }
     9
     10#flexstart {
     11  border: none;
     12  padding: 0;
     13  display: flex;
     14  align-items: flex-start;
     15  height: 3em;
     16}
     17
     18#stretch {
     19  border: none;
     20  padding: 0;
     21  display: flex;
     22  align-items: stretch;
     23  height: 3em;
     24}
    925</style>
    1026<button id=inline-flex><div>1</div><div>2</div><div>3</div><div>4</div></button>
    1127<button id=flex><div>1</div><div>2</div><div>3</div><div>4</div></button>
    1228<button id=ref><div><div>1</div><div>2</div><div>3</div><div>4</div></div></button>
     29
     30<div><button id="flexstart"><span id="flexstart-item">abc</span></button></div>
     31
     32<div><button id="stretch"><span id="stretch-item">abc</span></button></div>
    1333<script>
    1434const ref = document.getElementById('ref');
     
    2747  }, elm.id);
    2848}
     49
     50// crbug.com/700029
     51test(() => {
     52  assert_equals(document.getElementById('flexstart').offsetTop,
     53    document.getElementById('flexstart-item').offsetTop);
     54}, 'align-items:flex-start should work');
     55
     56// crbug.com/1004163
     57test(() => {
     58  assert_equals(document.getElementById('stretch').offsetHeight,
     59    document.getElementById('stretch-item').offsetHeight);
     60}, 'align-items:stretch should work');
    2961</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/w3c-import.log

    r264114 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/META.yml
    18 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/html-element-list.js
     17/LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/baseline-alignment-and-overflow.tentative.html
     18/LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/select-wrap-no-spill.optional.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.tentative-expected.txt

    r263987 r264117  
    44PASS In-viewport iframes load eagerly
    55PASS In-viewport srcdoc iframes load eagerly
    6 FAIL Below-viewport iframes load lazily assert_true: The window.load() event should have fired before the below-viewport iframe loads expected true got false
    7 FAIL Below-viewport srcdoc iframes load lazily assert_true: The window.load() event should have fired before the below-viewport srcdoc iframe loads expected true got false
     6FAIL Below-viewport iframes load lazily assert_true: The window load event should have fired before the below-viewport iframe loads expected true got false
     7FAIL Below-viewport srcdoc iframes load lazily assert_true: The window load event should have fired before the below-viewport srcdoc iframe loads expected true got false
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.tentative.html

    r263987 r264117  
    3838  const below_viewport_iframe_onload = t_below_viewport.step_func_done(() => {
    3939    assert_true(has_window_loaded,
    40                 "The window.load() event should have fired before " +
     40                "The window load event should have fired before " +
    4141                "the below-viewport iframe loads");
    4242  });
     
    4545  window.below_viewport_srcdoc_iframe_subresource_onload = t_below_viewport_srcdoc.step_func(() => {
    4646    assert_true(has_window_loaded,
    47                 "The window.load() event should have fired before " +
     47                "The window load event should have fired before " +
    4848                "the below-viewport srcdoc iframe's subresource loads");
    4949  });
     
    5151  const below_viewport_srcdoc_iframe_onload = t_below_viewport_srcdoc.step_func_done(() => {
    5252    assert_true(has_window_loaded,
    53                 "The window.load() event should have fired before " +
     53                "The window load event should have fired before " +
    5454                "the below-viewport srcdoc iframe loads");
    5555  });
     
    7878  <!-- This async script loads very slowly in order to ensure that, if the
    7979       below_viewport* elements have started loading, it has a chance to finish
    80        loading before window.load() happens, so that the test will dependably
     80       loading before window load event fires, so that the test will dependably
    8181       fail in that case instead of potentially passing depending on how long
    8282       different resource fetches take. -->
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-below-viewport-dynamic.html

    r256786 r264117  
    1919  window.addEventListener("load", t.step_func(function() {
    2020    assert_false(has_window_loaded,
    21                  "The window.load() event should only fire once.");
     21                 "The window load event should only fire once.");
    2222    has_window_loaded = true;
    2323  }));
     
    2727               "The in_viewport element should load only once.");
    2828    assert_true(has_window_loaded,
    29                 "The window.load() event should have fired before " +
     29                "The window load event should have fired before " +
    3030                "below_viewport loaded.");
    3131    has_below_viewport_loaded = true;
     
    3939  <script>
    4040    assert_false(has_window_loaded,
    41                 "The window.load() event should not fire before " +
     41                "The window load event should not fire before " +
    4242                "changing below_viewport to loading='eager'.");
    4343    document.getElementById("below_viewport").loading = 'eager';
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-in-viewport-dynamic.html

    r256786 r264117  
    2121               "The in_viewport element should load only once.");
    2222    assert_true(has_window_loaded,
    23                "The window.load() event should fire before in_viewport image loads.");
     23               "The window load event should fire before in_viewport image loads.");
    2424    has_in_viewport_loaded = true;
    2525  });
     
    2727  window.addEventListener("load", t.step_func(function() {
    2828    assert_false(has_window_loaded,
    29                  "The window.load() event should only fire once.");
     29                 "The window load event should only fire once.");
    3030    has_window_loaded = true;
    3131  }));
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-multicol.html

    r256786 r264117  
    2121  window.addEventListener("load", t.step_func_done(function() {
    2222    assert_true(has_in_viewport_loaded, "The in_viewport element should have loaded before window.load().");
    23     assert_false(has_window_loaded, "The window.load() event should only fire once.");
     23    assert_false(has_window_loaded, "The window load event should only fire once.");
    2424    has_window_loaded = true;
    2525  }));
     
    3838    This async script loads very slowly in order to ensure that, if the
    3939    below_viewport element has started loading, it has a chance to finish
    40     loading before window.load() happens, so that the test will dependably fail
     40    loading before window load event fires, so that the test will dependably fail
    4141    in that case instead of potentially passing depending on how long different
    4242    resource fetches take.
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-action-in-inactive-document-crash.html
    1718/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-action-reflection-with-base-url.html
    1819/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-action-reflection.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/w3c-import.log

    r249886 r264117  
    3535/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/the-input-byte-stream-038.html
    3636/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/the-input-byte-stream-038.html.headers
     37/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/tokenizer-modes-001.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_comments01-expected.txt

    r206201 r264117  
    44PASS html5lib_comments01.html 3dbda8330033c3fbf3185a55e963075328099578
    55PASS html5lib_comments01.html 7476098e9823b3deee1857739daf719ff18e37b4
     6PASS html5lib_comments01.html eca7f97a4659eab6da4127c225420f1664b6c0c4
     7PASS html5lib_comments01.html 27ff1671f247daf2fdf19213bcee6ae6cd848583
    68PASS html5lib_comments01.html a6c42885c32fa988374894c0871b5a289786912a
    79PASS html5lib_comments01.html d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_comments01.html

    r206201 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['3dbda8330033c3fbf3185a55e963075328099578','7476098e9823b3deee1857739daf719ff18e37b4','a6c42885c32fa988374894c0871b5a289786912a','d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187','97486c43262a9a5c3fec1a3b028b99b7ca8c0e3e','06145ae05b1d92b71aed067ed6f1aab1afea50ae','5064d84d3adaf6262cf3573e9e112f40e3abc147','8b36d140a4a223b083a8d41af7c98a1c20377856','1894e23c5ee89d6f4b5f1dbe9b681b42863b4d1f','2cefeae994b6b0be0accbfff4757fef40ed914eb','ac9fd94008255e73cba953dbd374cb41703f5446','617815b6a683613fcb6b9cd5841b2ea7428d838d','bb8faf75d2e28aee13ec4a0d8eab00b4d7475763','89c4ae1ae34df9dff0e516afdef87cd169c3e6a5',];
     21      var order = ['3dbda8330033c3fbf3185a55e963075328099578','7476098e9823b3deee1857739daf719ff18e37b4','eca7f97a4659eab6da4127c225420f1664b6c0c4','27ff1671f247daf2fdf19213bcee6ae6cd848583','a6c42885c32fa988374894c0871b5a289786912a','d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187','97486c43262a9a5c3fec1a3b028b99b7ca8c0e3e','06145ae05b1d92b71aed067ed6f1aab1afea50ae','5064d84d3adaf6262cf3573e9e112f40e3abc147','8b36d140a4a223b083a8d41af7c98a1c20377856','1894e23c5ee89d6f4b5f1dbe9b681b42863b4d1f','2cefeae994b6b0be0accbfff4757fef40ed914eb','ac9fd94008255e73cba953dbd374cb41703f5446','617815b6a683613fcb6b9cd5841b2ea7428d838d','bb8faf75d2e28aee13ec4a0d8eab00b4d7475763','89c4ae1ae34df9dff0e516afdef87cd169c3e6a5',];
    2222      var tests = {
    23           "3dbda8330033c3fbf3185a55e963075328099578":[async_test('html5lib_comments01.html 3dbda8330033c3fbf3185a55e963075328099578'), "FOO%3C%21--%20BAR%20--%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"7476098e9823b3deee1857739daf719ff18e37b4":[async_test('html5lib_comments01.html 7476098e9823b3deee1857739daf719ff18e37b4'), "FOO%3C%21--%20BAR%20--%21%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"a6c42885c32fa988374894c0871b5a289786912a":[async_test('html5lib_comments01.html a6c42885c32fa988374894c0871b5a289786912a'), "FOO%3C%21--%20BAR%20--%20%20%20%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%20%20%3EBAZ%20--%3E"],"d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187":[async_test('html5lib_comments01.html d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187'), "FOO%3C%21--%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%3CQUX%3E%20--%20MUX%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"97486c43262a9a5c3fec1a3b028b99b7ca8c0e3e":[async_test('html5lib_comments01.html 97486c43262a9a5c3fec1a3b028b99b7ca8c0e3e'), "FOO%3C%21--%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%21%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%3CQUX%3E%20--%20MUX%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"06145ae05b1d92b71aed067ed6f1aab1afea50ae":[async_test('html5lib_comments01.html 06145ae05b1d92b71aed067ed6f1aab1afea50ae'), "FOO%3C%21--%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%20%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%20%3EBAZ%20--%3E"],"5064d84d3adaf6262cf3573e9e112f40e3abc147":[async_test('html5lib_comments01.html 5064d84d3adaf6262cf3573e9e112f40e3abc147'), "FOO%3C%21----%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"8b36d140a4a223b083a8d41af7c98a1c20377856":[async_test('html5lib_comments01.html 8b36d140a4a223b083a8d41af7c98a1c20377856'), "FOO%3C%21---%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"1894e23c5ee89d6f4b5f1dbe9b681b42863b4d1f":[async_test('html5lib_comments01.html 1894e23c5ee89d6f4b5f1dbe9b681b42863b4d1f'), "FOO%3C%21--%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"2cefeae994b6b0be0accbfff4757fef40ed914eb":[async_test('html5lib_comments01.html 2cefeae994b6b0be0accbfff4757fef40ed914eb'), "%3C%3Fxml%20version%3D%221.0%22%3EHi", "%23document%0A%7C%20%3C%21--%20%3Fxml%20version%3D%221.0%22%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22Hi%22"],"ac9fd94008255e73cba953dbd374cb41703f5446":[async_test('html5lib_comments01.html ac9fd94008255e73cba953dbd374cb41703f5446'), "%3C%3Fxml%20version%3D%221.0%22%3E", "%23document%0A%7C%20%3C%21--%20%3Fxml%20version%3D%221.0%22%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"617815b6a683613fcb6b9cd5841b2ea7428d838d":[async_test('html5lib_comments01.html 617815b6a683613fcb6b9cd5841b2ea7428d838d'), "%3C%3Fxml%20version", "%23document%0A%7C%20%3C%21--%20%3Fxml%20version%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"bb8faf75d2e28aee13ec4a0d8eab00b4d7475763":[async_test('html5lib_comments01.html bb8faf75d2e28aee13ec4a0d8eab00b4d7475763'), "FOO%3C%21-----%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20-%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"89c4ae1ae34df9dff0e516afdef87cd169c3e6a5":[async_test('html5lib_comments01.html 89c4ae1ae34df9dff0e516afdef87cd169c3e6a5'), "%3Chtml%3E%3C%21--%20comment%20--%3E%3Ctitle%3EComment%20before%20head%3C/title%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3C%21--%20%20comment%20%20--%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%20%20%3Ctitle%3E%0A%7C%20%20%20%20%20%20%20%22Comment%20before%20head%22%0A%7C%20%20%20%3Cbody%3E"],
     23          "3dbda8330033c3fbf3185a55e963075328099578":[async_test('html5lib_comments01.html 3dbda8330033c3fbf3185a55e963075328099578'), "FOO%3C%21--%20BAR%20--%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"7476098e9823b3deee1857739daf719ff18e37b4":[async_test('html5lib_comments01.html 7476098e9823b3deee1857739daf719ff18e37b4'), "FOO%3C%21--%20BAR%20--%21%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"eca7f97a4659eab6da4127c225420f1664b6c0c4":[async_test('html5lib_comments01.html eca7f97a4659eab6da4127c225420f1664b6c0c4'), "FOO%3C%21--%20BAR%20--%21%20%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%21%20%3EBAZ%20--%3E"],"27ff1671f247daf2fdf19213bcee6ae6cd848583":[async_test('html5lib_comments01.html 27ff1671f247daf2fdf19213bcee6ae6cd848583'), "FOO%3C%21--%20BAR%20--%21%0A%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%21%0A%3EBAZ%20--%3E"],"a6c42885c32fa988374894c0871b5a289786912a":[async_test('html5lib_comments01.html a6c42885c32fa988374894c0871b5a289786912a'), "FOO%3C%21--%20BAR%20--%20%20%20%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%20%20%3EBAZ%20--%3E"],"d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187":[async_test('html5lib_comments01.html d59b196ec9f6f19ded28d5e1fb48cbec2b1a4187'), "FOO%3C%21--%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%3CQUX%3E%20--%20MUX%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"97486c43262a9a5c3fec1a3b028b99b7ca8c0e3e":[async_test('html5lib_comments01.html 97486c43262a9a5c3fec1a3b028b99b7ca8c0e3e'), "FOO%3C%21--%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%21%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%3CQUX%3E%20--%20MUX%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"06145ae05b1d92b71aed067ed6f1aab1afea50ae":[async_test('html5lib_comments01.html 06145ae05b1d92b71aed067ed6f1aab1afea50ae'), "FOO%3C%21--%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%20%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20BAR%20--%20%3CQUX%3E%20--%20MUX%20--%20%3EBAZ%20--%3E"],"5064d84d3adaf6262cf3573e9e112f40e3abc147":[async_test('html5lib_comments01.html 5064d84d3adaf6262cf3573e9e112f40e3abc147'), "FOO%3C%21----%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"8b36d140a4a223b083a8d41af7c98a1c20377856":[async_test('html5lib_comments01.html 8b36d140a4a223b083a8d41af7c98a1c20377856'), "FOO%3C%21---%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"1894e23c5ee89d6f4b5f1dbe9b681b42863b4d1f":[async_test('html5lib_comments01.html 1894e23c5ee89d6f4b5f1dbe9b681b42863b4d1f'), "FOO%3C%21--%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"2cefeae994b6b0be0accbfff4757fef40ed914eb":[async_test('html5lib_comments01.html 2cefeae994b6b0be0accbfff4757fef40ed914eb'), "%3C%3Fxml%20version%3D%221.0%22%3EHi", "%23document%0A%7C%20%3C%21--%20%3Fxml%20version%3D%221.0%22%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22Hi%22"],"ac9fd94008255e73cba953dbd374cb41703f5446":[async_test('html5lib_comments01.html ac9fd94008255e73cba953dbd374cb41703f5446'), "%3C%3Fxml%20version%3D%221.0%22%3E", "%23document%0A%7C%20%3C%21--%20%3Fxml%20version%3D%221.0%22%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"617815b6a683613fcb6b9cd5841b2ea7428d838d":[async_test('html5lib_comments01.html 617815b6a683613fcb6b9cd5841b2ea7428d838d'), "%3C%3Fxml%20version", "%23document%0A%7C%20%3C%21--%20%3Fxml%20version%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"bb8faf75d2e28aee13ec4a0d8eab00b4d7475763":[async_test('html5lib_comments01.html bb8faf75d2e28aee13ec4a0d8eab00b4d7475763'), "FOO%3C%21-----%3EBAZ", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%22%0A%7C%20%20%20%20%20%3C%21--%20-%20--%3E%0A%7C%20%20%20%20%20%22BAZ%22"],"89c4ae1ae34df9dff0e516afdef87cd169c3e6a5":[async_test('html5lib_comments01.html 89c4ae1ae34df9dff0e516afdef87cd169c3e6a5'), "%3Chtml%3E%3C%21--%20comment%20--%3E%3Ctitle%3EComment%20before%20head%3C/title%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3C%21--%20%20comment%20%20--%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%20%20%3Ctitle%3E%0A%7C%20%20%20%20%20%20%20%22Comment%20before%20head%22%0A%7C%20%20%20%3Cbody%3E"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_entities01-expected.txt

    r210823 r264117  
    88PASS html5lib_entities01.html 5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073
    99PASS html5lib_entities01.html 119cd15b852615cd0fce759769b4a3788595e3bb
     10PASS html5lib_entities01.html 903cefcfae1125cb71fc77f4a6b7d3546e8f4020
     11PASS html5lib_entities01.html 69f08b40c7506153e809415ca98e2ed98992216b
    1012PASS html5lib_entities01.html 9c00a1833e8cf4af28c8bd94902412ad7052b4b0
    1113PASS html5lib_entities01.html b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_entities01.html

    r210823 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['16c694bcf0b3ff3723fa070eea7e1e82ef12a337','05e04b39ef06e2367a33326f5dd566913aa6628f','fbf7d9fec595585869c5c595d5588b34fd175278','e59b0a76d7bcfb429b27e00e469f35e08a9bdd1a','5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073','119cd15b852615cd0fce759769b4a3788595e3bb','9c00a1833e8cf4af28c8bd94902412ad7052b4b0','b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497','bf6c90305b2856c2d9c9a146dfff867fe7a5e0f3','6b9c8d175a3d7b6cf04ffd72e44a7dc88686460f','76c184d9ce64b8a52c2e67eafeb8d332c096f2be','4c30f8f931eb44c2f208e837555c0cc444dd4612','1db77ef761092d65ce847c0bcd6e7cb892db754d','284c18aa40a73e4052525a9ffb30b23182f237ea','6b336a43e394d3ab7ceb2ab54c63409e8a27aded','436c30dd76bf9b5c2b29a181d9a9412ec0ab4bdf','1373a52ddcb71f20f29d92abb6714eaabeba7424','d60f4f324a1ad9c09c4d3590c8c537af2852eeb4','d21511e2df56c306c78e1449c960c66e565e016e','39107d16f24d4c7bcd40ad1239b5f4f677877ee8','a44b740e8b2349e75c9eb0376f665eab13ff821d','a0e38b1c19eba037b34c68864634cff032f0b892','390d9571a24be0961c8fcd78c69eea16a6414246','ceba8404405dd3b3b423c45411bde15bf72a846d','f8dd2fccc21d3a08790a7877186840a692adf111','d526830d439d3c4e966b22fbedf819d465d3107b','240af7bacbfecce6e2a973de9c89fad817fb8d42','d657585ca1df5b86693fca8a0a2eae76bd9b1c2b','b508fcffb2d9f2424c7837270e51824321fb4570','897ab551df27df14418a46ff1c3acef8338c53f3','493a472ccf903088c813ff6874d54482a161df8f','67d19edb1f6ecbbb6ccb90df2345e52e5c58efc3','dded422b7406c966c944555f220d7d3dfcf2a143','60a76c9e10e4ac53f836f9e45eb0518dd0b7b73b','b47fcc6a614247319908b00935f10ec134399917','3b5c7d0331ae900e1179eaf3545c78d147434fbf','a0f119508046dbb4f8059232f6e99f66c1e8e7a6','daab384be8471edeb755353c5dccaad0c415dac5','8485e4d103a517615f39c0d0b71fe5065c5437db','4c28749faddb096d1f04792b7daf039268c43181','c84c576954c4c493528eaa34233c926653152be5','b2797e18c499df32296545225c259dbf4bea2908','5b2dfe6f187413faecd91336bd353c05768ea722','34af7be5bcff18ec869a306b19daea70f61f7088','8f2e74688427858fc1a895fc472d074a0528a7ae','530d6251a43d688e69959237e519812585de8266','bced9b8c339d0d2838ea0fffe9a64027b4f3a877','9c9e8079df25999c606bc84f46b348544a23b9b4','ec61d22b3bc6f93e54bbff964311bba9a3a06b21','391f0136aebdd0e874c8eb85651ffda7e9f86f24','e2974e7029b008539aacc1ee885705764f8c53f4','23e105ca5329cc0338a96fe7e088ba9b319c46d1','87af28752724c400edef3970e52440639be5b1a8','f50d9e39e2bda3d8c0b1c69d1f1e4e86c4b39ac3','12827fadb8d36b829e9c2c7315e0848d2d7ef278','f603997321070e6ccada6fefe4240a9e6c7e870a','a88e381bf36e74aaa8ac5b0877153b7158bae579','11019fa64a25748a5bfb864fc200ec2710b54aa3','3d238b9146102bd11e898ff4913f86e8ded65be4','a1375bfde7be56e514471700e030b1c7e7090e2f','7936b73efa385d183e93453bea24fd0c4dff4742','41cdf6978b0c48e7044d5e4534fc8bb08de4cdf2','5138f572a4db2e2edc2d723e1bb87af72ab501f4','f30757617b6df330deba1cb607e8d47f71bda13f','a6fd8cdca1fa8cf07519d9a0c5b779eafa438b70','ada342466887e85d89c3b815b127bfced036ac76','74bd99a9263f0b8e8a5fac4d2684fe37d5a1a9cc','bffe7b00046407080251ab6bf58cb97ce2a34893','5aef37f1f2b9ac45adfade044c882eb09a297569','6e2d817539fb3b2023c7bcb88ad220c136f70cf0','d4ac52727ff405f61a1d878a0aa1951ae5264c80','d2584faaa4dda5283955b2dc22812a018d04a72d','56dc3e612fbfa06cfeb26957e357defcf73aa220',];
     21      var order = ['16c694bcf0b3ff3723fa070eea7e1e82ef12a337','05e04b39ef06e2367a33326f5dd566913aa6628f','fbf7d9fec595585869c5c595d5588b34fd175278','e59b0a76d7bcfb429b27e00e469f35e08a9bdd1a','5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073','119cd15b852615cd0fce759769b4a3788595e3bb','903cefcfae1125cb71fc77f4a6b7d3546e8f4020','69f08b40c7506153e809415ca98e2ed98992216b','9c00a1833e8cf4af28c8bd94902412ad7052b4b0','b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497','bf6c90305b2856c2d9c9a146dfff867fe7a5e0f3','6b9c8d175a3d7b6cf04ffd72e44a7dc88686460f','76c184d9ce64b8a52c2e67eafeb8d332c096f2be','4c30f8f931eb44c2f208e837555c0cc444dd4612','1db77ef761092d65ce847c0bcd6e7cb892db754d','284c18aa40a73e4052525a9ffb30b23182f237ea','6b336a43e394d3ab7ceb2ab54c63409e8a27aded','436c30dd76bf9b5c2b29a181d9a9412ec0ab4bdf','1373a52ddcb71f20f29d92abb6714eaabeba7424','d60f4f324a1ad9c09c4d3590c8c537af2852eeb4','d21511e2df56c306c78e1449c960c66e565e016e','39107d16f24d4c7bcd40ad1239b5f4f677877ee8','a44b740e8b2349e75c9eb0376f665eab13ff821d','a0e38b1c19eba037b34c68864634cff032f0b892','390d9571a24be0961c8fcd78c69eea16a6414246','ceba8404405dd3b3b423c45411bde15bf72a846d','f8dd2fccc21d3a08790a7877186840a692adf111','d526830d439d3c4e966b22fbedf819d465d3107b','240af7bacbfecce6e2a973de9c89fad817fb8d42','d657585ca1df5b86693fca8a0a2eae76bd9b1c2b','b508fcffb2d9f2424c7837270e51824321fb4570','897ab551df27df14418a46ff1c3acef8338c53f3','493a472ccf903088c813ff6874d54482a161df8f','67d19edb1f6ecbbb6ccb90df2345e52e5c58efc3','dded422b7406c966c944555f220d7d3dfcf2a143','60a76c9e10e4ac53f836f9e45eb0518dd0b7b73b','b47fcc6a614247319908b00935f10ec134399917','3b5c7d0331ae900e1179eaf3545c78d147434fbf','a0f119508046dbb4f8059232f6e99f66c1e8e7a6','daab384be8471edeb755353c5dccaad0c415dac5','8485e4d103a517615f39c0d0b71fe5065c5437db','4c28749faddb096d1f04792b7daf039268c43181','c84c576954c4c493528eaa34233c926653152be5','b2797e18c499df32296545225c259dbf4bea2908','5b2dfe6f187413faecd91336bd353c05768ea722','34af7be5bcff18ec869a306b19daea70f61f7088','8f2e74688427858fc1a895fc472d074a0528a7ae','530d6251a43d688e69959237e519812585de8266','bced9b8c339d0d2838ea0fffe9a64027b4f3a877','9c9e8079df25999c606bc84f46b348544a23b9b4','ec61d22b3bc6f93e54bbff964311bba9a3a06b21','391f0136aebdd0e874c8eb85651ffda7e9f86f24','e2974e7029b008539aacc1ee885705764f8c53f4','23e105ca5329cc0338a96fe7e088ba9b319c46d1','87af28752724c400edef3970e52440639be5b1a8','f50d9e39e2bda3d8c0b1c69d1f1e4e86c4b39ac3','12827fadb8d36b829e9c2c7315e0848d2d7ef278','f603997321070e6ccada6fefe4240a9e6c7e870a','a88e381bf36e74aaa8ac5b0877153b7158bae579','11019fa64a25748a5bfb864fc200ec2710b54aa3','3d238b9146102bd11e898ff4913f86e8ded65be4','a1375bfde7be56e514471700e030b1c7e7090e2f','7936b73efa385d183e93453bea24fd0c4dff4742','41cdf6978b0c48e7044d5e4534fc8bb08de4cdf2','5138f572a4db2e2edc2d723e1bb87af72ab501f4','f30757617b6df330deba1cb607e8d47f71bda13f','a6fd8cdca1fa8cf07519d9a0c5b779eafa438b70','ada342466887e85d89c3b815b127bfced036ac76','74bd99a9263f0b8e8a5fac4d2684fe37d5a1a9cc','bffe7b00046407080251ab6bf58cb97ce2a34893','5aef37f1f2b9ac45adfade044c882eb09a297569','6e2d817539fb3b2023c7bcb88ad220c136f70cf0','d4ac52727ff405f61a1d878a0aa1951ae5264c80','d2584faaa4dda5283955b2dc22812a018d04a72d','56dc3e612fbfa06cfeb26957e357defcf73aa220',];
    2222      var tests = {
    23           "16c694bcf0b3ff3723fa070eea7e1e82ef12a337":[async_test('html5lib_entities01.html 16c694bcf0b3ff3723fa070eea7e1e82ef12a337'), "FOO%26gt%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3EBAR%22"],"05e04b39ef06e2367a33326f5dd566913aa6628f":[async_test('html5lib_entities01.html 05e04b39ef06e2367a33326f5dd566913aa6628f'), "FOO%26gtBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3EBAR%22"],"fbf7d9fec595585869c5c595d5588b34fd175278":[async_test('html5lib_entities01.html fbf7d9fec595585869c5c595d5588b34fd175278'), "FOO%26gt%20BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3E%20BAR%22"],"e59b0a76d7bcfb429b27e00e469f35e08a9bdd1a":[async_test('html5lib_entities01.html e59b0a76d7bcfb429b27e00e469f35e08a9bdd1a'), "FOO%26gt%3B%3B%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3E%3B%3BBAR%22"],"5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073":[async_test('html5lib_entities01.html 5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073'), "I%27m%20%26notit%3B%20I%20tell%20you", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22I%27m%20%C2%ACit%3B%20I%20tell%20you%22"],"119cd15b852615cd0fce759769b4a3788595e3bb":[async_test('html5lib_entities01.html 119cd15b852615cd0fce759769b4a3788595e3bb'), "I%27m%20%26notin%3B%20I%20tell%20you", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22I%27m%20%E2%88%89%20I%20tell%20you%22"],"9c00a1833e8cf4af28c8bd94902412ad7052b4b0":[async_test('html5lib_entities01.html 9c00a1833e8cf4af28c8bd94902412ad7052b4b0'), "FOO%26%20BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%20BAR%22"],"b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497":[async_test('html5lib_entities01.html b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497'), "FOO%26%3CBAR%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%22%0A%7C%20%20%20%20%20%3Cbar%3E"],"bf6c90305b2856c2d9c9a146dfff867fe7a5e0f3":[async_test('html5lib_entities01.html bf6c90305b2856c2d9c9a146dfff867fe7a5e0f3'), "FOO%26%26%26%26gt%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%26%26%3EBAR%22"],"6b9c8d175a3d7b6cf04ffd72e44a7dc88686460f":[async_test('html5lib_entities01.html 6b9c8d175a3d7b6cf04ffd72e44a7dc88686460f'), "FOO%26%2341%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%29BAR%22"],"76c184d9ce64b8a52c2e67eafeb8d332c096f2be":[async_test('html5lib_entities01.html 76c184d9ce64b8a52c2e67eafeb8d332c096f2be'), "FOO%26%23x41%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOABAR%22"],"4c30f8f931eb44c2f208e837555c0cc444dd4612":[async_test('html5lib_entities01.html 4c30f8f931eb44c2f208e837555c0cc444dd4612'), "FOO%26%23X41%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOABAR%22"],"1db77ef761092d65ce847c0bcd6e7cb892db754d":[async_test('html5lib_entities01.html 1db77ef761092d65ce847c0bcd6e7cb892db754d'), "FOO%26%23BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23BAR%22"],"284c18aa40a73e4052525a9ffb30b23182f237ea":[async_test('html5lib_entities01.html 284c18aa40a73e4052525a9ffb30b23182f237ea'), "FOO%26%23ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23ZOO%22"],"6b336a43e394d3ab7ceb2ab54c63409e8a27aded":[async_test('html5lib_entities01.html 6b336a43e394d3ab7ceb2ab54c63409e8a27aded'), "FOO%26%23xBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%BAR%22"],"436c30dd76bf9b5c2b29a181d9a9412ec0ab4bdf":[async_test('html5lib_entities01.html 436c30dd76bf9b5c2b29a181d9a9412ec0ab4bdf'), "FOO%26%23xZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23xZOO%22"],"1373a52ddcb71f20f29d92abb6714eaabeba7424":[async_test('html5lib_entities01.html 1373a52ddcb71f20f29d92abb6714eaabeba7424'), "FOO%26%23XZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23XZOO%22"],"d60f4f324a1ad9c09c4d3590c8c537af2852eeb4":[async_test('html5lib_entities01.html d60f4f324a1ad9c09c4d3590c8c537af2852eeb4'), "FOO%26%2341BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%29BAR%22"],"d21511e2df56c306c78e1449c960c66e565e016e":[async_test('html5lib_entities01.html d21511e2df56c306c78e1449c960c66e565e016e'), "FOO%26%23x41BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E4%86%BAR%22"],"39107d16f24d4c7bcd40ad1239b5f4f677877ee8":[async_test('html5lib_entities01.html 39107d16f24d4c7bcd40ad1239b5f4f677877ee8'), "FOO%26%23x41ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOAZOO%22"],"a44b740e8b2349e75c9eb0376f665eab13ff821d":[async_test('html5lib_entities01.html a44b740e8b2349e75c9eb0376f665eab13ff821d'), "FOO%26%23x0000%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"a0e38b1c19eba037b34c68864634cff032f0b892":[async_test('html5lib_entities01.html a0e38b1c19eba037b34c68864634cff032f0b892'), "FOO%26%23x0078%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOxZOO%22"],"390d9571a24be0961c8fcd78c69eea16a6414246":[async_test('html5lib_entities01.html 390d9571a24be0961c8fcd78c69eea16a6414246'), "FOO%26%23x0079%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOyZOO%22"],"ceba8404405dd3b3b423c45411bde15bf72a846d":[async_test('html5lib_entities01.html ceba8404405dd3b3b423c45411bde15bf72a846d'), "FOO%26%23x0080%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%82%ACZOO%22"],"f8dd2fccc21d3a08790a7877186840a692adf111":[async_test('html5lib_entities01.html f8dd2fccc21d3a08790a7877186840a692adf111'), "FOO%26%23x0081%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%81ZOO%22"],"d526830d439d3c4e966b22fbedf819d465d3107b":[async_test('html5lib_entities01.html d526830d439d3c4e966b22fbedf819d465d3107b'), "FOO%26%23x0082%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9AZOO%22"],"240af7bacbfecce6e2a973de9c89fad817fb8d42":[async_test('html5lib_entities01.html 240af7bacbfecce6e2a973de9c89fad817fb8d42'), "FOO%26%23x0083%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C6%92ZOO%22"],"d657585ca1df5b86693fca8a0a2eae76bd9b1c2b":[async_test('html5lib_entities01.html d657585ca1df5b86693fca8a0a2eae76bd9b1c2b'), "FOO%26%23x0084%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9EZOO%22"],"b508fcffb2d9f2424c7837270e51824321fb4570":[async_test('html5lib_entities01.html b508fcffb2d9f2424c7837270e51824321fb4570'), "FOO%26%23x0085%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A6ZOO%22"],"897ab551df27df14418a46ff1c3acef8338c53f3":[async_test('html5lib_entities01.html 897ab551df27df14418a46ff1c3acef8338c53f3'), "FOO%26%23x0086%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A0ZOO%22"],"493a472ccf903088c813ff6874d54482a161df8f":[async_test('html5lib_entities01.html 493a472ccf903088c813ff6874d54482a161df8f'), "FOO%26%23x0087%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A1ZOO%22"],"67d19edb1f6ecbbb6ccb90df2345e52e5c58efc3":[async_test('html5lib_entities01.html 67d19edb1f6ecbbb6ccb90df2345e52e5c58efc3'), "FOO%26%23x0088%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%CB%86ZOO%22"],"dded422b7406c966c944555f220d7d3dfcf2a143":[async_test('html5lib_entities01.html dded422b7406c966c944555f220d7d3dfcf2a143'), "FOO%26%23x0089%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%B0ZOO%22"],"60a76c9e10e4ac53f836f9e45eb0518dd0b7b73b":[async_test('html5lib_entities01.html 60a76c9e10e4ac53f836f9e45eb0518dd0b7b73b'), "FOO%26%23x008A%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%A0ZOO%22"],"b47fcc6a614247319908b00935f10ec134399917":[async_test('html5lib_entities01.html b47fcc6a614247319908b00935f10ec134399917'), "FOO%26%23x008B%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%B9ZOO%22"],"3b5c7d0331ae900e1179eaf3545c78d147434fbf":[async_test('html5lib_entities01.html 3b5c7d0331ae900e1179eaf3545c78d147434fbf'), "FOO%26%23x008C%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%92ZOO%22"],"a0f119508046dbb4f8059232f6e99f66c1e8e7a6":[async_test('html5lib_entities01.html a0f119508046dbb4f8059232f6e99f66c1e8e7a6'), "FOO%26%23x008D%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%8DZOO%22"],"daab384be8471edeb755353c5dccaad0c415dac5":[async_test('html5lib_entities01.html daab384be8471edeb755353c5dccaad0c415dac5'), "FOO%26%23x008E%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%BDZOO%22"],"8485e4d103a517615f39c0d0b71fe5065c5437db":[async_test('html5lib_entities01.html 8485e4d103a517615f39c0d0b71fe5065c5437db'), "FOO%26%23x008F%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%8FZOO%22"],"4c28749faddb096d1f04792b7daf039268c43181":[async_test('html5lib_entities01.html 4c28749faddb096d1f04792b7daf039268c43181'), "FOO%26%23x0090%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%90ZOO%22"],"c84c576954c4c493528eaa34233c926653152be5":[async_test('html5lib_entities01.html c84c576954c4c493528eaa34233c926653152be5'), "FOO%26%23x0091%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%98ZOO%22"],"b2797e18c499df32296545225c259dbf4bea2908":[async_test('html5lib_entities01.html b2797e18c499df32296545225c259dbf4bea2908'), "FOO%26%23x0092%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%99ZOO%22"],"5b2dfe6f187413faecd91336bd353c05768ea722":[async_test('html5lib_entities01.html 5b2dfe6f187413faecd91336bd353c05768ea722'), "FOO%26%23x0093%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9CZOO%22"],"34af7be5bcff18ec869a306b19daea70f61f7088":[async_test('html5lib_entities01.html 34af7be5bcff18ec869a306b19daea70f61f7088'), "FOO%26%23x0094%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9DZOO%22"],"8f2e74688427858fc1a895fc472d074a0528a7ae":[async_test('html5lib_entities01.html 8f2e74688427858fc1a895fc472d074a0528a7ae'), "FOO%26%23x0095%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A2ZOO%22"],"530d6251a43d688e69959237e519812585de8266":[async_test('html5lib_entities01.html 530d6251a43d688e69959237e519812585de8266'), "FOO%26%23x0096%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%93ZOO%22"],"bced9b8c339d0d2838ea0fffe9a64027b4f3a877":[async_test('html5lib_entities01.html bced9b8c339d0d2838ea0fffe9a64027b4f3a877'), "FOO%26%23x0097%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%94ZOO%22"],"9c9e8079df25999c606bc84f46b348544a23b9b4":[async_test('html5lib_entities01.html 9c9e8079df25999c606bc84f46b348544a23b9b4'), "FOO%26%23x0098%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%CB%9CZOO%22"],"ec61d22b3bc6f93e54bbff964311bba9a3a06b21":[async_test('html5lib_entities01.html ec61d22b3bc6f93e54bbff964311bba9a3a06b21'), "FOO%26%23x0099%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%84%A2ZOO%22"],"391f0136aebdd0e874c8eb85651ffda7e9f86f24":[async_test('html5lib_entities01.html 391f0136aebdd0e874c8eb85651ffda7e9f86f24'), "FOO%26%23x009A%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%A1ZOO%22"],"e2974e7029b008539aacc1ee885705764f8c53f4":[async_test('html5lib_entities01.html e2974e7029b008539aacc1ee885705764f8c53f4'), "FOO%26%23x009B%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%BAZOO%22"],"23e105ca5329cc0338a96fe7e088ba9b319c46d1":[async_test('html5lib_entities01.html 23e105ca5329cc0338a96fe7e088ba9b319c46d1'), "FOO%26%23x009C%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%93ZOO%22"],"87af28752724c400edef3970e52440639be5b1a8":[async_test('html5lib_entities01.html 87af28752724c400edef3970e52440639be5b1a8'), "FOO%26%23x009D%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%9DZOO%22"],"f50d9e39e2bda3d8c0b1c69d1f1e4e86c4b39ac3":[async_test('html5lib_entities01.html f50d9e39e2bda3d8c0b1c69d1f1e4e86c4b39ac3'), "FOO%26%23x009E%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%BEZOO%22"],"12827fadb8d36b829e9c2c7315e0848d2d7ef278":[async_test('html5lib_entities01.html 12827fadb8d36b829e9c2c7315e0848d2d7ef278'), "FOO%26%23x009F%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%B8ZOO%22"],"f603997321070e6ccada6fefe4240a9e6c7e870a":[async_test('html5lib_entities01.html f603997321070e6ccada6fefe4240a9e6c7e870a'), "FOO%26%23x00A0%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%A0ZOO%22"],"a88e381bf36e74aaa8ac5b0877153b7158bae579":[async_test('html5lib_entities01.html a88e381bf36e74aaa8ac5b0877153b7158bae579'), "FOO%26%23xD7FF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%ED%9F%BFZOO%22"],"11019fa64a25748a5bfb864fc200ec2710b54aa3":[async_test('html5lib_entities01.html 11019fa64a25748a5bfb864fc200ec2710b54aa3'), "FOO%26%23xD800%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"3d238b9146102bd11e898ff4913f86e8ded65be4":[async_test('html5lib_entities01.html 3d238b9146102bd11e898ff4913f86e8ded65be4'), "FOO%26%23xD801%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"a1375bfde7be56e514471700e030b1c7e7090e2f":[async_test('html5lib_entities01.html a1375bfde7be56e514471700e030b1c7e7090e2f'), "FOO%26%23xDFFE%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"7936b73efa385d183e93453bea24fd0c4dff4742":[async_test('html5lib_entities01.html 7936b73efa385d183e93453bea24fd0c4dff4742'), "FOO%26%23xDFFF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"41cdf6978b0c48e7044d5e4534fc8bb08de4cdf2":[async_test('html5lib_entities01.html 41cdf6978b0c48e7044d5e4534fc8bb08de4cdf2'), "FOO%26%23xE000%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EE%80%80ZOO%22"],"5138f572a4db2e2edc2d723e1bb87af72ab501f4":[async_test('html5lib_entities01.html 5138f572a4db2e2edc2d723e1bb87af72ab501f4'), "FOO%26%23x10FFFE%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%F4%8F%BF%BEZOO%22"],"f30757617b6df330deba1cb607e8d47f71bda13f":[async_test('html5lib_entities01.html f30757617b6df330deba1cb607e8d47f71bda13f'), "FOO%26%23x1087D4%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%F4%88%9F%94ZOO%22"],"a6fd8cdca1fa8cf07519d9a0c5b779eafa438b70":[async_test('html5lib_entities01.html a6fd8cdca1fa8cf07519d9a0c5b779eafa438b70'), "FOO%26%23x10FFFF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%F4%8F%BF%BFZOO%22"],"ada342466887e85d89c3b815b127bfced036ac76":[async_test('html5lib_entities01.html ada342466887e85d89c3b815b127bfced036ac76'), "FOO%26%23x110000%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"74bd99a9263f0b8e8a5fac4d2684fe37d5a1a9cc":[async_test('html5lib_entities01.html 74bd99a9263f0b8e8a5fac4d2684fe37d5a1a9cc'), "FOO%26%23xFFFFFF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"bffe7b00046407080251ab6bf58cb97ce2a34893":[async_test('html5lib_entities01.html bffe7b00046407080251ab6bf58cb97ce2a34893'), "FOO%26%2311111111111", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BD%22"],"5aef37f1f2b9ac45adfade044c882eb09a297569":[async_test('html5lib_entities01.html 5aef37f1f2b9ac45adfade044c882eb09a297569'), "FOO%26%231111111111", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BD%22"],"6e2d817539fb3b2023c7bcb88ad220c136f70cf0":[async_test('html5lib_entities01.html 6e2d817539fb3b2023c7bcb88ad220c136f70cf0'), "FOO%26%23111111111111", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BD%22"],"d4ac52727ff405f61a1d878a0aa1951ae5264c80":[async_test('html5lib_entities01.html d4ac52727ff405f61a1d878a0aa1951ae5264c80'), "FOO%26%2311111111111ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"d2584faaa4dda5283955b2dc22812a018d04a72d":[async_test('html5lib_entities01.html d2584faaa4dda5283955b2dc22812a018d04a72d'), "FOO%26%231111111111ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"56dc3e612fbfa06cfeb26957e357defcf73aa220":[async_test('html5lib_entities01.html 56dc3e612fbfa06cfeb26957e357defcf73aa220'), "FOO%26%23111111111111ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],
     23          "16c694bcf0b3ff3723fa070eea7e1e82ef12a337":[async_test('html5lib_entities01.html 16c694bcf0b3ff3723fa070eea7e1e82ef12a337'), "FOO%26gt%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3EBAR%22"],"05e04b39ef06e2367a33326f5dd566913aa6628f":[async_test('html5lib_entities01.html 05e04b39ef06e2367a33326f5dd566913aa6628f'), "FOO%26gtBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3EBAR%22"],"fbf7d9fec595585869c5c595d5588b34fd175278":[async_test('html5lib_entities01.html fbf7d9fec595585869c5c595d5588b34fd175278'), "FOO%26gt%20BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3E%20BAR%22"],"e59b0a76d7bcfb429b27e00e469f35e08a9bdd1a":[async_test('html5lib_entities01.html e59b0a76d7bcfb429b27e00e469f35e08a9bdd1a'), "FOO%26gt%3B%3B%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%3E%3B%3BBAR%22"],"5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073":[async_test('html5lib_entities01.html 5ea854d6ecd4d6dd459cb36d4faf3ed36e11c073'), "I%27m%20%26notit%3B%20I%20tell%20you", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22I%27m%20%C2%ACit%3B%20I%20tell%20you%22"],"119cd15b852615cd0fce759769b4a3788595e3bb":[async_test('html5lib_entities01.html 119cd15b852615cd0fce759769b4a3788595e3bb'), "I%27m%20%26notin%3B%20I%20tell%20you", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22I%27m%20%E2%88%89%20I%20tell%20you%22"],"903cefcfae1125cb71fc77f4a6b7d3546e8f4020":[async_test('html5lib_entities01.html 903cefcfae1125cb71fc77f4a6b7d3546e8f4020'), "%26ammmp%3B", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22%26ammmp%3B%22"],"69f08b40c7506153e809415ca98e2ed98992216b":[async_test('html5lib_entities01.html 69f08b40c7506153e809415ca98e2ed98992216b'), "%26ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp%3B", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22%26ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp%3B%22"],"9c00a1833e8cf4af28c8bd94902412ad7052b4b0":[async_test('html5lib_entities01.html 9c00a1833e8cf4af28c8bd94902412ad7052b4b0'), "FOO%26%20BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%20BAR%22"],"b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497":[async_test('html5lib_entities01.html b5bcdcbc6e88b380be0e48ca2620fbbb8e92e497'), "FOO%26%3CBAR%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%22%0A%7C%20%20%20%20%20%3Cbar%3E"],"bf6c90305b2856c2d9c9a146dfff867fe7a5e0f3":[async_test('html5lib_entities01.html bf6c90305b2856c2d9c9a146dfff867fe7a5e0f3'), "FOO%26%26%26%26gt%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%26%26%3EBAR%22"],"6b9c8d175a3d7b6cf04ffd72e44a7dc88686460f":[async_test('html5lib_entities01.html 6b9c8d175a3d7b6cf04ffd72e44a7dc88686460f'), "FOO%26%2341%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%29BAR%22"],"76c184d9ce64b8a52c2e67eafeb8d332c096f2be":[async_test('html5lib_entities01.html 76c184d9ce64b8a52c2e67eafeb8d332c096f2be'), "FOO%26%23x41%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOABAR%22"],"4c30f8f931eb44c2f208e837555c0cc444dd4612":[async_test('html5lib_entities01.html 4c30f8f931eb44c2f208e837555c0cc444dd4612'), "FOO%26%23X41%3BBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOABAR%22"],"1db77ef761092d65ce847c0bcd6e7cb892db754d":[async_test('html5lib_entities01.html 1db77ef761092d65ce847c0bcd6e7cb892db754d'), "FOO%26%23BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23BAR%22"],"284c18aa40a73e4052525a9ffb30b23182f237ea":[async_test('html5lib_entities01.html 284c18aa40a73e4052525a9ffb30b23182f237ea'), "FOO%26%23ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23ZOO%22"],"6b336a43e394d3ab7ceb2ab54c63409e8a27aded":[async_test('html5lib_entities01.html 6b336a43e394d3ab7ceb2ab54c63409e8a27aded'), "FOO%26%23xBAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%BAR%22"],"436c30dd76bf9b5c2b29a181d9a9412ec0ab4bdf":[async_test('html5lib_entities01.html 436c30dd76bf9b5c2b29a181d9a9412ec0ab4bdf'), "FOO%26%23xZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23xZOO%22"],"1373a52ddcb71f20f29d92abb6714eaabeba7424":[async_test('html5lib_entities01.html 1373a52ddcb71f20f29d92abb6714eaabeba7424'), "FOO%26%23XZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%26%23XZOO%22"],"d60f4f324a1ad9c09c4d3590c8c537af2852eeb4":[async_test('html5lib_entities01.html d60f4f324a1ad9c09c4d3590c8c537af2852eeb4'), "FOO%26%2341BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%29BAR%22"],"d21511e2df56c306c78e1449c960c66e565e016e":[async_test('html5lib_entities01.html d21511e2df56c306c78e1449c960c66e565e016e'), "FOO%26%23x41BAR", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E4%86%BAR%22"],"39107d16f24d4c7bcd40ad1239b5f4f677877ee8":[async_test('html5lib_entities01.html 39107d16f24d4c7bcd40ad1239b5f4f677877ee8'), "FOO%26%23x41ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOAZOO%22"],"a44b740e8b2349e75c9eb0376f665eab13ff821d":[async_test('html5lib_entities01.html a44b740e8b2349e75c9eb0376f665eab13ff821d'), "FOO%26%23x0000%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"a0e38b1c19eba037b34c68864634cff032f0b892":[async_test('html5lib_entities01.html a0e38b1c19eba037b34c68864634cff032f0b892'), "FOO%26%23x0078%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOxZOO%22"],"390d9571a24be0961c8fcd78c69eea16a6414246":[async_test('html5lib_entities01.html 390d9571a24be0961c8fcd78c69eea16a6414246'), "FOO%26%23x0079%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOOyZOO%22"],"ceba8404405dd3b3b423c45411bde15bf72a846d":[async_test('html5lib_entities01.html ceba8404405dd3b3b423c45411bde15bf72a846d'), "FOO%26%23x0080%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%82%ACZOO%22"],"f8dd2fccc21d3a08790a7877186840a692adf111":[async_test('html5lib_entities01.html f8dd2fccc21d3a08790a7877186840a692adf111'), "FOO%26%23x0081%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%81ZOO%22"],"d526830d439d3c4e966b22fbedf819d465d3107b":[async_test('html5lib_entities01.html d526830d439d3c4e966b22fbedf819d465d3107b'), "FOO%26%23x0082%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9AZOO%22"],"240af7bacbfecce6e2a973de9c89fad817fb8d42":[async_test('html5lib_entities01.html 240af7bacbfecce6e2a973de9c89fad817fb8d42'), "FOO%26%23x0083%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C6%92ZOO%22"],"d657585ca1df5b86693fca8a0a2eae76bd9b1c2b":[async_test('html5lib_entities01.html d657585ca1df5b86693fca8a0a2eae76bd9b1c2b'), "FOO%26%23x0084%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9EZOO%22"],"b508fcffb2d9f2424c7837270e51824321fb4570":[async_test('html5lib_entities01.html b508fcffb2d9f2424c7837270e51824321fb4570'), "FOO%26%23x0085%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A6ZOO%22"],"897ab551df27df14418a46ff1c3acef8338c53f3":[async_test('html5lib_entities01.html 897ab551df27df14418a46ff1c3acef8338c53f3'), "FOO%26%23x0086%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A0ZOO%22"],"493a472ccf903088c813ff6874d54482a161df8f":[async_test('html5lib_entities01.html 493a472ccf903088c813ff6874d54482a161df8f'), "FOO%26%23x0087%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A1ZOO%22"],"67d19edb1f6ecbbb6ccb90df2345e52e5c58efc3":[async_test('html5lib_entities01.html 67d19edb1f6ecbbb6ccb90df2345e52e5c58efc3'), "FOO%26%23x0088%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%CB%86ZOO%22"],"dded422b7406c966c944555f220d7d3dfcf2a143":[async_test('html5lib_entities01.html dded422b7406c966c944555f220d7d3dfcf2a143'), "FOO%26%23x0089%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%B0ZOO%22"],"60a76c9e10e4ac53f836f9e45eb0518dd0b7b73b":[async_test('html5lib_entities01.html 60a76c9e10e4ac53f836f9e45eb0518dd0b7b73b'), "FOO%26%23x008A%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%A0ZOO%22"],"b47fcc6a614247319908b00935f10ec134399917":[async_test('html5lib_entities01.html b47fcc6a614247319908b00935f10ec134399917'), "FOO%26%23x008B%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%B9ZOO%22"],"3b5c7d0331ae900e1179eaf3545c78d147434fbf":[async_test('html5lib_entities01.html 3b5c7d0331ae900e1179eaf3545c78d147434fbf'), "FOO%26%23x008C%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%92ZOO%22"],"a0f119508046dbb4f8059232f6e99f66c1e8e7a6":[async_test('html5lib_entities01.html a0f119508046dbb4f8059232f6e99f66c1e8e7a6'), "FOO%26%23x008D%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%8DZOO%22"],"daab384be8471edeb755353c5dccaad0c415dac5":[async_test('html5lib_entities01.html daab384be8471edeb755353c5dccaad0c415dac5'), "FOO%26%23x008E%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%BDZOO%22"],"8485e4d103a517615f39c0d0b71fe5065c5437db":[async_test('html5lib_entities01.html 8485e4d103a517615f39c0d0b71fe5065c5437db'), "FOO%26%23x008F%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%8FZOO%22"],"4c28749faddb096d1f04792b7daf039268c43181":[async_test('html5lib_entities01.html 4c28749faddb096d1f04792b7daf039268c43181'), "FOO%26%23x0090%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%90ZOO%22"],"c84c576954c4c493528eaa34233c926653152be5":[async_test('html5lib_entities01.html c84c576954c4c493528eaa34233c926653152be5'), "FOO%26%23x0091%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%98ZOO%22"],"b2797e18c499df32296545225c259dbf4bea2908":[async_test('html5lib_entities01.html b2797e18c499df32296545225c259dbf4bea2908'), "FOO%26%23x0092%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%99ZOO%22"],"5b2dfe6f187413faecd91336bd353c05768ea722":[async_test('html5lib_entities01.html 5b2dfe6f187413faecd91336bd353c05768ea722'), "FOO%26%23x0093%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9CZOO%22"],"34af7be5bcff18ec869a306b19daea70f61f7088":[async_test('html5lib_entities01.html 34af7be5bcff18ec869a306b19daea70f61f7088'), "FOO%26%23x0094%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%9DZOO%22"],"8f2e74688427858fc1a895fc472d074a0528a7ae":[async_test('html5lib_entities01.html 8f2e74688427858fc1a895fc472d074a0528a7ae'), "FOO%26%23x0095%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%A2ZOO%22"],"530d6251a43d688e69959237e519812585de8266":[async_test('html5lib_entities01.html 530d6251a43d688e69959237e519812585de8266'), "FOO%26%23x0096%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%93ZOO%22"],"bced9b8c339d0d2838ea0fffe9a64027b4f3a877":[async_test('html5lib_entities01.html bced9b8c339d0d2838ea0fffe9a64027b4f3a877'), "FOO%26%23x0097%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%94ZOO%22"],"9c9e8079df25999c606bc84f46b348544a23b9b4":[async_test('html5lib_entities01.html 9c9e8079df25999c606bc84f46b348544a23b9b4'), "FOO%26%23x0098%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%CB%9CZOO%22"],"ec61d22b3bc6f93e54bbff964311bba9a3a06b21":[async_test('html5lib_entities01.html ec61d22b3bc6f93e54bbff964311bba9a3a06b21'), "FOO%26%23x0099%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%84%A2ZOO%22"],"391f0136aebdd0e874c8eb85651ffda7e9f86f24":[async_test('html5lib_entities01.html 391f0136aebdd0e874c8eb85651ffda7e9f86f24'), "FOO%26%23x009A%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%A1ZOO%22"],"e2974e7029b008539aacc1ee885705764f8c53f4":[async_test('html5lib_entities01.html e2974e7029b008539aacc1ee885705764f8c53f4'), "FOO%26%23x009B%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%E2%80%BAZOO%22"],"23e105ca5329cc0338a96fe7e088ba9b319c46d1":[async_test('html5lib_entities01.html 23e105ca5329cc0338a96fe7e088ba9b319c46d1'), "FOO%26%23x009C%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%93ZOO%22"],"87af28752724c400edef3970e52440639be5b1a8":[async_test('html5lib_entities01.html 87af28752724c400edef3970e52440639be5b1a8'), "FOO%26%23x009D%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%9DZOO%22"],"f50d9e39e2bda3d8c0b1c69d1f1e4e86c4b39ac3":[async_test('html5lib_entities01.html f50d9e39e2bda3d8c0b1c69d1f1e4e86c4b39ac3'), "FOO%26%23x009E%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%BEZOO%22"],"12827fadb8d36b829e9c2c7315e0848d2d7ef278":[async_test('html5lib_entities01.html 12827fadb8d36b829e9c2c7315e0848d2d7ef278'), "FOO%26%23x009F%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C5%B8ZOO%22"],"f603997321070e6ccada6fefe4240a9e6c7e870a":[async_test('html5lib_entities01.html f603997321070e6ccada6fefe4240a9e6c7e870a'), "FOO%26%23x00A0%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%C2%A0ZOO%22"],"a88e381bf36e74aaa8ac5b0877153b7158bae579":[async_test('html5lib_entities01.html a88e381bf36e74aaa8ac5b0877153b7158bae579'), "FOO%26%23xD7FF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%ED%9F%BFZOO%22"],"11019fa64a25748a5bfb864fc200ec2710b54aa3":[async_test('html5lib_entities01.html 11019fa64a25748a5bfb864fc200ec2710b54aa3'), "FOO%26%23xD800%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"3d238b9146102bd11e898ff4913f86e8ded65be4":[async_test('html5lib_entities01.html 3d238b9146102bd11e898ff4913f86e8ded65be4'), "FOO%26%23xD801%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"a1375bfde7be56e514471700e030b1c7e7090e2f":[async_test('html5lib_entities01.html a1375bfde7be56e514471700e030b1c7e7090e2f'), "FOO%26%23xDFFE%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"7936b73efa385d183e93453bea24fd0c4dff4742":[async_test('html5lib_entities01.html 7936b73efa385d183e93453bea24fd0c4dff4742'), "FOO%26%23xDFFF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"41cdf6978b0c48e7044d5e4534fc8bb08de4cdf2":[async_test('html5lib_entities01.html 41cdf6978b0c48e7044d5e4534fc8bb08de4cdf2'), "FOO%26%23xE000%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EE%80%80ZOO%22"],"5138f572a4db2e2edc2d723e1bb87af72ab501f4":[async_test('html5lib_entities01.html 5138f572a4db2e2edc2d723e1bb87af72ab501f4'), "FOO%26%23x10FFFE%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%F4%8F%BF%BEZOO%22"],"f30757617b6df330deba1cb607e8d47f71bda13f":[async_test('html5lib_entities01.html f30757617b6df330deba1cb607e8d47f71bda13f'), "FOO%26%23x1087D4%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%F4%88%9F%94ZOO%22"],"a6fd8cdca1fa8cf07519d9a0c5b779eafa438b70":[async_test('html5lib_entities01.html a6fd8cdca1fa8cf07519d9a0c5b779eafa438b70'), "FOO%26%23x10FFFF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%F4%8F%BF%BFZOO%22"],"ada342466887e85d89c3b815b127bfced036ac76":[async_test('html5lib_entities01.html ada342466887e85d89c3b815b127bfced036ac76'), "FOO%26%23x110000%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"74bd99a9263f0b8e8a5fac4d2684fe37d5a1a9cc":[async_test('html5lib_entities01.html 74bd99a9263f0b8e8a5fac4d2684fe37d5a1a9cc'), "FOO%26%23xFFFFFF%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"bffe7b00046407080251ab6bf58cb97ce2a34893":[async_test('html5lib_entities01.html bffe7b00046407080251ab6bf58cb97ce2a34893'), "FOO%26%2311111111111", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BD%22"],"5aef37f1f2b9ac45adfade044c882eb09a297569":[async_test('html5lib_entities01.html 5aef37f1f2b9ac45adfade044c882eb09a297569'), "FOO%26%231111111111", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BD%22"],"6e2d817539fb3b2023c7bcb88ad220c136f70cf0":[async_test('html5lib_entities01.html 6e2d817539fb3b2023c7bcb88ad220c136f70cf0'), "FOO%26%23111111111111", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BD%22"],"d4ac52727ff405f61a1d878a0aa1951ae5264c80":[async_test('html5lib_entities01.html d4ac52727ff405f61a1d878a0aa1951ae5264c80'), "FOO%26%2311111111111ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"d2584faaa4dda5283955b2dc22812a018d04a72d":[async_test('html5lib_entities01.html d2584faaa4dda5283955b2dc22812a018d04a72d'), "FOO%26%231111111111ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],"56dc3e612fbfa06cfeb26957e357defcf73aa220":[async_test('html5lib_entities01.html 56dc3e612fbfa06cfeb26957e357defcf73aa220'), "FOO%26%23111111111111ZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%EF%BF%BDZOO%22"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_menuitem-element-expected.txt

    r231717 r264117  
    55PASS html5lib_menuitem-element.html 9c975c544402eed521499270b0e97cfa78f155b0
    66PASS html5lib_menuitem-element.html d46fa11c0107d59c84778beae84f388f55bffc31
    7 FAIL html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f assert_equals: expected "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>\n|     <menuitem>\n|       \"A\"\n|     <menuitem>\n|       \"B\"" but got "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>\n|     <menuitem>\n|       \"A\"\n|       <menuitem>\n|         \"B\""
    8 FAIL html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed assert_equals: expected "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>\n|     <menuitem>\n|       \"A\"\n|     <menu>\n|       \"B\"" but got "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>\n|     <menuitem>\n|       \"A\"\n|       <menu>\n|         \"B\""
    9 FAIL html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845 assert_equals: expected "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>\n|     <menuitem>\n|       \"A\"\n|     <hr>\n|     \"B\"" but got "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>\n|     <menuitem>\n|       \"A\"\n|       <hr>\n|       \"B\""
     7PASS html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f
     8PASS html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed
     9PASS html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845
    1010PASS html5lib_menuitem-element.html 7a9fa28f6207f045ebb0aa49938debd0c1e7123e
    1111PASS html5lib_menuitem-element.html 798bb352d9f256153340661e1277e44674f1026d
     
    2222PASS html5lib_menuitem-element.html 6d596b9e342db2306365fbdfb7615377c5b26347
    2323PASS html5lib_menuitem-element.html 4b712b488be9ee047c139c1b0cd955bae990b8e5
    24 afcd3b1e3317ac609ddab924d836ba1e3873b80f
    2524
    26 Input
    27 
    28 <!DOCTYPE html><body><menuitem>A<menuitem>B
    29 Expected
    30 
    31 #document
    32 | <!DOCTYPE html>
    33 | <html>
    34 |   <head>
    35 |   <body>
    36 |     <menuitem>
    37 |       "A"
    38 |     <menuitem>
    39 |       "B"
    40 Actual
    41 
    42 #document
    43 | <!DOCTYPE html>
    44 | <html>
    45 |   <head>
    46 |   <body>
    47 |     <menuitem>
    48 |       "A"
    49 |       <menuitem>
    50 |         "B"
    51 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed
    52 
    53 Input
    54 
    55 <!DOCTYPE html><body><menuitem>A<menu>B</menu>
    56 Expected
    57 
    58 #document
    59 | <!DOCTYPE html>
    60 | <html>
    61 |   <head>
    62 |   <body>
    63 |     <menuitem>
    64 |       "A"
    65 |     <menu>
    66 |       "B"
    67 Actual
    68 
    69 #document
    70 | <!DOCTYPE html>
    71 | <html>
    72 |   <head>
    73 |   <body>
    74 |     <menuitem>
    75 |       "A"
    76 |       <menu>
    77 |         "B"
    78 e2772fe779cbcefb4458f169a0cd495cf7115845
    79 
    80 Input
    81 
    82 <!DOCTYPE html><body><menuitem>A<hr>B
    83 Expected
    84 
    85 #document
    86 | <!DOCTYPE html>
    87 | <html>
    88 |   <head>
    89 |   <body>
    90 |     <menuitem>
    91 |       "A"
    92 |     <hr>
    93 |     "B"
    94 Actual
    95 
    96 #document
    97 | <!DOCTYPE html>
    98 | <html>
    99 |   <head>
    100 |   <body>
    101 |     <menuitem>
    102 |       "A"
    103 |       <hr>
    104 |       "B"
    105 
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_menuitem-element.html

    r210823 r264117  
    2121      var order = ['e61b5db0435eb768ec21c1aa7355c649e7969c17','9c975c544402eed521499270b0e97cfa78f155b0','d46fa11c0107d59c84778beae84f388f55bffc31','afcd3b1e3317ac609ddab924d836ba1e3873b80f','95c0c6923fe609297c1592f2cb82bb9f2d0f5aed','e2772fe779cbcefb4458f169a0cd495cf7115845','7a9fa28f6207f045ebb0aa49938debd0c1e7123e','798bb352d9f256153340661e1277e44674f1026d','f2b5a63d94f108207a7a998216222dc24bea4850','778c027d06495eb361dd83baa561feb3a21ec3ea','e4670bee2ce790e82c26a33319b7fe082fbbdaea','79307be24287ca5d0533dfa81b91dd826f5f5e0e','9b995cb730b12529e8e755e4a0b0a2e73d1dfcfa','d4586cd7706bbb3a5b127c52c1f2861d1a3fb781','e2adbd7bf4c7480343cfb8f69289c824be613853','b56d35c73f38f04ad6fdf51aa88f4b70a93ddc48','0f95585196dae2b1b5164e8c27897699c464c35f','03664aa93a55daceccc26d99c0aef841d8862af5','6d596b9e342db2306365fbdfb7615377c5b26347','4b712b488be9ee047c139c1b0cd955bae990b8e5',];
    2222      var tests = {
    23           "e61b5db0435eb768ec21c1aa7355c649e7969c17":[async_test('html5lib_menuitem-element.html e61b5db0435eb768ec21c1aa7355c649e7969c17'), "%3Cmenuitem%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E"],"9c975c544402eed521499270b0e97cfa78f155b0":[async_test('html5lib_menuitem-element.html 9c975c544402eed521499270b0e97cfa78f155b0'), "%3C/menuitem%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"d46fa11c0107d59c84778beae84f388f55bffc31":[async_test('html5lib_menuitem-element.html d46fa11c0107d59c84778beae84f388f55bffc31'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"afcd3b1e3317ac609ddab924d836ba1e3873b80f":[async_test('html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA%3Cmenuitem%3EB", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22B%22"],"95c0c6923fe609297c1592f2cb82bb9f2d0f5aed":[async_test('html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA%3Cmenu%3EB%3C/menu%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3Cmenu%3E%0A%7C%20%20%20%20%20%20%20%22B%22"],"e2772fe779cbcefb4458f169a0cd495cf7115845":[async_test('html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA%3Chr%3EB", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3Chr%3E%0A%7C%20%20%20%20%20%22B%22"],"7a9fa28f6207f045ebb0aa49938debd0c1e7123e":[async_test('html5lib_menuitem-element.html 7a9fa28f6207f045ebb0aa49938debd0c1e7123e'), "%3C%21DOCTYPE%20html%3E%3Cli%3E%3Cmenuitem%3E%3Cli%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%3Cli%3E"],"798bb352d9f256153340661e1277e44674f1026d":[async_test('html5lib_menuitem-element.html 798bb352d9f256153340661e1277e44674f1026d'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Cp%3E%3C/menuitem%3Ex", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%20%20%22x%22"],"f2b5a63d94f108207a7a998216222dc24bea4850":[async_test('html5lib_menuitem-element.html f2b5a63d94f108207a7a998216222dc24bea4850'), "%3C%21DOCTYPE%20html%3E%3Cp%3E%3Cb%3E%3C/p%3E%3Cmenuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E"],"778c027d06495eb361dd83baa561feb3a21ec3ea":[async_test('html5lib_menuitem-element.html 778c027d06495eb361dd83baa561feb3a21ec3ea'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Casdf%3E%3C/menuitem%3Ex", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Casdf%3E%0A%7C%20%20%20%20%20%22x%22"],"e4670bee2ce790e82c26a33319b7fe082fbbdaea":[async_test('html5lib_menuitem-element.html e4670bee2ce790e82c26a33319b7fe082fbbdaea'), "%3C%21DOCTYPE%20html%3E%3C/menuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"79307be24287ca5d0533dfa81b91dd826f5f5e0e":[async_test('html5lib_menuitem-element.html 79307be24287ca5d0533dfa81b91dd826f5f5e0e'), "%3C%21DOCTYPE%20html%3E%3Chtml%3E%3C/menuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"9b995cb730b12529e8e755e4a0b0a2e73d1dfcfa":[async_test('html5lib_menuitem-element.html 9b995cb730b12529e8e755e4a0b0a2e73d1dfcfa'), "%3C%21DOCTYPE%20html%3E%3Chead%3E%3C/menuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"d4586cd7706bbb3a5b127c52c1f2861d1a3fb781":[async_test('html5lib_menuitem-element.html d4586cd7706bbb3a5b127c52c1f2861d1a3fb781'), "%3C%21DOCTYPE%20html%3E%3Cselect%3E%3Cmenuitem%3E%3C/select%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E"],"e2adbd7bf4c7480343cfb8f69289c824be613853":[async_test('html5lib_menuitem-element.html e2adbd7bf4c7480343cfb8f69289c824be613853'), "%3C%21DOCTYPE%20html%3E%3Coption%3E%3Cmenuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E"],"b56d35c73f38f04ad6fdf51aa88f4b70a93ddc48":[async_test('html5lib_menuitem-element.html b56d35c73f38f04ad6fdf51aa88f4b70a93ddc48'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Coption%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Coption%3E"],"0f95585196dae2b1b5164e8c27897699c464c35f":[async_test('html5lib_menuitem-element.html 0f95585196dae2b1b5164e8c27897699c464c35f'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3C/body%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E"],"03664aa93a55daceccc26d99c0aef841d8862af5":[async_test('html5lib_menuitem-element.html 03664aa93a55daceccc26d99c0aef841d8862af5'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3C/html%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E"],"6d596b9e342db2306365fbdfb7615377c5b26347":[async_test('html5lib_menuitem-element.html 6d596b9e342db2306365fbdfb7615377c5b26347'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Cp%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E"],"4b712b488be9ee047c139c1b0cd955bae990b8e5":[async_test('html5lib_menuitem-element.html 4b712b488be9ee047c139c1b0cd955bae990b8e5'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Cli%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E"],
     23          "e61b5db0435eb768ec21c1aa7355c649e7969c17":[async_test('html5lib_menuitem-element.html e61b5db0435eb768ec21c1aa7355c649e7969c17'), "%3Cmenuitem%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E"],"9c975c544402eed521499270b0e97cfa78f155b0":[async_test('html5lib_menuitem-element.html 9c975c544402eed521499270b0e97cfa78f155b0'), "%3C/menuitem%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"d46fa11c0107d59c84778beae84f388f55bffc31":[async_test('html5lib_menuitem-element.html d46fa11c0107d59c84778beae84f388f55bffc31'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"afcd3b1e3317ac609ddab924d836ba1e3873b80f":[async_test('html5lib_menuitem-element.html afcd3b1e3317ac609ddab924d836ba1e3873b80f'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA%3Cmenuitem%3EB", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%20%20%22B%22"],"95c0c6923fe609297c1592f2cb82bb9f2d0f5aed":[async_test('html5lib_menuitem-element.html 95c0c6923fe609297c1592f2cb82bb9f2d0f5aed'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA%3Cmenu%3EB%3C/menu%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%20%20%3Cmenu%3E%0A%7C%20%20%20%20%20%20%20%20%20%22B%22"],"e2772fe779cbcefb4458f169a0cd495cf7115845":[async_test('html5lib_menuitem-element.html e2772fe779cbcefb4458f169a0cd495cf7115845'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmenuitem%3EA%3Chr%3EB", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%20%20%3Chr%3E%0A%7C%20%20%20%20%20%20%20%22B%22"],"7a9fa28f6207f045ebb0aa49938debd0c1e7123e":[async_test('html5lib_menuitem-element.html 7a9fa28f6207f045ebb0aa49938debd0c1e7123e'), "%3C%21DOCTYPE%20html%3E%3Cli%3E%3Cmenuitem%3E%3Cli%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%3Cli%3E"],"798bb352d9f256153340661e1277e44674f1026d":[async_test('html5lib_menuitem-element.html 798bb352d9f256153340661e1277e44674f1026d'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Cp%3E%3C/menuitem%3Ex", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%20%20%22x%22"],"f2b5a63d94f108207a7a998216222dc24bea4850":[async_test('html5lib_menuitem-element.html f2b5a63d94f108207a7a998216222dc24bea4850'), "%3C%21DOCTYPE%20html%3E%3Cp%3E%3Cb%3E%3C/p%3E%3Cmenuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E"],"778c027d06495eb361dd83baa561feb3a21ec3ea":[async_test('html5lib_menuitem-element.html 778c027d06495eb361dd83baa561feb3a21ec3ea'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Casdf%3E%3C/menuitem%3Ex", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Casdf%3E%0A%7C%20%20%20%20%20%22x%22"],"e4670bee2ce790e82c26a33319b7fe082fbbdaea":[async_test('html5lib_menuitem-element.html e4670bee2ce790e82c26a33319b7fe082fbbdaea'), "%3C%21DOCTYPE%20html%3E%3C/menuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"79307be24287ca5d0533dfa81b91dd826f5f5e0e":[async_test('html5lib_menuitem-element.html 79307be24287ca5d0533dfa81b91dd826f5f5e0e'), "%3C%21DOCTYPE%20html%3E%3Chtml%3E%3C/menuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"9b995cb730b12529e8e755e4a0b0a2e73d1dfcfa":[async_test('html5lib_menuitem-element.html 9b995cb730b12529e8e755e4a0b0a2e73d1dfcfa'), "%3C%21DOCTYPE%20html%3E%3Chead%3E%3C/menuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"d4586cd7706bbb3a5b127c52c1f2861d1a3fb781":[async_test('html5lib_menuitem-element.html d4586cd7706bbb3a5b127c52c1f2861d1a3fb781'), "%3C%21DOCTYPE%20html%3E%3Cselect%3E%3Cmenuitem%3E%3C/select%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E"],"e2adbd7bf4c7480343cfb8f69289c824be613853":[async_test('html5lib_menuitem-element.html e2adbd7bf4c7480343cfb8f69289c824be613853'), "%3C%21DOCTYPE%20html%3E%3Coption%3E%3Cmenuitem%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%3Cmenuitem%3E"],"b56d35c73f38f04ad6fdf51aa88f4b70a93ddc48":[async_test('html5lib_menuitem-element.html b56d35c73f38f04ad6fdf51aa88f4b70a93ddc48'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Coption%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Coption%3E"],"0f95585196dae2b1b5164e8c27897699c464c35f":[async_test('html5lib_menuitem-element.html 0f95585196dae2b1b5164e8c27897699c464c35f'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3C/body%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E"],"03664aa93a55daceccc26d99c0aef841d8862af5":[async_test('html5lib_menuitem-element.html 03664aa93a55daceccc26d99c0aef841d8862af5'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3C/html%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E"],"6d596b9e342db2306365fbdfb7615377c5b26347":[async_test('html5lib_menuitem-element.html 6d596b9e342db2306365fbdfb7615377c5b26347'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Cp%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E"],"4b712b488be9ee047c139c1b0cd955bae990b8e5":[async_test('html5lib_menuitem-element.html 4b712b488be9ee047c139c1b0cd955bae990b8e5'), "%3C%21DOCTYPE%20html%3E%3Cmenuitem%3E%3Cli%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmenuitem%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_plain-text-unsafe-expected.txt

    r206201 r264117  
    77PASS html5lib_plain-text-unsafe.html 5dfa36c8a466dd245e7977924936f4940df65e53
    88PASS html5lib_plain-text-unsafe.html e057c57a5f32e5e341d70b0a6581bdad39b84ac5
    9 PASS html5lib_plain-text-unsafe.html dee24cacc42c7d0cdacab20abbcf128d8ac423bb
     9PASS html5lib_plain-text-unsafe.html 24bcb6928bd42daaf1f3688caf93bb399d159bfc
    1010PASS html5lib_plain-text-unsafe.html 24ed904940ecdad39c61706e709ffed5ee804514
    1111PASS html5lib_plain-text-unsafe.html 0829c314a34a62cd1caf52ddc4100050bf32aef3
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_plain-text-unsafe.html

    r206201 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['7e4ca4cb5e73852744a876bf8652dd2c8998d94a','e552342bdd3ac62316bd91126556512683f3d4a9','9112cef60139e6988b66334e522777329051442a','5dfa36c8a466dd245e7977924936f4940df65e53','e057c57a5f32e5e341d70b0a6581bdad39b84ac5','dee24cacc42c7d0cdacab20abbcf128d8ac423bb','24ed904940ecdad39c61706e709ffed5ee804514','0829c314a34a62cd1caf52ddc4100050bf32aef3','024ba847361612e5e87bce271d0497eeee07f87f','ec721aae75752c688fa48ad4b251d3a5a394dc8f','1e262b6f330b0870e854458f11b2280c72c8bd16','29f42d8bf04aea6ab4c051bd77da7e79173cf159','1d65ea8967bdc24e89d6548320b7fb9e2ad2c915','f1c51609a504e4ab4f7ae4d61fb6175619974b0d','692122e8d2a27e37cb585c827fb33e22e31c018e','a4537cad9c2386108157889b3bf6ddd414f0366d','252ca95f75b077320bc167cb117a05edfcbd7d0e','dde4bba02ef4e37d010e552111bc668d9660a076','41b9352a4d99b4fd545551fe260754b3137ad148','4b9e317cba617324fea77a4e525602b3ad2717ef','a1e08cb99d89381a1c997fcd60bad23c029c4500','26d850208425cc885d4d0143909cf341f61fa1f1','68f0365c01dc386c706edd2b18672f9d85caaa2e','e415a2e7cf090e2c308af905d52c5f8163ae52ce','822702de65b80ec8e79da19335ab9d6a49f6ec6a','ee8b017ab043ff51b593787961626acb4c6488cd','304960c795639128844445166238350682ba0516','275bb0b518ec00b1e64a28cb9088989371fca9d9','068ac565b7c7bdad572f26dafb4580483cdbc6f7','f5ff59e9765a468913e14a6a9612edb2cd4f30f0','9ff76ac49f95ab0e22278fd07ed4dfee50519286','6a9486cce6ebcb83329c17ebcf3c9b6fe8bb8096','6f2f3f4f91f5484170a6dc8cc6165ce0ce498bff',];
     21      var order = ['7e4ca4cb5e73852744a876bf8652dd2c8998d94a','e552342bdd3ac62316bd91126556512683f3d4a9','9112cef60139e6988b66334e522777329051442a','5dfa36c8a466dd245e7977924936f4940df65e53','e057c57a5f32e5e341d70b0a6581bdad39b84ac5','24bcb6928bd42daaf1f3688caf93bb399d159bfc','24ed904940ecdad39c61706e709ffed5ee804514','0829c314a34a62cd1caf52ddc4100050bf32aef3','024ba847361612e5e87bce271d0497eeee07f87f','ec721aae75752c688fa48ad4b251d3a5a394dc8f','1e262b6f330b0870e854458f11b2280c72c8bd16','29f42d8bf04aea6ab4c051bd77da7e79173cf159','1d65ea8967bdc24e89d6548320b7fb9e2ad2c915','f1c51609a504e4ab4f7ae4d61fb6175619974b0d','692122e8d2a27e37cb585c827fb33e22e31c018e','a4537cad9c2386108157889b3bf6ddd414f0366d','252ca95f75b077320bc167cb117a05edfcbd7d0e','dde4bba02ef4e37d010e552111bc668d9660a076','41b9352a4d99b4fd545551fe260754b3137ad148','4b9e317cba617324fea77a4e525602b3ad2717ef','a1e08cb99d89381a1c997fcd60bad23c029c4500','26d850208425cc885d4d0143909cf341f61fa1f1','68f0365c01dc386c706edd2b18672f9d85caaa2e','e415a2e7cf090e2c308af905d52c5f8163ae52ce','822702de65b80ec8e79da19335ab9d6a49f6ec6a','ee8b017ab043ff51b593787961626acb4c6488cd','304960c795639128844445166238350682ba0516','275bb0b518ec00b1e64a28cb9088989371fca9d9','068ac565b7c7bdad572f26dafb4580483cdbc6f7','f5ff59e9765a468913e14a6a9612edb2cd4f30f0','9ff76ac49f95ab0e22278fd07ed4dfee50519286','6a9486cce6ebcb83329c17ebcf3c9b6fe8bb8096','6f2f3f4f91f5484170a6dc8cc6165ce0ce498bff',];
    2222      var tests = {
    23           "7e4ca4cb5e73852744a876bf8652dd2c8998d94a":[async_test('html5lib_plain-text-unsafe.html 7e4ca4cb5e73852744a876bf8652dd2c8998d94a'), "FOO%26%23x000D%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%0DZOO%22"],"e552342bdd3ac62316bd91126556512683f3d4a9":[async_test('html5lib_plain-text-unsafe.html e552342bdd3ac62316bd91126556512683f3d4a9'), "%3Chtml%3E%00%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"9112cef60139e6988b66334e522777329051442a":[async_test('html5lib_plain-text-unsafe.html 9112cef60139e6988b66334e522777329051442a'), "%3Chtml%3E%20%00%20%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"5dfa36c8a466dd245e7977924936f4940df65e53":[async_test('html5lib_plain-text-unsafe.html 5dfa36c8a466dd245e7977924936f4940df65e53'), "%3Chtml%3Ea%00a%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22aa%22"],"e057c57a5f32e5e341d70b0a6581bdad39b84ac5":[async_test('html5lib_plain-text-unsafe.html e057c57a5f32e5e341d70b0a6581bdad39b84ac5'), "%3Chtml%3E%00%00%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"dee24cacc42c7d0cdacab20abbcf128d8ac423bb":[async_test('html5lib_plain-text-unsafe.html dee24cacc42c7d0cdacab20abbcf128d8ac423bb'), "%3Chtml%3E%00%0A%20%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"24ed904940ecdad39c61706e709ffed5ee804514":[async_test('html5lib_plain-text-unsafe.html 24ed904940ecdad39c61706e709ffed5ee804514'), "%3Chtml%3E%3Cselect%3E%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E"],"0829c314a34a62cd1caf52ddc4100050bf32aef3":[async_test('html5lib_plain-text-unsafe.html 0829c314a34a62cd1caf52ddc4100050bf32aef3'), "%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"024ba847361612e5e87bce271d0497eeee07f87f":[async_test('html5lib_plain-text-unsafe.html 024ba847361612e5e87bce271d0497eeee07f87f'), "%3Cbody%3E%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"ec721aae75752c688fa48ad4b251d3a5a394dc8f":[async_test('html5lib_plain-text-unsafe.html ec721aae75752c688fa48ad4b251d3a5a394dc8f'), "%3Cplaintext%3E%00filler%00text%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDfiller%EF%BF%BDtext%EF%BF%BD%22"],"1e262b6f330b0870e854458f11b2280c72c8bd16":[async_test('html5lib_plain-text-unsafe.html 1e262b6f330b0870e854458f11b2280c72c8bd16'), "%3Csvg%3E%3C%21%5BCDATA%5B%00filler%00text%00%5D%5D%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDfiller%EF%BF%BDtext%EF%BF%BD%22"],"29f42d8bf04aea6ab4c051bd77da7e79173cf159":[async_test('html5lib_plain-text-unsafe.html 29f42d8bf04aea6ab4c051bd77da7e79173cf159'), "%3Cbody%3E%3C%21%00%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3C%21--%20%EF%BF%BD%20--%3E"],"1d65ea8967bdc24e89d6548320b7fb9e2ad2c915":[async_test('html5lib_plain-text-unsafe.html 1d65ea8967bdc24e89d6548320b7fb9e2ad2c915'), "%3Cbody%3E%3C%21%00filler%00text%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3C%21--%20%EF%BF%BDfiller%EF%BF%BDtext%20--%3E"],"f1c51609a504e4ab4f7ae4d61fb6175619974b0d":[async_test('html5lib_plain-text-unsafe.html f1c51609a504e4ab4f7ae4d61fb6175619974b0d'), "%3Cbody%3E%3Csvg%3E%3CforeignObject%3E%00filler%00text", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20foreignObject%3E%0A%7C%20%20%20%20%20%20%20%20%20%22fillertext%22"],"692122e8d2a27e37cb585c827fb33e22e31c018e":[async_test('html5lib_plain-text-unsafe.html 692122e8d2a27e37cb585c827fb33e22e31c018e'), "%3Csvg%3E%00filler%00text", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDfiller%EF%BF%BDtext%22"],"a4537cad9c2386108157889b3bf6ddd414f0366d":[async_test('html5lib_plain-text-unsafe.html a4537cad9c2386108157889b3bf6ddd414f0366d'), "%3Csvg%3E%00%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BD%22%0A%7C%20%20%20%20%20%20%20%3Csvg%20frameset%3E"],"252ca95f75b077320bc167cb117a05edfcbd7d0e":[async_test('html5lib_plain-text-unsafe.html 252ca95f75b077320bc167cb117a05edfcbd7d0e'), "%3Csvg%3E%00%20%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BD%20%22%0A%7C%20%20%20%20%20%20%20%3Csvg%20frameset%3E"],"dde4bba02ef4e37d010e552111bc668d9660a076":[async_test('html5lib_plain-text-unsafe.html dde4bba02ef4e37d010e552111bc668d9660a076'), "%3Csvg%3E%00a%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDa%22%0A%7C%20%20%20%20%20%20%20%3Csvg%20frameset%3E"],"41b9352a4d99b4fd545551fe260754b3137ad148":[async_test('html5lib_plain-text-unsafe.html 41b9352a4d99b4fd545551fe260754b3137ad148'), "%3Csvg%3E%00%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"4b9e317cba617324fea77a4e525602b3ad2717ef":[async_test('html5lib_plain-text-unsafe.html 4b9e317cba617324fea77a4e525602b3ad2717ef'), "%3Csvg%3E%00%20%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"a1e08cb99d89381a1c997fcd60bad23c029c4500":[async_test('html5lib_plain-text-unsafe.html a1e08cb99d89381a1c997fcd60bad23c029c4500'), "%3Csvg%3E%00a%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDa%22"],"26d850208425cc885d4d0143909cf341f61fa1f1":[async_test('html5lib_plain-text-unsafe.html 26d850208425cc885d4d0143909cf341f61fa1f1'), "%3Csvg%3E%3Cpath%3E%3C/path%3E%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"68f0365c01dc386c706edd2b18672f9d85caaa2e":[async_test('html5lib_plain-text-unsafe.html 68f0365c01dc386c706edd2b18672f9d85caaa2e'), "%3Csvg%3E%3Cp%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"e415a2e7cf090e2c308af905d52c5f8163ae52ce":[async_test('html5lib_plain-text-unsafe.html e415a2e7cf090e2c308af905d52c5f8163ae52ce'), "%3C%21DOCTYPE%20html%3E%3Cpre%3E%0D%0A%0D%0AA%3C/pre%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cpre%3E%0A%7C%20%20%20%20%20%20%20%22%0AA%22"],"822702de65b80ec8e79da19335ab9d6a49f6ec6a":[async_test('html5lib_plain-text-unsafe.html 822702de65b80ec8e79da19335ab9d6a49f6ec6a'), "%3C%21DOCTYPE%20html%3E%3Cpre%3E%0D%0DA%3C/pre%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cpre%3E%0A%7C%20%20%20%20%20%20%20%22%0AA%22"],"ee8b017ab043ff51b593787961626acb4c6488cd":[async_test('html5lib_plain-text-unsafe.html ee8b017ab043ff51b593787961626acb4c6488cd'), "%3C%21DOCTYPE%20html%3E%3Cpre%3E%0DA%3C/pre%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cpre%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"304960c795639128844445166238350682ba0516":[async_test('html5lib_plain-text-unsafe.html 304960c795639128844445166238350682ba0516'), "%3C%21DOCTYPE%20html%3E%3Ctable%3E%3Ctr%3E%3Ctd%3E%3Cmath%3E%3Cmtext%3E%00a", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmath%20mtext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22a%22"],"275bb0b518ec00b1e64a28cb9088989371fca9d9":[async_test('html5lib_plain-text-unsafe.html 275bb0b518ec00b1e64a28cb9088989371fca9d9'), "%3C%21DOCTYPE%20html%3E%3Ctable%3E%3Ctr%3E%3Ctd%3E%3Csvg%3E%3CforeignObject%3E%00a", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20foreignObject%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22a%22"],"068ac565b7c7bdad572f26dafb4580483cdbc6f7":[async_test('html5lib_plain-text-unsafe.html 068ac565b7c7bdad572f26dafb4580483cdbc6f7'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmi%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mi%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"f5ff59e9765a468913e14a6a9612edb2cd4f30f0":[async_test('html5lib_plain-text-unsafe.html f5ff59e9765a468913e14a6a9612edb2cd4f30f0'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmo%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mo%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"9ff76ac49f95ab0e22278fd07ed4dfee50519286":[async_test('html5lib_plain-text-unsafe.html 9ff76ac49f95ab0e22278fd07ed4dfee50519286'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmn%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mn%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"6a9486cce6ebcb83329c17ebcf3c9b6fe8bb8096":[async_test('html5lib_plain-text-unsafe.html 6a9486cce6ebcb83329c17ebcf3c9b6fe8bb8096'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cms%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20ms%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"6f2f3f4f91f5484170a6dc8cc6165ce0ce498bff":[async_test('html5lib_plain-text-unsafe.html 6f2f3f4f91f5484170a6dc8cc6165ce0ce498bff'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmtext%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mtext%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],
     23          "7e4ca4cb5e73852744a876bf8652dd2c8998d94a":[async_test('html5lib_plain-text-unsafe.html 7e4ca4cb5e73852744a876bf8652dd2c8998d94a'), "FOO%26%23x000D%3BZOO", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22FOO%0DZOO%22"],"e552342bdd3ac62316bd91126556512683f3d4a9":[async_test('html5lib_plain-text-unsafe.html e552342bdd3ac62316bd91126556512683f3d4a9'), "%3Chtml%3E%00%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"9112cef60139e6988b66334e522777329051442a":[async_test('html5lib_plain-text-unsafe.html 9112cef60139e6988b66334e522777329051442a'), "%3Chtml%3E%20%00%20%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"5dfa36c8a466dd245e7977924936f4940df65e53":[async_test('html5lib_plain-text-unsafe.html 5dfa36c8a466dd245e7977924936f4940df65e53'), "%3Chtml%3Ea%00a%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22aa%22"],"e057c57a5f32e5e341d70b0a6581bdad39b84ac5":[async_test('html5lib_plain-text-unsafe.html e057c57a5f32e5e341d70b0a6581bdad39b84ac5'), "%3Chtml%3E%00%00%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"24bcb6928bd42daaf1f3688caf93bb399d159bfc":[async_test('html5lib_plain-text-unsafe.html 24bcb6928bd42daaf1f3688caf93bb399d159bfc'), "%3Chtml%3E%00%0A%3Cframeset%3E%3C/frameset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"24ed904940ecdad39c61706e709ffed5ee804514":[async_test('html5lib_plain-text-unsafe.html 24ed904940ecdad39c61706e709ffed5ee804514'), "%3Chtml%3E%3Cselect%3E%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E"],"0829c314a34a62cd1caf52ddc4100050bf32aef3":[async_test('html5lib_plain-text-unsafe.html 0829c314a34a62cd1caf52ddc4100050bf32aef3'), "%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"024ba847361612e5e87bce271d0497eeee07f87f":[async_test('html5lib_plain-text-unsafe.html 024ba847361612e5e87bce271d0497eeee07f87f'), "%3Cbody%3E%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"ec721aae75752c688fa48ad4b251d3a5a394dc8f":[async_test('html5lib_plain-text-unsafe.html ec721aae75752c688fa48ad4b251d3a5a394dc8f'), "%3Cplaintext%3E%00filler%00text%00", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDfiller%EF%BF%BDtext%EF%BF%BD%22"],"1e262b6f330b0870e854458f11b2280c72c8bd16":[async_test('html5lib_plain-text-unsafe.html 1e262b6f330b0870e854458f11b2280c72c8bd16'), "%3Csvg%3E%3C%21%5BCDATA%5B%00filler%00text%00%5D%5D%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDfiller%EF%BF%BDtext%EF%BF%BD%22"],"29f42d8bf04aea6ab4c051bd77da7e79173cf159":[async_test('html5lib_plain-text-unsafe.html 29f42d8bf04aea6ab4c051bd77da7e79173cf159'), "%3Cbody%3E%3C%21%00%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3C%21--%20%EF%BF%BD%20--%3E"],"1d65ea8967bdc24e89d6548320b7fb9e2ad2c915":[async_test('html5lib_plain-text-unsafe.html 1d65ea8967bdc24e89d6548320b7fb9e2ad2c915'), "%3Cbody%3E%3C%21%00filler%00text%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3C%21--%20%EF%BF%BDfiller%EF%BF%BDtext%20--%3E"],"f1c51609a504e4ab4f7ae4d61fb6175619974b0d":[async_test('html5lib_plain-text-unsafe.html f1c51609a504e4ab4f7ae4d61fb6175619974b0d'), "%3Cbody%3E%3Csvg%3E%3CforeignObject%3E%00filler%00text", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20foreignObject%3E%0A%7C%20%20%20%20%20%20%20%20%20%22fillertext%22"],"692122e8d2a27e37cb585c827fb33e22e31c018e":[async_test('html5lib_plain-text-unsafe.html 692122e8d2a27e37cb585c827fb33e22e31c018e'), "%3Csvg%3E%00filler%00text", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDfiller%EF%BF%BDtext%22"],"a4537cad9c2386108157889b3bf6ddd414f0366d":[async_test('html5lib_plain-text-unsafe.html a4537cad9c2386108157889b3bf6ddd414f0366d'), "%3Csvg%3E%00%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BD%22%0A%7C%20%20%20%20%20%20%20%3Csvg%20frameset%3E"],"252ca95f75b077320bc167cb117a05edfcbd7d0e":[async_test('html5lib_plain-text-unsafe.html 252ca95f75b077320bc167cb117a05edfcbd7d0e'), "%3Csvg%3E%00%20%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BD%20%22%0A%7C%20%20%20%20%20%20%20%3Csvg%20frameset%3E"],"dde4bba02ef4e37d010e552111bc668d9660a076":[async_test('html5lib_plain-text-unsafe.html dde4bba02ef4e37d010e552111bc668d9660a076'), "%3Csvg%3E%00a%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDa%22%0A%7C%20%20%20%20%20%20%20%3Csvg%20frameset%3E"],"41b9352a4d99b4fd545551fe260754b3137ad148":[async_test('html5lib_plain-text-unsafe.html 41b9352a4d99b4fd545551fe260754b3137ad148'), "%3Csvg%3E%00%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"4b9e317cba617324fea77a4e525602b3ad2717ef":[async_test('html5lib_plain-text-unsafe.html 4b9e317cba617324fea77a4e525602b3ad2717ef'), "%3Csvg%3E%00%20%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"a1e08cb99d89381a1c997fcd60bad23c029c4500":[async_test('html5lib_plain-text-unsafe.html a1e08cb99d89381a1c997fcd60bad23c029c4500'), "%3Csvg%3E%00a%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%22%EF%BF%BDa%22"],"26d850208425cc885d4d0143909cf341f61fa1f1":[async_test('html5lib_plain-text-unsafe.html 26d850208425cc885d4d0143909cf341f61fa1f1'), "%3Csvg%3E%3Cpath%3E%3C/path%3E%3C/svg%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"68f0365c01dc386c706edd2b18672f9d85caaa2e":[async_test('html5lib_plain-text-unsafe.html 68f0365c01dc386c706edd2b18672f9d85caaa2e'), "%3Csvg%3E%3Cp%3E%3Cframeset%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"e415a2e7cf090e2c308af905d52c5f8163ae52ce":[async_test('html5lib_plain-text-unsafe.html e415a2e7cf090e2c308af905d52c5f8163ae52ce'), "%3C%21DOCTYPE%20html%3E%3Cpre%3E%0D%0A%0D%0AA%3C/pre%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cpre%3E%0A%7C%20%20%20%20%20%20%20%22%0AA%22"],"822702de65b80ec8e79da19335ab9d6a49f6ec6a":[async_test('html5lib_plain-text-unsafe.html 822702de65b80ec8e79da19335ab9d6a49f6ec6a'), "%3C%21DOCTYPE%20html%3E%3Cpre%3E%0D%0DA%3C/pre%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cpre%3E%0A%7C%20%20%20%20%20%20%20%22%0AA%22"],"ee8b017ab043ff51b593787961626acb4c6488cd":[async_test('html5lib_plain-text-unsafe.html ee8b017ab043ff51b593787961626acb4c6488cd'), "%3C%21DOCTYPE%20html%3E%3Cpre%3E%0DA%3C/pre%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cpre%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"304960c795639128844445166238350682ba0516":[async_test('html5lib_plain-text-unsafe.html 304960c795639128844445166238350682ba0516'), "%3C%21DOCTYPE%20html%3E%3Ctable%3E%3Ctr%3E%3Ctd%3E%3Cmath%3E%3Cmtext%3E%00a", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmath%20mtext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22a%22"],"275bb0b518ec00b1e64a28cb9088989371fca9d9":[async_test('html5lib_plain-text-unsafe.html 275bb0b518ec00b1e64a28cb9088989371fca9d9'), "%3C%21DOCTYPE%20html%3E%3Ctable%3E%3Ctr%3E%3Ctd%3E%3Csvg%3E%3CforeignObject%3E%00a", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20foreignObject%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22a%22"],"068ac565b7c7bdad572f26dafb4580483cdbc6f7":[async_test('html5lib_plain-text-unsafe.html 068ac565b7c7bdad572f26dafb4580483cdbc6f7'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmi%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mi%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"f5ff59e9765a468913e14a6a9612edb2cd4f30f0":[async_test('html5lib_plain-text-unsafe.html f5ff59e9765a468913e14a6a9612edb2cd4f30f0'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmo%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mo%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"9ff76ac49f95ab0e22278fd07ed4dfee50519286":[async_test('html5lib_plain-text-unsafe.html 9ff76ac49f95ab0e22278fd07ed4dfee50519286'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmn%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mn%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"6a9486cce6ebcb83329c17ebcf3c9b6fe8bb8096":[async_test('html5lib_plain-text-unsafe.html 6a9486cce6ebcb83329c17ebcf3c9b6fe8bb8096'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cms%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20ms%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],"6f2f3f4f91f5484170a6dc8cc6165ce0ce498bff":[async_test('html5lib_plain-text-unsafe.html 6f2f3f4f91f5484170a6dc8cc6165ce0ce498bff'), "%3C%21DOCTYPE%20html%3E%3Cmath%3E%3Cmtext%3Ea%00b", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mtext%3E%0A%7C%20%20%20%20%20%20%20%20%20%22ab%22"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests18-expected.txt

    r259900 r264117  
    66
    77
     8PASS html5lib_tests18.html 7471f6a45872ac6d70f69fc3f4e10b13c7c1ac45
    89PASS html5lib_tests18.html 0d0085749435e0d0ddb56c9db809bfcbbc995767
     10PASS html5lib_tests18.html 9052b915187ac505be8958ab5e9f8d4ca0bfde81
     11PASS html5lib_tests18.html 66191ae802c83e7319dd5c747f3a46dd157f5919
     12PASS html5lib_tests18.html 12cece9ece2085b8073d668ddd8ebe1ddb39962c
     13PASS html5lib_tests18.html bbbed0387a4534ef054a1f9fcf3c1cb15e12ab49
    914PASS html5lib_tests18.html 863c5dd5ef7e9279342de0f714383d3e47033e95
    1015PASS html5lib_tests18.html ddeaaff85a50ea415dee1c4ee6c43e98ea331953
     
    1217PASS html5lib_tests18.html df407b3f102bc2504539136b46afbb895763dc27
    1318PASS html5lib_tests18.html 9ac591f40aae947707f7d5e83947712bbeca9574
     19PASS html5lib_tests18.html d44cf9a5fcf0759fce78497c7f10e3019c361274
     20PASS html5lib_tests18.html e4eb33f77ae641718853d2cfddbdb2eece6b266b
     21PASS html5lib_tests18.html 53ce5b102579af9830bf561b634af681bbdb5dfd
     22PASS html5lib_tests18.html cd24d93d1235e4aabbdcfab1d3acdbe488325666
     23PASS html5lib_tests18.html abae66ad61e145e32fb4fc4946b839f56b16bb3d
     24PASS html5lib_tests18.html 9d38e0731d08aec061003c7783c70e682221378b
     25PASS html5lib_tests18.html 9df08923a41bf58c6291f9ce6d9e36a29d336bd6
     26PASS html5lib_tests18.html ecba80b891396c970db720681124a1cac2aea91f
     27PASS html5lib_tests18.html c70f0b382961e8449567414fd541cc2ee0695eb9
     28PASS html5lib_tests18.html bb5432233eeaeab374a545ad60bbd004c9d2c02b
     29PASS html5lib_tests18.html e3980c50b81e2673e9ffbd8cc12300e975bd9175
    1430PASS html5lib_tests18.html 4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf
    1531PASS html5lib_tests18.html 1e88e5946ba773f1202e8af27f2a17ef2658e3ee
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests18.html

    r206201 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['0d0085749435e0d0ddb56c9db809bfcbbc995767','863c5dd5ef7e9279342de0f714383d3e47033e95','ddeaaff85a50ea415dee1c4ee6c43e98ea331953','61eb7572a2490ac82423953eefe8fcef8dbc78ee','df407b3f102bc2504539136b46afbb895763dc27','9ac591f40aae947707f7d5e83947712bbeca9574','4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf','1e88e5946ba773f1202e8af27f2a17ef2658e3ee','17ec3aff2568b56687f00d6ee3aeb6625fdd8ecc','b22cb10082e7328708e1da334a12b015b90535a4','9bfd787aa3b30eb38ce7942696ccc01d991e8e52','41edb5b76ce7a4378daa093e59b1225af546864f','5c6c65bd01758ecb6eb539a979dfacf50ff93a78','76d96fecc3d88820bab5274089886d20bc164d74','28a8566daaae49c529298d0de8a26af1263ff625','13eb2279a1e58eb281541564ae945b87880ae7c2','3c7d4e068461b340966e07dff93d93503fcfa46c','d38ed6488066d3e0d4d74b29888c5d000c2f4808','43180045ad714b405e6fe110a27011f2644f16c2',];
     21      var order = ['7471f6a45872ac6d70f69fc3f4e10b13c7c1ac45','0d0085749435e0d0ddb56c9db809bfcbbc995767','9052b915187ac505be8958ab5e9f8d4ca0bfde81','66191ae802c83e7319dd5c747f3a46dd157f5919','12cece9ece2085b8073d668ddd8ebe1ddb39962c','bbbed0387a4534ef054a1f9fcf3c1cb15e12ab49','863c5dd5ef7e9279342de0f714383d3e47033e95','ddeaaff85a50ea415dee1c4ee6c43e98ea331953','61eb7572a2490ac82423953eefe8fcef8dbc78ee','df407b3f102bc2504539136b46afbb895763dc27','9ac591f40aae947707f7d5e83947712bbeca9574','d44cf9a5fcf0759fce78497c7f10e3019c361274','e4eb33f77ae641718853d2cfddbdb2eece6b266b','53ce5b102579af9830bf561b634af681bbdb5dfd','cd24d93d1235e4aabbdcfab1d3acdbe488325666','abae66ad61e145e32fb4fc4946b839f56b16bb3d','9d38e0731d08aec061003c7783c70e682221378b','9df08923a41bf58c6291f9ce6d9e36a29d336bd6','ecba80b891396c970db720681124a1cac2aea91f','c70f0b382961e8449567414fd541cc2ee0695eb9','bb5432233eeaeab374a545ad60bbd004c9d2c02b','e3980c50b81e2673e9ffbd8cc12300e975bd9175','4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf','1e88e5946ba773f1202e8af27f2a17ef2658e3ee','17ec3aff2568b56687f00d6ee3aeb6625fdd8ecc','b22cb10082e7328708e1da334a12b015b90535a4','9bfd787aa3b30eb38ce7942696ccc01d991e8e52','41edb5b76ce7a4378daa093e59b1225af546864f','5c6c65bd01758ecb6eb539a979dfacf50ff93a78','76d96fecc3d88820bab5274089886d20bc164d74','28a8566daaae49c529298d0de8a26af1263ff625','13eb2279a1e58eb281541564ae945b87880ae7c2','3c7d4e068461b340966e07dff93d93503fcfa46c','d38ed6488066d3e0d4d74b29888c5d000c2f4808','43180045ad714b405e6fe110a27011f2644f16c2',];
    2222      var tests = {
    23           "0d0085749435e0d0ddb56c9db809bfcbbc995767":[async_test('html5lib_tests18.html 0d0085749435e0d0ddb56c9db809bfcbbc995767'), "%3C%21doctype%20html%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"863c5dd5ef7e9279342de0f714383d3e47033e95":[async_test('html5lib_tests18.html 863c5dd5ef7e9279342de0f714383d3e47033e95'), "%3C%21doctype%20html%3E%3Ctable%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"ddeaaff85a50ea415dee1c4ee6c43e98ea331953":[async_test('html5lib_tests18.html ddeaaff85a50ea415dee1c4ee6c43e98ea331953'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctbody%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E"],"61eb7572a2490ac82423953eefe8fcef8dbc78ee":[async_test('html5lib_tests18.html 61eb7572a2490ac82423953eefe8fcef8dbc78ee'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctbody%3E%3Ctr%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E"],"df407b3f102bc2504539136b46afbb895763dc27":[async_test('html5lib_tests18.html df407b3f102bc2504539136b46afbb895763dc27'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctd%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"9ac591f40aae947707f7d5e83947712bbeca9574":[async_test('html5lib_tests18.html 9ac591f40aae947707f7d5e83947712bbeca9574'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ccaption%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ccaption%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf":[async_test('html5lib_tests18.html 4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3Cstyle%3E%3C/script%3E%3C/style%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/script%3E%22"],"1e88e5946ba773f1202e8af27f2a17ef2658e3ee":[async_test('html5lib_tests18.html 1e88e5946ba773f1202e8af27f2a17ef2658e3ee'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22"],"17ec3aff2568b56687f00d6ee3aeb6625fdd8ecc":[async_test('html5lib_tests18.html 17ec3aff2568b56687f00d6ee3aeb6625fdd8ecc'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ccaption%3E%3Cstyle%3E%3C/script%3E%3C/style%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ccaption%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22%3C/script%3E%22%0A%7C%20%20%20%20%20%20%20%20%20%22abc%22"],"b22cb10082e7328708e1da334a12b015b90535a4":[async_test('html5lib_tests18.html b22cb10082e7328708e1da334a12b015b90535a4'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctd%3E%3Cstyle%3E%3C/script%3E%3C/style%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/script%3E%22%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22abc%22"],"9bfd787aa3b30eb38ce7942696ccc01d991e8e52":[async_test('html5lib_tests18.html 9bfd787aa3b30eb38ce7942696ccc01d991e8e52'), "%3C%21doctype%20html%3E%3Cselect%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22%0A%7C%20%20%20%20%20%20%20%22abc%22"],"41edb5b76ce7a4378daa093e59b1225af546864f":[async_test('html5lib_tests18.html 41edb5b76ce7a4378daa093e59b1225af546864f'), "%3C%21doctype%20html%3E%3Ctable%3E%3Cselect%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22%0A%7C%20%20%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"5c6c65bd01758ecb6eb539a979dfacf50ff93a78":[async_test('html5lib_tests18.html 5c6c65bd01758ecb6eb539a979dfacf50ff93a78'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3Cselect%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22%0A%7C%20%20%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E"],"76d96fecc3d88820bab5274089886d20bc164d74":[async_test('html5lib_tests18.html 76d96fecc3d88820bab5274089886d20bc164d74'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3Cnoframes%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22"],"28a8566daaae49c529298d0de8a26af1263ff625":[async_test('html5lib_tests18.html 28a8566daaae49c529298d0de8a26af1263ff625'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3Cnoframes%3Eabc%3C/noframes%3E%3C%21--abc--%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%20%20%3C%21--%20abc%20--%3E"],"13eb2279a1e58eb281541564ae945b87880ae7c2":[async_test('html5lib_tests18.html 13eb2279a1e58eb281541564ae945b87880ae7c2'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3C/html%3E%3Cnoframes%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22"],"3c7d4e068461b340966e07dff93d93503fcfa46c":[async_test('html5lib_tests18.html 3c7d4e068461b340966e07dff93d93503fcfa46c'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3C/html%3E%3Cnoframes%3Eabc%3C/noframes%3E%3C%21--abc--%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%3C%21--%20abc%20--%3E"],"d38ed6488066d3e0d4d74b29888c5d000c2f4808":[async_test('html5lib_tests18.html d38ed6488066d3e0d4d74b29888c5d000c2f4808'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3C/tbody%3E%3Ctfoot%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%3Ctfoot%3E"],"43180045ad714b405e6fe110a27011f2644f16c2":[async_test('html5lib_tests18.html 43180045ad714b405e6fe110a27011f2644f16c2'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctd%3E%3Csvg%3E%3C/svg%3Eabc%3Ctd%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E"],
     23          "7471f6a45872ac6d70f69fc3f4e10b13c7c1ac45":[async_test('html5lib_tests18.html 7471f6a45872ac6d70f69fc3f4e10b13c7c1ac45'), "%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"0d0085749435e0d0ddb56c9db809bfcbbc995767":[async_test('html5lib_tests18.html 0d0085749435e0d0ddb56c9db809bfcbbc995767'), "%3C%21doctype%20html%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"9052b915187ac505be8958ab5e9f8d4ca0bfde81":[async_test('html5lib_tests18.html 9052b915187ac505be8958ab5e9f8d4ca0bfde81'), "%3C%21doctype%20html%3E%3Chtml%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"66191ae802c83e7319dd5c747f3a46dd157f5919":[async_test('html5lib_tests18.html 66191ae802c83e7319dd5c747f3a46dd157f5919'), "%3C%21doctype%20html%3E%3Chead%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"12cece9ece2085b8073d668ddd8ebe1ddb39962c":[async_test('html5lib_tests18.html 12cece9ece2085b8073d668ddd8ebe1ddb39962c'), "%3C%21doctype%20html%3E%3C/head%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"bbbed0387a4534ef054a1f9fcf3c1cb15e12ab49":[async_test('html5lib_tests18.html bbbed0387a4534ef054a1f9fcf3c1cb15e12ab49'), "%3C%21doctype%20html%3E%3Cbody%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"863c5dd5ef7e9279342de0f714383d3e47033e95":[async_test('html5lib_tests18.html 863c5dd5ef7e9279342de0f714383d3e47033e95'), "%3C%21doctype%20html%3E%3Ctable%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"ddeaaff85a50ea415dee1c4ee6c43e98ea331953":[async_test('html5lib_tests18.html ddeaaff85a50ea415dee1c4ee6c43e98ea331953'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctbody%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E"],"61eb7572a2490ac82423953eefe8fcef8dbc78ee":[async_test('html5lib_tests18.html 61eb7572a2490ac82423953eefe8fcef8dbc78ee'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctbody%3E%3Ctr%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E"],"df407b3f102bc2504539136b46afbb895763dc27":[async_test('html5lib_tests18.html df407b3f102bc2504539136b46afbb895763dc27'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctd%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"9ac591f40aae947707f7d5e83947712bbeca9574":[async_test('html5lib_tests18.html 9ac591f40aae947707f7d5e83947712bbeca9574'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ccaption%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ccaption%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"d44cf9a5fcf0759fce78497c7f10e3019c361274":[async_test('html5lib_tests18.html d44cf9a5fcf0759fce78497c7f10e3019c361274'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ccolgroup%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ccolgroup%3E"],"e4eb33f77ae641718853d2cfddbdb2eece6b266b":[async_test('html5lib_tests18.html e4eb33f77ae641718853d2cfddbdb2eece6b266b'), "%3C%21doctype%20html%3E%3Cselect%3E%3Cplaintext%3E%3C/plaintext%3EX", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%22X%22"],"53ce5b102579af9830bf561b634af681bbdb5dfd":[async_test('html5lib_tests18.html 53ce5b102579af9830bf561b634af681bbdb5dfd'), "%3C%21doctype%20html%3E%3Ctable%3E%3Cselect%3E%3Cplaintext%3Ea%3Ccaption%3Eb", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ccaption%3E%0A%7C%20%20%20%20%20%20%20%20%20%22b%22"],"cd24d93d1235e4aabbdcfab1d3acdbe488325666":[async_test('html5lib_tests18.html cd24d93d1235e4aabbdcfab1d3acdbe488325666'), "%3C%21doctype%20html%3E%3Ctemplate%3E%3Cplaintext%3Ea%3C/template%3Eb", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%20%20%3Ctemplate%3E%0A%7C%20%20%20%20%20%20%20content%0A%7C%20%20%20%20%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22a%3C/template%3Eb%22%0A%7C%20%20%20%3Cbody%3E"],"abae66ad61e145e32fb4fc4946b839f56b16bb3d":[async_test('html5lib_tests18.html abae66ad61e145e32fb4fc4946b839f56b16bb3d'), "%3C%21doctype%20html%3E%3Cbody%3E%3C/body%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"9d38e0731d08aec061003c7783c70e682221378b":[async_test('html5lib_tests18.html 9d38e0731d08aec061003c7783c70e682221378b'), "%3C%21doctype%20html%3E%3Cframeset%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"9df08923a41bf58c6291f9ce6d9e36a29d336bd6":[async_test('html5lib_tests18.html 9df08923a41bf58c6291f9ce6d9e36a29d336bd6'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"ecba80b891396c970db720681124a1cac2aea91f":[async_test('html5lib_tests18.html ecba80b891396c970db720681124a1cac2aea91f'), "%3C%21doctype%20html%3E%3Cbody%3E%3C/body%3E%3C/html%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%22%3C/plaintext%3E%22"],"c70f0b382961e8449567414fd541cc2ee0695eb9":[async_test('html5lib_tests18.html c70f0b382961e8449567414fd541cc2ee0695eb9'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3C/html%3E%3Cplaintext%3E%3C/plaintext%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"bb5432233eeaeab374a545ad60bbd004c9d2c02b":[async_test('html5lib_tests18.html bb5432233eeaeab374a545ad60bbd004c9d2c02b'), "%3C%21doctype%20html%3E%3Csvg%3E%3Cplaintext%3Ea%3C/plaintext%3Eb", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20plaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%22b%22"],"e3980c50b81e2673e9ffbd8cc12300e975bd9175":[async_test('html5lib_tests18.html e3980c50b81e2673e9ffbd8cc12300e975bd9175'), "%3C%21doctype%20html%3E%3Csvg%3E%3Ctitle%3E%3Cplaintext%3Ea%3C/plaintext%3Eb", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cplaintext%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22a%3C/plaintext%3Eb%22"],"4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf":[async_test('html5lib_tests18.html 4b6f10fa2d8b7cc70e3b3085aac46c64a0c42eaf'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3Cstyle%3E%3C/script%3E%3C/style%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/script%3E%22"],"1e88e5946ba773f1202e8af27f2a17ef2658e3ee":[async_test('html5lib_tests18.html 1e88e5946ba773f1202e8af27f2a17ef2658e3ee'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22"],"17ec3aff2568b56687f00d6ee3aeb6625fdd8ecc":[async_test('html5lib_tests18.html 17ec3aff2568b56687f00d6ee3aeb6625fdd8ecc'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ccaption%3E%3Cstyle%3E%3C/script%3E%3C/style%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ccaption%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22%3C/script%3E%22%0A%7C%20%20%20%20%20%20%20%20%20%22abc%22"],"b22cb10082e7328708e1da334a12b015b90535a4":[async_test('html5lib_tests18.html b22cb10082e7328708e1da334a12b015b90535a4'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctd%3E%3Cstyle%3E%3C/script%3E%3C/style%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%3C/script%3E%22%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22abc%22"],"9bfd787aa3b30eb38ce7942696ccc01d991e8e52":[async_test('html5lib_tests18.html 9bfd787aa3b30eb38ce7942696ccc01d991e8e52'), "%3C%21doctype%20html%3E%3Cselect%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22%0A%7C%20%20%20%20%20%20%20%22abc%22"],"41edb5b76ce7a4378daa093e59b1225af546864f":[async_test('html5lib_tests18.html 41edb5b76ce7a4378daa093e59b1225af546864f'), "%3C%21doctype%20html%3E%3Ctable%3E%3Cselect%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22%0A%7C%20%20%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"5c6c65bd01758ecb6eb539a979dfacf50ff93a78":[async_test('html5lib_tests18.html 5c6c65bd01758ecb6eb539a979dfacf50ff93a78'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3Cselect%3E%3Cscript%3E%3C/style%3E%3C/script%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%20%20%22%3C/style%3E%22%0A%7C%20%20%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E"],"76d96fecc3d88820bab5274089886d20bc164d74":[async_test('html5lib_tests18.html 76d96fecc3d88820bab5274089886d20bc164d74'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3Cnoframes%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22"],"28a8566daaae49c529298d0de8a26af1263ff625":[async_test('html5lib_tests18.html 28a8566daaae49c529298d0de8a26af1263ff625'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3Cnoframes%3Eabc%3C/noframes%3E%3C%21--abc--%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%20%20%3C%21--%20abc%20--%3E"],"13eb2279a1e58eb281541564ae945b87880ae7c2":[async_test('html5lib_tests18.html 13eb2279a1e58eb281541564ae945b87880ae7c2'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3C/html%3E%3Cnoframes%3Eabc", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22"],"3c7d4e068461b340966e07dff93d93503fcfa46c":[async_test('html5lib_tests18.html 3c7d4e068461b340966e07dff93d93503fcfa46c'), "%3C%21doctype%20html%3E%3Cframeset%3E%3C/frameset%3E%3C/html%3E%3Cnoframes%3Eabc%3C/noframes%3E%3C%21--abc--%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22abc%22%0A%7C%20%3C%21--%20abc%20--%3E"],"d38ed6488066d3e0d4d74b29888c5d000c2f4808":[async_test('html5lib_tests18.html d38ed6488066d3e0d4d74b29888c5d000c2f4808'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctr%3E%3C/tbody%3E%3Ctfoot%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%3Ctfoot%3E"],"43180045ad714b405e6fe110a27011f2644f16c2":[async_test('html5lib_tests18.html 43180045ad714b405e6fe110a27011f2644f16c2'), "%3C%21doctype%20html%3E%3Ctable%3E%3Ctd%3E%3Csvg%3E%3C/svg%3Eabc%3Ctd%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%22abc%22%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25-expected.txt

    r231717 r264117  
    1616PASS html5lib_tests25.html 17d197ab2416adec6eb92e398c2db6f7efc98b58
    1717PASS html5lib_tests25.html 1ccc6e280f6dc773e2e00f2cb70cd96e97078296
     18PASS html5lib_tests25.html 2c4a3a8d857ae3880197c7fb76cf8867c3171a4c
     19PASS html5lib_tests25.html dcdbc94f31873d250fd208ef59f7c792996bbe5f
     20PASS html5lib_tests25.html e7fa5ef62589df61fea98430b6610c445065618e
     21PASS html5lib_tests25.html 86f7866ee190c6614ccce12db874cea22550009a
     22PASS html5lib_tests25.html e83cc2757467bb00e1eba55eb5caa39e1be54a53
     23PASS html5lib_tests25.html aed93adbabc0e882d4900ce6f26d4fb81ab6ef11
    1824PASS html5lib_tests25.html 48ddaacf5355643f27ef704ece88b227f51fc7cb
    1925PASS html5lib_tests25.html bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25.html

    r210823 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['025adbb619bdef9ad228a6b378b9dd6bef9f93dc','7e561454888535bc5c68e7396de2f4206c81e97d','a14bdd90f5a745296e74c23951245cb7c5046ed1','421ad19f7854b9c8e28a0595a8dd20d6bfcd5376','7e8234523fbf67d37ab60f593e1fc3ac67706651','c705ceb6fb37865e6965641ea80137baf44176b6','277da0c4c937f3852d8a7cacf4e4b426a30b3dda','de4aa726e09215ba9c50b97d257e6c6b880107f1','578e08f11628dc9841f3eb21c016e1e28cec0304','a6e5387b48c4d0399a802215f7fa206bd0d3b492','d56d47bc9d9c7472fb1706bdecda1bbd165dcf91','2779456edd8407b403561e0cf339c8c2308c88b8','17d197ab2416adec6eb92e398c2db6f7efc98b58','1ccc6e280f6dc773e2e00f2cb70cd96e97078296','48ddaacf5355643f27ef704ece88b227f51fc7cb','bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86','73fc7c062b68d4f89579683dbb7f1eaef4ec27f1','057bc2d868d2f365cb2c0b4d07c231d2fa2b23b7','7f684d19be362ec9aa4fe7ecbba4ff3fc9730a43','d79f9119d02447226cc2d151044e6cffc5409e81',];
     21      var order = ['025adbb619bdef9ad228a6b378b9dd6bef9f93dc','7e561454888535bc5c68e7396de2f4206c81e97d','a14bdd90f5a745296e74c23951245cb7c5046ed1','421ad19f7854b9c8e28a0595a8dd20d6bfcd5376','7e8234523fbf67d37ab60f593e1fc3ac67706651','c705ceb6fb37865e6965641ea80137baf44176b6','277da0c4c937f3852d8a7cacf4e4b426a30b3dda','de4aa726e09215ba9c50b97d257e6c6b880107f1','578e08f11628dc9841f3eb21c016e1e28cec0304','a6e5387b48c4d0399a802215f7fa206bd0d3b492','d56d47bc9d9c7472fb1706bdecda1bbd165dcf91','2779456edd8407b403561e0cf339c8c2308c88b8','17d197ab2416adec6eb92e398c2db6f7efc98b58','1ccc6e280f6dc773e2e00f2cb70cd96e97078296','2c4a3a8d857ae3880197c7fb76cf8867c3171a4c','dcdbc94f31873d250fd208ef59f7c792996bbe5f','e7fa5ef62589df61fea98430b6610c445065618e','86f7866ee190c6614ccce12db874cea22550009a','e83cc2757467bb00e1eba55eb5caa39e1be54a53','aed93adbabc0e882d4900ce6f26d4fb81ab6ef11','48ddaacf5355643f27ef704ece88b227f51fc7cb','bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86','73fc7c062b68d4f89579683dbb7f1eaef4ec27f1','057bc2d868d2f365cb2c0b4d07c231d2fa2b23b7','7f684d19be362ec9aa4fe7ecbba4ff3fc9730a43','d79f9119d02447226cc2d151044e6cffc5409e81',];
    2222      var tests = {
    23           "025adbb619bdef9ad228a6b378b9dd6bef9f93dc":[async_test('html5lib_tests25.html 025adbb619bdef9ad228a6b378b9dd6bef9f93dc'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cfoo%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"7e561454888535bc5c68e7396de2f4206c81e97d":[async_test('html5lib_tests25.html 7e561454888535bc5c68e7396de2f4206c81e97d'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Carea%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Carea%3E%0A%7C%20%20%20%20%20%22A%22"],"a14bdd90f5a745296e74c23951245cb7c5046ed1":[async_test('html5lib_tests25.html a14bdd90f5a745296e74c23951245cb7c5046ed1'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbase%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbase%3E%0A%7C%20%20%20%20%20%22A%22"],"421ad19f7854b9c8e28a0595a8dd20d6bfcd5376":[async_test('html5lib_tests25.html 421ad19f7854b9c8e28a0595a8dd20d6bfcd5376'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbasefont%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbasefont%3E%0A%7C%20%20%20%20%20%22A%22"],"7e8234523fbf67d37ab60f593e1fc3ac67706651":[async_test('html5lib_tests25.html 7e8234523fbf67d37ab60f593e1fc3ac67706651'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbgsound%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbgsound%3E%0A%7C%20%20%20%20%20%22A%22"],"c705ceb6fb37865e6965641ea80137baf44176b6":[async_test('html5lib_tests25.html c705ceb6fb37865e6965641ea80137baf44176b6'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbr%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbr%3E%0A%7C%20%20%20%20%20%22A%22"],"277da0c4c937f3852d8a7cacf4e4b426a30b3dda":[async_test('html5lib_tests25.html 277da0c4c937f3852d8a7cacf4e4b426a30b3dda'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ccol%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"de4aa726e09215ba9c50b97d257e6c6b880107f1":[async_test('html5lib_tests25.html de4aa726e09215ba9c50b97d257e6c6b880107f1'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ccommand%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ccommand%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"578e08f11628dc9841f3eb21c016e1e28cec0304":[async_test('html5lib_tests25.html 578e08f11628dc9841f3eb21c016e1e28cec0304'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cembed%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cembed%3E%0A%7C%20%20%20%20%20%22A%22"],"a6e5387b48c4d0399a802215f7fa206bd0d3b492":[async_test('html5lib_tests25.html a6e5387b48c4d0399a802215f7fa206bd0d3b492'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cframe%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"d56d47bc9d9c7472fb1706bdecda1bbd165dcf91":[async_test('html5lib_tests25.html d56d47bc9d9c7472fb1706bdecda1bbd165dcf91'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Chr%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Chr%3E%0A%7C%20%20%20%20%20%22A%22"],"2779456edd8407b403561e0cf339c8c2308c88b8":[async_test('html5lib_tests25.html 2779456edd8407b403561e0cf339c8c2308c88b8'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cimg%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cimg%3E%0A%7C%20%20%20%20%20%22A%22"],"17d197ab2416adec6eb92e398c2db6f7efc98b58":[async_test('html5lib_tests25.html 17d197ab2416adec6eb92e398c2db6f7efc98b58'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cinput%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cinput%3E%0A%7C%20%20%20%20%20%22A%22"],"1ccc6e280f6dc773e2e00f2cb70cd96e97078296":[async_test('html5lib_tests25.html 1ccc6e280f6dc773e2e00f2cb70cd96e97078296'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ckeygen%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckeygen%3E%0A%7C%20%20%20%20%20%22A%22"],"48ddaacf5355643f27ef704ece88b227f51fc7cb":[async_test('html5lib_tests25.html 48ddaacf5355643f27ef704ece88b227f51fc7cb'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Clink%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Clink%3E%0A%7C%20%20%20%20%20%22A%22"],"bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86":[async_test('html5lib_tests25.html bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmeta%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmeta%3E%0A%7C%20%20%20%20%20%22A%22"],"73fc7c062b68d4f89579683dbb7f1eaef4ec27f1":[async_test('html5lib_tests25.html 73fc7c062b68d4f89579683dbb7f1eaef4ec27f1'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cparam%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cparam%3E%0A%7C%20%20%20%20%20%22A%22"],"057bc2d868d2f365cb2c0b4d07c231d2fa2b23b7":[async_test('html5lib_tests25.html 057bc2d868d2f365cb2c0b4d07c231d2fa2b23b7'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Csource%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csource%3E%0A%7C%20%20%20%20%20%22A%22"],"7f684d19be362ec9aa4fe7ecbba4ff3fc9730a43":[async_test('html5lib_tests25.html 7f684d19be362ec9aa4fe7ecbba4ff3fc9730a43'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ctrack%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctrack%3E%0A%7C%20%20%20%20%20%22A%22"],"d79f9119d02447226cc2d151044e6cffc5409e81":[async_test('html5lib_tests25.html d79f9119d02447226cc2d151044e6cffc5409e81'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cwbr%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cwbr%3E%0A%7C%20%20%20%20%20%22A%22"],
     23          "025adbb619bdef9ad228a6b378b9dd6bef9f93dc":[async_test('html5lib_tests25.html 025adbb619bdef9ad228a6b378b9dd6bef9f93dc'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cfoo%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"7e561454888535bc5c68e7396de2f4206c81e97d":[async_test('html5lib_tests25.html 7e561454888535bc5c68e7396de2f4206c81e97d'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Carea%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Carea%3E%0A%7C%20%20%20%20%20%22A%22"],"a14bdd90f5a745296e74c23951245cb7c5046ed1":[async_test('html5lib_tests25.html a14bdd90f5a745296e74c23951245cb7c5046ed1'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbase%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbase%3E%0A%7C%20%20%20%20%20%22A%22"],"421ad19f7854b9c8e28a0595a8dd20d6bfcd5376":[async_test('html5lib_tests25.html 421ad19f7854b9c8e28a0595a8dd20d6bfcd5376'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbasefont%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbasefont%3E%0A%7C%20%20%20%20%20%22A%22"],"7e8234523fbf67d37ab60f593e1fc3ac67706651":[async_test('html5lib_tests25.html 7e8234523fbf67d37ab60f593e1fc3ac67706651'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbgsound%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbgsound%3E%0A%7C%20%20%20%20%20%22A%22"],"c705ceb6fb37865e6965641ea80137baf44176b6":[async_test('html5lib_tests25.html c705ceb6fb37865e6965641ea80137baf44176b6'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cbr%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbr%3E%0A%7C%20%20%20%20%20%22A%22"],"277da0c4c937f3852d8a7cacf4e4b426a30b3dda":[async_test('html5lib_tests25.html 277da0c4c937f3852d8a7cacf4e4b426a30b3dda'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ccol%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"de4aa726e09215ba9c50b97d257e6c6b880107f1":[async_test('html5lib_tests25.html de4aa726e09215ba9c50b97d257e6c6b880107f1'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ccommand%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ccommand%3E%0A%7C%20%20%20%20%20%20%20%22A%22"],"578e08f11628dc9841f3eb21c016e1e28cec0304":[async_test('html5lib_tests25.html 578e08f11628dc9841f3eb21c016e1e28cec0304'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cembed%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cembed%3E%0A%7C%20%20%20%20%20%22A%22"],"a6e5387b48c4d0399a802215f7fa206bd0d3b492":[async_test('html5lib_tests25.html a6e5387b48c4d0399a802215f7fa206bd0d3b492'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cframe%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"d56d47bc9d9c7472fb1706bdecda1bbd165dcf91":[async_test('html5lib_tests25.html d56d47bc9d9c7472fb1706bdecda1bbd165dcf91'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Chr%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Chr%3E%0A%7C%20%20%20%20%20%22A%22"],"2779456edd8407b403561e0cf339c8c2308c88b8":[async_test('html5lib_tests25.html 2779456edd8407b403561e0cf339c8c2308c88b8'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cimg%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cimg%3E%0A%7C%20%20%20%20%20%22A%22"],"17d197ab2416adec6eb92e398c2db6f7efc98b58":[async_test('html5lib_tests25.html 17d197ab2416adec6eb92e398c2db6f7efc98b58'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cinput%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cinput%3E%0A%7C%20%20%20%20%20%22A%22"],"1ccc6e280f6dc773e2e00f2cb70cd96e97078296":[async_test('html5lib_tests25.html 1ccc6e280f6dc773e2e00f2cb70cd96e97078296'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ckeygen%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckeygen%3E%0A%7C%20%20%20%20%20%22A%22"],"2c4a3a8d857ae3880197c7fb76cf8867c3171a4c":[async_test('html5lib_tests25.html 2c4a3a8d857ae3880197c7fb76cf8867c3171a4c'), "%3C%21DOCTYPE%20html%3E%3Ckeygen%3EA%3C/keygen%3EB", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckeygen%3E%0A%7C%20%20%20%20%20%22AB%22"],"dcdbc94f31873d250fd208ef59f7c792996bbe5f":[async_test('html5lib_tests25.html dcdbc94f31873d250fd208ef59f7c792996bbe5f'), "%3C/keygen%3EA", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"e7fa5ef62589df61fea98430b6610c445065618e":[async_test('html5lib_tests25.html e7fa5ef62589df61fea98430b6610c445065618e'), "%3C%21DOCTYPE%20html%3E%3C/keygen%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"86f7866ee190c6614ccce12db874cea22550009a":[async_test('html5lib_tests25.html 86f7866ee190c6614ccce12db874cea22550009a'), "%3C%21DOCTYPE%20html%3E%3Chead%3E%3C/keygen%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"e83cc2757467bb00e1eba55eb5caa39e1be54a53":[async_test('html5lib_tests25.html e83cc2757467bb00e1eba55eb5caa39e1be54a53'), "%3C%21DOCTYPE%20html%3E%3Chead%3E%3C/head%3E%3C/keygen%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"aed93adbabc0e882d4900ce6f26d4fb81ab6ef11":[async_test('html5lib_tests25.html aed93adbabc0e882d4900ce6f26d4fb81ab6ef11'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3C/keygen%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22A%22"],"48ddaacf5355643f27ef704ece88b227f51fc7cb":[async_test('html5lib_tests25.html 48ddaacf5355643f27ef704ece88b227f51fc7cb'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Clink%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Clink%3E%0A%7C%20%20%20%20%20%22A%22"],"bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86":[async_test('html5lib_tests25.html bf29bfbd56c9863d19e4d66cd67a0dc1813b2e86'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cmeta%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmeta%3E%0A%7C%20%20%20%20%20%22A%22"],"73fc7c062b68d4f89579683dbb7f1eaef4ec27f1":[async_test('html5lib_tests25.html 73fc7c062b68d4f89579683dbb7f1eaef4ec27f1'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cparam%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cparam%3E%0A%7C%20%20%20%20%20%22A%22"],"057bc2d868d2f365cb2c0b4d07c231d2fa2b23b7":[async_test('html5lib_tests25.html 057bc2d868d2f365cb2c0b4d07c231d2fa2b23b7'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Csource%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csource%3E%0A%7C%20%20%20%20%20%22A%22"],"7f684d19be362ec9aa4fe7ecbba4ff3fc9730a43":[async_test('html5lib_tests25.html 7f684d19be362ec9aa4fe7ecbba4ff3fc9730a43'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Ctrack%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctrack%3E%0A%7C%20%20%20%20%20%22A%22"],"d79f9119d02447226cc2d151044e6cffc5409e81":[async_test('html5lib_tests25.html d79f9119d02447226cc2d151044e6cffc5409e81'), "%3C%21DOCTYPE%20html%3E%3Cbody%3E%3Cwbr%3EA", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cwbr%3E%0A%7C%20%20%20%20%20%22A%22"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests8-expected.txt

    r206201 r264117  
    77PASS html5lib_tests8.html a1fe2c2debb936fc1bf663f0d7228eb509522467
    88PASS html5lib_tests8.html dbd09e012016b52703ab081360265d3bf96f3c76
     9PASS html5lib_tests8.html bf7c4a4a4872a47746e3e26a2e57394352514c2a
    910PASS html5lib_tests8.html a57d838264ec0d79c8b0c3cb1feb5cb941c0084d
    1011PASS html5lib_tests8.html 263ff1438ee785d081669eea0fa110cca1d0d590
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests8.html

    r206201 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['5097f2cd0124cf5a23c7ccbe25f71a06966503df','0e11d51b0f71098caaccd166c368918c93683a7c','5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32','a1fe2c2debb936fc1bf663f0d7228eb509522467','dbd09e012016b52703ab081360265d3bf96f3c76','a57d838264ec0d79c8b0c3cb1feb5cb941c0084d','263ff1438ee785d081669eea0fa110cca1d0d590','1ace730a87644923b11aa89e4e472cc5dd91edb7','26454c08b0d791754bf2f94fbee62624cae5fa5c',];
     21      var order = ['5097f2cd0124cf5a23c7ccbe25f71a06966503df','0e11d51b0f71098caaccd166c368918c93683a7c','5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32','a1fe2c2debb936fc1bf663f0d7228eb509522467','dbd09e012016b52703ab081360265d3bf96f3c76','bf7c4a4a4872a47746e3e26a2e57394352514c2a','a57d838264ec0d79c8b0c3cb1feb5cb941c0084d','263ff1438ee785d081669eea0fa110cca1d0d590','1ace730a87644923b11aa89e4e472cc5dd91edb7','26454c08b0d791754bf2f94fbee62624cae5fa5c',];
    2222      var tests = {
    23           "5097f2cd0124cf5a23c7ccbe25f71a06966503df":[async_test('html5lib_tests8.html 5097f2cd0124cf5a23c7ccbe25f71a06966503df'), "%3Cdiv%3E%0A%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"0e11d51b0f71098caaccd166c368918c93683a7c":[async_test('html5lib_tests8.html 0e11d51b0f71098caaccd166c368918c93683a7c'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32":[async_test('html5lib_tests8.html 5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22"],"a1fe2c2debb936fc1bf663f0d7228eb509522467":[async_test('html5lib_tests8.html a1fe2c2debb936fc1bf663f0d7228eb509522467'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ey%3C/span%3Ez", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22yz%22"],"dbd09e012016b52703ab081360265d3bf96f3c76":[async_test('html5lib_tests8.html dbd09e012016b52703ab081360265d3bf96f3c76'), "%3Ctable%3E%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"a57d838264ec0d79c8b0c3cb1feb5cb941c0084d":[async_test('html5lib_tests8.html a57d838264ec0d79c8b0c3cb1feb5cb941c0084d'), "x%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"263ff1438ee785d081669eea0fa110cca1d0d590":[async_test('html5lib_tests8.html 263ff1438ee785d081669eea0fa110cca1d0d590'), "x%3Ctable%3E%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"1ace730a87644923b11aa89e4e472cc5dd91edb7":[async_test('html5lib_tests8.html 1ace730a87644923b11aa89e4e472cc5dd91edb7'), "%3Cb%3Ea%3Cdiv%3E%3C/div%3E%3Cdiv%3E%3C/b%3Ey", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22y%22"],"26454c08b0d791754bf2f94fbee62624cae5fa5c":[async_test('html5lib_tests8.html 26454c08b0d791754bf2f94fbee62624cae5fa5c'), "%3Ca%3E%3Cdiv%3E%3Cp%3E%3C/a%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ca%3E"],
     23          "5097f2cd0124cf5a23c7ccbe25f71a06966503df":[async_test('html5lib_tests8.html 5097f2cd0124cf5a23c7ccbe25f71a06966503df'), "%3Cdiv%3E%0A%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"0e11d51b0f71098caaccd166c368918c93683a7c":[async_test('html5lib_tests8.html 0e11d51b0f71098caaccd166c368918c93683a7c'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3E%0A%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22%0Ax%22"],"5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32":[async_test('html5lib_tests8.html 5c8ec9b2d6f03c2e971dc192897f3fcff92e5a32'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22"],"a1fe2c2debb936fc1bf663f0d7228eb509522467":[async_test('html5lib_tests8.html a1fe2c2debb936fc1bf663f0d7228eb509522467'), "%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ey%3C/span%3Ez", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22yz%22"],"dbd09e012016b52703ab081360265d3bf96f3c76":[async_test('html5lib_tests8.html dbd09e012016b52703ab081360265d3bf96f3c76'), "%3Ctable%3E%3Cdiv%3Ex%3Cdiv%3E%3C/div%3Ex%3C/span%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"bf7c4a4a4872a47746e3e26a2e57394352514c2a":[async_test('html5lib_tests8.html bf7c4a4a4872a47746e3e26a2e57394352514c2a'), "%3Ctable%3E%3Cli%3E%3Cli%3E%3C/table%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%3Ctable%3E"],"a57d838264ec0d79c8b0c3cb1feb5cb941c0084d":[async_test('html5lib_tests8.html a57d838264ec0d79c8b0c3cb1feb5cb941c0084d'), "x%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22xx%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"263ff1438ee785d081669eea0fa110cca1d0d590":[async_test('html5lib_tests8.html 263ff1438ee785d081669eea0fa110cca1d0d590'), "x%3Ctable%3E%3Ctable%3Ex", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3Ctable%3E"],"1ace730a87644923b11aa89e4e472cc5dd91edb7":[async_test('html5lib_tests8.html 1ace730a87644923b11aa89e4e472cc5dd91edb7'), "%3Cb%3Ea%3Cdiv%3E%3C/div%3E%3Cdiv%3E%3C/b%3Ey", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%22y%22"],"26454c08b0d791754bf2f94fbee62624cae5fa5c":[async_test('html5lib_tests8.html 26454c08b0d791754bf2f94fbee62624cae5fa5c'), "%3Ca%3E%3Cdiv%3E%3Cp%3E%3C/a%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ca%3E"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_webkit01-expected.txt

    r259900 r264117  
    2626PASS html5lib_webkit01.html 2669743ff272e43978ac0f8a2f2c602ec9036c26
    2727PASS html5lib_webkit01.html a9e759bf3ce415ad6216c58ee906639c03ffa03f
     28PASS html5lib_webkit01.html 1274e8cdad6a8957fa9b02708ee58b73de41ae02
    2829PASS html5lib_webkit01.html bbbea9a3752a36a64f2b62f15383406b16113fe7
    2930PASS html5lib_webkit01.html e0910f26aac678f50612da8d05d20aa29e140655
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_webkit01.html

    r210823 r264117  
    1919    <script>
    2020      var num_iframes = 8;
    21       var order = ['4235382bf15f93f7dd1096832ae74cc71edef4d7','9906bb30ae08654f4c67bf6d97040abbca91082d','97974a9c541d97c7bb5bd8ba97c2ccbe0c6e55bd','f30960ce7d5b25adc846e47823f977616d38b296','f3ed3ec3a14058fd97c9aad83299bc8836d21283','f073fda1df7d917e37a207c326bdc4db0b4b3481','5533bf52e328c5748a203be1bb245848de592783','5b753a783c228a1b423152d9707cf900e57bc5da','eea9ac89544ec31fb78f7629ea0e065bd7422c98','03a99ca235d60b3191a3c5671ff7df5ffca5372d','c37bc2e44b2765025f58c9680a560c1a3dc3ab93','c6b4dc9c0041dd5a069741dbf228f03439115b8d','d4613a2b82f5d4ec251149508096f8071a8714d5','0f78a3fae382185ef9ac8f767efafb401249c1e1','375260e547e078df727a3669f5c8dcef7ccf71a7','3bea2bf663be5de2bbcdad57ac95c5933e266d42','19944775fd9dd871fbc4cf813eb105c29bc5d834','25b53e528a0ad0b002c8a26b7260213a24981860','ce59a8ae9cf138cb81fd017711097d1643c6f227','913071287591cc570d512c824b419d9a172d4339','2669743ff272e43978ac0f8a2f2c602ec9036c26','a9e759bf3ce415ad6216c58ee906639c03ffa03f','bbbea9a3752a36a64f2b62f15383406b16113fe7','e0910f26aac678f50612da8d05d20aa29e140655','f30a9e97cdf3c54ffccaa7b9c2067ff109317530','0d99b69e40dbb898cd4a188aa4920042c30815b4','a20991a86f6d34fd67ddb4002e3972d82230d879','006dbf89bfa3df51d837e7557c3e32dfbc6f0f4c','7e8f1399f9c87dbd103303c6051873079b265360','5081f4afe652b92f23e80d275f67dec9139df8e3','f904db0ad0c00794f8a2ca238b4c36084993c741','d56fcf271bf902fc4739f055f031f0d11620057c','a897ca0ad0492945709d0772c91e33d485ddf9c7','7274654c671e2e1715a017a239a98399496b7ba6','346ed4219453716e3fee23ccddf283fde408d349','4d1b6f58e6bb11d27e2097f656abdd1122a45a67','bb7bc3a43938aef67cffb49084f27cc678cd9b7a','992947d22821e1eb7b9116a99420b6c7f5ad46f2','88eca99701e0ad1fda391722e5f0cdcf1e2b667d','4b36a9545e5d8df93c447eaa8b1dc42d704d9c61','dc2437252e38b998fec43311653af309a65ef35f','ec499b1124d241faaa28e2f985ecf5f3fa00fcf8','cd236e537fa5d967d11efea30d96cd6ef6c9f46b','2ee90ed930fca8db8278161af28adde1e0c3907b','9804e9659cd045f199d9f58ef85c2639724359aa','a785e349a36349db19df18c06032315c6356486c','401c8625b8574b46d03b8e95acd29358c82b53d3','1390b296dc6152683e9de9820194bca39e18cbd6','7dc7e88fa9eba71234bdb4037a15a4f70183a466',];
     21      var order = ['4235382bf15f93f7dd1096832ae74cc71edef4d7','9906bb30ae08654f4c67bf6d97040abbca91082d','97974a9c541d97c7bb5bd8ba97c2ccbe0c6e55bd','f30960ce7d5b25adc846e47823f977616d38b296','f3ed3ec3a14058fd97c9aad83299bc8836d21283','f073fda1df7d917e37a207c326bdc4db0b4b3481','5533bf52e328c5748a203be1bb245848de592783','5b753a783c228a1b423152d9707cf900e57bc5da','eea9ac89544ec31fb78f7629ea0e065bd7422c98','03a99ca235d60b3191a3c5671ff7df5ffca5372d','c37bc2e44b2765025f58c9680a560c1a3dc3ab93','c6b4dc9c0041dd5a069741dbf228f03439115b8d','d4613a2b82f5d4ec251149508096f8071a8714d5','0f78a3fae382185ef9ac8f767efafb401249c1e1','375260e547e078df727a3669f5c8dcef7ccf71a7','3bea2bf663be5de2bbcdad57ac95c5933e266d42','19944775fd9dd871fbc4cf813eb105c29bc5d834','25b53e528a0ad0b002c8a26b7260213a24981860','ce59a8ae9cf138cb81fd017711097d1643c6f227','913071287591cc570d512c824b419d9a172d4339','2669743ff272e43978ac0f8a2f2c602ec9036c26','a9e759bf3ce415ad6216c58ee906639c03ffa03f','1274e8cdad6a8957fa9b02708ee58b73de41ae02','bbbea9a3752a36a64f2b62f15383406b16113fe7','e0910f26aac678f50612da8d05d20aa29e140655','f30a9e97cdf3c54ffccaa7b9c2067ff109317530','0d99b69e40dbb898cd4a188aa4920042c30815b4','a20991a86f6d34fd67ddb4002e3972d82230d879','006dbf89bfa3df51d837e7557c3e32dfbc6f0f4c','7e8f1399f9c87dbd103303c6051873079b265360','5081f4afe652b92f23e80d275f67dec9139df8e3','f904db0ad0c00794f8a2ca238b4c36084993c741','d56fcf271bf902fc4739f055f031f0d11620057c','a897ca0ad0492945709d0772c91e33d485ddf9c7','7274654c671e2e1715a017a239a98399496b7ba6','346ed4219453716e3fee23ccddf283fde408d349','4d1b6f58e6bb11d27e2097f656abdd1122a45a67','bb7bc3a43938aef67cffb49084f27cc678cd9b7a','992947d22821e1eb7b9116a99420b6c7f5ad46f2','88eca99701e0ad1fda391722e5f0cdcf1e2b667d','4b36a9545e5d8df93c447eaa8b1dc42d704d9c61','dc2437252e38b998fec43311653af309a65ef35f','ec499b1124d241faaa28e2f985ecf5f3fa00fcf8','cd236e537fa5d967d11efea30d96cd6ef6c9f46b','2ee90ed930fca8db8278161af28adde1e0c3907b','9804e9659cd045f199d9f58ef85c2639724359aa','a785e349a36349db19df18c06032315c6356486c','401c8625b8574b46d03b8e95acd29358c82b53d3','1390b296dc6152683e9de9820194bca39e18cbd6','7dc7e88fa9eba71234bdb4037a15a4f70183a466',];
    2222      var tests = {
    23           "4235382bf15f93f7dd1096832ae74cc71edef4d7":[async_test('html5lib_webkit01.html 4235382bf15f93f7dd1096832ae74cc71edef4d7'), "Test", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22Test%22"],"9906bb30ae08654f4c67bf6d97040abbca91082d":[async_test('html5lib_webkit01.html 9906bb30ae08654f4c67bf6d97040abbca91082d'), "%3Cdiv%3E%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E"],"97974a9c541d97c7bb5bd8ba97c2ccbe0c6e55bd":[async_test('html5lib_webkit01.html 97974a9c541d97c7bb5bd8ba97c2ccbe0c6e55bd'), "%3Cdiv%3ETest%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Test%22"],"f30960ce7d5b25adc846e47823f977616d38b296":[async_test('html5lib_webkit01.html f30960ce7d5b25adc846e47823f977616d38b296'), "%3Cdi", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"f3ed3ec3a14058fd97c9aad83299bc8836d21283":[async_test('html5lib_webkit01.html f3ed3ec3a14058fd97c9aad83299bc8836d21283'), "%3Cdiv%3EHello%3C/div%3E%0A%3Cscript%3E%0Aconsole.log%28%22PASS%22%29%3B%0A%3C/script%3E%0A%3Cdiv%3EBye%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Hello%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22%0Aconsole.log%28%22PASS%22%29%3B%0A%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Bye%22"],"f073fda1df7d917e37a207c326bdc4db0b4b3481":[async_test('html5lib_webkit01.html f073fda1df7d917e37a207c326bdc4db0b4b3481'), "%3Cdiv%20foo%3D%22bar%22%3EHello%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20foo%3D%22bar%22%0A%7C%20%20%20%20%20%20%20%22Hello%22"],"5533bf52e328c5748a203be1bb245848de592783":[async_test('html5lib_webkit01.html 5533bf52e328c5748a203be1bb245848de592783'), "%3Cdiv%3EHello%3C/div%3E%0A%3Cscript%3E%0Aconsole.log%28%22FOO%3Cspan%3EBAR%3C/span%3EBAZ%22%29%3B%0A%3C/script%3E%0A%3Cdiv%3EBye%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Hello%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22%0Aconsole.log%28%22FOO%3Cspan%3EBAR%3C/span%3EBAZ%22%29%3B%0A%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Bye%22"],"5b753a783c228a1b423152d9707cf900e57bc5da":[async_test('html5lib_webkit01.html 5b753a783c228a1b423152d9707cf900e57bc5da'), "%3Cfoo%20bar%3D%22baz%22%3E%3C/foo%3E%3Cpotato%20quack%3D%22duck%22%3E%3C/potato%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%20%20bar%3D%22baz%22%0A%7C%20%20%20%20%20%3Cpotato%3E%0A%7C%20%20%20%20%20%20%20quack%3D%22duck%22"],"eea9ac89544ec31fb78f7629ea0e065bd7422c98":[async_test('html5lib_webkit01.html eea9ac89544ec31fb78f7629ea0e065bd7422c98'), "%3Cfoo%20bar%3D%22baz%22%3E%3Cpotato%20quack%3D%22duck%22%3E%3C/potato%3E%3C/foo%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%20%20bar%3D%22baz%22%0A%7C%20%20%20%20%20%20%20%3Cpotato%3E%0A%7C%20%20%20%20%20%20%20%20%20quack%3D%22duck%22"],"03a99ca235d60b3191a3c5671ff7df5ffca5372d":[async_test('html5lib_webkit01.html 03a99ca235d60b3191a3c5671ff7df5ffca5372d'), "%3Cfoo%3E%3C/foo%20bar%3D%22baz%22%3E%3Cpotato%3E%3C/potato%20quack%3D%22duck%22%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%3Cpotato%3E"],"c37bc2e44b2765025f58c9680a560c1a3dc3ab93":[async_test('html5lib_webkit01.html c37bc2e44b2765025f58c9680a560c1a3dc3ab93'), "%3C/%20tttt%3E", "%23document%0A%7C%20%3C%21--%20%20tttt%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"c6b4dc9c0041dd5a069741dbf228f03439115b8d":[async_test('html5lib_webkit01.html c6b4dc9c0041dd5a069741dbf228f03439115b8d'), "%3Cdiv%20FOO%20%3E%3Cimg%3E%3Cimg%3E%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20foo%3D%22%22%0A%7C%20%20%20%20%20%20%20%3Cimg%3E%0A%7C%20%20%20%20%20%20%20%3Cimg%3E"],"d4613a2b82f5d4ec251149508096f8071a8714d5":[async_test('html5lib_webkit01.html d4613a2b82f5d4ec251149508096f8071a8714d5'), "%3Cp%3ETest%3C/p%3Cp%3ETest2%3C/p%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%22TestTest2%22"],"0f78a3fae382185ef9ac8f767efafb401249c1e1":[async_test('html5lib_webkit01.html 0f78a3fae382185ef9ac8f767efafb401249c1e1'), "%3Crdar%3A//problem/6869687%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Crdar%3A%3E%0A%7C%20%20%20%20%20%20%206869687%3D%22%22%0A%7C%20%20%20%20%20%20%20problem%3D%22%22"],"375260e547e078df727a3669f5c8dcef7ccf71a7":[async_test('html5lib_webkit01.html 375260e547e078df727a3669f5c8dcef7ccf71a7'), "%3CA%3Etest%3C%20/A%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%22test%3C%20/A%3E%22"],"3bea2bf663be5de2bbcdad57ac95c5933e266d42":[async_test('html5lib_webkit01.html 3bea2bf663be5de2bbcdad57ac95c5933e266d42'), "%26lt%3B", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22%3C%22"],"19944775fd9dd871fbc4cf813eb105c29bc5d834":[async_test('html5lib_webkit01.html 19944775fd9dd871fbc4cf813eb105c29bc5d834'), "%3Cbody%20foo%3D%27bar%27%3E%3Cbody%20foo%3D%27baz%27%20yo%3D%27mama%27%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20foo%3D%22bar%22%0A%7C%20%20%20%20%20yo%3D%22mama%22"],"25b53e528a0ad0b002c8a26b7260213a24981860":[async_test('html5lib_webkit01.html 25b53e528a0ad0b002c8a26b7260213a24981860'), "%3Cbody%3E%3C/br%20foo%3D%22bar%22%3E%3C/body%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbr%3E"],"ce59a8ae9cf138cb81fd017711097d1643c6f227":[async_test('html5lib_webkit01.html ce59a8ae9cf138cb81fd017711097d1643c6f227'), "%3Cbdy%3E%3Cbr%20foo%3D%22bar%22%3E%3C/body%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbdy%3E%0A%7C%20%20%20%20%20%20%20%3Cbr%3E%0A%7C%20%20%20%20%20%20%20%20%20foo%3D%22bar%22"],"913071287591cc570d512c824b419d9a172d4339":[async_test('html5lib_webkit01.html 913071287591cc570d512c824b419d9a172d4339'), "%3Cbody%3E%3C/body%3E%3C/br%20foo%3D%22bar%22%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbr%3E"],"2669743ff272e43978ac0f8a2f2c602ec9036c26":[async_test('html5lib_webkit01.html 2669743ff272e43978ac0f8a2f2c602ec9036c26'), "%3Cbdy%3E%3C/body%3E%3Cbr%20foo%3D%22bar%22%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbdy%3E%0A%7C%20%20%20%20%20%20%20%3Cbr%3E%0A%7C%20%20%20%20%20%20%20%20%20foo%3D%22bar%22"],"a9e759bf3ce415ad6216c58ee906639c03ffa03f":[async_test('html5lib_webkit01.html a9e759bf3ce415ad6216c58ee906639c03ffa03f'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3E%3C%21--%20Hi%20there%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%3C%21--%20%20Hi%20there%20%20--%3E"],"bbbea9a3752a36a64f2b62f15383406b16113fe7":[async_test('html5lib_webkit01.html bbbea9a3752a36a64f2b62f15383406b16113fe7'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3Ex%3C%21--%20Hi%20there%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3C%21--%20%20Hi%20there%20%20--%3E"],"e0910f26aac678f50612da8d05d20aa29e140655":[async_test('html5lib_webkit01.html e0910f26aac678f50612da8d05d20aa29e140655'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3Ex%3C%21--%20Hi%20there%20--%3E%3C/html%3E%3C%21--%20Again%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3C%21--%20%20Hi%20there%20%20--%3E%0A%7C%20%3C%21--%20%20Again%20%20--%3E"],"f30a9e97cdf3c54ffccaa7b9c2067ff109317530":[async_test('html5lib_webkit01.html f30a9e97cdf3c54ffccaa7b9c2067ff109317530'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3Ex%3C%21--%20Hi%20there%20--%3E%3C/body%3E%3C/html%3E%3C%21--%20Again%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3C%21--%20%20Hi%20there%20%20--%3E%0A%7C%20%3C%21--%20%20Again%20%20--%3E"],"0d99b69e40dbb898cd4a188aa4920042c30815b4":[async_test('html5lib_webkit01.html 0d99b69e40dbb898cd4a188aa4920042c30815b4'), "%3Chtml%3E%3Cbody%3E%3Cruby%3E%3Cdiv%3E%3Crp%3Exx%3C/rp%3E%3C/div%3E%3C/ruby%3E%3C/body%3E%3C/html%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cruby%3E%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Crp%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22xx%22"],"a20991a86f6d34fd67ddb4002e3972d82230d879":[async_test('html5lib_webkit01.html a20991a86f6d34fd67ddb4002e3972d82230d879'), "%3Chtml%3E%3Cbody%3E%3Cruby%3E%3Cdiv%3E%3Crt%3Exx%3C/rt%3E%3C/div%3E%3C/ruby%3E%3C/body%3E%3C/html%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cruby%3E%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Crt%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22xx%22"],"006dbf89bfa3df51d837e7557c3e32dfbc6f0f4c":[async_test('html5lib_webkit01.html 006dbf89bfa3df51d837e7557c3e32dfbc6f0f4c'), "%3Chtml%3E%3Cframeset%3E%3C%21--1--%3E%3Cnoframes%3EA%3C/noframes%3E%3C%21--2--%3E%3C/frameset%3E%3C%21--3--%3E%3Cnoframes%3EB%3C/noframes%3E%3C%21--4--%3E%3C/html%3E%3C%21--5--%3E%3Cnoframes%3EC%3C/noframes%3E%3C%21--6--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%20%20%3C%21--%201%20--%3E%0A%7C%20%20%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3C%21--%202%20--%3E%0A%7C%20%20%20%3C%21--%203%20--%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22B%22%0A%7C%20%20%20%3C%21--%204%20--%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22C%22%0A%7C%20%3C%21--%205%20--%3E%0A%7C%20%3C%21--%206%20--%3E"],"7e8f1399f9c87dbd103303c6051873079b265360":[async_test('html5lib_webkit01.html 7e8f1399f9c87dbd103303c6051873079b265360'), "%3Cselect%3E%3Coption%3EA%3Cselect%3E%3Coption%3EB%3Cselect%3E%3Coption%3EC%3Cselect%3E%3Coption%3ED%3Cselect%3E%3Coption%3EE%3Cselect%3E%3Coption%3EF%3Cselect%3E%3Coption%3EG%3Cselect%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%22B%22%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22C%22%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%22D%22%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22E%22%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%22F%22%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22G%22"],"5081f4afe652b92f23e80d275f67dec9139df8e3":[async_test('html5lib_webkit01.html 5081f4afe652b92f23e80d275f67dec9139df8e3'), "%3Cdd%3E%3Cdd%3E%3Cdt%3E%3Cdt%3E%3Cdd%3E%3Cli%3E%3Cli%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdd%3E%0A%7C%20%20%20%20%20%3Cdd%3E%0A%7C%20%20%20%20%20%3Cdt%3E%0A%7C%20%20%20%20%20%3Cdt%3E%0A%7C%20%20%20%20%20%3Cdd%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E"],"f904db0ad0c00794f8a2ca238b4c36084993c741":[async_test('html5lib_webkit01.html f904db0ad0c00794f8a2ca238b4c36084993c741'), "%3Cdiv%3E%3Cb%3E%3C/div%3E%3Cdiv%3E%3Cnobr%3Ea%3Cnobr%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cnobr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%20%20%3Cnobr%3E"],"d56fcf271bf902fc4739f055f031f0d11620057c":[async_test('html5lib_webkit01.html d56fcf271bf902fc4739f055f031f0d11620057c'), "%3Chead%3E%3C/head%3E%0A%3Cbody%3E%3C/body%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%22%0A%22%0A%7C%20%20%20%3Cbody%3E"],"a897ca0ad0492945709d0772c91e33d485ddf9c7":[async_test('html5lib_webkit01.html a897ca0ad0492945709d0772c91e33d485ddf9c7'), "%3Chead%3E%3C/head%3E%20%3Cstyle%3E%3C/style%3Eddd", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%22%20%22%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22ddd%22"],"7274654c671e2e1715a017a239a98399496b7ba6":[async_test('html5lib_webkit01.html 7274654c671e2e1715a017a239a98399496b7ba6'), "%3Ckbd%3E%3Ctable%3E%3C/kbd%3E%3Ccol%3E%3Cselect%3E%3Ctr%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckbd%3E%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ccolgroup%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ccol%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E"],"346ed4219453716e3fee23ccddf283fde408d349":[async_test('html5lib_webkit01.html 346ed4219453716e3fee23ccddf283fde408d349'), "%3Ckbd%3E%3Ctable%3E%3C/kbd%3E%3Ccol%3E%3Cselect%3E%3Ctr%3E%3C/table%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckbd%3E%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ccolgroup%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ccol%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E"],"4d1b6f58e6bb11d27e2097f656abdd1122a45a67":[async_test('html5lib_webkit01.html 4d1b6f58e6bb11d27e2097f656abdd1122a45a67'), "%3Ca%3E%3Cli%3E%3Cstyle%3E%3C/style%3E%3Ctitle%3E%3C/title%3E%3C/a%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctitle%3E"],"bb7bc3a43938aef67cffb49084f27cc678cd9b7a":[async_test('html5lib_webkit01.html bb7bc3a43938aef67cffb49084f27cc678cd9b7a'), "%3Cfont%3E%3C/p%3E%3Cp%3E%3Cmeta%3E%3Ctitle%3E%3C/title%3E%3C/font%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfont%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%3Cfont%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cmeta%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctitle%3E"],"992947d22821e1eb7b9116a99420b6c7f5ad46f2":[async_test('html5lib_webkit01.html 992947d22821e1eb7b9116a99420b6c7f5ad46f2'), "%3Ca%3E%3Ccenter%3E%3Ctitle%3E%3C/title%3E%3Ca%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Ccenter%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctitle%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E"],"88eca99701e0ad1fda391722e5f0cdcf1e2b667d":[async_test('html5lib_webkit01.html 88eca99701e0ad1fda391722e5f0cdcf1e2b667d'), "%3Csvg%3E%3Ctitle%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E"],"4b36a9545e5d8df93c447eaa8b1dc42d704d9c61":[async_test('html5lib_webkit01.html 4b36a9545e5d8df93c447eaa8b1dc42d704d9c61'), "%3Csvg%3E%3Ctitle%3E%3Crect%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Crect%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E"],"dc2437252e38b998fec43311653af309a65ef35f":[async_test('html5lib_webkit01.html dc2437252e38b998fec43311653af309a65ef35f'), "%3Csvg%3E%3Ctitle%3E%3Csvg%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E"],"ec499b1124d241faaa28e2f985ecf5f3fa00fcf8":[async_test('html5lib_webkit01.html ec499b1124d241faaa28e2f985ecf5f3fa00fcf8'), "%3Cimg%20%3C%3D%22%22%20FAIL%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cimg%3E%0A%7C%20%20%20%20%20%20%20%3C%3D%22%22%0A%7C%20%20%20%20%20%20%20fail%3D%22%22"],"cd236e537fa5d967d11efea30d96cd6ef6c9f46b":[async_test('html5lib_webkit01.html cd236e537fa5d967d11efea30d96cd6ef6c9f46b'), "%3Cul%3E%3Cli%3E%3Cdiv%20id%3D%27foo%27/%3EA%3C/li%3E%3Cli%3EB%3Cdiv%3EC%3C/div%3E%3C/li%3E%3C/ul%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cul%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20id%3D%22foo%22%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%20%20%22B%22%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22C%22"],"2ee90ed930fca8db8278161af28adde1e0c3907b":[async_test('html5lib_webkit01.html 2ee90ed930fca8db8278161af28adde1e0c3907b'), "%3Csvg%3E%3Cem%3E%3Cdesc%3E%3C/em%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%3Cem%3E%0A%7C%20%20%20%20%20%20%20%3Cdesc%3E"],"9804e9659cd045f199d9f58ef85c2639724359aa":[async_test('html5lib_webkit01.html 9804e9659cd045f199d9f58ef85c2639724359aa'), "%3Ctable%3E%3Ctr%3E%3Ctd%3E%3Csvg%3E%3Cdesc%3E%3Ctd%3E%3C/desc%3E%3Ccircle%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20desc%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%3E"],"a785e349a36349db19df18c06032315c6356486c":[async_test('html5lib_webkit01.html a785e349a36349db19df18c06032315c6356486c'), "%3Csvg%3E%3Ctfoot%3E%3C/mi%3E%3Ctd%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20tfoot%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Csvg%20td%3E"],"401c8625b8574b46d03b8e95acd29358c82b53d3":[async_test('html5lib_webkit01.html 401c8625b8574b46d03b8e95acd29358c82b53d3'), "%3Cmath%3E%3Cmrow%3E%3Cmrow%3E%3Cmn%3E1%3C/mn%3E%3C/mrow%3E%3Cmi%3Ea%3C/mi%3E%3C/mrow%3E%3C/math%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mrow%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cmath%20mrow%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cmath%20mn%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%221%22%0A%7C%20%20%20%20%20%20%20%20%20%3Cmath%20mi%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22a%22"],"1390b296dc6152683e9de9820194bca39e18cbd6":[async_test('html5lib_webkit01.html 1390b296dc6152683e9de9820194bca39e18cbd6'), "%3C%21doctype%20html%3E%3Cinput%20type%3D%22hidden%22%3E%3Cframeset%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"7dc7e88fa9eba71234bdb4037a15a4f70183a466":[async_test('html5lib_webkit01.html 7dc7e88fa9eba71234bdb4037a15a4f70183a466'), "%3C%21doctype%20html%3E%3Cinput%20type%3D%22button%22%3E%3Cframeset%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cinput%3E%0A%7C%20%20%20%20%20%20%20type%3D%22button%22"],
     23          "4235382bf15f93f7dd1096832ae74cc71edef4d7":[async_test('html5lib_webkit01.html 4235382bf15f93f7dd1096832ae74cc71edef4d7'), "Test", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22Test%22"],"9906bb30ae08654f4c67bf6d97040abbca91082d":[async_test('html5lib_webkit01.html 9906bb30ae08654f4c67bf6d97040abbca91082d'), "%3Cdiv%3E%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E"],"97974a9c541d97c7bb5bd8ba97c2ccbe0c6e55bd":[async_test('html5lib_webkit01.html 97974a9c541d97c7bb5bd8ba97c2ccbe0c6e55bd'), "%3Cdiv%3ETest%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Test%22"],"f30960ce7d5b25adc846e47823f977616d38b296":[async_test('html5lib_webkit01.html f30960ce7d5b25adc846e47823f977616d38b296'), "%3Cdi", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"f3ed3ec3a14058fd97c9aad83299bc8836d21283":[async_test('html5lib_webkit01.html f3ed3ec3a14058fd97c9aad83299bc8836d21283'), "%3Cdiv%3EHello%3C/div%3E%0A%3Cscript%3E%0Aconsole.log%28%22PASS%22%29%3B%0A%3C/script%3E%0A%3Cdiv%3EBye%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Hello%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22%0Aconsole.log%28%22PASS%22%29%3B%0A%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Bye%22"],"f073fda1df7d917e37a207c326bdc4db0b4b3481":[async_test('html5lib_webkit01.html f073fda1df7d917e37a207c326bdc4db0b4b3481'), "%3Cdiv%20foo%3D%22bar%22%3EHello%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20foo%3D%22bar%22%0A%7C%20%20%20%20%20%20%20%22Hello%22"],"5533bf52e328c5748a203be1bb245848de592783":[async_test('html5lib_webkit01.html 5533bf52e328c5748a203be1bb245848de592783'), "%3Cdiv%3EHello%3C/div%3E%0A%3Cscript%3E%0Aconsole.log%28%22FOO%3Cspan%3EBAR%3C/span%3EBAZ%22%29%3B%0A%3C/script%3E%0A%3Cdiv%3EBye%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Hello%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22%0Aconsole.log%28%22FOO%3Cspan%3EBAR%3C/span%3EBAZ%22%29%3B%0A%22%0A%7C%20%20%20%20%20%22%0A%22%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%22Bye%22"],"5b753a783c228a1b423152d9707cf900e57bc5da":[async_test('html5lib_webkit01.html 5b753a783c228a1b423152d9707cf900e57bc5da'), "%3Cfoo%20bar%3D%22baz%22%3E%3C/foo%3E%3Cpotato%20quack%3D%22duck%22%3E%3C/potato%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%20%20bar%3D%22baz%22%0A%7C%20%20%20%20%20%3Cpotato%3E%0A%7C%20%20%20%20%20%20%20quack%3D%22duck%22"],"eea9ac89544ec31fb78f7629ea0e065bd7422c98":[async_test('html5lib_webkit01.html eea9ac89544ec31fb78f7629ea0e065bd7422c98'), "%3Cfoo%20bar%3D%22baz%22%3E%3Cpotato%20quack%3D%22duck%22%3E%3C/potato%3E%3C/foo%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%20%20bar%3D%22baz%22%0A%7C%20%20%20%20%20%20%20%3Cpotato%3E%0A%7C%20%20%20%20%20%20%20%20%20quack%3D%22duck%22"],"03a99ca235d60b3191a3c5671ff7df5ffca5372d":[async_test('html5lib_webkit01.html 03a99ca235d60b3191a3c5671ff7df5ffca5372d'), "%3Cfoo%3E%3C/foo%20bar%3D%22baz%22%3E%3Cpotato%3E%3C/potato%20quack%3D%22duck%22%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfoo%3E%0A%7C%20%20%20%20%20%3Cpotato%3E"],"c37bc2e44b2765025f58c9680a560c1a3dc3ab93":[async_test('html5lib_webkit01.html c37bc2e44b2765025f58c9680a560c1a3dc3ab93'), "%3C/%20tttt%3E", "%23document%0A%7C%20%3C%21--%20%20tttt%20--%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E"],"c6b4dc9c0041dd5a069741dbf228f03439115b8d":[async_test('html5lib_webkit01.html c6b4dc9c0041dd5a069741dbf228f03439115b8d'), "%3Cdiv%20FOO%20%3E%3Cimg%3E%3Cimg%3E%3C/div%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20foo%3D%22%22%0A%7C%20%20%20%20%20%20%20%3Cimg%3E%0A%7C%20%20%20%20%20%20%20%3Cimg%3E"],"d4613a2b82f5d4ec251149508096f8071a8714d5":[async_test('html5lib_webkit01.html d4613a2b82f5d4ec251149508096f8071a8714d5'), "%3Cp%3ETest%3C/p%3Cp%3ETest2%3C/p%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%22TestTest2%22"],"0f78a3fae382185ef9ac8f767efafb401249c1e1":[async_test('html5lib_webkit01.html 0f78a3fae382185ef9ac8f767efafb401249c1e1'), "%3Crdar%3A//problem/6869687%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Crdar%3A%3E%0A%7C%20%20%20%20%20%20%206869687%3D%22%22%0A%7C%20%20%20%20%20%20%20problem%3D%22%22"],"375260e547e078df727a3669f5c8dcef7ccf71a7":[async_test('html5lib_webkit01.html 375260e547e078df727a3669f5c8dcef7ccf71a7'), "%3CA%3Etest%3C%20/A%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%22test%3C%20/A%3E%22"],"3bea2bf663be5de2bbcdad57ac95c5933e266d42":[async_test('html5lib_webkit01.html 3bea2bf663be5de2bbcdad57ac95c5933e266d42'), "%26lt%3B", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22%3C%22"],"19944775fd9dd871fbc4cf813eb105c29bc5d834":[async_test('html5lib_webkit01.html 19944775fd9dd871fbc4cf813eb105c29bc5d834'), "%3Cbody%20foo%3D%27bar%27%3E%3Cbody%20foo%3D%27baz%27%20yo%3D%27mama%27%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20foo%3D%22bar%22%0A%7C%20%20%20%20%20yo%3D%22mama%22"],"25b53e528a0ad0b002c8a26b7260213a24981860":[async_test('html5lib_webkit01.html 25b53e528a0ad0b002c8a26b7260213a24981860'), "%3Cbody%3E%3C/br%20foo%3D%22bar%22%3E%3C/body%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbr%3E"],"ce59a8ae9cf138cb81fd017711097d1643c6f227":[async_test('html5lib_webkit01.html ce59a8ae9cf138cb81fd017711097d1643c6f227'), "%3Cbdy%3E%3Cbr%20foo%3D%22bar%22%3E%3C/body%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbdy%3E%0A%7C%20%20%20%20%20%20%20%3Cbr%3E%0A%7C%20%20%20%20%20%20%20%20%20foo%3D%22bar%22"],"913071287591cc570d512c824b419d9a172d4339":[async_test('html5lib_webkit01.html 913071287591cc570d512c824b419d9a172d4339'), "%3Cbody%3E%3C/body%3E%3C/br%20foo%3D%22bar%22%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbr%3E"],"2669743ff272e43978ac0f8a2f2c602ec9036c26":[async_test('html5lib_webkit01.html 2669743ff272e43978ac0f8a2f2c602ec9036c26'), "%3Cbdy%3E%3C/body%3E%3Cbr%20foo%3D%22bar%22%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cbdy%3E%0A%7C%20%20%20%20%20%20%20%3Cbr%3E%0A%7C%20%20%20%20%20%20%20%20%20foo%3D%22bar%22"],"a9e759bf3ce415ad6216c58ee906639c03ffa03f":[async_test('html5lib_webkit01.html a9e759bf3ce415ad6216c58ee906639c03ffa03f'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3E%3C%21--%20Hi%20there%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%3C%21--%20%20Hi%20there%20%20--%3E"],"1274e8cdad6a8957fa9b02708ee58b73de41ae02":[async_test('html5lib_webkit01.html 1274e8cdad6a8957fa9b02708ee58b73de41ae02'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3E%3C%21--%20Comment%20A%20--%3E%3C%21--%20Comment%20B%20--%3E%3C%21--%20Comment%20C%20--%3E%3C%21--%20Comment%20D%20--%3E%3C%21--%20Comment%20E%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%3C%21--%20%20Comment%20A%20%20--%3E%0A%7C%20%3C%21--%20%20Comment%20B%20%20--%3E%0A%7C%20%3C%21--%20%20Comment%20C%20%20--%3E%0A%7C%20%3C%21--%20%20Comment%20D%20%20--%3E%0A%7C%20%3C%21--%20%20Comment%20E%20%20--%3E"],"bbbea9a3752a36a64f2b62f15383406b16113fe7":[async_test('html5lib_webkit01.html bbbea9a3752a36a64f2b62f15383406b16113fe7'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3Ex%3C%21--%20Hi%20there%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3C%21--%20%20Hi%20there%20%20--%3E"],"e0910f26aac678f50612da8d05d20aa29e140655":[async_test('html5lib_webkit01.html e0910f26aac678f50612da8d05d20aa29e140655'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3Ex%3C%21--%20Hi%20there%20--%3E%3C/html%3E%3C%21--%20Again%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3C%21--%20%20Hi%20there%20%20--%3E%0A%7C%20%3C%21--%20%20Again%20%20--%3E"],"f30a9e97cdf3c54ffccaa7b9c2067ff109317530":[async_test('html5lib_webkit01.html f30a9e97cdf3c54ffccaa7b9c2067ff109317530'), "%3Chtml%3E%3Cbody%3E%3C/body%3E%3C/html%3Ex%3C%21--%20Hi%20there%20--%3E%3C/body%3E%3C/html%3E%3C%21--%20Again%20--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22x%22%0A%7C%20%20%20%20%20%3C%21--%20%20Hi%20there%20%20--%3E%0A%7C%20%3C%21--%20%20Again%20%20--%3E"],"0d99b69e40dbb898cd4a188aa4920042c30815b4":[async_test('html5lib_webkit01.html 0d99b69e40dbb898cd4a188aa4920042c30815b4'), "%3Chtml%3E%3Cbody%3E%3Cruby%3E%3Cdiv%3E%3Crp%3Exx%3C/rp%3E%3C/div%3E%3C/ruby%3E%3C/body%3E%3C/html%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cruby%3E%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Crp%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22xx%22"],"a20991a86f6d34fd67ddb4002e3972d82230d879":[async_test('html5lib_webkit01.html a20991a86f6d34fd67ddb4002e3972d82230d879'), "%3Chtml%3E%3Cbody%3E%3Cruby%3E%3Cdiv%3E%3Crt%3Exx%3C/rt%3E%3C/div%3E%3C/ruby%3E%3C/body%3E%3C/html%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cruby%3E%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Crt%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22xx%22"],"006dbf89bfa3df51d837e7557c3e32dfbc6f0f4c":[async_test('html5lib_webkit01.html 006dbf89bfa3df51d837e7557c3e32dfbc6f0f4c'), "%3Chtml%3E%3Cframeset%3E%3C%21--1--%3E%3Cnoframes%3EA%3C/noframes%3E%3C%21--2--%3E%3C/frameset%3E%3C%21--3--%3E%3Cnoframes%3EB%3C/noframes%3E%3C%21--4--%3E%3C/html%3E%3C%21--5--%3E%3Cnoframes%3EC%3C/noframes%3E%3C%21--6--%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E%0A%7C%20%20%20%20%20%3C%21--%201%20--%3E%0A%7C%20%20%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3C%21--%202%20--%3E%0A%7C%20%20%20%3C%21--%203%20--%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22B%22%0A%7C%20%20%20%3C%21--%204%20--%3E%0A%7C%20%20%20%3Cnoframes%3E%0A%7C%20%20%20%20%20%22C%22%0A%7C%20%3C%21--%205%20--%3E%0A%7C%20%3C%21--%206%20--%3E"],"7e8f1399f9c87dbd103303c6051873079b265360":[async_test('html5lib_webkit01.html 7e8f1399f9c87dbd103303c6051873079b265360'), "%3Cselect%3E%3Coption%3EA%3Cselect%3E%3Coption%3EB%3Cselect%3E%3Coption%3EC%3Cselect%3E%3Coption%3ED%3Cselect%3E%3Coption%3EE%3Cselect%3E%3Coption%3EF%3Cselect%3E%3Coption%3EG%3Cselect%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%22B%22%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22C%22%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%22D%22%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22E%22%0A%7C%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%22F%22%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Coption%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22G%22"],"5081f4afe652b92f23e80d275f67dec9139df8e3":[async_test('html5lib_webkit01.html 5081f4afe652b92f23e80d275f67dec9139df8e3'), "%3Cdd%3E%3Cdd%3E%3Cdt%3E%3Cdt%3E%3Cdd%3E%3Cli%3E%3Cli%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdd%3E%0A%7C%20%20%20%20%20%3Cdd%3E%0A%7C%20%20%20%20%20%3Cdt%3E%0A%7C%20%20%20%20%20%3Cdt%3E%0A%7C%20%20%20%20%20%3Cdd%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E"],"f904db0ad0c00794f8a2ca238b4c36084993c741":[async_test('html5lib_webkit01.html f904db0ad0c00794f8a2ca238b4c36084993c741'), "%3Cdiv%3E%3Cb%3E%3C/div%3E%3Cdiv%3E%3Cnobr%3Ea%3Cnobr%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%3Cb%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cnobr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22a%22%0A%7C%20%20%20%20%20%20%20%20%20%3Cnobr%3E"],"d56fcf271bf902fc4739f055f031f0d11620057c":[async_test('html5lib_webkit01.html d56fcf271bf902fc4739f055f031f0d11620057c'), "%3Chead%3E%3C/head%3E%0A%3Cbody%3E%3C/body%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%22%0A%22%0A%7C%20%20%20%3Cbody%3E"],"a897ca0ad0492945709d0772c91e33d485ddf9c7":[async_test('html5lib_webkit01.html a897ca0ad0492945709d0772c91e33d485ddf9c7'), "%3Chead%3E%3C/head%3E%20%3Cstyle%3E%3C/style%3Eddd", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%22%20%22%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%22ddd%22"],"7274654c671e2e1715a017a239a98399496b7ba6":[async_test('html5lib_webkit01.html 7274654c671e2e1715a017a239a98399496b7ba6'), "%3Ckbd%3E%3Ctable%3E%3C/kbd%3E%3Ccol%3E%3Cselect%3E%3Ctr%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckbd%3E%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ccolgroup%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ccol%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E"],"346ed4219453716e3fee23ccddf283fde408d349":[async_test('html5lib_webkit01.html 346ed4219453716e3fee23ccddf283fde408d349'), "%3Ckbd%3E%3Ctable%3E%3C/kbd%3E%3Ccol%3E%3Cselect%3E%3Ctr%3E%3C/table%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ckbd%3E%0A%7C%20%20%20%20%20%20%20%3Cselect%3E%0A%7C%20%20%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ccolgroup%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ccol%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%3Cdiv%3E"],"4d1b6f58e6bb11d27e2097f656abdd1122a45a67":[async_test('html5lib_webkit01.html 4d1b6f58e6bb11d27e2097f656abdd1122a45a67'), "%3Ca%3E%3Cli%3E%3Cstyle%3E%3C/style%3E%3Ctitle%3E%3C/title%3E%3C/a%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctitle%3E"],"bb7bc3a43938aef67cffb49084f27cc678cd9b7a":[async_test('html5lib_webkit01.html bb7bc3a43938aef67cffb49084f27cc678cd9b7a'), "%3Cfont%3E%3C/p%3E%3Cp%3E%3Cmeta%3E%3Ctitle%3E%3C/title%3E%3C/font%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cfont%3E%0A%7C%20%20%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%3Cp%3E%0A%7C%20%20%20%20%20%20%20%3Cfont%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cmeta%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctitle%3E"],"992947d22821e1eb7b9116a99420b6c7f5ad46f2":[async_test('html5lib_webkit01.html 992947d22821e1eb7b9116a99420b6c7f5ad46f2'), "%3Ca%3E%3Ccenter%3E%3Ctitle%3E%3C/title%3E%3Ca%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%3Ccenter%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctitle%3E%0A%7C%20%20%20%20%20%20%20%3Ca%3E"],"88eca99701e0ad1fda391722e5f0cdcf1e2b667d":[async_test('html5lib_webkit01.html 88eca99701e0ad1fda391722e5f0cdcf1e2b667d'), "%3Csvg%3E%3Ctitle%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E"],"4b36a9545e5d8df93c447eaa8b1dc42d704d9c61":[async_test('html5lib_webkit01.html 4b36a9545e5d8df93c447eaa8b1dc42d704d9c61'), "%3Csvg%3E%3Ctitle%3E%3Crect%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Crect%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%3E"],"dc2437252e38b998fec43311653af309a65ef35f":[async_test('html5lib_webkit01.html dc2437252e38b998fec43311653af309a65ef35f'), "%3Csvg%3E%3Ctitle%3E%3Csvg%3E%3Cdiv%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20title%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E"],"ec499b1124d241faaa28e2f985ecf5f3fa00fcf8":[async_test('html5lib_webkit01.html ec499b1124d241faaa28e2f985ecf5f3fa00fcf8'), "%3Cimg%20%3C%3D%22%22%20FAIL%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cimg%3E%0A%7C%20%20%20%20%20%20%20%3C%3D%22%22%0A%7C%20%20%20%20%20%20%20fail%3D%22%22"],"cd236e537fa5d967d11efea30d96cd6ef6c9f46b":[async_test('html5lib_webkit01.html cd236e537fa5d967d11efea30d96cd6ef6c9f46b'), "%3Cul%3E%3Cli%3E%3Cdiv%20id%3D%27foo%27/%3EA%3C/li%3E%3Cli%3EB%3Cdiv%3EC%3C/div%3E%3C/li%3E%3C/ul%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cul%3E%0A%7C%20%20%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20id%3D%22foo%22%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22A%22%0A%7C%20%20%20%20%20%20%20%3Cli%3E%0A%7C%20%20%20%20%20%20%20%20%20%22B%22%0A%7C%20%20%20%20%20%20%20%20%20%3Cdiv%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22C%22"],"2ee90ed930fca8db8278161af28adde1e0c3907b":[async_test('html5lib_webkit01.html 2ee90ed930fca8db8278161af28adde1e0c3907b'), "%3Csvg%3E%3Cem%3E%3Cdesc%3E%3C/em%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%3Cem%3E%0A%7C%20%20%20%20%20%20%20%3Cdesc%3E"],"9804e9659cd045f199d9f58ef85c2639724359aa":[async_test('html5lib_webkit01.html 9804e9659cd045f199d9f58ef85c2639724359aa'), "%3Ctable%3E%3Ctr%3E%3Ctd%3E%3Csvg%3E%3Cdesc%3E%3Ctd%3E%3C/desc%3E%3Ccircle%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Ctable%3E%0A%7C%20%20%20%20%20%20%20%3Ctbody%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20desc%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%3E"],"a785e349a36349db19df18c06032315c6356486c":[async_test('html5lib_webkit01.html a785e349a36349db19df18c06032315c6356486c'), "%3Csvg%3E%3Ctfoot%3E%3C/mi%3E%3Ctd%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Csvg%20svg%3E%0A%7C%20%20%20%20%20%20%20%3Csvg%20tfoot%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Csvg%20td%3E"],"401c8625b8574b46d03b8e95acd29358c82b53d3":[async_test('html5lib_webkit01.html 401c8625b8574b46d03b8e95acd29358c82b53d3'), "%3Cmath%3E%3Cmrow%3E%3Cmrow%3E%3Cmn%3E1%3C/mn%3E%3C/mrow%3E%3Cmi%3Ea%3C/mi%3E%3C/mrow%3E%3C/math%3E", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cmath%20math%3E%0A%7C%20%20%20%20%20%20%20%3Cmath%20mrow%3E%0A%7C%20%20%20%20%20%20%20%20%20%3Cmath%20mrow%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%3Cmath%20mn%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%221%22%0A%7C%20%20%20%20%20%20%20%20%20%3Cmath%20mi%3E%0A%7C%20%20%20%20%20%20%20%20%20%20%20%22a%22"],"1390b296dc6152683e9de9820194bca39e18cbd6":[async_test('html5lib_webkit01.html 1390b296dc6152683e9de9820194bca39e18cbd6'), "%3C%21doctype%20html%3E%3Cinput%20type%3D%22hidden%22%3E%3Cframeset%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cframeset%3E"],"7dc7e88fa9eba71234bdb4037a15a4f70183a466":[async_test('html5lib_webkit01.html 7dc7e88fa9eba71234bdb4037a15a4f70183a466'), "%3C%21doctype%20html%3E%3Cinput%20type%3D%22button%22%3E%3Cframeset%3E", "%23document%0A%7C%20%3C%21DOCTYPE%20html%3E%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%3Cinput%3E%0A%7C%20%20%20%20%20%20%20type%3D%22button%22"],
    2424      }
    2525      init_tests(get_type());
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/w3c-import.log

    r253791 r264117  
    3636/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_adoption01.html
    3737/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_adoption02.html
     38/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_blocks.html
    3839/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_comments01.html
    3940/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_doctype01.html
     
    103104/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/the-end.html
    104105/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/unclosed-svg-script.html
     106/LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/zero.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/syntax/META.yml
    1817/LayoutTests/imported/w3c/web-platform-tests/html/syntax/html-element-list.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/tools/build.sh

    r215515 r264117  
    33
    44cd "${0%/*}"
    5 virtualenv -p python .virtualenv
     5virtualenv -p python2 .virtualenv
    66.virtualenv/bin/pip install genshi
    77git clone https://github.com/html5lib/html5lib-python.git .virtualenv/html5lib && cd .virtualenv/html5lib || cd .virtualenv/html5lib && git pull
     8# Pinned commit, to avoid html5lib from changing underneath us.
     9git reset --hard d49afd350c06339a8c59299664b8a73a3b2c3f64
    810git submodule update --init --recursive
    911cd ../..
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/tools/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/tools/META.yml
    1817/LayoutTests/imported/w3c/web-platform-tests/html/tools/build.sh
    1918/LayoutTests/imported/w3c/web-platform-tests/html/tools/html5lib_test.xml
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html

    r253791 r264117  
    22<!--
    33   Tentative due to:
    4     https://github.com/whatwg/html/issues/3739
    5 
     4   https://github.com/whatwg/html/issues/1983
    65-->
    76<html>
     
    1716    <li>Click inside the red area.
    1817  </ol>
    19   <iframe id="child" width="200" height="200"></iframe>
     18  <iframe id="child" width="200" height="200"
     19          src="http://{{hosts[alt][]}}:{{ports[http][0]}}/html/user-activation/resources/child-message-event-api.html">
     20  </iframe>
    2021  <script>
    2122    async_test(function(t) {
     
    2425      assert_false(navigator.userActivation.hasBeenActive);
    2526      window.addEventListener("message", t.step_func(event => {
    26         if (event.data == 'child-three-loaded') {
     27        if (event.data == 'child-loaded') {
    2728          // values have false after load
    2829          assert_true(event.userActivation != null);
     
    3031          assert_false(event.userActivation.hasBeenActive);
    3132          test_driver.click(child);
    32         } else if (event.data == 'child-three-clicked') {
     33        } else if (event.data == 'child-clicked') {
    3334          // values have activation state on click
    3435          assert_true(navigator.userActivation.hasBeenActive);
     
    3738          assert_true(event.userActivation.hasBeenActive);
    3839          child.contentWindow.postMessage('report', "*");
    39         } else if (event.data == 'child-three-report') {
     40        } else if (event.data == 'child-report') {
    4041          assert_false(navigator.userActivation.isActive);
    4142          assert_true(navigator.userActivation.hasBeenActive);
     
    4445          assert_true(event.userActivation.hasBeenActive);
    4546          child.contentWindow.postMessage('report-no-activation', "*");
    46         } else if (event.data == 'child-three-report-no-activation') {
     47        } else if (event.data == 'child-report-no-activation') {
    4748          assert_true(event.userActivation === null);
    4849          t.done();
    4950        }
    5051      }));
    51       child.src = "http://{{hosts[alt][]}}:{{ports[http][0]}}/html/user-activation/resources/child-three.html";
    5252    }, "Message propagates values on post");
    5353  </script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-one.html

    r249886 r264117  
    11<!DOCTYPE html>
    2 <body style="background: red;">
     2<body style="background: yellow;">
    33  <script>
    4   window.parent.postMessage(JSON.stringify({"type": "child-one-loaded", "isActive": navigator.userActivation.isActive,
    5                                             "hasBeenActive": navigator.userActivation.hasBeenActive}), "*");
     4    window.top.postMessage(JSON.stringify({
     5        "type": "child-one-loaded",
     6        "isActive": navigator.userActivation.isActive,
     7        "hasBeenActive": navigator.userActivation.hasBeenActive
     8    }), "*");
    69
    7   window.addEventListener("click", event => {
    8       window.parent.postMessage(JSON.stringify({"type": "child-one-clicked", "isActive": navigator.userActivation.isActive,
    9                                                 "hasBeenActive": navigator.userActivation.hasBeenActive}), "*");
    10   });
     10    window.addEventListener("click", event => {
     11        window.top.postMessage(JSON.stringify({
     12            "type": "child-one-clicked",
     13            "isActive": navigator.userActivation.isActive,
     14            "hasBeenActive": navigator.userActivation.hasBeenActive
     15        }), "*");
     16    });
    1117
    12   window.addEventListener("message", event => {
    13       if (event.data == "report") {
    14         window.parent.postMessage(JSON.stringify({"type": "child-one-report", "isActive": navigator.userActivation.isActive,
    15                                                   "hasBeenActive": navigator.userActivation.hasBeenActive}), "*");
    16       }
    17   });
    18 
    19 </script>
     18    window.addEventListener("message", event => {
     19        var msg = JSON.parse(event.data);
     20        if (msg.type == "report") {
     21            window.top.postMessage(JSON.stringify({
     22                "type": "child-one-report",
     23                "isActive": navigator.userActivation.isActive,
     24                "hasBeenActive": navigator.userActivation.hasBeenActive
     25            }), "*");
     26        }
     27    });
     28  </script>
    2029</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-two.html

    r249886 r264117  
    11<!DOCTYPE html>
    22<body style="background: lightgrey;">
    3 <script>
    4     window.parent.postMessage(JSON.stringify({"type": "child-two-loaded", "isActive": navigator.userActivation.isActive,
    5                                               "hasBeenActive": navigator.userActivation.hasBeenActive}), "*");
     3  <script>
     4    window.top.postMessage(JSON.stringify({
     5        "type": "child-two-loaded",
     6        "isActive": navigator.userActivation.isActive,
     7        "hasBeenActive": navigator.userActivation.hasBeenActive
     8    }), "*");
    69
    710    window.addEventListener("message", event => {
    8         if (event.source === window.parent && event.data == "report") {
    9             window.parent.postMessage(JSON.stringify({"type": "child-two-report", "isActive": navigator.userActivation.isActive,
    10                                                       "hasBeenActive": navigator.userActivation.hasBeenActive}), "*");
     11        var msg = JSON.parse(event.data);
     12        if (msg.type == "report") {
     13            window.top.postMessage(JSON.stringify({
     14                "type": "child-two-report",
     15                "isActive": navigator.userActivation.isActive,
     16                "hasBeenActive": navigator.userActivation.hasBeenActive
     17            }), "*");
    1118        }
    1219    });
    13 
    14 </script>
     20  </script>
    1521</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/activation-hierarchy-child.sub.html
    18 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/activation-hierarchy-grandchild.html
    19 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-four.html
     17/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-message-event-api.html
    2018/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-one.html
    21 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-three.html
    2219/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-two.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/consumption-crossorigin-child.sub.html
     21/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/consumption-sameorigin-child.html
     22/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/propagation-crossorigin-child.sub.html
     23/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/propagation-sameorigin-child.html
     24/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/utils.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/w3c-import.log

    r249886 r264117  
    1515------------------------------------------------------------------------
    1616List of files:
    17 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-click.tentative.html
    18 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-iframe-no-activate.tenative.html
    19 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-iframe.tenative.html
    20 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-setTimeout.tentative.html
    21 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-hierarchy-parent-manual.sub.tentative.html
    22 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-cross-origin-with-click-two-child-frames.sub.tentative.html
    23 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative.html
    24 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-with-click.tentative.html
    25 /LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-without-click.tentative.html
     17/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/basic.html
     18/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/chained-setTimeout.tentative.html
     19/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/consumption-crossorigin.sub.tentative.html
     20/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html
    2621/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html
    2722/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/message-event-init.tentative.html
     23/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-crossorigin.sub.tentative.html
     24/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-sameorigin.tentative.html
     25/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/propagation-crossorigin.sub.tentative.html
     26/LayoutTests/imported/w3c/web-platform-tests/html/user-activation/propagation-sameorigin.tentative.html
  • trunk/LayoutTests/platform/glib/TestExpectations

    r264097 r264117  
    205205# Console log lines may appear in a different order so we silence them.
    206206imported/w3c/web-platform-tests/html/canvas/offscreen/convert-to-blob/offscreencanvas.convert.to.blob.w.html [ DumpJSConsoleLogInStdErr ]
    207 imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable.w.html [ DumpJSConsoleLogInStdErr ]
    208207
    209208# OffscreenCanvas tests that are flaky due to console output from unhandled Promise rejections due to unimplemented API.
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r264100 r264117  
    17001700# Newly imported canvas web-platform-tests that are failing on iOS only.
    17011701imported/w3c/web-platform-tests/html/canvas/element/building-paths/canvas_complexshapes_beziercurveto_001.htm [ ImageOnlyFailure ]
    1702 imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001.htm [ ImageOnlyFailure ]
    1703 imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001.htm [ ImageOnlyFailure ]
    1704 imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a.html [ ImageOnlyFailure ]
    1705 imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001.htm [ ImageOnlyFailure ]
    1706 imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001.html [ ImageOnlyFailure ]
    1707 imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001.htm [ ImageOnlyFailure ]
    1708 imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a.html [ ImageOnlyFailure ]
    17091702
    17101703webkit.org/b/209352 http/tests/security/stylesheet-href-redirect.html [ Pass Timeout ]
  • trunk/LayoutTests/platform/mac-wk1/TestExpectations

    r264044 r264117  
    314314imported/w3c/web-platform-tests/fetch/cross-origin-resource-policy [ Skip ]
    315315imported/w3c/web-platform-tests/fetch/range/sw.https.window.html [ Skip ]
     316imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html [ Skip ]
     317imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html [ Skip ]
     318imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html [ Skip ]
     319imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html [ Skip ]
     320imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker-cache-storage.https.html [ Skip ]
     321imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html [ Skip ]
     322imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html [ Skip ]
     323imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/service-worker-cache-storage.https.html [ Skip ]
    316324imported/w3c/web-platform-tests/server-timing/service_worker_idl.html [ Skip ]
    317325imported/w3c/web-platform-tests/service-workers [ Skip ]
     
    482490imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/assign_after_load.html [ Pass Failure ]
    483491imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/assign_before_load.html [ Pass Failure ]
     492imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top.html [ Pass Failure ]
     493imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio-lazy.tentative.html [ Pass Failure ]
    484494
    485495# Console logs are flaky.
  • trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top-expected.txt

    r215822 r264117  
    11
    2 FAIL features "top=/104" should NOT set "top=104" assert_equals: "top=/104 begins with an invalid character and should be ignored" expected 23 but got 105
    3 FAIL features "top=_104" should NOT set "top=104" assert_equals: "top=_104 begins with an invalid character and should be ignored" expected 23 but got 105
    4 FAIL features "top=L104" should NOT set "top=104" assert_equals: "top=L104 begins with an invalid character and should be ignored" expected 23 but got 105
     2FAIL features "top=/104" should NOT set "top=104" assert_equals: "top=/104 begins with an invalid character and should be ignored" expected 25 but got 105
     3FAIL features "top=_104" should NOT set "top=104" assert_equals: "top=_104 begins with an invalid character and should be ignored" expected 25 but got 105
     4FAIL features "top=L104" should NOT set "top=104" assert_equals: "top=L104 begins with an invalid character and should be ignored" expected 25 but got 105
    55PASS features "top=105.5" should set "top=105"
    66PASS features "top=105.32" should set "top=105"
  • trunk/LayoutTests/platform/win/TestExpectations

    r264114 r264117  
    37873787imported/w3c/web-platform-tests/fetch/api/request/destination [ Skip ]
    37883788imported/w3c/web-platform-tests/fetch/cross-origin-resource-policy [ Skip ]
     3789imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html [ Skip ]
     3790imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html [ Skip ]
     3791imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html [ Skip ]
     3792imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html [ Skip ]
     3793imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker-cache-storage.https.html [ Skip ]
     3794imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html [ Skip ]
     3795imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html [ Skip ]
     3796imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/service-worker-cache-storage.https.html [ Skip ]
    37893797imported/w3c/web-platform-tests/server-timing/service_worker_idl.html [ Skip ]
    37903798imported/w3c/web-platform-tests/service-workers [ Skip ]
  • trunk/LayoutTests/tests-options.json

    r264043 r264117  
    16081608        "slow"
    16091609    ],
     1610    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html": [
     1611        "slow"
     1612    ],
     1613    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html": [
     1614        "slow"
     1615    ],
     1616    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html": [
     1617        "slow"
     1618    ],
    16101619    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https.html": [
    16111620        "slow"
    16121621    ],
     1622    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https.html": [
     1623        "slow"
     1624    ],
     1625    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-navigation.https.html": [
     1626        "slow"
     1627    ],
     1628    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html": [
     1629        "slow"
     1630    ],
     1631    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html": [
     1632        "slow"
     1633    ],
    16131634    "imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html": [
    16141635        "slow"
    16151636    ],
     1637    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html": [
     1638        "slow"
     1639    ],
     1640    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-redirect.https.html": [
     1641        "slow"
     1642    ],
     1643    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html": [
     1644        "slow"
     1645    ],
     1646    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-history-popup.https.html": [
     1647        "slow"
     1648    ],
     1649    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/coep-navigate-popup-unsafe-inherit.https.html": [
     1650        "slow"
     1651    ],
     1652    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html": [
     1653        "slow"
     1654    ],
     1655    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html": [
     1656        "slow"
     1657    ],
     1658    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html": [
     1659        "slow"
     1660    ],
     1661    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html": [
     1662        "slow"
     1663    ],
     1664    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html": [
     1665        "slow"
     1666    ],
     1667    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html": [
     1668        "slow"
     1669    ],
     1670    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html": [
     1671        "slow"
     1672    ],
     1673    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html": [
     1674        "slow"
     1675    ],
     1676    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html": [
     1677        "slow"
     1678    ],
     1679    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html": [
     1680        "slow"
     1681    ],
     1682    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html": [
     1683        "slow"
     1684    ],
     1685    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html": [
     1686        "slow"
     1687    ],
     1688    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html": [
     1689        "slow"
     1690    ],
     1691    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html": [
     1692        "slow"
     1693    ],
     1694    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html": [
     1695        "slow"
     1696    ],
     1697    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html": [
     1698        "slow"
     1699    ],
    16161700    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html": [
    16171701        "slow"
     
    16201704        "slow"
    16211705    ],
     1706    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html": [
     1707        "slow"
     1708    ],
     1709    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html": [
     1710        "slow"
     1711    ],
     1712    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html": [
     1713        "slow"
     1714    ],
     1715    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html": [
     1716        "slow"
     1717    ],
     1718    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html": [
     1719        "slow"
     1720    ],
     1721    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html": [
     1722        "slow"
     1723    ],
     1724    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html": [
     1725        "slow"
     1726    ],
     1727    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html": [
     1728        "slow"
     1729    ],
     1730    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-site.https.html": [
     1731        "slow"
     1732    ],
     1733    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html": [
     1734        "slow"
     1735    ],
     1736    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-same-origin.https.html": [
     1737        "slow"
     1738    ],
     1739    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-same-site.https.html": [
     1740        "slow"
     1741    ],
     1742    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-with-structured-header.https.html": [
     1743        "slow"
     1744    ],
     1745    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_openee-coop-ro.https.html": [
     1746        "slow"
     1747    ],
     1748    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_openee-coop.https.html": [
     1749        "slow"
     1750    ],
     1751    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_opener-coop-ro.https.html": [
     1752        "slow"
     1753    ],
     1754    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_opener-coop.https.html": [
     1755        "slow"
     1756    ],
     1757    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_openee-coop-ro.https.html": [
     1758        "slow"
     1759    ],
     1760    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_openee-coop.https.html": [
     1761        "slow"
     1762    ],
     1763    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_opener-coop-ro.https.html": [
     1764        "slow"
     1765    ],
     1766    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_opener-coop.https.html": [
     1767        "slow"
     1768    ],
     1769    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/property.https.html": [
     1770        "slow"
     1771    ],
     1772    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html": [
     1773        "slow"
     1774    ],
     1775    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-from-unsafe-none.https.html": [
     1776        "slow"
     1777    ],
     1778    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-report-to.https.html": [
     1779        "slow"
     1780    ],
     1781    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep-report-only.https.html": [
     1782        "slow"
     1783    ],
     1784    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep.https.html": [
     1785        "slow"
     1786    ],
     1787    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin.https.html": [
     1788        "slow"
     1789    ],
     1790    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-allow-popups-report-to.https.html": [
     1791        "slow"
     1792    ],
     1793    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-coep-report-to.https.html": [
     1794        "slow"
     1795    ],
     1796    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-report-to.https.html": [
     1797        "slow"
     1798    ],
     1799    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin.https.html": [
     1800        "slow"
     1801    ],
     1802    "imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-unafe-none-report-to.https.html": [
     1803        "slow"
     1804    ],
    16221805    "imported/w3c/web-platform-tests/html/dom/documents/resource-metadata-management/document-lastModified-01.html": [
    16231806        "slow"
     
    20112194    ],
    20122195    "imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_adoption02.html": [
     2196        "slow"
     2197    ],
     2198    "imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_blocks.html": [
    20132199        "slow"
    20142200    ],
Note: See TracChangeset for help on using the changeset viewer.