Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add documentId to WebNavigation GetFrame API"
This reverts commit dbba982. Reason for revert: Likely cause of consistent failures on the linux-ubsan-vptr bot: https://ci.chromium.org/p/chromium/builders/ci/linux-ubsan-vptr Failures are in browser_tests, which fail these two: - PersistentBackground/WebNavigationApiTestWithContextType.TargetBlank/0 - PersistentBackground/WebNavigationApiTestWithContextType.TargetBlankIncognito/0 consistently after this change landed. Failures look like: Value of: catcher.GetNextResult() Actual: false Expected: true Failed 1 of 2 tests Here's a full message with context if you need it for PersistentBackground/WebNavigationApiTestWithContextType.TargetBlank/0 ---- [ RUN ] PersistentBackground/WebNavigationApiTestWithContextType.TargetBlank/0 [464:464:0301/144733.588542:WARNING:field_trial_util.cc(105)] Field trial config study skipped: DesktopTabGroupsUserEducation.Enabled (some of its features are already overridden) [464:464:0301/144733.588746:WARNING:field_trial_util.cc(105)] Field trial config study skipped: GoogleLensDesktopContextMenuSearch.Enabled (some of its features are already overridden) [464:464:0301/144733.588871:WARNING:field_trial_util.cc(105)] Field trial config study skipped: OmniboxUpdatedConnectionSecurityIndicatorsIPH.Enabled (some of its features are already overridden) [464:464:0301/144733.588964:WARNING:field_trial_util.cc(105)] Field trial config study skipped: PreconnectToSearchDesktop.EnabledWithStartupDelayForegroundOnly (some of its features are already overridden) [464:464:0301/144733.589045:WARNING:field_trial_util.cc(105)] Field trial config study skipped: SharedHighlightingIphDesktop.Enabled (some of its features are already overridden) [464:464:0301/144733.589080:WARNING:field_trial_util.cc(105)] Field trial config study skipped: TabAudioMuting.Enabled (some of its features are already overridden) [464:464:0301/144733.589102:WARNING:field_trial_util.cc(105)] Field trial config study skipped: TabSearchIPH.TabSearchIPH (some of its features are already overridden) [464:464:0301/144733.589268:WARNING:field_trial_util.cc(105)] Field trial config study skipped: WebUITabStrip.Enabled (some of its features are already overridden) libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [656:656:0301/144733.806065:WARNING:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [656:656:0301/144733.850910:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. [464:464:0301/144733.932449:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. [464:718:0301/144733.993927:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [464:718:0301/144733.993972:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed. [464:718:0301/144733.994251:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [464:718:0301/144733.995241:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [464:749:0301/144734.486797:WARNING:embedded_test_server.cc(665)] Request not handled. Returning 404: /favicon.ico [464:464:0301/144734.572404:INFO:CONSOLE(0)] "[SUCCESS] targetBlank", source: chrome-extension://dakfcpefccmhodaclomjmbepmggkkebb/_generated_background_page.html (0) [464:464:0301/144734.577512:INFO:CONSOLE(0)] "[FAIL] testGetFrame: API Test Error in testGetFrame Actual: null Expected: {"errorOccurred":false,"url":"http://127.0.0.1:33405/extensions/api_test/webnavigation/targetBlank/a.html","parentFrameId":-1,"documentId":"EEAB76DF6EE3FA5A5D1FD6CFFA67B4E6","documentLifecycle":"active","frameType":"outermost_frame"} Error at extensions::test:248:20 at chrome-extension://dakfcpefccmhodaclomjmbepmggkkebb/test_targetBlank.js:143:23", source: chrome-extension://dakfcpefccmhodaclomjmbepmggkkebb/_generated_background_page.html (0) ../../chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc:489: Failure Value of: catcher.GetNextResult() Actual: false Expected: true Failed 1 of 2 tests Stack trace: #0 0x55c0a052ad5c extensions::WebNavigationApiTestWithContextType_TargetBlank_Test::RunTestOnMainThread() #1 0x55c0a95c0429 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #2 0x55c0a41d24e7 content::BrowserMainLoop::InterceptMainMessageLoopRun() #3 0x55c0a41d25f2 content::BrowserMainLoop::RunMainMessageLoop() #4 0x55c0a41d7381 content::BrowserMainRunnerImpl::Run() #5 0x55c0a41cc372 content::BrowserMain() #6 0x55c0a5c52a82 content::RunBrowserProcessMain() #7 0x55c0a5c55580 content::ContentMainRunnerImpl::RunBrowser() #8 0x55c0a5c547e7 content::ContentMainRunnerImpl::Run() #9 0x55c0a5c4ff32 content::RunContentProcess() #10 0x55c0a5c50a4e content::ContentMain() #11 0x55c0a95bf226 content::BrowserTestBase::SetUp() #12 0x55c0a82e1175 InProcessBrowserTest::SetUp() [464:464:0301/144735.270606:WARNING:pref_notifier_impl.cc(41)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] PersistentBackground/WebNavigationApiTestWithContextType.TargetBlank/0, where GetParam() = 4-byte object <03-00 00-00> (2103 ms) ---- Original change's description: > Add documentId to WebNavigation GetFrame API > > - Make tabId and frameId optional. > - Support querying based solely on the documentId. > > See https://bit.ly/3G4RBEn for discussion regarding this change. > > BUG=1264911 > > Change-Id: I399bc050d4dea144cdce79ff7084c31cd012b094 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3448388 > Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> > Commit-Queue: Dave Tapuska <dtapuska@chromium.org> > Cr-Commit-Position: refs/heads/main@{#976413} Bug: 1264911 Change-Id: Ifc94658fcc11e214065f4d1d73c2831c9caa6172 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3499404 Auto-Submit: Mark Pearson <mpearson@chromium.org> Owners-Override: Mark Pearson <mpearson@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#976477}
- Loading branch information