https://github.com/web-platform-tests/wpt
Revision 8f1ef70886a1443ccd9980448031c88a44c3faea authored by Ben Pastene on 13 April 2018, 17:03:33 UTC, committed by Chromium WPT Sync on 13 April 2018, 17:03:33 UTC
This reverts commit 7c3d1d13f940e88ef6706fd8b5c257a81d340ed9.

Reason for revert: WebviewLoginTest.Basic is still flaky on linux-chromeos-rel
https://ci.chromium.org/buildbot/chromium.chromiumos/linux-chromeos-rel/6886
https://ci.chromium.org/buildbot/chromium.chromiumos/linux-chromeos-rel/6887

Original change's description:
> Reland: Use PostTask to schedule cross-process postMessage forwarding.
>
> Changes from original attempt at https://crrev.com/c/999182:
> - fix flakiness in two additional ChromeOS login tests
> - fix CSP WPT tests to not depend on ordering between iframe's onload
>   and postMessage - see https://crbug.com/832319.
>
> Previously, we sent the IPC to forward a cross-process postMessage
> immediately.  This caused a behavioral difference from the
> same-process case where the postMessage is always scheduled.  Namely,
> in a scenario like this:
>
>   frame.postMessage(...);
>   doSomethingThatSendsIPCsToFrame(frame);
>
> the IPCs from JS following the postMessage would've been ordered
> incorrectly, causing |frame| to see their side effects after the
> postMessage dispatch in the cross-process case, whereas they would be
> seen before the postMessage dispatch in the same-process case.  One
> example of this is frame.focus(), and another is a frame element
> onload event (dispatched via FrameHostMsg_DispatchLoad) arriving after
> a postMessage dispatched from an inline script while the frame was
> still loading.
>
> To resolve these ordering concerns, this CL changes cross-process
> postMessage to do a PostTask on the sender side before sending the
> message to the browser process.  This improves the current state of
> the world, but does not yet achieve a perfect match for the IPC
> ordering in the same-process case - see discussion on the bug.
>
> Bug: 828529
> Change-Id: I62a627c501526d09900be4f5bd2c899acf4d1e07
> Reviewed-on: https://chromium-review.googlesource.com/999182
> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
> Cr-Original-Commit-Position: refs/heads/master@{#550284}
> Reviewed-on: https://chromium-review.googlesource.com/1011287
> Cr-Commit-Position: refs/heads/master@{#550621}

TBR=xiyuan@chromium.org,dcheng@chromium.org,alexmos@chromium.org

Change-Id: Ic0637a6038bed6e5334a26e1934bee81faad3b9e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 828529
Reviewed-on: https://chromium-review.googlesource.com/1012138
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550649}
1 parent 1e5a5fe
History
Tip revision: 8f1ef70886a1443ccd9980448031c88a44c3faea authored by Ben Pastene on 13 April 2018, 17:03:33 UTC
Revert "Reland: Use PostTask to schedule cross-process postMessage forwarding."
Tip revision: 8f1ef70
File Mode Size
compat
extension
html
pointerlock
resources
OWNERS -rw-r--r-- 102 bytes
README.md -rw-r--r-- 322 bytes
idlharness.html -rw-r--r-- 3.2 KB
pointerevent_attributes_hoverable_pointers-manual.html -rw-r--r-- 8.0 KB
pointerevent_attributes_nohover_pointers-manual.html -rw-r--r-- 6.5 KB
pointerevent_boundary_events_in_capturing-manual.html -rw-r--r-- 5.4 KB
pointerevent_capture_mouse-manual.html -rw-r--r-- 6.9 KB
pointerevent_capture_suppressing_mouse-manual.html -rw-r--r-- 10.4 KB
pointerevent_change-touch-action-onpointerdown_touch-manual.html -rw-r--r-- 5.8 KB
pointerevent_click_during_capture-manual.html -rw-r--r-- 5.5 KB
pointerevent_constructor.html -rw-r--r-- 5.5 KB
pointerevent_disabled_form_control-manual.html -rw-r--r-- 2.7 KB
pointerevent_element_haspointercapture-manual.html -rw-r--r-- 6.7 KB
pointerevent_element_haspointercapture_release_pending_capture-manual.html -rw-r--r-- 3.9 KB
pointerevent_fractional_coordinates-manual.html -rw-r--r-- 4.2 KB
pointerevent_lostpointercapture_for_disconnected_node-manual.html -rw-r--r-- 3.4 KB
pointerevent_lostpointercapture_is_first-manual.html -rw-r--r-- 7.3 KB
pointerevent_multiple_primary_pointers_boundary_events-manual.html -rw-r--r-- 6.0 KB
pointerevent_on_event_handlers.html -rw-r--r-- 3.4 KB
pointerevent_pointerId_scope-manual.html -rw-r--r-- 4.2 KB
pointerevent_pointercancel_touch-manual.html -rw-r--r-- 4.4 KB
pointerevent_pointerenter_does_not_bubble-manual.html -rw-r--r-- 3.9 KB
pointerevent_pointerleave_after_pointercancel_touch-manual.html -rw-r--r-- 3.2 KB
pointerevent_pointerleave_descendant_over-manual.html -rw-r--r-- 2.6 KB
pointerevent_pointerleave_descendants-manual.html -rw-r--r-- 2.1 KB
pointerevent_pointerleave_does_not_bubble-manual.html -rw-r--r-- 3.5 KB
pointerevent_pointerleave_pen-manual.html -rw-r--r-- 4.0 KB
pointerevent_pointermove-manual.html -rw-r--r-- 2.0 KB
pointerevent_pointermove_isprimary_same_as_pointerdown-manual.html -rw-r--r-- 3.8 KB
pointerevent_pointermove_on_chorded_mouse_button-manual.html -rw-r--r-- 4.1 KB
pointerevent_pointerout_after_pointercancel_touch-manual.html -rw-r--r-- 3.2 KB
pointerevent_pointerout_pen-manual.html -rw-r--r-- 2.6 KB
pointerevent_pointerout_received_once-manual.html -rw-r--r-- 2.2 KB
pointerevent_releasepointercapture_events_to_original_target-manual.html -rw-r--r-- 7.1 KB
pointerevent_releasepointercapture_invalid_pointerid-manual.html -rw-r--r-- 3.9 KB
pointerevent_releasepointercapture_onpointercancel_touch-manual.html -rw-r--r-- 3.4 KB
pointerevent_releasepointercapture_onpointerup_mouse-manual.html -rw-r--r-- 3.6 KB
pointerevent_releasepointercapture_release_right_after_capture-manual.html -rw-r--r-- 2.8 KB
pointerevent_sequence_at_implicit_release_on_click-manual.html -rw-r--r-- 2.9 KB
pointerevent_sequence_at_implicit_release_on_drag-manual.html -rw-r--r-- 2.9 KB
pointerevent_setpointercapture_disconnected-manual.html -rw-r--r-- 2.3 KB
pointerevent_setpointercapture_inactive_button_mouse-manual.html -rw-r--r-- 2.3 KB
pointerevent_setpointercapture_invalid_pointerid-manual.html -rw-r--r-- 3.3 KB
pointerevent_setpointercapture_override_pending_capture_element-manual.html -rw-r--r-- 3.1 KB
pointerevent_setpointercapture_relatedtarget-manual.html -rw-r--r-- 4.6 KB
pointerevent_setpointercapture_to_same_element_twice-manual.html -rw-r--r-- 3.1 KB
pointerevent_styles.css -rw-r--r-- 1.2 KB
pointerevent_support.js -rw-r--r-- 9.2 KB
pointerevent_suppress_compat_events_on_click-manual.html -rw-r--r-- 3.3 KB
pointerevent_suppress_compat_events_on_drag_mouse-manual.html -rw-r--r-- 4.3 KB
pointerevent_touch-action-auto-css_touch-manual.html -rw-r--r-- 5.5 KB
pointerevent_touch-action-button-test_touch-manual.html -rw-r--r-- 4.7 KB
pointerevent_touch-action-illegal.html -rw-r--r-- 2.6 KB
pointerevent_touch-action-inherit_child-auto-child-none_touch-manual.html -rw-r--r-- 6.2 KB
pointerevent_touch-action-inherit_child-none_touch-manual.html -rw-r--r-- 5.7 KB
pointerevent_touch-action-inherit_child-pan-x-child-pan-x_touch-manual.html -rw-r--r-- 6.0 KB
pointerevent_touch-action-inherit_child-pan-x-child-pan-y_touch-manual.html -rw-r--r-- 6.0 KB
pointerevent_touch-action-inherit_highest-parent-none_touch-manual.html -rw-r--r-- 6.1 KB
pointerevent_touch-action-inherit_parent-none_touch-manual.html -rw-r--r-- 5.8 KB
pointerevent_touch-action-keyboard-manual.html -rw-r--r-- 5.2 KB
pointerevent_touch-action-mouse-manual.html -rw-r--r-- 5.6 KB
pointerevent_touch-action-none-css_touch-manual.html -rw-r--r-- 5.4 KB
pointerevent_touch-action-pan-x-css_touch-manual.html -rw-r--r-- 5.2 KB
pointerevent_touch-action-pan-x-pan-y-pan-y_touch-manual.html -rw-r--r-- 5.7 KB
pointerevent_touch-action-pan-x-pan-y_touch-manual.html -rw-r--r-- 5.4 KB
pointerevent_touch-action-pan-y-css_touch-manual.html -rw-r--r-- 5.2 KB
pointerevent_touch-action-rotated-divs_touch-manual.html -rw-r--r-- 3.2 KB
pointerevent_touch-action-span-test_touch-manual.html -rw-r--r-- 4.9 KB
pointerevent_touch-action-svg-test_touch-manual.html -rw-r--r-- 5.2 KB
pointerevent_touch-action-table-test_touch-manual.html -rw-r--r-- 6.3 KB
pointerevent_touch-action-verification.html -rw-r--r-- 5.3 KB

README.md

back to top