diff --git a/DEPS b/DEPS index c40bb44..6ba7951 100644 --- a/DEPS +++ b/DEPS
@@ -97,7 +97,7 @@ # Three lines of non-changing comments so that # the commit queue can handle CLs rolling catapult # and whatever else without interference from each other. - 'catapult_revision': 'fdacc64db061894f9412fc4fd3af78bc641022c9', + 'catapult_revision': 'a8018a6284d053d1c80ee0119ee33bd80ff7fae9', # Three lines of non-changing comments so that # the commit queue can handle CLs rolling libFuzzer # and whatever else without interference from each other.
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManager.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManager.java index 89356a7..9f2787a 100644 --- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManager.java +++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManager.java
@@ -86,6 +86,19 @@ } /** + * Deletes all site channels. + */ + public void deleteAllSiteChannels() { + List<NotificationChannel> channels = mNotificationManager.getNotificationChannels(); + for (NotificationChannel channel : channels) { + String channelId = channel.getId(); + if (isValidSiteChannelId(channelId)) { + mNotificationManager.deleteNotificationChannel(channelId); + } + } + } + + /** * Deletes the channel associated with this channel ID. */ public void deleteSiteChannel(String channelId) {
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ManageSpaceActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ManageSpaceActivity.java index ba4092d..a8d42cfa 100644 --- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ManageSpaceActivity.java +++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ManageSpaceActivity.java
@@ -34,6 +34,7 @@ import org.chromium.chrome.browser.init.BrowserParts; import org.chromium.chrome.browser.init.ChromeBrowserInitializer; import org.chromium.chrome.browser.init.EmptyBrowserParts; +import org.chromium.chrome.browser.notifications.channels.SiteChannelsManager; import org.chromium.chrome.browser.preferences.AboutChromePreferences; import org.chromium.chrome.browser.preferences.Preferences; import org.chromium.chrome.browser.preferences.PreferencesLauncher; @@ -259,6 +260,9 @@ } SearchWidgetProvider.reset(); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + SiteChannelsManager.getInstance().deleteAllSiteChannels(); + } activityManager.clearApplicationUserData(); } });
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManagerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManagerTest.java index 96130eb..17105916 100644 --- a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManagerTest.java +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/channels/SiteChannelsManagerTest.java
@@ -129,6 +129,16 @@ @Test @MinAndroidSdkLevel(Build.VERSION_CODES.O) @SmallTest + public void testDeleteAllSiteChannels() throws Exception { + mSiteChannelsManager.createSiteChannel("https://chromium.org", 0L, true); + mSiteChannelsManager.createSiteChannel("https://tests.peter.sh", 0L, true); + mSiteChannelsManager.deleteAllSiteChannels(); + assertThat(Arrays.asList(mSiteChannelsManager.getSiteChannels()), hasSize(0)); + } + + @Test + @MinAndroidSdkLevel(Build.VERSION_CODES.O) + @SmallTest public void testDeleteSiteChannel_channelDoesNotExist() throws Exception { mSiteChannelsManager.createSiteChannel("https://chromium.org", 0L, true); mSiteChannelsManager.deleteSiteChannel("https://some-other-origin.org"); @@ -208,4 +218,4 @@ } return null; } -} \ No newline at end of file +}
diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc index 6cf2474..b0c12ce 100644 --- a/chrome/browser/printing/print_view_manager.cc +++ b/chrome/browser/printing/print_view_manager.cc
@@ -10,6 +10,7 @@ #include "base/bind.h" #include "base/lazy_instance.h" #include "base/memory/ptr_util.h" +#include "build/build_config.h" #include "chrome/browser/plugins/chrome_plugin_service_filter.h" #include "chrome/browser/printing/print_preview_dialog_controller.h" #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" @@ -71,7 +72,8 @@ : PrintViewManagerBase(web_contents), print_preview_state_(NOT_PREVIEWING), print_preview_rfh_(nullptr), - scripted_print_preview_rph_(nullptr) { + scripted_print_preview_rph_(nullptr), + is_switching_to_system_dialog_(false) { if (PrintPreviewDialogController::IsPrintPreviewURL(web_contents->GetURL())) { EnableInternalPDFPluginForContents( web_contents->GetRenderProcessHost()->GetID(), @@ -89,6 +91,7 @@ DCHECK(!dialog_shown_callback.is_null()); DCHECK(on_print_dialog_shown_callback_.is_null()); on_print_dialog_shown_callback_ = dialog_shown_callback; + is_switching_to_system_dialog_ = true; SetPrintingRFH(print_preview_rfh_); int32_t id = print_preview_rfh_->GetRoutingID(); @@ -145,6 +148,24 @@ if (print_preview_state_ == NOT_PREVIEWING) return; +// Send ClosePrintPreview message for 'afterprint' event. +#if defined(OS_WIN) + // On Windows, we always send ClosePrintPreviewDialog. It's ok to dispatch + // 'afterprint' at this timing because system dialog printing on + // Windows doesn't need the original frame. + bool send_message = true; +#else + // On non-Windows, we don't need to send ClosePrintPreviewDialog when we are + // switching to system dialog. PrintRenderFrameHelper is responsible to + // dispatch 'afterprint' event. + bool send_message = !is_switching_to_system_dialog_; +#endif + if (send_message) { + print_preview_rfh_->Send(new PrintMsg_ClosePrintPreviewDialog( + print_preview_rfh_->GetRoutingID())); + } + is_switching_to_system_dialog_ = false; + if (print_preview_state_ == SCRIPTED_PREVIEW) { auto& map = g_scripted_print_preview_closure_map.Get(); auto it = map.find(scripted_print_preview_rph_);
diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h index c6b12bde..1008e97b 100644 --- a/chrome/browser/printing/print_view_manager.h +++ b/chrome/browser/printing/print_view_manager.h
@@ -88,6 +88,10 @@ // Keeps track of the pending callback during scripted print preview. content::RenderProcessHost* scripted_print_preview_rph_; + // Indicates whether we're switching from print preview to system dialog. This + // flag is true between PrintForSystemDialogNow() and PrintPreviewDone(). + bool is_switching_to_system_dialog_; + DISALLOW_COPY_AND_ASSIGN(PrintViewManager); };
diff --git a/chrome/browser/ui/global_error/global_error_browsertest.cc b/chrome/browser/ui/global_error/global_error_browsertest.cc new file mode 100644 index 0000000..980d524 --- /dev/null +++ b/chrome/browser/ui/global_error/global_error_browsertest.cc
@@ -0,0 +1,236 @@ +// Copyright 2017 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "base/path_service.h" +#include "build/build_config.h" +#include "chrome/browser/browser_process.h" +#include "chrome/browser/chrome_notification_types.h" +#include "chrome/browser/extensions/extension_creator.h" +#include "chrome/browser/extensions/extension_disabled_ui.h" +#include "chrome/browser/extensions/extension_error_controller.h" +#include "chrome/browser/extensions/extension_error_ui_default.h" +#include "chrome/browser/extensions/extension_service.h" +#include "chrome/browser/extensions/external_install_error.h" +#include "chrome/browser/extensions/test_blacklist.h" +#include "chrome/browser/profiles/profile.h" +#include "chrome/browser/recovery/recovery_install_global_error.h" +#include "chrome/browser/ui/browser.h" +#include "chrome/browser/ui/global_error/global_error_service.h" +#include "chrome/browser/ui/global_error/global_error_service_factory.h" +#include "chrome/browser/ui/test/test_browser_dialog.h" +#include "chrome/common/chrome_paths.h" +#include "chrome/common/pref_names.h" +#include "content/public/test/test_utils.h" +#include "extensions/browser/extension_prefs.h" +#include "extensions/browser/extension_registry.h" +#include "extensions/browser/extension_system.h" +#include "extensions/browser/mock_external_provider.h" +#include "extensions/common/extension_builder.h" +#include "extensions/common/feature_switch.h" + +#if defined(OS_WIN) +#include "chrome/browser/safe_browsing/chrome_cleaner/srt_global_error_win.h" +#endif + +#if !defined(OS_CHROMEOS) +#include "chrome/browser/signin/signin_global_error.h" +#include "chrome/browser/signin/signin_global_error_factory.h" +#endif + +namespace { + +// Shows the first GlobalError with associated UI associated with |browser|. +void ShowPendingError(Browser* browser) { + GlobalErrorService* service = + GlobalErrorServiceFactory::GetForProfile(browser->profile()); + GlobalError* error = service->GetFirstGlobalErrorWithBubbleView(); + ASSERT_TRUE(error); + error->ShowBubbleView(browser); +} + +// Packs an extension from the extensions test data folder into a crx. +base::FilePath PackCRXInTempDir(base::ScopedTempDir* temp_dir, + const char* extension_folder, + const char* pem_file) { + EXPECT_TRUE(temp_dir->CreateUniqueTempDir()); + base::FilePath crx_path = temp_dir->GetPath().AppendASCII("temp.crx"); + + base::FilePath test_data; + EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_data)); + test_data = test_data.AppendASCII("extensions"); + + base::FilePath dir_path = test_data.AppendASCII(extension_folder); + base::FilePath pem_path = test_data.AppendASCII(pem_file); + + EXPECT_TRUE(extensions::ExtensionCreator().Run( + dir_path, crx_path, pem_path, base::FilePath(), + extensions::ExtensionCreator::kOverwriteCRX)); + EXPECT_TRUE(base::PathExists(crx_path)); + return crx_path; +} + +} // namespace + +class GlobalErrorBubbleTest : public DialogBrowserTest { + public: + GlobalErrorBubbleTest() { + extensions::ExtensionPrefs::SetRunAlertsInFirstRunForTest(); + } + + // DialogBrowserTest: + void ShowDialog(const std::string& name) override; + + private: + DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubbleTest); +}; + +void GlobalErrorBubbleTest::ShowDialog(const std::string& name) { + content::WindowedNotificationObserver global_errors_updated( + chrome::NOTIFICATION_GLOBAL_ERRORS_CHANGED, + base::Bind([](const content::NotificationSource& source, + const content::NotificationDetails& details) -> bool { + return content::Details<GlobalError>(details).ptr()->HasBubbleView(); + })); + Profile* profile = browser()->profile(); + ExtensionService* extension_service = + extensions::ExtensionSystem::Get(profile)->extension_service(); + extensions::ExtensionRegistry* extension_registry = + extensions::ExtensionRegistry::Get(profile); + + extensions::ExtensionBuilder builder("Browser Action"); + builder.SetAction(extensions::ExtensionBuilder::ActionType::BROWSER_ACTION); + builder.SetLocation(extensions::Manifest::INTERNAL); + scoped_refptr<const extensions::Extension> test_extension = builder.Build(); + extension_service->AddExtension(test_extension.get()); + + if (name == "ExtensionDisabledGlobalError") { + extensions::AddExtensionDisabledError(extension_service, + test_extension.get(), false); + global_errors_updated.Wait(); + ShowPendingError(browser()); + } else if (name == "ExtensionDisabledGlobalErrorRemote") { + extensions::AddExtensionDisabledError(extension_service, + test_extension.get(), true); + global_errors_updated.Wait(); + ShowPendingError(browser()); + } else if (name == "ExtensionGlobalError") { + extensions::TestBlacklist test_blacklist( + extensions::Blacklist::Get(profile)); + extension_registry->AddBlacklisted(test_extension); + // Only BLACKLISTED_MALWARE results in a bubble displaying to the user. + // Other types are greylisted, not blacklisted. + test_blacklist.SetBlacklistState(test_extension->id(), + extensions::BLACKLISTED_MALWARE, true); + // Ensure ExtensionService::ManageBlacklist() runs, which shows the dialog. + // (This flow doesn't use NOTIFICATION_GLOBAL_ERRORS_CHANGED.) This is + // asynchronous, and using TestBlacklist ensures the tasks run without + // delay, but some tasks run on the IO thread, so post a task there to + // ensure it was flushed. + // The test also needs to invoke OnBlacklistUpdated() directly. Usually this + // happens via NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE but TestBlacklist + // replaced the SafeBrowsing DB with a fake one, so the notification source + // is different. + static_cast<extensions::Blacklist::Observer*>(extension_service) + ->OnBlacklistUpdated(); + base::RunLoop().RunUntilIdle(); + base::RunLoop flush_io; + content::BrowserThread::PostTaskAndReply( + content::BrowserThread::IO, FROM_HERE, base::BindOnce(&base::DoNothing), + flush_io.QuitClosure()); + flush_io.Run(); + + // Oh no! This relies on RunUntilIdle() to show the bubble. The bubble is + // not persistent, so events from the OS can also cause the bubble to close + // in the following call. + base::RunLoop().RunUntilIdle(); + } else if (name == "ExternalInstallBubbleAlert") { + // To trigger a bubble alert (rather than a menu alert), the extension must + // come from the webstore, which needs the update to come from a signed crx. + const char kExtensionWithUpdateUrl[] = "akjooamlhcgeopfifcmlggaebeocgokj"; + base::ThreadRestrictions::ScopedAllowIO allow_io; + base::ScopedTempDir temp_dir; + base::FilePath crx_path = PackCRXInTempDir( + &temp_dir, "update_from_webstore", "update_from_webstore.pem"); + + auto provider = base::MakeUnique<extensions::MockExternalProvider>( + extension_service, extensions::Manifest::EXTERNAL_PREF); + extensions::MockExternalProvider* provider_ptr = provider.get(); + extension_service->AddProviderForTesting(std::move(provider)); + provider_ptr->UpdateOrAddExtension(kExtensionWithUpdateUrl, "1.0.0.0", + crx_path); + extension_service->CheckForExternalUpdates(); + + // ExternalInstallError::OnDialogReady() adds the error and shows the dialog + // immediately. + global_errors_updated.Wait(); + } else if (name == "RecoveryInstallGlobalError") { + g_browser_process->local_state()->SetBoolean( + prefs::kRecoveryComponentNeedsElevation, true); + global_errors_updated.Wait(); + ShowPendingError(browser()); + +#if !defined(OS_CHROMEOS) + } else if (name == "SigninGlobalError") { + SigninGlobalErrorFactory::GetForProfile(profile)->ShowBubbleView(browser()); +#endif +#if defined(OS_WIN) + } else if (name == "SRTGlobalError") { + GlobalErrorService* global_error_service = + GlobalErrorServiceFactory::GetForProfile(profile); + global_error_service->AddGlobalError( + base::MakeUnique<safe_browsing::SRTGlobalError>( + global_error_service, base::FilePath().AppendASCII("nowhere"))); + ShowPendingError(browser()); +#endif // OS_WIN + } else { + ADD_FAILURE(); + } +} + +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, + InvokeDialog_ExtensionDisabledGlobalError) { + RunDialog(); +} + +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, + InvokeDialog_ExtensionDisabledGlobalErrorRemote) { + RunDialog(); +} + +// This shows a non-persistent dialog during a RunLoop::RunUntilIdle(), so it's +// not possible to guarantee that events to dismiss the dialog are not processed +// as well. Disable by default to prevent flakiness in browser_tests. +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, + DISABLED_InvokeDialog_ExtensionGlobalError) { + RunDialog(); +} + +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, + InvokeDialog_ExternalInstallBubbleAlert) { + extensions::FeatureSwitch::ScopedOverride prompt( + extensions::FeatureSwitch::prompt_for_external_extensions(), true); + RunDialog(); +} + +// RecoveryInstallGlobalError only exists on Windows and Mac. +#if defined(OS_WIN) || defined(OS_MACOSX) +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, + InvokeDialog_RecoveryInstallGlobalError) { + RunDialog(); +} +#endif + +// Signin global errors never happon on ChromeOS. +#if !defined(OS_CHROMEOS) +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, InvokeDialog_SigninGlobalError) { + RunDialog(); +} +#endif + +// Software Removal Tool only exists for Windows. +#if defined(OS_WIN) +IN_PROC_BROWSER_TEST_F(GlobalErrorBubbleTest, InvokeDialog_SRTGlobalError) { + RunDialog(); +} +#endif
diff --git a/chrome/profiling/json_exporter_unittest.cc b/chrome/profiling/json_exporter_unittest.cc index 46ec55f..46e272c 100644 --- a/chrome/profiling/json_exporter_unittest.cc +++ b/chrome/profiling/json_exporter_unittest.cc
@@ -325,6 +325,31 @@ const base::Value* periodic_interval = FindFirstPeriodicInterval(*root); ASSERT_TRUE(periodic_interval) << "Array contains no periodic_interval"; + // Validate the allocators summary. + const base::Value* malloc_summary = + periodic_interval->FindPath({"args", "dumps", "allocators", "malloc"}); + ASSERT_TRUE(malloc_summary); + const base::Value* malloc_size = + malloc_summary->FindPath({"attrs", "size", "value"}); + ASSERT_TRUE(malloc_size); + EXPECT_EQ("54", malloc_size->GetString()); + const base::Value* malloc_virtual_size = + malloc_summary->FindPath({"attrs", "virtual_size", "value"}); + ASSERT_TRUE(malloc_virtual_size); + EXPECT_EQ("54", malloc_virtual_size->GetString()); + + const base::Value* partition_alloc_summary = periodic_interval->FindPath( + {"args", "dumps", "allocators", "partition_alloc"}); + ASSERT_TRUE(partition_alloc_summary); + const base::Value* partition_alloc_size = + partition_alloc_summary->FindPath({"attrs", "size", "value"}); + ASSERT_TRUE(partition_alloc_size); + EXPECT_EQ("14", partition_alloc_size->GetString()); + const base::Value* partition_alloc_virtual_size = + partition_alloc_summary->FindPath({"attrs", "virtual_size", "value"}); + ASSERT_TRUE(partition_alloc_virtual_size); + EXPECT_EQ("14", partition_alloc_virtual_size->GetString()); + const base::Value* heaps_v2 = periodic_interval->FindPath({"args", "dumps", "heaps_v2"}); ASSERT_TRUE(heaps_v2);
diff --git a/chrome/profiling/memlog_receiver_pipe_posix.cc b/chrome/profiling/memlog_receiver_pipe_posix.cc index 435d5bd7..c79942e1 100644 --- a/chrome/profiling/memlog_receiver_pipe_posix.cc +++ b/chrome/profiling/memlog_receiver_pipe_posix.cc
@@ -70,6 +70,8 @@ } else if (bytes_read == 0) { // Other end closed the pipe. if (receiver_) { + // Temporary debugging for https://crbug.com/765836. + LOG(ERROR) << "Memlog debugging: 0 bytes read. Closing pipe"; controller_.StopWatchingFileDescriptor(); DCHECK(receiver_task_runner_); receiver_task_runner_->PostTask(
diff --git a/chrome/profiling/memlog_stream_parser.cc b/chrome/profiling/memlog_stream_parser.cc index 914846b..3045995 100644 --- a/chrome/profiling/memlog_stream_parser.cc +++ b/chrome/profiling/memlog_stream_parser.cc
@@ -147,8 +147,11 @@ if (!ReadBytes(sizeof(StreamHeader), &header)) return READ_NO_DATA; - if (header.signature != kStreamSignature) + if (header.signature != kStreamSignature) { + // Temporary debugging for https://crbug.com/765836. + LOG(ERROR) << "Memlog error parsing signature: " << header.signature; return READ_ERROR; + } receiver_->OnHeader(header); return READ_OK; @@ -164,8 +167,14 @@ // Validate data. if (alloc_packet.stack_len > kMaxStackEntries || alloc_packet.context_byte_len > kMaxContextLen || - alloc_packet.allocator >= AllocatorType::kCount) + alloc_packet.allocator >= AllocatorType::kCount) { + // Temporary debugging for https://crbug.com/765836. + LOG(ERROR) << "Memlog error validating data. Stack length: " + << alloc_packet.stack_len + << ". Context byte length: " << alloc_packet.context_byte_len + << ". Allocator: " << static_cast<int>(alloc_packet.allocator); return READ_ERROR; + } std::vector<Address> stack; stack.resize(alloc_packet.stack_len);
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn index 5432108..f16fd52 100644 --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn
@@ -2069,6 +2069,7 @@ "../browser/payments/manifest_verifier_browsertest.cc", "../browser/payments/payment_manifest_parser_host_browsertest.cc", "../browser/payments/site_per_process_payments_browsertest.cc", + "../browser/ui/global_error/global_error_browsertest.cc", "../browser/ui/global_error/global_error_service_browsertest.cc", "../browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc", "../browser/ui/views/bookmarks/bookmark_editor_view_browsertest.cc",
diff --git a/components/printing/common/print_messages.h b/components/printing/common/print_messages.h index f9b1daf9..ed443d2 100644 --- a/components/printing/common/print_messages.h +++ b/components/printing/common/print_messages.h
@@ -354,6 +354,9 @@ // called multiple times as the user updates settings. IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, base::DictionaryValue /* settings */) + +// Tells the RenderFrame that print preview dialog was closed. +IPC_MESSAGE_ROUTED0(PrintMsg_ClosePrintPreviewDialog) #endif // Messages sent from the renderer to the browser.
diff --git a/components/printing/renderer/print_render_frame_helper.cc b/components/printing/renderer/print_render_frame_helper.cc index fb29ce6a..ab3bc25 100644 --- a/components/printing/renderer/print_render_frame_helper.cc +++ b/components/printing/renderer/print_render_frame_helper.cc
@@ -1046,7 +1046,13 @@ #endif } else { #if BUILDFLAG(ENABLE_BASIC_PRINTING) + auto weak_this = weak_ptr_factory_.GetWeakPtr(); + web_frame->DispatchBeforePrintEvent(); + if (!weak_this) + return; Print(web_frame, blink::WebNode(), true /* is_scripted? */); + if (weak_this) + web_frame->DispatchAfterPrintEvent(); #endif } // WARNING: |this| may be gone at this point. Do not do any more work here and @@ -1076,6 +1082,8 @@ IPC_MESSAGE_HANDLER(PrintMsg_InitiatePrintPreview, OnInitiatePrintPreview) IPC_MESSAGE_HANDLER(PrintMsg_PrintPreview, OnPrintPreview) IPC_MESSAGE_HANDLER(PrintMsg_PrintingDone, OnPrintingDone) + IPC_MESSAGE_HANDLER(PrintMsg_ClosePrintPreviewDialog, + OnClosePrintPreviewDialog) #endif // BUILDFLAG(ENABLE_PRINT_PREVIEW) IPC_MESSAGE_HANDLER(PrintMsg_SetPrintingEnabled, OnSetPrintingEnabled) IPC_MESSAGE_UNHANDLED(handled = false) @@ -1100,12 +1108,18 @@ if (ipc_nesting_level_ > 1) return; + auto weak_this = weak_ptr_factory_.GetWeakPtr(); blink::WebLocalFrame* frame = render_frame()->GetWebFrame(); + frame->DispatchBeforePrintEvent(); + if (!weak_this) + return; // If we are printing a PDF extension frame, find the plugin node and print // that instead. auto plugin = delegate_->GetPdfElement(frame); Print(frame, plugin, false /* is_scripted? */); + if (weak_this) + frame->DispatchAfterPrintEvent(); // WARNING: |this| may be gone at this point. Do not do any more work here and // just return. } @@ -1118,7 +1132,10 @@ NOTREACHED(); return; } + auto weak_this = weak_ptr_factory_.GetWeakPtr(); Print(frame, print_preview_context_.source_node(), false); + if (weak_this) + frame->DispatchAfterPrintEvent(); // WARNING: |this| may be gone at this point. Do not do any more work here and // just return. } @@ -1494,6 +1511,10 @@ ? PRINT_PREVIEW_USER_INITIATED_SELECTION : PRINT_PREVIEW_USER_INITIATED_ENTIRE_FRAME); } + +void PrintRenderFrameHelper::OnClosePrintPreviewDialog() { + print_preview_context_.source_frame()->DispatchAfterPrintEvent(); +} #endif bool PrintRenderFrameHelper::IsPrintingEnabled() const { @@ -2032,6 +2053,10 @@ } void PrintRenderFrameHelper::RequestPrintPreview(PrintPreviewRequestType type) { + auto weak_this = weak_ptr_factory_.GetWeakPtr(); + print_preview_context_.source_frame()->DispatchBeforePrintEvent(); + if (!weak_this) + return; const bool is_modifiable = print_preview_context_.IsModifiable(); const bool has_selection = print_preview_context_.HasSelection(); PrintHostMsg_RequestPrintPreview_Params params;
diff --git a/components/printing/renderer/print_render_frame_helper.h b/components/printing/renderer/print_render_frame_helper.h index 6a52cd8b..a9fe8cb7 100644 --- a/components/printing/renderer/print_render_frame_helper.h +++ b/components/printing/renderer/print_render_frame_helper.h
@@ -199,6 +199,7 @@ #if BUILDFLAG(ENABLE_PRINT_PREVIEW) void OnInitiatePrintPreview(bool has_selection); void OnPrintPreview(const base::DictionaryValue& settings); + void OnClosePrintPreviewDialog(); #endif // BUILDFLAG(ENABLE_PRINT_PREVIEW) void OnPrintingDone(bool success);
diff --git a/extensions/browser/extension_prefs.cc b/extensions/browser/extension_prefs.cc index 9d33880..83925ba 100644 --- a/extensions/browser/extension_prefs.cc +++ b/extensions/browser/extension_prefs.cc
@@ -251,6 +251,10 @@ } } +// Whether SetAlertSystemFirstRun() should always return true, so that alerts +// are triggered, even in first run. +bool g_run_alerts_in_first_run_for_testing = false; + } // namespace // @@ -694,7 +698,7 @@ return true; } prefs_->SetBoolean(pref_names::kAlertsInitialized, true); - return false; + return g_run_alerts_in_first_run_for_testing; // Note: normally false. } bool ExtensionPrefs::DidExtensionEscalatePermissions( @@ -1695,6 +1699,11 @@ needs_sync ? std::make_unique<base::Value>(true) : nullptr); } +// static +void ExtensionPrefs::SetRunAlertsInFirstRunForTest() { + g_run_alerts_in_first_run_for_testing = true; +} + ExtensionPrefs::ExtensionPrefs( content::BrowserContext* browser_context, PrefService* prefs,
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h index 1849bd0..82990c3d 100644 --- a/extensions/browser/extension_prefs.h +++ b/extensions/browser/extension_prefs.h
@@ -553,6 +553,10 @@ bool NeedsSync(const std::string& extension_id) const; void SetNeedsSync(const std::string& extension_id, bool needs_sync); + // When called before the ExtensionService is created, alerts that are + // normally suppressed in first run will still trigger. + static void SetRunAlertsInFirstRunForTest(); + private: friend class ExtensionPrefsBlacklistedExtensions; // Unit test. friend class ExtensionPrefsComponentExtension; // Unit test.
diff --git a/media/midi/midi_manager_android.cc b/media/midi/midi_manager_android.cc index 4250131..46dbd447 100644 --- a/media/midi/midi_manager_android.cc +++ b/media/midi/midi_manager_android.cc
@@ -6,14 +6,15 @@ #include "base/android/build_info.h" #include "base/feature_list.h" -#include "base/memory/ptr_util.h" #include "base/metrics/field_trial_params.h" #include "base/strings/stringprintf.h" #include "jni/MidiManagerAndroid_jni.h" #include "media/midi/midi_device_android.h" #include "media/midi/midi_manager_usb.h" #include "media/midi/midi_output_port_android.h" +#include "media/midi/midi_service.h" #include "media/midi/midi_switches.h" +#include "media/midi/task_service.h" #include "media/midi/usb_midi_device_factory_android.h" using base::android::JavaParamRef; @@ -60,35 +61,48 @@ return new MidiManagerAndroid(service); return new MidiManagerUsb(service, - base::MakeUnique<UsbMidiDeviceFactoryAndroid>()); + std::make_unique<UsbMidiDeviceFactoryAndroid>()); } MidiManagerAndroid::MidiManagerAndroid(MidiService* service) : MidiManager(service) {} MidiManagerAndroid::~MidiManagerAndroid() { - base::AutoLock auto_lock(scheduler_lock_); - CHECK(!scheduler_); + bool result = service()->task_service()->UnbindInstance(); + DCHECK(result); + + // TODO(toyoshim): Remove following code once the dynamic instantiation mode + // is enabled by default. + base::AutoLock lock(lock_); + DCHECK(devices_.empty()); + DCHECK(all_input_ports_.empty()); + DCHECK(all_output_ports_.empty()); + DCHECK(raw_manager_.is_null()); } void MidiManagerAndroid::StartInitialization() { + bool result = service()->task_service()->BindInstance(); + DCHECK(result); + JNIEnv* env = base::android::AttachCurrentThread(); uintptr_t pointer = reinterpret_cast<uintptr_t>(this); raw_manager_.Reset(Java_MidiManagerAndroid_create(env, pointer)); - { - base::AutoLock auto_lock(scheduler_lock_); - scheduler_.reset(new MidiScheduler(this)); - } - Java_MidiManagerAndroid_initialize(env, raw_manager_); } void MidiManagerAndroid::Finalize() { - // Destruct MidiScheduler on Chrome_IOThread. - base::AutoLock auto_lock(scheduler_lock_); - scheduler_.reset(); + bool result = service()->task_service()->UnbindInstance(); + DCHECK(result); + + // TODO(toyoshim): Remove following code once the dynamic instantiation mode + // is enabled by default. + base::AutoLock lock(lock_); + devices_.clear(); + input_port_to_index_.clear(); + output_port_to_index_.clear(); + raw_manager_.Reset(); } void MidiManagerAndroid::DispatchSendMidiData(MidiManagerClient* client, @@ -112,13 +126,20 @@ } } - // output_streams_[port_index] is alive unless MidiManagerUsb is deleted. - // The task posted to the MidiScheduler will be disposed safely on deleting - // the scheduler. - scheduler_->PostSendDataTask( - client, data.size(), timestamp, + // output_streams_[port_index] is alive unless MidiManagerAndroid is deleted. + // The task posted to the TaskService will be disposed safely after unbinding + // the service. + base::TimeDelta delay = MidiService::TimestampToTimeDeltaDelay(timestamp); + service()->task_service()->PostBoundDelayedTask( + TaskService::kDefaultRunnerId, base::BindOnce(&MidiOutputPortAndroid::Send, - base::Unretained(all_output_ports_[port_index]), data)); + base::Unretained(all_output_ports_[port_index]), data), + delay); + service()->task_service()->PostBoundDelayedTask( + TaskService::kDefaultRunnerId, + base::BindOnce(&MidiManager::AccumulateMidiBytesSent, + base::Unretained(this), client, data.size()), + delay); } void MidiManagerAndroid::OnReceivedData(MidiInputPortAndroid* port, @@ -139,7 +160,7 @@ for (jsize i = 0; i < length; ++i) { base::android::ScopedJavaLocalRef<jobject> raw_device( env, env->GetObjectArrayElement(devices, i)); - AddDevice(base::MakeUnique<MidiDeviceAndroid>(env, raw_device, this)); + AddDevice(std::make_unique<MidiDeviceAndroid>(env, raw_device, this)); } CompleteInitialization(Result::OK); } @@ -153,7 +174,7 @@ void MidiManagerAndroid::OnAttached(JNIEnv* env, const JavaParamRef<jobject>& caller, const JavaParamRef<jobject>& raw_device) { - AddDevice(base::MakeUnique<MidiDeviceAndroid>(env, raw_device, this)); + AddDevice(std::make_unique<MidiDeviceAndroid>(env, raw_device, this)); } void MidiManagerAndroid::OnDetached(JNIEnv* env,
diff --git a/media/midi/midi_manager_android.h b/media/midi/midi_manager_android.h index 4028aec..0696b9f 100644 --- a/media/midi/midi_manager_android.h +++ b/media/midi/midi_manager_android.h
@@ -69,6 +69,11 @@ void AddOutputPortAndroid(MidiOutputPortAndroid* port, MidiDeviceAndroid* device); + // TODO(toyoshim): Remove |lock_| once dynamic instantiation mode is enabled + // by default. This protects objects allocated on the I/O thread from doubly + // released on the main thread. + base::Lock lock_; + std::vector<std::unique_ptr<MidiDeviceAndroid>> devices_; // All ports held in |devices_|. Each device has ownership of ports, but we // can store pointers here because a device will keep its ports while it is @@ -83,11 +88,6 @@ base::hash_map<MidiOutputPortAndroid*, size_t> output_port_to_index_; base::android::ScopedJavaGlobalRef<jobject> raw_manager_; - - // Lock to ensure the MidiScheduler is being destructed only once in - // Finalize() on Chrome_IOThread. - base::Lock scheduler_lock_; - std::unique_ptr<MidiScheduler> scheduler_; // GUARDED_BY(scheduler_lock_) }; } // namespace midi
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/cache.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/cache.https-expected.txt deleted file mode 100644 index 52dcc8a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/cache.https-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -FAIL Signals are not stored in the cache API promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signals are not stored in the cache API, even if they're already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt deleted file mode 100644 index b18b8d79..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL General fetch abort tests in a service worker Failed to register a ServiceWorker: The script does not have a MIME type. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-sharedworker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-sharedworker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any.worker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any.worker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt deleted file mode 100644 index 1581c9d0..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL Already aborted request does not land in service worker promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL Stream errors once aborted. promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-worker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-worker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/headers/headers-record-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/headers/headers-record-expected.txt deleted file mode 100644 index 3d8190e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/headers/headers-record-expected.txt +++ /dev/null
@@ -1,16 +0,0 @@ -This is a testharness.js-based test. -PASS Passing nothing to Headers constructor -PASS Passing undefined to Headers constructor -PASS Passing null to Headers constructor -PASS Basic operation with one property -PASS Basic operation with one property and a proto -PASS Correct operation ordering with two properties -PASS Correct operation ordering with two properties one of which has an invalid name -PASS Correct operation ordering with two properties one of which has an invalid value -PASS Correct operation ordering with non-enumerable properties -PASS Correct operation ordering with undefined descriptors -FAIL Correct operation ordering with repeated keys assert_throws: function "function () { var h = new Headers(proxy); }" did not throw -PASS Basic operation with Symbol keys -PASS Operation with non-enumerable Symbol keys -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt deleted file mode 100644 index 86487b11..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetch is blocked by CSP, got a TypeError assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-expected.txt deleted file mode 100644 index afa1d39..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'Window': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt deleted file mode 100644 index 666689b..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch in service worker: referrer with no-referrer policy -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'ServiceWorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'https://web-platform.test:8444'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt deleted file mode 100644 index 4337f2c6..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt deleted file mode 100644 index 30376e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and fresh response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt deleted file mode 100644 index 0327a67b..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Last-Modified and stale response -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1 -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Last-Modified and fresh response assert_equals: expected 2 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt deleted file mode 100644 index f6673f5a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response assert_true: fetch should have been an error expected true got false -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Last-Modified and fresh response assert_true: fetch should have been an error expected true got false -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response assert_equals: expected 2 but got 4 -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and stale response assert_equals: expected 2 but got 4 -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response assert_equals: expected 2 but got 3 -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and stale response assert_equals: expected 2 but got 3 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-consume-empty-expected.txt deleted file mode 100644 index 9c23dfe..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume request's body as text -PASS Consume request's body as blob -PASS Consume request's body as arrayBuffer -PASS Consume request's body as json (error case) -PASS Consume request's body as formData with correct multipart type (error case) -PASS Consume request's body as formData with correct urlencoded type -PASS Consume request's body as formData without correct type (error case) -PASS Consume empty blob request body as arrayBuffer -PASS Consume empty text request body as arrayBuffer -PASS Consume empty blob request body as text -PASS Consume empty text request body as text -PASS Consume empty URLSearchParams request body as text -FAIL Consume empty FormData request body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer request body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-disturbed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-disturbed-expected.txt deleted file mode 100644 index 34a3ff362..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-disturbed-expected.txt +++ /dev/null
@@ -1,11 +0,0 @@ -This is a testharness.js-based test. -FAIL Request's body: initial state assert_equals: body's default value is null expected (object) null but got (undefined) undefined -PASS Request without body cannot be disturbed -PASS Check cloning a disturbed request -PASS Check creating a new request from a disturbed request -FAIL Input request used for creating new request became disturbed assert_not_equals: body should not be undefined got disallowed value undefined -FAIL Input request used for creating new request became disturbed even if body is not used assert_not_equals: body should not be undefined got disallowed value undefined -PASS Check consuming a disturbed request -PASS Request construction failure should not set "bodyUsed" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-error-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-error-expected.txt deleted file mode 100644 index c9ca346..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-error-expected.txt +++ /dev/null
@@ -1,24 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestInit's window is not null assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Input URL is not valid -PASS Input URL has credentials -PASS RequestInit's mode is navigate -PASS RequestInit's referrer is invalid -PASS RequestInit's method is invalid -PASS RequestInit's method is forbidden -PASS RequestInit's mode is no-cors and method is not simple -FAIL RequestInit's cache mode is only-if-cached and mode is not same-origin assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode no-cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Bad referrerPolicy init parameter value -FAIL Bad mode init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad credentials init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad cache init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad redirect init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Request should get its content-type from the init request -PASS Request should not get its content-type from the init request if init headers are provided -PASS Request should get its content-type from the body if none is provided -PASS Request should get its content-type from init headers if one is provided -PASS Request with cache mode: only-if-cached and fetch mode: same-origin -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-idl-expected.txt deleted file mode 100644 index c5e569a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-idl-expected.txt +++ /dev/null
@@ -1,50 +0,0 @@ -This is a testharness.js-based test. -PASS Request interface: existence and properties of interface object -PASS Request interface object length -PASS Request interface object name -PASS Request interface: existence and properties of interface prototype object -PASS Request interface: existence and properties of interface prototype object's "constructor" property -PASS Request interface: attribute method -PASS Request interface: attribute url -PASS Request interface: attribute headers -FAIL Request interface: attribute type assert_true: The prototype object must have a property "type" expected true got false -FAIL Request interface: attribute destination assert_true: The prototype object must have a property "destination" expected true got false -PASS Request interface: attribute referrer -PASS Request interface: attribute referrerPolicy -PASS Request interface: attribute mode -PASS Request interface: attribute credentials -PASS Request interface: attribute cache -PASS Request interface: attribute redirect -PASS Request interface: attribute integrity -PASS Request interface: operation clone() -FAIL Request interface: attribute body assert_true: The prototype object must have a property "body" expected true got false -PASS Request interface: attribute bodyUsed -PASS Request interface: operation arrayBuffer() -PASS Request interface: operation blob() -PASS Request interface: operation formData() -PASS Request interface: operation json() -PASS Request interface: operation text() -PASS Request must be primary interface of new Request("") -PASS Stringification of new Request("") -PASS Request interface: new Request("") must inherit property "method" with the proper type -PASS Request interface: new Request("") must inherit property "url" with the proper type -PASS Request interface: new Request("") must inherit property "headers" with the proper type -FAIL Request interface: new Request("") must inherit property "type" with the proper type assert_inherits: property "type" not found in prototype chain -FAIL Request interface: new Request("") must inherit property "destination" with the proper type assert_inherits: property "destination" not found in prototype chain -PASS Request interface: new Request("") must inherit property "referrer" with the proper type -PASS Request interface: new Request("") must inherit property "referrerPolicy" with the proper type -PASS Request interface: new Request("") must inherit property "mode" with the proper type -PASS Request interface: new Request("") must inherit property "credentials" with the proper type -PASS Request interface: new Request("") must inherit property "cache" with the proper type -PASS Request interface: new Request("") must inherit property "redirect" with the proper type -PASS Request interface: new Request("") must inherit property "integrity" with the proper type -PASS Request interface: new Request("") must inherit property "clone()" with the proper type -FAIL Request interface: new Request("") must inherit property "body" with the proper type assert_inherits: property "body" not found in prototype chain -PASS Request interface: new Request("") must inherit property "bodyUsed" with the proper type -PASS Request interface: new Request("") must inherit property "arrayBuffer()" with the proper type -PASS Request interface: new Request("") must inherit property "blob()" with the proper type -PASS Request interface: new Request("") must inherit property "formData()" with the proper type -PASS Request interface: new Request("") must inherit property "json()" with the proper type -PASS Request interface: new Request("") must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-init-001.sub-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-init-001.sub-expected.txt deleted file mode 100644 index 5174ec97..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-init-001.sub-expected.txt +++ /dev/null
@@ -1,37 +0,0 @@ -This is a testharness.js-based test. -PASS Check method init value of GET and associated getter -PASS Check method init value of HEAD and associated getter -PASS Check method init value of POST and associated getter -PASS Check method init value of PUT and associated getter -PASS Check method init value of DELETE and associated getter -PASS Check method init value of OPTIONS and associated getter -PASS Check method init value of head and associated getter -PASS Check referrer init value of /relative/ressource and associated getter -PASS Check referrer init value of http://web-platform.test:8001/relative/ressource?query=true#fragment and associated getter -PASS Check referrer init value of http://web-platform.test:8001/ and associated getter -FAIL Check referrer init value of http://test.url and associated getter Failed to construct 'Request': The origin of 'http://test.url' should be same as 'http://web-platform.test:8001' -PASS Check referrer init value of about:client and associated getter -PASS Check referrer init value of and associated getter -PASS Check referrerPolicy init value of and associated getter -PASS Check referrerPolicy init value of no-referrer and associated getter -PASS Check referrerPolicy init value of no-referrer-when-downgrade and associated getter -PASS Check referrerPolicy init value of origin and associated getter -PASS Check referrerPolicy init value of origin-when-cross-origin and associated getter -PASS Check referrerPolicy init value of unsafe-url and associated getter -PASS Check referrerPolicy init value of same-origin and associated getter -PASS Check referrerPolicy init value of strict-origin and associated getter -PASS Check referrerPolicy init value of strict-origin-when-cross-origin and associated getter -PASS Check mode init value of same-origin and associated getter -PASS Check mode init value of no-cors and associated getter -PASS Check mode init value of cors and associated getter -PASS Check credentials init value of omit and associated getter -PASS Check credentials init value of same-origin and associated getter -PASS Check credentials init value of include and associated getter -PASS Check redirect init value of follow and associated getter -PASS Check redirect init value of error and associated getter -PASS Check redirect init value of manual and associated getter -PASS Check integrity init value of and associated getter -PASS Check integrity init value of AZERTYUIOP1234567890 and associated getter -PASS Check window init value of null and associated getter -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt deleted file mode 100644 index 4370d6b0..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -PASS A Keep-Alive fetch() with a small body should succeed. -PASS A Keep-Alive fetch() with a body at the Quota Limit should succeed. -FAIL A Keep-Alive fetch() with a body over the Quota Limit should reject. assert_unreached: Should have rejected: undefined Reached unreachable code -PASS A Keep-Alive fetch() should return it's allocated Quota upon promise resolution. -PASS A Keep-Alive fetch() should return only it's allocated Quota upon promise resolution. -FAIL A Keep-Alive fetch() should not be allowed if the Quota is used up. assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-structure-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-structure-expected.txt deleted file mode 100644 index bd0c86d..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/request/request-structure-expected.txt +++ /dev/null
@@ -1,22 +0,0 @@ -This is a testharness.js-based test. -PASS Request has clone method -PASS Request has arrayBuffer method -PASS Request has blob method -PASS Request has formData method -PASS Request has json method -PASS Request has text method -PASS Check method attribute -PASS Check url attribute -PASS Check headers attribute -FAIL Check type attribute assert_true: request has type attribute expected true got false -FAIL Check destination attribute assert_true: request has destination attribute expected true got false -PASS Check referrer attribute -PASS Check referrerPolicy attribute -PASS Check mode attribute -PASS Check credentials attribute -PASS Check cache attribute -PASS Check redirect attribute -PASS Check integrity attribute -PASS Check bodyUsed attribute -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-clone-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-clone-expected.txt deleted file mode 100644 index d1c9f56..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-clone-expected.txt +++ /dev/null
@@ -1,21 +0,0 @@ -This is a testharness.js-based test. -PASS Check Response's clone with default values, without body -PASS Check Response's clone has the expected attribute values -PASS Check orginal response's body after cloning -PASS Check cloned response's body -PASS Cannot clone a disturbed response -PASS Cloned responses should provide the same data -PASS Cancelling stream should not affect cloned one -FAIL Check response clone use structureClone for teed ReadableStreams (Int8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8ClampedArraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float64Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (DataViewchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-consume-empty-expected.txt deleted file mode 100644 index 5b0426f..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume response's body as text -PASS Consume response's body as blob -PASS Consume response's body as arrayBuffer -PASS Consume response's body as json (error case) -PASS Consume response's body as formData with correct multipart type (error case) -PASS Consume response's body as formData with correct urlencoded type -PASS Consume response's body as formData without correct type (error case) -PASS Consume empty blob response body as arrayBuffer -PASS Consume empty text response body as arrayBuffer -PASS Consume empty blob response body as text -PASS Consume empty text response body as text -PASS Consume empty URLSearchParams response body as text -FAIL Consume empty FormData response body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer response body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-idl-expected.txt deleted file mode 100644 index f4315aa..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-idl-expected.txt +++ /dev/null
@@ -1,45 +0,0 @@ -This is a testharness.js-based test. -PASS Response interface: existence and properties of interface object -PASS Response interface object length -PASS Response interface object name -PASS Response interface: existence and properties of interface prototype object -PASS Response interface: existence and properties of interface prototype object's "constructor" property -PASS Response interface: operation error() -PASS Response interface: operation redirect(USVString, unsigned short) -PASS Response interface: attribute type -PASS Response interface: attribute url -PASS Response interface: attribute status -PASS Response interface: attribute ok -PASS Response interface: attribute statusText -PASS Response interface: attribute headers -FAIL Response interface: attribute trailer assert_true: The prototype object must have a property "trailer" expected true got false -PASS Response interface: operation clone() -PASS Response interface: attribute body -PASS Response interface: attribute bodyUsed -PASS Response interface: operation arrayBuffer() -PASS Response interface: operation blob() -PASS Response interface: operation formData() -PASS Response interface: operation json() -PASS Response interface: operation text() -PASS Response must be primary interface of new Response() -PASS Stringification of new Response() -PASS Response interface: new Response() must inherit property "error()" with the proper type -PASS Response interface: new Response() must inherit property "redirect(USVString, unsigned short)" with the proper type -PASS Response interface: calling redirect(USVString, unsigned short) on new Response() with too few arguments must throw TypeError -PASS Response interface: new Response() must inherit property "type" with the proper type -PASS Response interface: new Response() must inherit property "url" with the proper type -PASS Response interface: new Response() must inherit property "status" with the proper type -PASS Response interface: new Response() must inherit property "ok" with the proper type -PASS Response interface: new Response() must inherit property "statusText" with the proper type -PASS Response interface: new Response() must inherit property "headers" with the proper type -FAIL Response interface: new Response() must inherit property "trailer" with the proper type assert_inherits: property "trailer" not found in prototype chain -PASS Response interface: new Response() must inherit property "clone()" with the proper type -PASS Response interface: new Response() must inherit property "body" with the proper type -PASS Response interface: new Response() must inherit property "bodyUsed" with the proper type -PASS Response interface: new Response() must inherit property "arrayBuffer()" with the proper type -PASS Response interface: new Response() must inherit property "blob()" with the proper type -PASS Response interface: new Response() must inherit property "formData()" with the proper type -PASS Response interface: new Response() must inherit property "json()" with the proper type -PASS Response interface: new Response() must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-trailer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-trailer-expected.txt deleted file mode 100644 index 0bed6f6..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/api/response/response-trailer-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL trailer() test promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'then' of undefined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/cc-request-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/cc-request-expected.txt deleted file mode 100644 index 839adc7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/cc-request-expected.txt +++ /dev/null
@@ -1,15 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=0. -FAIL HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=1. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't use fresh response with Age header when request contains Cache-Control: max-age that is greater than remaining freshness. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't reuse fresh response with Age header when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with Last-Modified when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with ETag when request contains Cache-Control: no-cache. -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-store. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached. assert_equals: Response status expected 504 but got 200 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/heuristic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/heuristic-expected.txt deleted file mode 100644 index 7a524a8..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/heuristic-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache reuses an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is present. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not reuse an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is not present. -PASS HTTP cache reuses a 200 OK response with Last-Modified based upon heuristic freshness. -PASS HTTP cache reuses a 203 Non-Authoritative Information response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 204 No Content response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 404 Not Found response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 405 Method Not Allowed response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache reuses a 410 Gone response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 414 URI Too Long response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 501 Not Implemented response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not use a 201 Created response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 202 Accepted response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 403 Forbidden response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 502 Bad Gateway response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 503 Service Unavailable response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 504 Gateway Timeout response with Last-Modified based upon heuristic freshness. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/invalidate-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/invalidate-expected.txt deleted file mode 100644 index 08c7a1a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/invalidate-expected.txt +++ /dev/null
@@ -1,18 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache invalidates after a successful response from a POST -PASS HTTP cache does not invalidate after a failed response from an unsafe request -PASS HTTP cache invalidates after a successful response from a PUT -PASS HTTP cache invalidates after a successful response from a DELETE -FAIL HTTP cache invalidates after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Content-Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Content-Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/partial-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/partial-expected.txt deleted file mode 100644 index 37a3664..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/partial-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache stores partial content and reuses it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores complete response and serves smaller ranges from it. assert_equals: Response status expected 200 but got 206 -FAIL HTTP cache stores partial response and serves smaller ranges from it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores partial content and completes it. assert_equals: expected (string) "bytes=5-" but got (undefined) undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/vary-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/vary-expected.txt deleted file mode 100644 index ddc0d09..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/http-cache/vary-expected.txt +++ /dev/null
@@ -1,14 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache reuses Vary response when request matches. -PASS HTTP cache doesn't use Vary response when request doesn't match. -PASS HTTP cache doesn't use Vary response when request omits variant header. -FAIL HTTP cache doesn't invalidate existing Vary response. assert_less_than: Response used expected a number less than 3 but got 3 -PASS HTTP cache doesn't pay attention to headers not listed in Vary. -PASS HTTP cache reuses two-way Vary response when request matches. -PASS HTTP cache doesn't use two-way Vary response when request doesn't match. -PASS HTTP cache doesn't use two-way Vary response when request omits variant header. -PASS HTTP cache reuses three-way Vary response when request matches. -PASS HTTP cache doesn't use three-way Vary response when request doesn't match. -PASS HTTP cache doesn't use three-way Vary response when request omits variant header. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt deleted file mode 100644 index fd72b93..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: first assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: uppercase -PASS URL query: last -PASS URL query: quoted -PASS URL query: quoted-single -PASS URL query: no-x -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/nosniff/stylesheet-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/nosniff/stylesheet-expected.txt deleted file mode 100644 index 14cfaa1..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-blobs/external/wpt/fetch/nosniff/stylesheet-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: null assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x/x assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: text/css -PASS URL query: text/css;charset=utf-8 -PASS URL query: text/css;blah -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/cache.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/cache.https-expected.txt deleted file mode 100644 index 52dcc8a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/cache.https-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -FAIL Signals are not stored in the cache API promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signals are not stored in the cache API, even if they're already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt deleted file mode 100644 index b18b8d79..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL General fetch abort tests in a service worker Failed to register a ServiceWorker: The script does not have a MIME type. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-sharedworker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-sharedworker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any.worker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any.worker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt deleted file mode 100644 index 1581c9d0..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL Already aborted request does not land in service worker promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL Stream errors once aborted. promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-worker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-worker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/headers/headers-record-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/headers/headers-record-expected.txt deleted file mode 100644 index 3d8190e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/headers/headers-record-expected.txt +++ /dev/null
@@ -1,16 +0,0 @@ -This is a testharness.js-based test. -PASS Passing nothing to Headers constructor -PASS Passing undefined to Headers constructor -PASS Passing null to Headers constructor -PASS Basic operation with one property -PASS Basic operation with one property and a proto -PASS Correct operation ordering with two properties -PASS Correct operation ordering with two properties one of which has an invalid name -PASS Correct operation ordering with two properties one of which has an invalid value -PASS Correct operation ordering with non-enumerable properties -PASS Correct operation ordering with undefined descriptors -FAIL Correct operation ordering with repeated keys assert_throws: function "function () { var h = new Headers(proxy); }" did not throw -PASS Basic operation with Symbol keys -PASS Operation with non-enumerable Symbol keys -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt deleted file mode 100644 index 86487b11..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetch is blocked by CSP, got a TypeError assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-expected.txt deleted file mode 100644 index afa1d39..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'Window': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt deleted file mode 100644 index 666689b..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch in service worker: referrer with no-referrer policy -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'ServiceWorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'https://web-platform.test:8444'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt deleted file mode 100644 index 4337f2c6..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt deleted file mode 100644 index 30376e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and fresh response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt deleted file mode 100644 index 0327a67b..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Last-Modified and stale response -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1 -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Last-Modified and fresh response assert_equals: expected 2 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt deleted file mode 100644 index f6673f5a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response assert_true: fetch should have been an error expected true got false -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Last-Modified and fresh response assert_true: fetch should have been an error expected true got false -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response assert_equals: expected 2 but got 4 -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and stale response assert_equals: expected 2 but got 4 -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response assert_equals: expected 2 but got 3 -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and stale response assert_equals: expected 2 but got 3 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-consume-empty-expected.txt deleted file mode 100644 index 9c23dfe..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume request's body as text -PASS Consume request's body as blob -PASS Consume request's body as arrayBuffer -PASS Consume request's body as json (error case) -PASS Consume request's body as formData with correct multipart type (error case) -PASS Consume request's body as formData with correct urlencoded type -PASS Consume request's body as formData without correct type (error case) -PASS Consume empty blob request body as arrayBuffer -PASS Consume empty text request body as arrayBuffer -PASS Consume empty blob request body as text -PASS Consume empty text request body as text -PASS Consume empty URLSearchParams request body as text -FAIL Consume empty FormData request body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer request body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-disturbed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-disturbed-expected.txt deleted file mode 100644 index 34a3ff362..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-disturbed-expected.txt +++ /dev/null
@@ -1,11 +0,0 @@ -This is a testharness.js-based test. -FAIL Request's body: initial state assert_equals: body's default value is null expected (object) null but got (undefined) undefined -PASS Request without body cannot be disturbed -PASS Check cloning a disturbed request -PASS Check creating a new request from a disturbed request -FAIL Input request used for creating new request became disturbed assert_not_equals: body should not be undefined got disallowed value undefined -FAIL Input request used for creating new request became disturbed even if body is not used assert_not_equals: body should not be undefined got disallowed value undefined -PASS Check consuming a disturbed request -PASS Request construction failure should not set "bodyUsed" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-error-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-error-expected.txt deleted file mode 100644 index c9ca346..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-error-expected.txt +++ /dev/null
@@ -1,24 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestInit's window is not null assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Input URL is not valid -PASS Input URL has credentials -PASS RequestInit's mode is navigate -PASS RequestInit's referrer is invalid -PASS RequestInit's method is invalid -PASS RequestInit's method is forbidden -PASS RequestInit's mode is no-cors and method is not simple -FAIL RequestInit's cache mode is only-if-cached and mode is not same-origin assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode no-cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Bad referrerPolicy init parameter value -FAIL Bad mode init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad credentials init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad cache init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad redirect init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Request should get its content-type from the init request -PASS Request should not get its content-type from the init request if init headers are provided -PASS Request should get its content-type from the body if none is provided -PASS Request should get its content-type from init headers if one is provided -PASS Request with cache mode: only-if-cached and fetch mode: same-origin -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-idl-expected.txt deleted file mode 100644 index c5e569a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-idl-expected.txt +++ /dev/null
@@ -1,50 +0,0 @@ -This is a testharness.js-based test. -PASS Request interface: existence and properties of interface object -PASS Request interface object length -PASS Request interface object name -PASS Request interface: existence and properties of interface prototype object -PASS Request interface: existence and properties of interface prototype object's "constructor" property -PASS Request interface: attribute method -PASS Request interface: attribute url -PASS Request interface: attribute headers -FAIL Request interface: attribute type assert_true: The prototype object must have a property "type" expected true got false -FAIL Request interface: attribute destination assert_true: The prototype object must have a property "destination" expected true got false -PASS Request interface: attribute referrer -PASS Request interface: attribute referrerPolicy -PASS Request interface: attribute mode -PASS Request interface: attribute credentials -PASS Request interface: attribute cache -PASS Request interface: attribute redirect -PASS Request interface: attribute integrity -PASS Request interface: operation clone() -FAIL Request interface: attribute body assert_true: The prototype object must have a property "body" expected true got false -PASS Request interface: attribute bodyUsed -PASS Request interface: operation arrayBuffer() -PASS Request interface: operation blob() -PASS Request interface: operation formData() -PASS Request interface: operation json() -PASS Request interface: operation text() -PASS Request must be primary interface of new Request("") -PASS Stringification of new Request("") -PASS Request interface: new Request("") must inherit property "method" with the proper type -PASS Request interface: new Request("") must inherit property "url" with the proper type -PASS Request interface: new Request("") must inherit property "headers" with the proper type -FAIL Request interface: new Request("") must inherit property "type" with the proper type assert_inherits: property "type" not found in prototype chain -FAIL Request interface: new Request("") must inherit property "destination" with the proper type assert_inherits: property "destination" not found in prototype chain -PASS Request interface: new Request("") must inherit property "referrer" with the proper type -PASS Request interface: new Request("") must inherit property "referrerPolicy" with the proper type -PASS Request interface: new Request("") must inherit property "mode" with the proper type -PASS Request interface: new Request("") must inherit property "credentials" with the proper type -PASS Request interface: new Request("") must inherit property "cache" with the proper type -PASS Request interface: new Request("") must inherit property "redirect" with the proper type -PASS Request interface: new Request("") must inherit property "integrity" with the proper type -PASS Request interface: new Request("") must inherit property "clone()" with the proper type -FAIL Request interface: new Request("") must inherit property "body" with the proper type assert_inherits: property "body" not found in prototype chain -PASS Request interface: new Request("") must inherit property "bodyUsed" with the proper type -PASS Request interface: new Request("") must inherit property "arrayBuffer()" with the proper type -PASS Request interface: new Request("") must inherit property "blob()" with the proper type -PASS Request interface: new Request("") must inherit property "formData()" with the proper type -PASS Request interface: new Request("") must inherit property "json()" with the proper type -PASS Request interface: new Request("") must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-init-001.sub-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-init-001.sub-expected.txt deleted file mode 100644 index 5174ec97..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-init-001.sub-expected.txt +++ /dev/null
@@ -1,37 +0,0 @@ -This is a testharness.js-based test. -PASS Check method init value of GET and associated getter -PASS Check method init value of HEAD and associated getter -PASS Check method init value of POST and associated getter -PASS Check method init value of PUT and associated getter -PASS Check method init value of DELETE and associated getter -PASS Check method init value of OPTIONS and associated getter -PASS Check method init value of head and associated getter -PASS Check referrer init value of /relative/ressource and associated getter -PASS Check referrer init value of http://web-platform.test:8001/relative/ressource?query=true#fragment and associated getter -PASS Check referrer init value of http://web-platform.test:8001/ and associated getter -FAIL Check referrer init value of http://test.url and associated getter Failed to construct 'Request': The origin of 'http://test.url' should be same as 'http://web-platform.test:8001' -PASS Check referrer init value of about:client and associated getter -PASS Check referrer init value of and associated getter -PASS Check referrerPolicy init value of and associated getter -PASS Check referrerPolicy init value of no-referrer and associated getter -PASS Check referrerPolicy init value of no-referrer-when-downgrade and associated getter -PASS Check referrerPolicy init value of origin and associated getter -PASS Check referrerPolicy init value of origin-when-cross-origin and associated getter -PASS Check referrerPolicy init value of unsafe-url and associated getter -PASS Check referrerPolicy init value of same-origin and associated getter -PASS Check referrerPolicy init value of strict-origin and associated getter -PASS Check referrerPolicy init value of strict-origin-when-cross-origin and associated getter -PASS Check mode init value of same-origin and associated getter -PASS Check mode init value of no-cors and associated getter -PASS Check mode init value of cors and associated getter -PASS Check credentials init value of omit and associated getter -PASS Check credentials init value of same-origin and associated getter -PASS Check credentials init value of include and associated getter -PASS Check redirect init value of follow and associated getter -PASS Check redirect init value of error and associated getter -PASS Check redirect init value of manual and associated getter -PASS Check integrity init value of and associated getter -PASS Check integrity init value of AZERTYUIOP1234567890 and associated getter -PASS Check window init value of null and associated getter -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt deleted file mode 100644 index 4370d6b0..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -PASS A Keep-Alive fetch() with a small body should succeed. -PASS A Keep-Alive fetch() with a body at the Quota Limit should succeed. -FAIL A Keep-Alive fetch() with a body over the Quota Limit should reject. assert_unreached: Should have rejected: undefined Reached unreachable code -PASS A Keep-Alive fetch() should return it's allocated Quota upon promise resolution. -PASS A Keep-Alive fetch() should return only it's allocated Quota upon promise resolution. -FAIL A Keep-Alive fetch() should not be allowed if the Quota is used up. assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-structure-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-structure-expected.txt deleted file mode 100644 index bd0c86d..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/request/request-structure-expected.txt +++ /dev/null
@@ -1,22 +0,0 @@ -This is a testharness.js-based test. -PASS Request has clone method -PASS Request has arrayBuffer method -PASS Request has blob method -PASS Request has formData method -PASS Request has json method -PASS Request has text method -PASS Check method attribute -PASS Check url attribute -PASS Check headers attribute -FAIL Check type attribute assert_true: request has type attribute expected true got false -FAIL Check destination attribute assert_true: request has destination attribute expected true got false -PASS Check referrer attribute -PASS Check referrerPolicy attribute -PASS Check mode attribute -PASS Check credentials attribute -PASS Check cache attribute -PASS Check redirect attribute -PASS Check integrity attribute -PASS Check bodyUsed attribute -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-clone-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-clone-expected.txt deleted file mode 100644 index d1c9f56..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-clone-expected.txt +++ /dev/null
@@ -1,21 +0,0 @@ -This is a testharness.js-based test. -PASS Check Response's clone with default values, without body -PASS Check Response's clone has the expected attribute values -PASS Check orginal response's body after cloning -PASS Check cloned response's body -PASS Cannot clone a disturbed response -PASS Cloned responses should provide the same data -PASS Cancelling stream should not affect cloned one -FAIL Check response clone use structureClone for teed ReadableStreams (Int8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8ClampedArraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float64Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (DataViewchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-consume-empty-expected.txt deleted file mode 100644 index 5b0426f..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume response's body as text -PASS Consume response's body as blob -PASS Consume response's body as arrayBuffer -PASS Consume response's body as json (error case) -PASS Consume response's body as formData with correct multipart type (error case) -PASS Consume response's body as formData with correct urlencoded type -PASS Consume response's body as formData without correct type (error case) -PASS Consume empty blob response body as arrayBuffer -PASS Consume empty text response body as arrayBuffer -PASS Consume empty blob response body as text -PASS Consume empty text response body as text -PASS Consume empty URLSearchParams response body as text -FAIL Consume empty FormData response body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer response body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-idl-expected.txt deleted file mode 100644 index f4315aa..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-idl-expected.txt +++ /dev/null
@@ -1,45 +0,0 @@ -This is a testharness.js-based test. -PASS Response interface: existence and properties of interface object -PASS Response interface object length -PASS Response interface object name -PASS Response interface: existence and properties of interface prototype object -PASS Response interface: existence and properties of interface prototype object's "constructor" property -PASS Response interface: operation error() -PASS Response interface: operation redirect(USVString, unsigned short) -PASS Response interface: attribute type -PASS Response interface: attribute url -PASS Response interface: attribute status -PASS Response interface: attribute ok -PASS Response interface: attribute statusText -PASS Response interface: attribute headers -FAIL Response interface: attribute trailer assert_true: The prototype object must have a property "trailer" expected true got false -PASS Response interface: operation clone() -PASS Response interface: attribute body -PASS Response interface: attribute bodyUsed -PASS Response interface: operation arrayBuffer() -PASS Response interface: operation blob() -PASS Response interface: operation formData() -PASS Response interface: operation json() -PASS Response interface: operation text() -PASS Response must be primary interface of new Response() -PASS Stringification of new Response() -PASS Response interface: new Response() must inherit property "error()" with the proper type -PASS Response interface: new Response() must inherit property "redirect(USVString, unsigned short)" with the proper type -PASS Response interface: calling redirect(USVString, unsigned short) on new Response() with too few arguments must throw TypeError -PASS Response interface: new Response() must inherit property "type" with the proper type -PASS Response interface: new Response() must inherit property "url" with the proper type -PASS Response interface: new Response() must inherit property "status" with the proper type -PASS Response interface: new Response() must inherit property "ok" with the proper type -PASS Response interface: new Response() must inherit property "statusText" with the proper type -PASS Response interface: new Response() must inherit property "headers" with the proper type -FAIL Response interface: new Response() must inherit property "trailer" with the proper type assert_inherits: property "trailer" not found in prototype chain -PASS Response interface: new Response() must inherit property "clone()" with the proper type -PASS Response interface: new Response() must inherit property "body" with the proper type -PASS Response interface: new Response() must inherit property "bodyUsed" with the proper type -PASS Response interface: new Response() must inherit property "arrayBuffer()" with the proper type -PASS Response interface: new Response() must inherit property "blob()" with the proper type -PASS Response interface: new Response() must inherit property "formData()" with the proper type -PASS Response interface: new Response() must inherit property "json()" with the proper type -PASS Response interface: new Response() must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-trailer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-trailer-expected.txt deleted file mode 100644 index 0bed6f6..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/api/response/response-trailer-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL trailer() test promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'then' of undefined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/cc-request-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/cc-request-expected.txt deleted file mode 100644 index 839adc7..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/cc-request-expected.txt +++ /dev/null
@@ -1,15 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=0. -FAIL HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=1. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't use fresh response with Age header when request contains Cache-Control: max-age that is greater than remaining freshness. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't reuse fresh response with Age header when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with Last-Modified when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with ETag when request contains Cache-Control: no-cache. -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-store. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached. assert_equals: Response status expected 504 but got 200 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/heuristic-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/heuristic-expected.txt deleted file mode 100644 index 7a524a8..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/heuristic-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache reuses an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is present. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not reuse an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is not present. -PASS HTTP cache reuses a 200 OK response with Last-Modified based upon heuristic freshness. -PASS HTTP cache reuses a 203 Non-Authoritative Information response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 204 No Content response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 404 Not Found response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 405 Method Not Allowed response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache reuses a 410 Gone response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 414 URI Too Long response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 501 Not Implemented response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not use a 201 Created response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 202 Accepted response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 403 Forbidden response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 502 Bad Gateway response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 503 Service Unavailable response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 504 Gateway Timeout response with Last-Modified based upon heuristic freshness. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/invalidate-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/invalidate-expected.txt deleted file mode 100644 index 08c7a1a..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/invalidate-expected.txt +++ /dev/null
@@ -1,18 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache invalidates after a successful response from a POST -PASS HTTP cache does not invalidate after a failed response from an unsafe request -PASS HTTP cache invalidates after a successful response from a PUT -PASS HTTP cache invalidates after a successful response from a DELETE -FAIL HTTP cache invalidates after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Content-Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Content-Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/partial-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/partial-expected.txt deleted file mode 100644 index 37a3664..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/partial-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache stores partial content and reuses it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores complete response and serves smaller ranges from it. assert_equals: Response status expected 200 but got 206 -FAIL HTTP cache stores partial response and serves smaller ranges from it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores partial content and completes it. assert_equals: expected (string) "bytes=5-" but got (undefined) undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/vary-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/vary-expected.txt deleted file mode 100644 index ddc0d09..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/http-cache/vary-expected.txt +++ /dev/null
@@ -1,14 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache reuses Vary response when request matches. -PASS HTTP cache doesn't use Vary response when request doesn't match. -PASS HTTP cache doesn't use Vary response when request omits variant header. -FAIL HTTP cache doesn't invalidate existing Vary response. assert_less_than: Response used expected a number less than 3 but got 3 -PASS HTTP cache doesn't pay attention to headers not listed in Vary. -PASS HTTP cache reuses two-way Vary response when request matches. -PASS HTTP cache doesn't use two-way Vary response when request doesn't match. -PASS HTTP cache doesn't use two-way Vary response when request omits variant header. -PASS HTTP cache reuses three-way Vary response when request matches. -PASS HTTP cache doesn't use three-way Vary response when request doesn't match. -PASS HTTP cache doesn't use three-way Vary response when request omits variant header. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt deleted file mode 100644 index fd72b93..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: first assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: uppercase -PASS URL query: last -PASS URL query: quoted -PASS URL query: quoted-single -PASS URL query: no-x -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/nosniff/stylesheet-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/nosniff/stylesheet-expected.txt deleted file mode 100644 index 14cfaa1..0000000 --- a/third_party/WebKit/LayoutTests/platform/linux/virtual/outofblink-cors/external/wpt/fetch/nosniff/stylesheet-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: null assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x/x assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: text/css -PASS URL query: text/css;charset=utf-8 -PASS URL query: text/css;blah -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/cache.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/cache.https-expected.txt deleted file mode 100644 index 52dcc8a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/cache.https-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -FAIL Signals are not stored in the cache API promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signals are not stored in the cache API, even if they're already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt deleted file mode 100644 index b18b8d79..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL General fetch abort tests in a service worker Failed to register a ServiceWorker: The script does not have a MIME type. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-sharedworker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general-sharedworker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any.worker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/general.any.worker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt deleted file mode 100644 index 1581c9d0..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL Already aborted request does not land in service worker promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL Stream errors once aborted. promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-worker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/integrity-worker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/headers/headers-record-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/headers/headers-record-expected.txt deleted file mode 100644 index 3d8190e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/headers/headers-record-expected.txt +++ /dev/null
@@ -1,16 +0,0 @@ -This is a testharness.js-based test. -PASS Passing nothing to Headers constructor -PASS Passing undefined to Headers constructor -PASS Passing null to Headers constructor -PASS Basic operation with one property -PASS Basic operation with one property and a proto -PASS Correct operation ordering with two properties -PASS Correct operation ordering with two properties one of which has an invalid name -PASS Correct operation ordering with two properties one of which has an invalid value -PASS Correct operation ordering with non-enumerable properties -PASS Correct operation ordering with undefined descriptors -FAIL Correct operation ordering with repeated keys assert_throws: function "function () { var h = new Headers(proxy); }" did not throw -PASS Basic operation with Symbol keys -PASS Operation with non-enumerable Symbol keys -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt deleted file mode 100644 index 86487b11..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetch is blocked by CSP, got a TypeError assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-expected.txt deleted file mode 100644 index afa1d39..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'Window': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt deleted file mode 100644 index 666689b..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch in service worker: referrer with no-referrer policy -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'ServiceWorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'https://web-platform.test:8444'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt deleted file mode 100644 index 4337f2c6..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt deleted file mode 100644 index 30376e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and fresh response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt deleted file mode 100644 index 0327a67b..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Last-Modified and stale response -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1 -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Last-Modified and fresh response assert_equals: expected 2 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt deleted file mode 100644 index f6673f5a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response assert_true: fetch should have been an error expected true got false -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Last-Modified and fresh response assert_true: fetch should have been an error expected true got false -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response assert_equals: expected 2 but got 4 -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and stale response assert_equals: expected 2 but got 4 -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response assert_equals: expected 2 but got 3 -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and stale response assert_equals: expected 2 but got 3 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-consume-empty-expected.txt deleted file mode 100644 index 9c23dfe..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume request's body as text -PASS Consume request's body as blob -PASS Consume request's body as arrayBuffer -PASS Consume request's body as json (error case) -PASS Consume request's body as formData with correct multipart type (error case) -PASS Consume request's body as formData with correct urlencoded type -PASS Consume request's body as formData without correct type (error case) -PASS Consume empty blob request body as arrayBuffer -PASS Consume empty text request body as arrayBuffer -PASS Consume empty blob request body as text -PASS Consume empty text request body as text -PASS Consume empty URLSearchParams request body as text -FAIL Consume empty FormData request body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer request body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-disturbed-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-disturbed-expected.txt deleted file mode 100644 index 34a3ff362..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-disturbed-expected.txt +++ /dev/null
@@ -1,11 +0,0 @@ -This is a testharness.js-based test. -FAIL Request's body: initial state assert_equals: body's default value is null expected (object) null but got (undefined) undefined -PASS Request without body cannot be disturbed -PASS Check cloning a disturbed request -PASS Check creating a new request from a disturbed request -FAIL Input request used for creating new request became disturbed assert_not_equals: body should not be undefined got disallowed value undefined -FAIL Input request used for creating new request became disturbed even if body is not used assert_not_equals: body should not be undefined got disallowed value undefined -PASS Check consuming a disturbed request -PASS Request construction failure should not set "bodyUsed" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-error-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-error-expected.txt deleted file mode 100644 index c9ca346..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-error-expected.txt +++ /dev/null
@@ -1,24 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestInit's window is not null assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Input URL is not valid -PASS Input URL has credentials -PASS RequestInit's mode is navigate -PASS RequestInit's referrer is invalid -PASS RequestInit's method is invalid -PASS RequestInit's method is forbidden -PASS RequestInit's mode is no-cors and method is not simple -FAIL RequestInit's cache mode is only-if-cached and mode is not same-origin assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode no-cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Bad referrerPolicy init parameter value -FAIL Bad mode init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad credentials init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad cache init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad redirect init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Request should get its content-type from the init request -PASS Request should not get its content-type from the init request if init headers are provided -PASS Request should get its content-type from the body if none is provided -PASS Request should get its content-type from init headers if one is provided -PASS Request with cache mode: only-if-cached and fetch mode: same-origin -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-idl-expected.txt deleted file mode 100644 index c5e569a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-idl-expected.txt +++ /dev/null
@@ -1,50 +0,0 @@ -This is a testharness.js-based test. -PASS Request interface: existence and properties of interface object -PASS Request interface object length -PASS Request interface object name -PASS Request interface: existence and properties of interface prototype object -PASS Request interface: existence and properties of interface prototype object's "constructor" property -PASS Request interface: attribute method -PASS Request interface: attribute url -PASS Request interface: attribute headers -FAIL Request interface: attribute type assert_true: The prototype object must have a property "type" expected true got false -FAIL Request interface: attribute destination assert_true: The prototype object must have a property "destination" expected true got false -PASS Request interface: attribute referrer -PASS Request interface: attribute referrerPolicy -PASS Request interface: attribute mode -PASS Request interface: attribute credentials -PASS Request interface: attribute cache -PASS Request interface: attribute redirect -PASS Request interface: attribute integrity -PASS Request interface: operation clone() -FAIL Request interface: attribute body assert_true: The prototype object must have a property "body" expected true got false -PASS Request interface: attribute bodyUsed -PASS Request interface: operation arrayBuffer() -PASS Request interface: operation blob() -PASS Request interface: operation formData() -PASS Request interface: operation json() -PASS Request interface: operation text() -PASS Request must be primary interface of new Request("") -PASS Stringification of new Request("") -PASS Request interface: new Request("") must inherit property "method" with the proper type -PASS Request interface: new Request("") must inherit property "url" with the proper type -PASS Request interface: new Request("") must inherit property "headers" with the proper type -FAIL Request interface: new Request("") must inherit property "type" with the proper type assert_inherits: property "type" not found in prototype chain -FAIL Request interface: new Request("") must inherit property "destination" with the proper type assert_inherits: property "destination" not found in prototype chain -PASS Request interface: new Request("") must inherit property "referrer" with the proper type -PASS Request interface: new Request("") must inherit property "referrerPolicy" with the proper type -PASS Request interface: new Request("") must inherit property "mode" with the proper type -PASS Request interface: new Request("") must inherit property "credentials" with the proper type -PASS Request interface: new Request("") must inherit property "cache" with the proper type -PASS Request interface: new Request("") must inherit property "redirect" with the proper type -PASS Request interface: new Request("") must inherit property "integrity" with the proper type -PASS Request interface: new Request("") must inherit property "clone()" with the proper type -FAIL Request interface: new Request("") must inherit property "body" with the proper type assert_inherits: property "body" not found in prototype chain -PASS Request interface: new Request("") must inherit property "bodyUsed" with the proper type -PASS Request interface: new Request("") must inherit property "arrayBuffer()" with the proper type -PASS Request interface: new Request("") must inherit property "blob()" with the proper type -PASS Request interface: new Request("") must inherit property "formData()" with the proper type -PASS Request interface: new Request("") must inherit property "json()" with the proper type -PASS Request interface: new Request("") must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-init-001.sub-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-init-001.sub-expected.txt deleted file mode 100644 index 5174ec97..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-init-001.sub-expected.txt +++ /dev/null
@@ -1,37 +0,0 @@ -This is a testharness.js-based test. -PASS Check method init value of GET and associated getter -PASS Check method init value of HEAD and associated getter -PASS Check method init value of POST and associated getter -PASS Check method init value of PUT and associated getter -PASS Check method init value of DELETE and associated getter -PASS Check method init value of OPTIONS and associated getter -PASS Check method init value of head and associated getter -PASS Check referrer init value of /relative/ressource and associated getter -PASS Check referrer init value of http://web-platform.test:8001/relative/ressource?query=true#fragment and associated getter -PASS Check referrer init value of http://web-platform.test:8001/ and associated getter -FAIL Check referrer init value of http://test.url and associated getter Failed to construct 'Request': The origin of 'http://test.url' should be same as 'http://web-platform.test:8001' -PASS Check referrer init value of about:client and associated getter -PASS Check referrer init value of and associated getter -PASS Check referrerPolicy init value of and associated getter -PASS Check referrerPolicy init value of no-referrer and associated getter -PASS Check referrerPolicy init value of no-referrer-when-downgrade and associated getter -PASS Check referrerPolicy init value of origin and associated getter -PASS Check referrerPolicy init value of origin-when-cross-origin and associated getter -PASS Check referrerPolicy init value of unsafe-url and associated getter -PASS Check referrerPolicy init value of same-origin and associated getter -PASS Check referrerPolicy init value of strict-origin and associated getter -PASS Check referrerPolicy init value of strict-origin-when-cross-origin and associated getter -PASS Check mode init value of same-origin and associated getter -PASS Check mode init value of no-cors and associated getter -PASS Check mode init value of cors and associated getter -PASS Check credentials init value of omit and associated getter -PASS Check credentials init value of same-origin and associated getter -PASS Check credentials init value of include and associated getter -PASS Check redirect init value of follow and associated getter -PASS Check redirect init value of error and associated getter -PASS Check redirect init value of manual and associated getter -PASS Check integrity init value of and associated getter -PASS Check integrity init value of AZERTYUIOP1234567890 and associated getter -PASS Check window init value of null and associated getter -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt deleted file mode 100644 index 4370d6b0..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -PASS A Keep-Alive fetch() with a small body should succeed. -PASS A Keep-Alive fetch() with a body at the Quota Limit should succeed. -FAIL A Keep-Alive fetch() with a body over the Quota Limit should reject. assert_unreached: Should have rejected: undefined Reached unreachable code -PASS A Keep-Alive fetch() should return it's allocated Quota upon promise resolution. -PASS A Keep-Alive fetch() should return only it's allocated Quota upon promise resolution. -FAIL A Keep-Alive fetch() should not be allowed if the Quota is used up. assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-structure-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-structure-expected.txt deleted file mode 100644 index bd0c86d..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/request/request-structure-expected.txt +++ /dev/null
@@ -1,22 +0,0 @@ -This is a testharness.js-based test. -PASS Request has clone method -PASS Request has arrayBuffer method -PASS Request has blob method -PASS Request has formData method -PASS Request has json method -PASS Request has text method -PASS Check method attribute -PASS Check url attribute -PASS Check headers attribute -FAIL Check type attribute assert_true: request has type attribute expected true got false -FAIL Check destination attribute assert_true: request has destination attribute expected true got false -PASS Check referrer attribute -PASS Check referrerPolicy attribute -PASS Check mode attribute -PASS Check credentials attribute -PASS Check cache attribute -PASS Check redirect attribute -PASS Check integrity attribute -PASS Check bodyUsed attribute -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-clone-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-clone-expected.txt deleted file mode 100644 index d1c9f56..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-clone-expected.txt +++ /dev/null
@@ -1,21 +0,0 @@ -This is a testharness.js-based test. -PASS Check Response's clone with default values, without body -PASS Check Response's clone has the expected attribute values -PASS Check orginal response's body after cloning -PASS Check cloned response's body -PASS Cannot clone a disturbed response -PASS Cloned responses should provide the same data -PASS Cancelling stream should not affect cloned one -FAIL Check response clone use structureClone for teed ReadableStreams (Int8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8ClampedArraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float64Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (DataViewchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-consume-empty-expected.txt deleted file mode 100644 index 5b0426f..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume response's body as text -PASS Consume response's body as blob -PASS Consume response's body as arrayBuffer -PASS Consume response's body as json (error case) -PASS Consume response's body as formData with correct multipart type (error case) -PASS Consume response's body as formData with correct urlencoded type -PASS Consume response's body as formData without correct type (error case) -PASS Consume empty blob response body as arrayBuffer -PASS Consume empty text response body as arrayBuffer -PASS Consume empty blob response body as text -PASS Consume empty text response body as text -PASS Consume empty URLSearchParams response body as text -FAIL Consume empty FormData response body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer response body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-idl-expected.txt deleted file mode 100644 index f4315aa..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-idl-expected.txt +++ /dev/null
@@ -1,45 +0,0 @@ -This is a testharness.js-based test. -PASS Response interface: existence and properties of interface object -PASS Response interface object length -PASS Response interface object name -PASS Response interface: existence and properties of interface prototype object -PASS Response interface: existence and properties of interface prototype object's "constructor" property -PASS Response interface: operation error() -PASS Response interface: operation redirect(USVString, unsigned short) -PASS Response interface: attribute type -PASS Response interface: attribute url -PASS Response interface: attribute status -PASS Response interface: attribute ok -PASS Response interface: attribute statusText -PASS Response interface: attribute headers -FAIL Response interface: attribute trailer assert_true: The prototype object must have a property "trailer" expected true got false -PASS Response interface: operation clone() -PASS Response interface: attribute body -PASS Response interface: attribute bodyUsed -PASS Response interface: operation arrayBuffer() -PASS Response interface: operation blob() -PASS Response interface: operation formData() -PASS Response interface: operation json() -PASS Response interface: operation text() -PASS Response must be primary interface of new Response() -PASS Stringification of new Response() -PASS Response interface: new Response() must inherit property "error()" with the proper type -PASS Response interface: new Response() must inherit property "redirect(USVString, unsigned short)" with the proper type -PASS Response interface: calling redirect(USVString, unsigned short) on new Response() with too few arguments must throw TypeError -PASS Response interface: new Response() must inherit property "type" with the proper type -PASS Response interface: new Response() must inherit property "url" with the proper type -PASS Response interface: new Response() must inherit property "status" with the proper type -PASS Response interface: new Response() must inherit property "ok" with the proper type -PASS Response interface: new Response() must inherit property "statusText" with the proper type -PASS Response interface: new Response() must inherit property "headers" with the proper type -FAIL Response interface: new Response() must inherit property "trailer" with the proper type assert_inherits: property "trailer" not found in prototype chain -PASS Response interface: new Response() must inherit property "clone()" with the proper type -PASS Response interface: new Response() must inherit property "body" with the proper type -PASS Response interface: new Response() must inherit property "bodyUsed" with the proper type -PASS Response interface: new Response() must inherit property "arrayBuffer()" with the proper type -PASS Response interface: new Response() must inherit property "blob()" with the proper type -PASS Response interface: new Response() must inherit property "formData()" with the proper type -PASS Response interface: new Response() must inherit property "json()" with the proper type -PASS Response interface: new Response() must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-trailer-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-trailer-expected.txt deleted file mode 100644 index 0bed6f6..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/api/response/response-trailer-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL trailer() test promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'then' of undefined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/cc-request-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/cc-request-expected.txt deleted file mode 100644 index 839adc7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/cc-request-expected.txt +++ /dev/null
@@ -1,15 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=0. -FAIL HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=1. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't use fresh response with Age header when request contains Cache-Control: max-age that is greater than remaining freshness. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't reuse fresh response with Age header when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with Last-Modified when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with ETag when request contains Cache-Control: no-cache. -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-store. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached. assert_equals: Response status expected 504 but got 200 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/heuristic-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/heuristic-expected.txt deleted file mode 100644 index 7a524a8..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/heuristic-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache reuses an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is present. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not reuse an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is not present. -PASS HTTP cache reuses a 200 OK response with Last-Modified based upon heuristic freshness. -PASS HTTP cache reuses a 203 Non-Authoritative Information response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 204 No Content response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 404 Not Found response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 405 Method Not Allowed response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache reuses a 410 Gone response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 414 URI Too Long response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 501 Not Implemented response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not use a 201 Created response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 202 Accepted response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 403 Forbidden response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 502 Bad Gateway response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 503 Service Unavailable response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 504 Gateway Timeout response with Last-Modified based upon heuristic freshness. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/invalidate-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/invalidate-expected.txt deleted file mode 100644 index 08c7a1a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/invalidate-expected.txt +++ /dev/null
@@ -1,18 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache invalidates after a successful response from a POST -PASS HTTP cache does not invalidate after a failed response from an unsafe request -PASS HTTP cache invalidates after a successful response from a PUT -PASS HTTP cache invalidates after a successful response from a DELETE -FAIL HTTP cache invalidates after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Content-Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Content-Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/partial-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/partial-expected.txt deleted file mode 100644 index 37a3664..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/partial-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache stores partial content and reuses it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores complete response and serves smaller ranges from it. assert_equals: Response status expected 200 but got 206 -FAIL HTTP cache stores partial response and serves smaller ranges from it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores partial content and completes it. assert_equals: expected (string) "bytes=5-" but got (undefined) undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/vary-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/vary-expected.txt deleted file mode 100644 index ddc0d09..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/http-cache/vary-expected.txt +++ /dev/null
@@ -1,14 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache reuses Vary response when request matches. -PASS HTTP cache doesn't use Vary response when request doesn't match. -PASS HTTP cache doesn't use Vary response when request omits variant header. -FAIL HTTP cache doesn't invalidate existing Vary response. assert_less_than: Response used expected a number less than 3 but got 3 -PASS HTTP cache doesn't pay attention to headers not listed in Vary. -PASS HTTP cache reuses two-way Vary response when request matches. -PASS HTTP cache doesn't use two-way Vary response when request doesn't match. -PASS HTTP cache doesn't use two-way Vary response when request omits variant header. -PASS HTTP cache reuses three-way Vary response when request matches. -PASS HTTP cache doesn't use three-way Vary response when request doesn't match. -PASS HTTP cache doesn't use three-way Vary response when request omits variant header. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt deleted file mode 100644 index fd72b93..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: first assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: uppercase -PASS URL query: last -PASS URL query: quoted -PASS URL query: quoted-single -PASS URL query: no-x -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/nosniff/stylesheet-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/nosniff/stylesheet-expected.txt deleted file mode 100644 index 14cfaa1..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-blobs/external/wpt/fetch/nosniff/stylesheet-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: null assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x/x assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: text/css -PASS URL query: text/css;charset=utf-8 -PASS URL query: text/css;blah -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/cache.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/cache.https-expected.txt deleted file mode 100644 index 52dcc8a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/cache.https-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -FAIL Signals are not stored in the cache API promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signals are not stored in the cache API, even if they're already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt deleted file mode 100644 index b18b8d79..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-serviceworker.https-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL General fetch abort tests in a service worker Failed to register a ServiceWorker: The script does not have a MIME type. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-sharedworker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general-sharedworker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any.worker-expected.txt deleted file mode 100644 index 34f2d61..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/general.any.worker-expected.txt +++ /dev/null
@@ -1,51 +0,0 @@ -This is a testharness.js-based test. -FAIL Aborting rejects with AbortError promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Aborting rejects with AbortError - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's window is not null -FAIL TypeError from request constructor takes priority - Input URL is not valid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - Input URL has credentials promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is navigate promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's referrer is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is invalid promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's method is forbidden promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors -PASS TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors -FAIL TypeError from request constructor takes priority - Bad referrerPolicy init parameter value promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -PASS TypeError from request constructor takes priority - Bad mode init parameter value -PASS TypeError from request constructor takes priority - Bad credentials init parameter value -PASS TypeError from request constructor takes priority - Bad cache init parameter value -PASS TypeError from request constructor takes priority - Bad redirect init parameter value -FAIL Request objects have a signal property assert_true: Signal member is present & truthy expected true got false -FAIL Signal on request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal on request object created from request object, with signal on second request overriding another promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal retained after unrelated properties are overridden by fetch promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal removed by setting to null promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal rejects immediately promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Request is still 'used' if signal is aborted before fetching promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal does not make request promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Already aborted signal can be used for many fetches promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal can be used to abort other fetches, even if another fetch succeeded before aborting promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Underlying connection is closed when aborting after receiving response - no-cors promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.arrayBuffer() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.blob() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.formData() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.json() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Fetch aborted & connection closed when aborted after calling response.text() promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream errors once aborted, after reading. Underlying connection closed. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Stream will not error if body is empty. It's closed with an empty queue before it errors. promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Readable stream synchronously cancels with AbortError if aborted before reading promise_test: Unhandled rejection with value: object "ReferenceError: AbortController is not defined" -FAIL Signal state is cloned AbortController is not defined -FAIL Clone aborts with original controller AbortController is not defined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt deleted file mode 100644 index 1581c9d0..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/abort/serviceworker-intercepted.https-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL Already aborted request does not land in service worker promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.arrayBuffer() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.blob() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.formData() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.json() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL response.text() rejects if already aborted promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -FAIL Stream errors once aborted. promise_test: Unhandled rejection with value: object "TypeError: w.AbortController is not a constructor" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-sharedworker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-worker-expected.txt deleted file mode 100644 index efc63e7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/integrity-worker-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Failed to fetch -PASS Empty string integrity -PASS SHA-256 integrity -PASS SHA-384 integrity -PASS SHA-512 integrity -PASS Invalid integrity -PASS Multiple integrities: valid stronger than invalid -PASS Multiple integrities: invalid stronger than valid -PASS Multiple integrities: invalid as strong as valid -PASS Multiple integrities: both are valid -PASS Multiple integrities: both are invalid -PASS CORS empty integrity -PASS CORS SHA-512 integrity -PASS CORS invalid integrity -PASS Empty string integrity for opaque response -PASS SHA-* integrity for opaque response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt deleted file mode 100644 index b898013..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/request-upload.any.worker-expected.txt +++ /dev/null
@@ -1,20 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch with PUT with body -PASS Fetch with POST with text body -PASS Fetch with POST with URLSearchParams body -PASS Fetch with POST with Blob body -PASS Fetch with POST with ArrayBuffer body -PASS Fetch with POST with Uint8Array body -PASS Fetch with POST with Int8Array body -PASS Fetch with POST with Float32Array body -PASS Fetch with POST with Float64Array body -PASS Fetch with POST with DataView body -PASS Fetch with POST with Blob body with mime type -FAIL Fetch with POST with ReadableStream assert_equals: expected "Test" but got "" -FAIL Fetch with POST with ReadableStream containing String Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing null Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing number Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing ArrayBuffer Cannot read property 'then' of undefined -FAIL Fetch with POST with ReadableStream containing Blob Cannot read property 'then' of undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt deleted file mode 100644 index 8318a4c..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/basic/scheme-about.any.worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Fetching about:invalid.com is KO -PASS Fetching about:config is KO -PASS Fetching about:unicorn is KO -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt deleted file mode 100644 index 46c8763..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-expose-star-worker-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -FAIL Basic Access-Control-Expose-Headers: * support assert_equals: expected (string) "X" but got (object) null -PASS * for credentialed fetches only matches literally -FAIL * can be one of several values assert_equals: expected (string) "X" but got (object) null -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt deleted file mode 100644 index f9a391f4..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-multiple-origins-worker-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL 3 origins allowed, match the 3rd (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice (http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL 3 origins allowed, match twice ("*" and http://web-platform.test:8001) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS 3 origins allowed, no match -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt deleted file mode 100644 index 8a42016..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -FAIL Redirection 301 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 301 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 302 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 303 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 307 after preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 on preflight failed assert_not_equals: got disallowed value undefined -FAIL Redirection 308 after preflight failed assert_not_equals: got disallowed value undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt deleted file mode 100644 index b60014a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/cors/cors-preflight-star.any.worker-expected.txt +++ /dev/null
@@ -1,13 +0,0 @@ -This is a testharness.js-based test. -PASS CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test) -FAIL CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -FAIL CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *) promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS CORS that fails with credentials: true; method: OK (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: *); header: (allowed: ) -PASS CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *) -PASS CORS that fails with credentials: true; method: PUT (allowed: put); header: (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *) -PASS CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *) -PASS CORS that succeeds with credentials: true; method: * (allowed: *); header: *,1 (allowed: *) -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/headers/headers-record-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/headers/headers-record-expected.txt deleted file mode 100644 index 3d8190e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/headers/headers-record-expected.txt +++ /dev/null
@@ -1,16 +0,0 @@ -This is a testharness.js-based test. -PASS Passing nothing to Headers constructor -PASS Passing undefined to Headers constructor -PASS Passing null to Headers constructor -PASS Basic operation with one property -PASS Basic operation with one property and a proto -PASS Correct operation ordering with two properties -PASS Correct operation ordering with two properties one of which has an invalid name -PASS Correct operation ordering with two properties one of which has an invalid value -PASS Correct operation ordering with non-enumerable properties -PASS Correct operation ordering with undefined descriptors -FAIL Correct operation ordering with repeated keys assert_throws: function "function () { var h = new Headers(proxy); }" did not throw -PASS Basic operation with Symbol keys -PASS Operation with non-enumerable Symbol keys -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt deleted file mode 100644 index 86487b11..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/csp-blocked-worker-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL Fetch is blocked by CSP, got a TypeError assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-expected.txt deleted file mode 100644 index afa1d39..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'Window': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt deleted file mode 100644 index 666689b..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-service-worker.https-expected.txt +++ /dev/null
@@ -1,6 +0,0 @@ -This is a testharness.js-based test. -PASS Fetch in service worker: referrer with no-referrer policy -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'ServiceWorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'https://web-platform.test:8444'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt deleted file mode 100644 index 4337f2c6..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/policies/referrer-origin-worker-expected.txt +++ /dev/null
@@ -1,5 +0,0 @@ -This is a testharness.js-based test. -PASS Request's referrer is origin -FAIL Cross-origin referrer is overridden by client origin promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': The origin of 'https://www.web-platform.test:8444/' should be same as 'http://web-platform.test:8001'" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt deleted file mode 100644 index 2195cb15..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/redirect/redirect-location-worker-expected.txt +++ /dev/null
@@ -1,33 +0,0 @@ -This is a testharness.js-based test. -PASS Redirect 301 in "follow" mode without location -PASS Redirect 301 in "manual" mode without location -PASS Redirect 301 in "follow" mode with invalid location -PASS Redirect 301 in "manual" mode with invalid location -PASS Redirect 301 in "follow" mode with data location -FAIL Redirect 301 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 302 in "follow" mode without location -PASS Redirect 302 in "manual" mode without location -PASS Redirect 302 in "follow" mode with invalid location -PASS Redirect 302 in "manual" mode with invalid location -PASS Redirect 302 in "follow" mode with data location -FAIL Redirect 302 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 303 in "follow" mode without location -PASS Redirect 303 in "manual" mode without location -PASS Redirect 303 in "follow" mode with invalid location -PASS Redirect 303 in "manual" mode with invalid location -PASS Redirect 303 in "follow" mode with data location -FAIL Redirect 303 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 307 in "follow" mode without location -PASS Redirect 307 in "manual" mode without location -PASS Redirect 307 in "follow" mode with invalid location -PASS Redirect 307 in "manual" mode with invalid location -PASS Redirect 307 in "follow" mode with data location -FAIL Redirect 307 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -PASS Redirect 308 in "follow" mode without location -PASS Redirect 308 in "manual" mode without location -PASS Redirect 308 in "follow" mode with invalid location -PASS Redirect 308 in "manual" mode with invalid location -PASS Redirect 308 in "follow" mode with data location -FAIL Redirect 308 in "manual" mode with data location promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt deleted file mode 100644 index 30376e1..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-force-cache-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Last-Modified and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and stale response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response -PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Last-Modified and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and stale response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response -PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and fresh response -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt deleted file mode 100644 index 0327a67b..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-no-cache-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response -PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Last-Modified and stale response -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1 -FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Last-Modified and fresh response assert_equals: expected 2 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt deleted file mode 100644 index f6673f5a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response -PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response assert_true: fetch should have been an error expected true got false -FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Last-Modified and fresh response assert_true: fetch should have been an error expected true got false -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response assert_equals: expected 2 but got 4 -FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and stale response assert_equals: expected 2 but got 4 -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response -PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and fresh response -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response assert_equals: expected 2 but got 3 -FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and stale response assert_equals: expected 2 but got 3 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-consume-empty-expected.txt deleted file mode 100644 index 9c23dfe..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume request's body as text -PASS Consume request's body as blob -PASS Consume request's body as arrayBuffer -PASS Consume request's body as json (error case) -PASS Consume request's body as formData with correct multipart type (error case) -PASS Consume request's body as formData with correct urlencoded type -PASS Consume request's body as formData without correct type (error case) -PASS Consume empty blob request body as arrayBuffer -PASS Consume empty text request body as arrayBuffer -PASS Consume empty blob request body as text -PASS Consume empty text request body as text -PASS Consume empty URLSearchParams request body as text -FAIL Consume empty FormData request body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer request body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-disturbed-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-disturbed-expected.txt deleted file mode 100644 index 34a3ff362..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-disturbed-expected.txt +++ /dev/null
@@ -1,11 +0,0 @@ -This is a testharness.js-based test. -FAIL Request's body: initial state assert_equals: body's default value is null expected (object) null but got (undefined) undefined -PASS Request without body cannot be disturbed -PASS Check cloning a disturbed request -PASS Check creating a new request from a disturbed request -FAIL Input request used for creating new request became disturbed assert_not_equals: body should not be undefined got disallowed value undefined -FAIL Input request used for creating new request became disturbed even if body is not used assert_not_equals: body should not be undefined got disallowed value undefined -PASS Check consuming a disturbed request -PASS Request construction failure should not set "bodyUsed" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-error-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-error-expected.txt deleted file mode 100644 index c9ca346..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-error-expected.txt +++ /dev/null
@@ -1,24 +0,0 @@ -This is a testharness.js-based test. -FAIL RequestInit's window is not null assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Input URL is not valid -PASS Input URL has credentials -PASS RequestInit's mode is navigate -PASS RequestInit's referrer is invalid -PASS RequestInit's method is invalid -PASS RequestInit's method is forbidden -PASS RequestInit's mode is no-cors and method is not simple -FAIL RequestInit's cache mode is only-if-cached and mode is not same-origin assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Request with cache mode: only-if-cached and fetch mode no-cors assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Bad referrerPolicy init parameter value -FAIL Bad mode init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad credentials init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad cache init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -FAIL Bad redirect init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw -PASS Request should get its content-type from the init request -PASS Request should not get its content-type from the init request if init headers are provided -PASS Request should get its content-type from the body if none is provided -PASS Request should get its content-type from init headers if one is provided -PASS Request with cache mode: only-if-cached and fetch mode: same-origin -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-idl-expected.txt deleted file mode 100644 index c5e569a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-idl-expected.txt +++ /dev/null
@@ -1,50 +0,0 @@ -This is a testharness.js-based test. -PASS Request interface: existence and properties of interface object -PASS Request interface object length -PASS Request interface object name -PASS Request interface: existence and properties of interface prototype object -PASS Request interface: existence and properties of interface prototype object's "constructor" property -PASS Request interface: attribute method -PASS Request interface: attribute url -PASS Request interface: attribute headers -FAIL Request interface: attribute type assert_true: The prototype object must have a property "type" expected true got false -FAIL Request interface: attribute destination assert_true: The prototype object must have a property "destination" expected true got false -PASS Request interface: attribute referrer -PASS Request interface: attribute referrerPolicy -PASS Request interface: attribute mode -PASS Request interface: attribute credentials -PASS Request interface: attribute cache -PASS Request interface: attribute redirect -PASS Request interface: attribute integrity -PASS Request interface: operation clone() -FAIL Request interface: attribute body assert_true: The prototype object must have a property "body" expected true got false -PASS Request interface: attribute bodyUsed -PASS Request interface: operation arrayBuffer() -PASS Request interface: operation blob() -PASS Request interface: operation formData() -PASS Request interface: operation json() -PASS Request interface: operation text() -PASS Request must be primary interface of new Request("") -PASS Stringification of new Request("") -PASS Request interface: new Request("") must inherit property "method" with the proper type -PASS Request interface: new Request("") must inherit property "url" with the proper type -PASS Request interface: new Request("") must inherit property "headers" with the proper type -FAIL Request interface: new Request("") must inherit property "type" with the proper type assert_inherits: property "type" not found in prototype chain -FAIL Request interface: new Request("") must inherit property "destination" with the proper type assert_inherits: property "destination" not found in prototype chain -PASS Request interface: new Request("") must inherit property "referrer" with the proper type -PASS Request interface: new Request("") must inherit property "referrerPolicy" with the proper type -PASS Request interface: new Request("") must inherit property "mode" with the proper type -PASS Request interface: new Request("") must inherit property "credentials" with the proper type -PASS Request interface: new Request("") must inherit property "cache" with the proper type -PASS Request interface: new Request("") must inherit property "redirect" with the proper type -PASS Request interface: new Request("") must inherit property "integrity" with the proper type -PASS Request interface: new Request("") must inherit property "clone()" with the proper type -FAIL Request interface: new Request("") must inherit property "body" with the proper type assert_inherits: property "body" not found in prototype chain -PASS Request interface: new Request("") must inherit property "bodyUsed" with the proper type -PASS Request interface: new Request("") must inherit property "arrayBuffer()" with the proper type -PASS Request interface: new Request("") must inherit property "blob()" with the proper type -PASS Request interface: new Request("") must inherit property "formData()" with the proper type -PASS Request interface: new Request("") must inherit property "json()" with the proper type -PASS Request interface: new Request("") must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-init-001.sub-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-init-001.sub-expected.txt deleted file mode 100644 index 5174ec97..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-init-001.sub-expected.txt +++ /dev/null
@@ -1,37 +0,0 @@ -This is a testharness.js-based test. -PASS Check method init value of GET and associated getter -PASS Check method init value of HEAD and associated getter -PASS Check method init value of POST and associated getter -PASS Check method init value of PUT and associated getter -PASS Check method init value of DELETE and associated getter -PASS Check method init value of OPTIONS and associated getter -PASS Check method init value of head and associated getter -PASS Check referrer init value of /relative/ressource and associated getter -PASS Check referrer init value of http://web-platform.test:8001/relative/ressource?query=true#fragment and associated getter -PASS Check referrer init value of http://web-platform.test:8001/ and associated getter -FAIL Check referrer init value of http://test.url and associated getter Failed to construct 'Request': The origin of 'http://test.url' should be same as 'http://web-platform.test:8001' -PASS Check referrer init value of about:client and associated getter -PASS Check referrer init value of and associated getter -PASS Check referrerPolicy init value of and associated getter -PASS Check referrerPolicy init value of no-referrer and associated getter -PASS Check referrerPolicy init value of no-referrer-when-downgrade and associated getter -PASS Check referrerPolicy init value of origin and associated getter -PASS Check referrerPolicy init value of origin-when-cross-origin and associated getter -PASS Check referrerPolicy init value of unsafe-url and associated getter -PASS Check referrerPolicy init value of same-origin and associated getter -PASS Check referrerPolicy init value of strict-origin and associated getter -PASS Check referrerPolicy init value of strict-origin-when-cross-origin and associated getter -PASS Check mode init value of same-origin and associated getter -PASS Check mode init value of no-cors and associated getter -PASS Check mode init value of cors and associated getter -PASS Check credentials init value of omit and associated getter -PASS Check credentials init value of same-origin and associated getter -PASS Check credentials init value of include and associated getter -PASS Check redirect init value of follow and associated getter -PASS Check redirect init value of error and associated getter -PASS Check redirect init value of manual and associated getter -PASS Check integrity init value of and associated getter -PASS Check integrity init value of AZERTYUIOP1234567890 and associated getter -PASS Check window init value of null and associated getter -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt deleted file mode 100644 index 4370d6b0..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-keepalive-quota-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -PASS A Keep-Alive fetch() with a small body should succeed. -PASS A Keep-Alive fetch() with a body at the Quota Limit should succeed. -FAIL A Keep-Alive fetch() with a body over the Quota Limit should reject. assert_unreached: Should have rejected: undefined Reached unreachable code -PASS A Keep-Alive fetch() should return it's allocated Quota upon promise resolution. -PASS A Keep-Alive fetch() should return only it's allocated Quota upon promise resolution. -FAIL A Keep-Alive fetch() should not be allowed if the Quota is used up. assert_unreached: Should have rejected: undefined Reached unreachable code -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-structure-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-structure-expected.txt deleted file mode 100644 index bd0c86d..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/request/request-structure-expected.txt +++ /dev/null
@@ -1,22 +0,0 @@ -This is a testharness.js-based test. -PASS Request has clone method -PASS Request has arrayBuffer method -PASS Request has blob method -PASS Request has formData method -PASS Request has json method -PASS Request has text method -PASS Check method attribute -PASS Check url attribute -PASS Check headers attribute -FAIL Check type attribute assert_true: request has type attribute expected true got false -FAIL Check destination attribute assert_true: request has destination attribute expected true got false -PASS Check referrer attribute -PASS Check referrerPolicy attribute -PASS Check mode attribute -PASS Check credentials attribute -PASS Check cache attribute -PASS Check redirect attribute -PASS Check integrity attribute -PASS Check bodyUsed attribute -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-clone-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-clone-expected.txt deleted file mode 100644 index d1c9f56..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-clone-expected.txt +++ /dev/null
@@ -1,21 +0,0 @@ -This is a testharness.js-based test. -PASS Check Response's clone with default values, without body -PASS Check Response's clone has the expected attribute values -PASS Check orginal response's body after cloning -PASS Check cloned response's body -PASS Cannot clone a disturbed response -PASS Cloned responses should provide the same data -PASS Cancelling stream should not affect cloned one -FAIL Check response clone use structureClone for teed ReadableStreams (Int8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Int32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint8ClampedArraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint16Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Uint32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float32Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (Float64Arraychunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -FAIL Check response clone use structureClone for teed ReadableStreams (DataViewchunk) assert_true: Buffer of cloned response stream is a clone of the original buffer expected true got false -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-consume-empty-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-consume-empty-expected.txt deleted file mode 100644 index 5b0426f..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-consume-empty-expected.txt +++ /dev/null
@@ -1,17 +0,0 @@ -This is a testharness.js-based test. -PASS Consume response's body as text -PASS Consume response's body as blob -PASS Consume response's body as arrayBuffer -PASS Consume response's body as json (error case) -PASS Consume response's body as formData with correct multipart type (error case) -PASS Consume response's body as formData with correct urlencoded type -PASS Consume response's body as formData without correct type (error case) -PASS Consume empty blob response body as arrayBuffer -PASS Consume empty text response body as arrayBuffer -PASS Consume empty blob response body as text -PASS Consume empty text response body as text -PASS Consume empty URLSearchParams response body as text -FAIL Consume empty FormData response body as text assert_equals: Resolved value should be empty expected 0 but got 44 -PASS Consume empty ArrayBuffer response body as text -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-idl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-idl-expected.txt deleted file mode 100644 index f4315aa..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-idl-expected.txt +++ /dev/null
@@ -1,45 +0,0 @@ -This is a testharness.js-based test. -PASS Response interface: existence and properties of interface object -PASS Response interface object length -PASS Response interface object name -PASS Response interface: existence and properties of interface prototype object -PASS Response interface: existence and properties of interface prototype object's "constructor" property -PASS Response interface: operation error() -PASS Response interface: operation redirect(USVString, unsigned short) -PASS Response interface: attribute type -PASS Response interface: attribute url -PASS Response interface: attribute status -PASS Response interface: attribute ok -PASS Response interface: attribute statusText -PASS Response interface: attribute headers -FAIL Response interface: attribute trailer assert_true: The prototype object must have a property "trailer" expected true got false -PASS Response interface: operation clone() -PASS Response interface: attribute body -PASS Response interface: attribute bodyUsed -PASS Response interface: operation arrayBuffer() -PASS Response interface: operation blob() -PASS Response interface: operation formData() -PASS Response interface: operation json() -PASS Response interface: operation text() -PASS Response must be primary interface of new Response() -PASS Stringification of new Response() -PASS Response interface: new Response() must inherit property "error()" with the proper type -PASS Response interface: new Response() must inherit property "redirect(USVString, unsigned short)" with the proper type -PASS Response interface: calling redirect(USVString, unsigned short) on new Response() with too few arguments must throw TypeError -PASS Response interface: new Response() must inherit property "type" with the proper type -PASS Response interface: new Response() must inherit property "url" with the proper type -PASS Response interface: new Response() must inherit property "status" with the proper type -PASS Response interface: new Response() must inherit property "ok" with the proper type -PASS Response interface: new Response() must inherit property "statusText" with the proper type -PASS Response interface: new Response() must inherit property "headers" with the proper type -FAIL Response interface: new Response() must inherit property "trailer" with the proper type assert_inherits: property "trailer" not found in prototype chain -PASS Response interface: new Response() must inherit property "clone()" with the proper type -PASS Response interface: new Response() must inherit property "body" with the proper type -PASS Response interface: new Response() must inherit property "bodyUsed" with the proper type -PASS Response interface: new Response() must inherit property "arrayBuffer()" with the proper type -PASS Response interface: new Response() must inherit property "blob()" with the proper type -PASS Response interface: new Response() must inherit property "formData()" with the proper type -PASS Response interface: new Response() must inherit property "json()" with the proper type -PASS Response interface: new Response() must inherit property "text()" with the proper type -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-trailer-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-trailer-expected.txt deleted file mode 100644 index 0bed6f6..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/api/response/response-trailer-expected.txt +++ /dev/null
@@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL trailer() test promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'then' of undefined" -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/cc-request-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/cc-request-expected.txt deleted file mode 100644 index 839adc7..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/cc-request-expected.txt +++ /dev/null
@@ -1,15 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=0. -FAIL HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=1. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't use fresh response with Age header when request contains Cache-Control: max-age that is greater than remaining freshness. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache doesn't reuse fresh response with Age header when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1 -PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with Last-Modified when request contains Cache-Control: no-cache. -PASS HTTP cache validates fresh response with ETag when request contains Cache-Control: no-cache. -FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-store. assert_equals: Response used expected 2 but got 1 -FAIL HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached. assert_equals: Response status expected 504 but got 200 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/heuristic-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/heuristic-expected.txt deleted file mode 100644 index 7a524a8..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/heuristic-expected.txt +++ /dev/null
@@ -1,19 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache reuses an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is present. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not reuse an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is not present. -PASS HTTP cache reuses a 200 OK response with Last-Modified based upon heuristic freshness. -PASS HTTP cache reuses a 203 Non-Authoritative Information response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 204 No Content response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 404 Not Found response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 405 Method Not Allowed response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache reuses a 410 Gone response with Last-Modified based upon heuristic freshness. -FAIL HTTP cache reuses a 414 URI Too Long response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache reuses a 501 Not Implemented response with Last-Modified based upon heuristic freshness. assert_less_than: Response used expected a number less than 2 but got 2 -PASS HTTP cache does not use a 201 Created response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 202 Accepted response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 403 Forbidden response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 502 Bad Gateway response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 503 Service Unavailable response with Last-Modified based upon heuristic freshness. -PASS HTTP cache does not use a 504 Gateway Timeout response with Last-Modified based upon heuristic freshness. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/invalidate-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/invalidate-expected.txt deleted file mode 100644 index 08c7a1a..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/invalidate-expected.txt +++ /dev/null
@@ -1,18 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache invalidates after a successful response from a POST -PASS HTTP cache does not invalidate after a failed response from an unsafe request -PASS HTTP cache invalidates after a successful response from a PUT -PASS HTTP cache invalidates after a successful response from a DELETE -FAIL HTTP cache invalidates after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a POST assert_equals: Response used expected 3 but got 1 -PASS HTTP cache does not invalidate Content-Location URL after a failed response from an unsafe request -FAIL HTTP cache invalidates Content-Location URL after a successful response from a PUT assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from a DELETE assert_equals: Response used expected 3 but got 1 -FAIL HTTP cache invalidates Content-Location URL after a successful response from an unknown method assert_equals: Response used expected 3 but got 1 -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/partial-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/partial-expected.txt deleted file mode 100644 index 37a3664..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/partial-expected.txt +++ /dev/null
@@ -1,7 +0,0 @@ -This is a testharness.js-based test. -FAIL HTTP cache stores partial content and reuses it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores complete response and serves smaller ranges from it. assert_equals: Response status expected 200 but got 206 -FAIL HTTP cache stores partial response and serves smaller ranges from it. assert_less_than: Response used expected a number less than 2 but got 2 -FAIL HTTP cache stores partial content and completes it. assert_equals: expected (string) "bytes=5-" but got (undefined) undefined -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/vary-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/vary-expected.txt deleted file mode 100644 index ddc0d09..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/http-cache/vary-expected.txt +++ /dev/null
@@ -1,14 +0,0 @@ -This is a testharness.js-based test. -PASS HTTP cache reuses Vary response when request matches. -PASS HTTP cache doesn't use Vary response when request doesn't match. -PASS HTTP cache doesn't use Vary response when request omits variant header. -FAIL HTTP cache doesn't invalidate existing Vary response. assert_less_than: Response used expected a number less than 3 but got 3 -PASS HTTP cache doesn't pay attention to headers not listed in Vary. -PASS HTTP cache reuses two-way Vary response when request matches. -PASS HTTP cache doesn't use two-way Vary response when request doesn't match. -PASS HTTP cache doesn't use two-way Vary response when request omits variant header. -PASS HTTP cache reuses three-way Vary response when request matches. -PASS HTTP cache doesn't use three-way Vary response when request doesn't match. -PASS HTTP cache doesn't use three-way Vary response when request omits variant header. -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt deleted file mode 100644 index fd72b93..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/nosniff/parsing-nosniff-expected.txt +++ /dev/null
@@ -1,9 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: first assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: uppercase -PASS URL query: last -PASS URL query: quoted -PASS URL query: quoted-single -PASS URL query: no-x -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/nosniff/stylesheet-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/nosniff/stylesheet-expected.txt deleted file mode 100644 index 14cfaa1..0000000 --- a/third_party/WebKit/LayoutTests/platform/mac/virtual/outofblink-cors/external/wpt/fetch/nosniff/stylesheet-expected.txt +++ /dev/null
@@ -1,10 +0,0 @@ -This is a testharness.js-based test. -FAIL URL query: null assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x assert_unreached: Unexpected load event Reached unreachable code -FAIL URL query: x/x assert_unreached: Unexpected load event Reached unreachable code -PASS URL query: text/css -PASS URL query: text/css;charset=utf-8 -PASS URL query: text/css;blah -Harness: the test ran to completion. -
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl index 1e20431..35a2b46 100644 --- a/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl +++ b/third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl
@@ -8,10 +8,10 @@ class {{group.type_name}} : public RefCounted<{{group.type_name}}> { public: static RefPtr<{{group.type_name}}> Create() { - return AdoptRef(new {{group.type_name}}); + return WTF::AdoptRef(new {{group.type_name}}); } RefPtr<{{group.type_name}}> Copy() const { - return AdoptRef(new {{group.type_name}}(*this)); + return WTF::AdoptRef(new {{group.type_name}}(*this)); } bool operator==(const {{group.type_name}}& other) const {
diff --git a/third_party/WebKit/Source/core/animation/AnimationTestHelper.h b/third_party/WebKit/Source/core/animation/AnimationTestHelper.h index 92693fc..e09736a 100644 --- a/third_party/WebKit/Source/core/animation/AnimationTestHelper.h +++ b/third_party/WebKit/Source/core/animation/AnimationTestHelper.h
@@ -27,7 +27,7 @@ static RefPtr<LegacyStyleInterpolation> Create( std::unique_ptr<InterpolableValue> start, std::unique_ptr<InterpolableValue> end) { - return AdoptRef( + return WTF::AdoptRef( new SampleTestInterpolation(std::move(start), std::move(end))); }
diff --git a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp index b8a3488..9ab3fbd 100644 --- a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp +++ b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
@@ -15,11 +15,11 @@ class BasicShapeNonInterpolableValue : public NonInterpolableValue { public: static RefPtr<NonInterpolableValue> Create(BasicShape::ShapeType type) { - return AdoptRef(new BasicShapeNonInterpolableValue(type)); + return WTF::AdoptRef(new BasicShapeNonInterpolableValue(type)); } static RefPtr<NonInterpolableValue> CreatePolygon(WindRule wind_rule, size_t size) { - return AdoptRef(new BasicShapeNonInterpolableValue(wind_rule, size)); + return WTF::AdoptRef(new BasicShapeNonInterpolableValue(wind_rule, size)); } BasicShape::ShapeType GetShapeType() const { return type_; }
diff --git a/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp index 9891d00..78af5dc6 100644 --- a/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp
@@ -79,12 +79,12 @@ static RefPtr<CSSBorderImageLengthBoxNonInterpolableValue> Create( const SideTypes& side_types, Vector<RefPtr<NonInterpolableValue>>&& side_non_interpolable_values) { - return AdoptRef(new CSSBorderImageLengthBoxNonInterpolableValue( + return WTF::AdoptRef(new CSSBorderImageLengthBoxNonInterpolableValue( side_types, std::move(side_non_interpolable_values))); } RefPtr<CSSBorderImageLengthBoxNonInterpolableValue> Clone() { - return AdoptRef(new CSSBorderImageLengthBoxNonInterpolableValue( + return WTF::AdoptRef(new CSSBorderImageLengthBoxNonInterpolableValue( side_types_, Vector<RefPtr<NonInterpolableValue>>(side_non_interpolable_values_))); }
diff --git a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp index e8be318..e0ff6382 100644 --- a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
@@ -85,7 +85,7 @@ static RefPtr<CSSClipNonInterpolableValue> Create( const ClipAutos& clip_autos) { - return AdoptRef(new CSSClipNonInterpolableValue(clip_autos)); + return WTF::AdoptRef(new CSSClipNonInterpolableValue(clip_autos)); } const ClipAutos& GetClipAutos() const { return clip_autos_; }
diff --git a/third_party/WebKit/Source/core/animation/CSSDefaultInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSDefaultInterpolationType.cpp index f931c49b..48105f5 100644 --- a/third_party/WebKit/Source/core/animation/CSSDefaultInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSDefaultInterpolationType.cpp
@@ -16,7 +16,7 @@ static RefPtr<CSSDefaultNonInterpolableValue> Create( const CSSValue* css_value) { - return AdoptRef(new CSSDefaultNonInterpolableValue(css_value)); + return WTF::AdoptRef(new CSSDefaultNonInterpolableValue(css_value)); } const CSSValue* CssValue() const { return css_value_.Get(); }
diff --git a/third_party/WebKit/Source/core/animation/CSSFontVariationSettingsInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontVariationSettingsInterpolationType.cpp index 9df2a50..37efba5 100644 --- a/third_party/WebKit/Source/core/animation/CSSFontVariationSettingsInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSFontVariationSettingsInterpolationType.cpp
@@ -17,7 +17,7 @@ static RefPtr<CSSFontVariationSettingsNonInterpolableValue> Create( Vector<AtomicString> tags) { - return AdoptRef( + return WTF::AdoptRef( new CSSFontVariationSettingsNonInterpolableValue(std::move(tags))); }
diff --git a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp index 8d5ef5f..a82638a4 100644 --- a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
@@ -20,7 +20,7 @@ static RefPtr<CSSImageNonInterpolableValue> Create(CSSValue* start, CSSValue* end) { - return AdoptRef(new CSSImageNonInterpolableValue(start, end)); + return WTF::AdoptRef(new CSSImageNonInterpolableValue(start, end)); } bool IsSingle() const { return is_single_; }
diff --git a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp index 2ce9dd68..ae6ea8b 100644 --- a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
@@ -59,7 +59,7 @@ public: static RefPtr<CSSImageSliceNonInterpolableValue> Create( const SliceTypes& types) { - return AdoptRef(new CSSImageSliceNonInterpolableValue(types)); + return WTF::AdoptRef(new CSSImageSliceNonInterpolableValue(types)); } const SliceTypes& Types() const { return types_; }
diff --git a/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp index ff65164..99cb84b 100644 --- a/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp
@@ -18,7 +18,8 @@ static RefPtr<CSSOffsetRotationNonInterpolableValue> Create( OffsetRotationType rotation_type) { - return AdoptRef(new CSSOffsetRotationNonInterpolableValue(rotation_type)); + return WTF::AdoptRef( + new CSSOffsetRotationNonInterpolableValue(rotation_type)); } OffsetRotationType RotationType() const { return rotation_type_; }
diff --git a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp index b09b756..a8a0e970f 100644 --- a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp
@@ -54,14 +54,14 @@ public: static RefPtr<CSSRotateNonInterpolableValue> Create( const OptionalRotation& rotation) { - return AdoptRef(new CSSRotateNonInterpolableValue( + return WTF::AdoptRef(new CSSRotateNonInterpolableValue( true, rotation, OptionalRotation(), false, false)); } static RefPtr<CSSRotateNonInterpolableValue> Create( const CSSRotateNonInterpolableValue& start, const CSSRotateNonInterpolableValue& end) { - return AdoptRef(new CSSRotateNonInterpolableValue( + return WTF::AdoptRef(new CSSRotateNonInterpolableValue( false, start.GetOptionalRotation(), end.GetOptionalRotation(), start.IsAdditive(), end.IsAdditive())); }
diff --git a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp index 70d3d84..113cd71 100644 --- a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
@@ -88,16 +88,16 @@ ~CSSScaleNonInterpolableValue() final {} static RefPtr<CSSScaleNonInterpolableValue> Create(const Scale& scale) { - return AdoptRef( + return WTF::AdoptRef( new CSSScaleNonInterpolableValue(scale, scale, false, false)); } static RefPtr<CSSScaleNonInterpolableValue> Merge( const CSSScaleNonInterpolableValue& start, const CSSScaleNonInterpolableValue& end) { - return AdoptRef(new CSSScaleNonInterpolableValue(start.Start(), end.end(), - start.IsStartAdditive(), - end.IsEndAdditive())); + return WTF::AdoptRef(new CSSScaleNonInterpolableValue( + start.Start(), end.end(), start.IsStartAdditive(), + end.IsEndAdditive())); } const Scale& Start() const { return start_; }
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp index 88b98359..a58a93c 100644 --- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
@@ -39,7 +39,7 @@ static RefPtr<CSSTextIndentNonInterpolableValue> Create( RefPtr<NonInterpolableValue> length_non_interpolable_value, const IndentMode& mode) { - return AdoptRef(new CSSTextIndentNonInterpolableValue( + return WTF::AdoptRef(new CSSTextIndentNonInterpolableValue( std::move(length_non_interpolable_value), mode)); }
diff --git a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp index 75bfbca..94925b1f 100644 --- a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
@@ -22,7 +22,7 @@ public: static RefPtr<CSSTransformNonInterpolableValue> Create( TransformOperations&& transform) { - return AdoptRef(new CSSTransformNonInterpolableValue( + return WTF::AdoptRef(new CSSTransformNonInterpolableValue( true, std::move(transform), EmptyTransformOperations(), false, false)); } @@ -31,7 +31,7 @@ double start_fraction, CSSTransformNonInterpolableValue&& end, double end_fraction) { - return AdoptRef(new CSSTransformNonInterpolableValue( + return WTF::AdoptRef(new CSSTransformNonInterpolableValue( false, start.GetInterpolatedTransform(start_fraction), end.GetInterpolatedTransform(end_fraction), start.IsAdditive(), end.IsAdditive()));
diff --git a/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp index f522427..54ee995 100644 --- a/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
@@ -18,7 +18,7 @@ static RefPtr<CSSVisibilityNonInterpolableValue> Create(EVisibility start, EVisibility end) { - return AdoptRef(new CSSVisibilityNonInterpolableValue(start, end)); + return WTF::AdoptRef(new CSSVisibilityNonInterpolableValue(start, end)); } EVisibility Visibility() const {
diff --git a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp index 1fcc1f1..0bdf0c2 100644 --- a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp +++ b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
@@ -21,7 +21,7 @@ static RefPtr<FilterNonInterpolableValue> Create( FilterOperation::OperationType type, RefPtr<NonInterpolableValue> type_non_interpolable_value) { - return AdoptRef(new FilterNonInterpolableValue( + return WTF::AdoptRef(new FilterNonInterpolableValue( type, std::move(type_non_interpolable_value))); }
diff --git a/third_party/WebKit/Source/core/animation/InterpolationValue.h b/third_party/WebKit/Source/core/animation/InterpolationValue.h index f87c5064..9b7a2cc 100644 --- a/third_party/WebKit/Source/core/animation/InterpolationValue.h +++ b/third_party/WebKit/Source/core/animation/InterpolationValue.h
@@ -45,7 +45,7 @@ void Clear() { interpolable_value.reset(); - non_interpolable_value.Clear(); + non_interpolable_value = nullptr; } std::unique_ptr<InterpolableValue> interpolable_value;
diff --git a/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h b/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h index 2348cc2..e2bbac6 100644 --- a/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h +++ b/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h
@@ -35,7 +35,7 @@ const PropertyHandle& property, RefPtr<PropertySpecificKeyframe> start_keyframe, RefPtr<PropertySpecificKeyframe> end_keyframe) { - return AdoptRef(new InvalidatableInterpolation( + return WTF::AdoptRef(new InvalidatableInterpolation( property, std::move(start_keyframe), std::move(end_keyframe))); }
diff --git a/third_party/WebKit/Source/core/animation/LegacyStyleInterpolation.h b/third_party/WebKit/Source/core/animation/LegacyStyleInterpolation.h index 75fb7cb..e156425 100644 --- a/third_party/WebKit/Source/core/animation/LegacyStyleInterpolation.h +++ b/third_party/WebKit/Source/core/animation/LegacyStyleInterpolation.h
@@ -32,7 +32,7 @@ static RefPtr<LegacyStyleInterpolation> Create(RefPtr<AnimatableValue> start, RefPtr<AnimatableValue> end, CSSPropertyID id) { - return AdoptRef(new LegacyStyleInterpolation( + return WTF::AdoptRef(new LegacyStyleInterpolation( InterpolableAnimatableValue::Create(std::move(start)), InterpolableAnimatableValue::Create(std::move(end)), id)); }
diff --git a/third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp index 6502c447..4fa7707 100644 --- a/third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp +++ b/third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp
@@ -19,7 +19,7 @@ ~CSSLengthNonInterpolableValue() final { NOTREACHED(); } static RefPtr<CSSLengthNonInterpolableValue> Create(bool has_percentage) { DEFINE_STATIC_REF(CSSLengthNonInterpolableValue, singleton, - AdoptRef(new CSSLengthNonInterpolableValue())); + WTF::AdoptRef(new CSSLengthNonInterpolableValue())); DCHECK(singleton); return has_percentage ? singleton : nullptr; }
diff --git a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h index 6eb4eb6..0f720ff 100644 --- a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h +++ b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h
@@ -61,11 +61,11 @@ ~NonInterpolableList() final {} static RefPtr<NonInterpolableList> Create() { - return AdoptRef(new NonInterpolableList()); + return WTF::AdoptRef(new NonInterpolableList()); } static RefPtr<NonInterpolableList> Create( Vector<RefPtr<NonInterpolableValue>>&& list) { - return AdoptRef(new NonInterpolableList(std::move(list))); + return WTF::AdoptRef(new NonInterpolableList(std::move(list))); } size_t length() const { return list_.size(); }
diff --git a/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.cpp index 094679d..6cd4395 100644 --- a/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.cpp +++ b/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.cpp
@@ -23,7 +23,7 @@ static RefPtr<SVGPathNonInterpolableValue> Create( Vector<SVGPathSegType>& path_seg_types) { - return AdoptRef(new SVGPathNonInterpolableValue(path_seg_types)); + return WTF::AdoptRef(new SVGPathNonInterpolableValue(path_seg_types)); } const Vector<SVGPathSegType>& PathSegTypes() const { return path_seg_types_; }
diff --git a/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp index db63fad..a13d7d5 100644 --- a/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp
@@ -21,7 +21,7 @@ static RefPtr<SVGTransformNonInterpolableValue> Create( Vector<SVGTransformType>& transform_types) { - return AdoptRef(new SVGTransformNonInterpolableValue(transform_types)); + return WTF::AdoptRef(new SVGTransformNonInterpolableValue(transform_types)); } const Vector<SVGTransformType>& TransformTypes() const {
diff --git a/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp index a63f4223..e3f7ef1f 100644 --- a/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp +++ b/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp
@@ -16,7 +16,7 @@ static RefPtr<SVGValueNonInterpolableValue> Create( SVGPropertyBase* svg_value) { - return AdoptRef(new SVGValueNonInterpolableValue(svg_value)); + return WTF::AdoptRef(new SVGValueNonInterpolableValue(svg_value)); } SVGPropertyBase* SvgValue() const { return svg_value_; }
diff --git a/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp index 6d8e847..c0dcdf0 100644 --- a/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp +++ b/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp
@@ -31,7 +31,7 @@ ~ShadowNonInterpolableValue() final {} static RefPtr<ShadowNonInterpolableValue> Create(ShadowStyle shadow_style) { - return AdoptRef(new ShadowNonInterpolableValue(shadow_style)); + return WTF::AdoptRef(new ShadowNonInterpolableValue(shadow_style)); } ShadowStyle Style() const { return style_; }
diff --git a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp index c5166c5d..0921b32 100644 --- a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp +++ b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
@@ -15,12 +15,12 @@ class CSSSizeNonInterpolableValue : public NonInterpolableValue { public: static RefPtr<CSSSizeNonInterpolableValue> Create(CSSValueID keyword) { - return AdoptRef(new CSSSizeNonInterpolableValue(keyword)); + return WTF::AdoptRef(new CSSSizeNonInterpolableValue(keyword)); } static RefPtr<CSSSizeNonInterpolableValue> Create( RefPtr<NonInterpolableValue> length_non_interpolable_value) { - return AdoptRef(new CSSSizeNonInterpolableValue( + return WTF::AdoptRef(new CSSSizeNonInterpolableValue( std::move(length_non_interpolable_value))); }
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp index 8e92fc3..113f9cb4 100644 --- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp +++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
@@ -95,7 +95,7 @@ } RefPtr<Keyframe> StringKeyframe::Clone() const { - return AdoptRef(new StringKeyframe(*this)); + return WTF::AdoptRef(new StringKeyframe(*this)); } RefPtr<Keyframe::PropertySpecificKeyframe>
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.h b/third_party/WebKit/Source/core/animation/StringKeyframe.h index 74e7869..53fe63e 100644 --- a/third_party/WebKit/Source/core/animation/StringKeyframe.h +++ b/third_party/WebKit/Source/core/animation/StringKeyframe.h
@@ -19,7 +19,7 @@ class CORE_EXPORT StringKeyframe : public Keyframe { public: static RefPtr<StringKeyframe> Create() { - return AdoptRef(new StringKeyframe); + return WTF::AdoptRef(new StringKeyframe); } MutableStylePropertySet::SetResult SetCSSPropertyValue( @@ -68,8 +68,8 @@ RefPtr<TimingFunction> easing, const CSSValue* value, EffectModel::CompositeOperation composite) { - return AdoptRef(new CSSPropertySpecificKeyframe(offset, std::move(easing), - value, composite)); + return WTF::AdoptRef(new CSSPropertySpecificKeyframe( + offset, std::move(easing), value, composite)); } const CSSValue* Value() const { return value_.Get(); } @@ -114,8 +114,8 @@ RefPtr<TimingFunction> easing, const String& value, EffectModel::CompositeOperation composite) { - return AdoptRef(new SVGPropertySpecificKeyframe(offset, std::move(easing), - value, composite)); + return WTF::AdoptRef(new SVGPropertySpecificKeyframe( + offset, std::move(easing), value, composite)); } const String& Value() const { return value_; }
diff --git a/third_party/WebKit/Source/core/animation/TransitionInterpolation.h b/third_party/WebKit/Source/core/animation/TransitionInterpolation.h index 746642d6..3b11dbb 100644 --- a/third_party/WebKit/Source/core/animation/TransitionInterpolation.h +++ b/third_party/WebKit/Source/core/animation/TransitionInterpolation.h
@@ -45,7 +45,7 @@ InterpolationValue&& end, const RefPtr<AnimatableValue> compositor_start, const RefPtr<AnimatableValue> compositor_end) { - return AdoptRef(new TransitionInterpolation( + return WTF::AdoptRef(new TransitionInterpolation( property, type, std::move(start), std::move(end), std::move(compositor_start), std::move(compositor_end))); }
diff --git a/third_party/WebKit/Source/core/animation/TransitionKeyframe.h b/third_party/WebKit/Source/core/animation/TransitionKeyframe.h index f428340..5524e104 100644 --- a/third_party/WebKit/Source/core/animation/TransitionKeyframe.h +++ b/third_party/WebKit/Source/core/animation/TransitionKeyframe.h
@@ -15,7 +15,7 @@ class CORE_EXPORT TransitionKeyframe : public Keyframe { public: static RefPtr<TransitionKeyframe> Create(const PropertyHandle& property) { - return AdoptRef(new TransitionKeyframe(property)); + return WTF::AdoptRef(new TransitionKeyframe(property)); } void SetValue(std::unique_ptr<TypedInterpolationValue> value) { value_ = std::move(value); @@ -31,7 +31,7 @@ EffectModel::CompositeOperation composite, std::unique_ptr<TypedInterpolationValue> value, RefPtr<AnimatableValue> compositor_value) { - return AdoptRef(new PropertySpecificKeyframe( + return WTF::AdoptRef(new PropertySpecificKeyframe( offset, std::move(easing), composite, std::move(value), std::move(compositor_value))); } @@ -87,7 +87,7 @@ bool IsTransitionKeyframe() const final { return true; } RefPtr<Keyframe> Clone() const final { - return AdoptRef(new TransitionKeyframe(*this)); + return WTF::AdoptRef(new TransitionKeyframe(*this)); } RefPtr<Keyframe::PropertySpecificKeyframe> CreatePropertySpecificKeyframe(
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableDouble.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableDouble.h index 5fedb19..b3077dd 100644 --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableDouble.h +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableDouble.h
@@ -41,7 +41,7 @@ ~AnimatableDouble() override {} static RefPtr<AnimatableDouble> Create(double number) { - return AdoptRef(new AnimatableDouble(number)); + return WTF::AdoptRef(new AnimatableDouble(number)); } double ToDouble() const { return number_; }
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableFilterOperations.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableFilterOperations.h index 557279b..ad1e67e 100644 --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableFilterOperations.h +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableFilterOperations.h
@@ -40,7 +40,7 @@ public: static RefPtr<AnimatableFilterOperations> Create( const FilterOperations& operations) { - return AdoptRef(new AnimatableFilterOperations(operations)); + return WTF::AdoptRef(new AnimatableFilterOperations(operations)); } ~AnimatableFilterOperations() override {}
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h index 12f512e..7139df2 100644 --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h
@@ -43,7 +43,7 @@ static RefPtr<AnimatableTransform> Create( const TransformOperations& transform, double zoom) { - return AdoptRef(new AnimatableTransform(transform, zoom)); + return WTF::AdoptRef(new AnimatableTransform(transform, zoom)); } const TransformOperations& GetTransformOperations() const { return transform_;
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h index 019ee5fc..c21c81c1 100644 --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
@@ -42,10 +42,11 @@ ~AnimatableUnknown() override {} static RefPtr<AnimatableUnknown> Create(const CSSValue* value) { - return AdoptRef(new AnimatableUnknown(value)); + return WTF::AdoptRef(new AnimatableUnknown(value)); } static RefPtr<AnimatableUnknown> Create(CSSValueID value) { - return AdoptRef(new AnimatableUnknown(CSSIdentifierValue::Create(value))); + return WTF::AdoptRef( + new AnimatableUnknown(CSSIdentifierValue::Create(value))); } const CSSValue* ToCSSValue() const { return value_; }
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.cpp index 96f5f21..8589f03 100644 --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.cpp +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.cpp
@@ -28,7 +28,7 @@ } RefPtr<Keyframe> AnimatableValueKeyframe::Clone() const { - return AdoptRef(new AnimatableValueKeyframe(*this)); + return WTF::AdoptRef(new AnimatableValueKeyframe(*this)); } RefPtr<Keyframe::PropertySpecificKeyframe>
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h index 1420a18..772b1ee85 100644 --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h
@@ -17,7 +17,7 @@ class CORE_EXPORT AnimatableValueKeyframe : public Keyframe { public: static RefPtr<AnimatableValueKeyframe> Create() { - return AdoptRef(new AnimatableValueKeyframe); + return WTF::AdoptRef(new AnimatableValueKeyframe); } void SetPropertyValue(CSSPropertyID property, RefPtr<AnimatableValue> value) { property_values_.Set(property, std::move(value)); @@ -38,7 +38,7 @@ RefPtr<TimingFunction> easing, RefPtr<AnimatableValue> value, EffectModel::CompositeOperation composite) { - return AdoptRef(new PropertySpecificKeyframe( + return WTF::AdoptRef(new PropertySpecificKeyframe( offset, std::move(easing), std::move(value), composite)); }
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.cpp b/third_party/WebKit/Source/core/css/RuleFeature.cpp index 35d4be5..47d77ea 100644 --- a/third_party/WebKit/Source/core/css/RuleFeature.cpp +++ b/third_party/WebKit/Source/core/css/RuleFeature.cpp
@@ -276,8 +276,8 @@ attribute_invalidation_sets_.clear(); id_invalidation_sets_.clear(); pseudo_invalidation_sets_.clear(); - universal_sibling_invalidation_set_.Clear(); - nth_invalidation_set_.Clear(); + universal_sibling_invalidation_set_ = nullptr; + nth_invalidation_set_ = nullptr; is_alive_ = false; } @@ -932,8 +932,8 @@ attribute_invalidation_sets_.clear(); id_invalidation_sets_.clear(); pseudo_invalidation_sets_.clear(); - universal_sibling_invalidation_set_.Clear(); - nth_invalidation_set_.Clear(); + universal_sibling_invalidation_set_ = nullptr; + nth_invalidation_set_ = nullptr; viewport_dependent_media_query_results_.clear(); device_dependent_media_query_results_.clear(); }
diff --git a/third_party/WebKit/Source/core/dom/QualifiedName.h b/third_party/WebKit/Source/core/dom/QualifiedName.h index cea2e83..f875180 100644 --- a/third_party/WebKit/Source/core/dom/QualifiedName.h +++ b/third_party/WebKit/Source/core/dom/QualifiedName.h
@@ -114,14 +114,6 @@ return *this; } - // Hash table deleted values, which are only constructed and never copied or - // destroyed. - QualifiedName(WTF::HashTableDeletedValueType) - : impl_(WTF::kHashTableDeletedValue) {} - bool IsHashTableDeletedValue() const { - return impl_.IsHashTableDeletedValue(); - } - bool operator==(const QualifiedName& other) const { return impl_ == other.impl_; } @@ -163,6 +155,8 @@ const AtomicString& name_namespace); private: + friend struct WTF::HashTraits<blink::QualifiedName>; + // This constructor is used only to create global/static QNames that don't // require any ref counting. QualifiedName(const AtomicString& prefix, @@ -234,7 +228,20 @@ static const blink::QualifiedName& EmptyValue() { return blink::QualifiedName::Null(); } + + static bool IsDeletedValue(const blink::QualifiedName& value) { + using QualifiedNameImpl = blink::QualifiedName::QualifiedNameImpl; + return HashTraits<RefPtr<QualifiedNameImpl>>::IsDeletedValue(value.impl_); + } + + static void ConstructDeletedValue(blink::QualifiedName& slot, + bool zero_value) { + using QualifiedNameImpl = blink::QualifiedName::QualifiedNameImpl; + HashTraits<RefPtr<QualifiedNameImpl>>::ConstructDeletedValue(slot.impl_, + zero_value); + } }; + } // namespace WTF #endif
diff --git a/third_party/WebKit/Source/core/dom/SpaceSplitString.h b/third_party/WebKit/Source/core/dom/SpaceSplitString.h index db96638..5d42cce 100644 --- a/third_party/WebKit/Source/core/dom/SpaceSplitString.h +++ b/third_party/WebKit/Source/core/dom/SpaceSplitString.h
@@ -41,7 +41,7 @@ } void Set(const AtomicString&); - void Clear() { data_.Clear(); } + void Clear() { data_ = nullptr; } bool Contains(const AtomicString& string) const { return data_ && data_->Contains(string);
diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp index 6dd9f94..253046d 100644 --- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp +++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
@@ -32,7 +32,7 @@ // (and touch the ScopedPersistents) after Oilpan starts lazy sweeping. promise_.Clear(); reason_.Clear(); - world_.Clear(); + world_ = nullptr; } ScriptPromise PromiseRejectionEvent::promise(ScriptState* script_state) const {
diff --git a/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp index 06bae7b..d1aa9f1e5 100644 --- a/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp +++ b/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp
@@ -92,7 +92,7 @@ asked_to_terminate_ = true; if (main_script_loader_) { main_script_loader_->Cancel(); - main_script_loader_.Clear(); + main_script_loader_ = nullptr; client_->WorkerScriptLoadFailed(); delete this; return; @@ -330,7 +330,7 @@ name_, ThreadableLoadingContext::Create(*document), *reporting_proxy_); probe::scriptImported(document, main_script_loader_->Identifier(), main_script_loader_->SourceText()); - main_script_loader_.Clear(); + main_script_loader_ = nullptr; auto thread_startup_data = WorkerBackingThreadStartupData::CreateDefault(); thread_startup_data.atomics_wait_mode =
diff --git a/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp b/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp index 87239f5..590e2ab 100644 --- a/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp +++ b/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp
@@ -259,7 +259,7 @@ } void WebFrameWidgetBase::DidLosePointerLock() { - pointer_lock_gesture_token_.Clear(); + pointer_lock_gesture_token_ = nullptr; GetPage()->GetPointerLockController().DidLosePointerLock(); }
diff --git a/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.cpp index 703ffb8..c3c9df8 100644 --- a/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.cpp +++ b/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.cpp
@@ -540,6 +540,9 @@ if (print_context_) PrintEnd(); +#if DCHECK_IS_ON() + is_in_printing_ = false; +#endif } WebString WebLocalFrameImpl::AssignedName() const { @@ -1368,6 +1371,27 @@ return 0; } +void WebLocalFrameImpl::DispatchBeforePrintEvent() { +#if DCHECK_IS_ON() + DCHECK(!is_in_printing_) << "DispatchAfterPrintEvent() should have been " + "called after the previous " + "DispatchBeforePrintEvent() call."; + is_in_printing_ = true; +#endif + + // TODO(tkent): Dispatch the event. crbug.com/218205 +} + +void WebLocalFrameImpl::DispatchAfterPrintEvent() { +#if DCHECK_IS_ON() + DCHECK(is_in_printing_) << "DispatchBeforePrintEvent() should be called " + "before DispatchAfterPrintEvent()."; + is_in_printing_ = false; +#endif + + // TODO(tkent): Dispatch the event. crbug.com/218205 +} + int WebLocalFrameImpl::PrintBegin(const WebPrintParams& print_params, const WebNode& constrain_to_node) { DCHECK(!GetFrame()->GetDocument()->IsFrameSet());
diff --git a/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.h b/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.h index ceee83e..9ce9021 100644 --- a/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.h +++ b/third_party/WebKit/Source/core/frame/WebLocalFrameImpl.h
@@ -207,11 +207,13 @@ void DeleteSurroundingText(int before, int after) override; void DeleteSurroundingTextInCodePoints(int before, int after) override; void SetCaretVisible(bool) override; + void DispatchBeforePrintEvent() override; int PrintBegin(const WebPrintParams&, const WebNode& constrain_to_node) override; float PrintPage(int page_to_print, WebCanvas*) override; float GetPrintPageShrink(int page) override; void PrintEnd() override; + void DispatchAfterPrintEvent() override; bool IsPrintScalingDisabledForPlugin(const WebNode&) override; bool GetPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*) override; @@ -513,6 +515,12 @@ // Accomplish that by keeping a self-referential Persistent<>. It is // cleared upon close(). SelfKeepAlive<WebLocalFrameImpl> self_keep_alive_; + +#if DCHECK_IS_ON() + // True if DispatchBeforePrintEvent() was called, and + // DispatchAfterPrintEvent() is not called yet. + bool is_in_printing_ = false; +#endif }; DEFINE_TYPE_CASTS(WebLocalFrameImpl,
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp index 55f4d43..5e6a215 100644 --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -1223,7 +1223,7 @@ void HTMLCanvasElement::ClearCopiedImage() { if (copied_image_) { - copied_image_.Clear(); + copied_image_ = nullptr; UpdateExternallyAllocatedMemory(); } }
diff --git a/third_party/WebKit/Source/core/html/custom/CustomElementDescriptor.h b/third_party/WebKit/Source/core/html/custom/CustomElementDescriptor.h index f1b74af..c5e37283 100644 --- a/third_party/WebKit/Source/core/html/custom/CustomElementDescriptor.h +++ b/third_party/WebKit/Source/core/html/custom/CustomElementDescriptor.h
@@ -39,13 +39,6 @@ const AtomicString& local_name) : name_(name), local_name_(local_name) {} - explicit CustomElementDescriptor(WTF::HashTableDeletedValueType value) - : name_(value) {} - - bool IsHashTableDeletedValue() const { - return name_.IsHashTableDeletedValue(); - } - bool operator==(const CustomElementDescriptor& other) const { return name_ == other.name_ && local_name_ == other.local_name_; } @@ -63,6 +56,7 @@ bool IsAutonomous() const { return name_ == local_name_; } private: + friend struct WTF::HashTraits<blink::CustomElementDescriptor>; AtomicString name_; AtomicString local_name_; };
diff --git a/third_party/WebKit/Source/core/html/custom/CustomElementDescriptorHash.h b/third_party/WebKit/Source/core/html/custom/CustomElementDescriptorHash.h index b486405..ce73e539 100644 --- a/third_party/WebKit/Source/core/html/custom/CustomElementDescriptorHash.h +++ b/third_party/WebKit/Source/core/html/custom/CustomElementDescriptorHash.h
@@ -37,6 +37,15 @@ STATIC_ONLY(HashTraits); static const bool kEmptyValueIsZero = HashTraits<AtomicString>::kEmptyValueIsZero; + + static bool IsDeletedValue(const blink::CustomElementDescriptor& value) { + return HashTraits<AtomicString>::IsDeletedValue(value.name_); + } + + static void ConstructDeletedValue(blink::CustomElementDescriptor& slot, + bool zero_value) { + HashTraits<AtomicString>::ConstructDeletedValue(slot.name_, zero_value); + } }; template <>
diff --git a/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptor.h b/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptor.h index 62b387b..58a2972 100644 --- a/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptor.h +++ b/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptor.h
@@ -50,6 +50,7 @@ const AtomicString& local_name) : type_(type), namespace_uri_(namespace_uri), local_name_(local_name) {} + V0CustomElementDescriptor() {} ~V0CustomElementDescriptor() {} // Specifies whether the custom element is in the HTML or SVG @@ -66,21 +67,13 @@ bool IsTypeExtension() const { return type_ != local_name_; } - // Stuff for hashing. - - V0CustomElementDescriptor() {} - explicit V0CustomElementDescriptor(WTF::HashTableDeletedValueType value) - : type_(value) {} - bool IsHashTableDeletedValue() const { - return type_.IsHashTableDeletedValue(); - } - bool operator==(const V0CustomElementDescriptor& other) const { return type_ == other.type_ && local_name_ == other.local_name_ && namespace_uri_ == other.namespace_uri_; } private: + friend struct WTF::HashTraits<blink::V0CustomElementDescriptor>; AtomicString type_; AtomicString namespace_uri_; AtomicString local_name_;
diff --git a/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptorHash.h b/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptorHash.h index 08a3a06..bea8512 100644 --- a/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptorHash.h +++ b/third_party/WebKit/Source/core/html/custom/V0CustomElementDescriptorHash.h
@@ -66,6 +66,15 @@ STATIC_ONLY(HashTraits); static const bool kEmptyValueIsZero = HashTraits<AtomicString>::kEmptyValueIsZero; + + static bool IsDeletedValue(const blink::V0CustomElementDescriptor& value) { + return HashTraits<AtomicString>::IsDeletedValue(value.type_); + } + + static void ConstructDeletedValue(blink::V0CustomElementDescriptor& slot, + bool zero_value) { + HashTraits<AtomicString>::ConstructDeletedValue(slot.type_, zero_value); + } }; } // namespace WTF
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmap.cpp b/third_party/WebKit/Source/core/imagebitmap/ImageBitmap.cpp index f3c5b621..de20a6b 100644 --- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmap.cpp +++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmap.cpp
@@ -534,7 +534,7 @@ DCHECK(raw_input->IsStaticBitmapImage()); RefPtr<StaticBitmapImage> input = static_cast<StaticBitmapImage*>(raw_input.Get()); - raw_input.Clear(); + raw_input = nullptr; if (status != kNormalSourceImageStatus) return; @@ -888,7 +888,7 @@ void ImageBitmap::close() { if (!image_ || is_neutered_) return; - image_.Clear(); + image_ = nullptr; is_neutered_ = true; }
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp index 8d194970..452b02d4 100644 --- a/third_party/WebKit/Source/core/input/EventHandler.cpp +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -215,7 +215,7 @@ frame_set_being_resized_ = nullptr; drag_target_ = nullptr; should_only_fire_drag_over_event_ = false; - last_mouse_down_user_gesture_token_.Clear(); + last_mouse_down_user_gesture_token_ = nullptr; capturing_mouse_events_node_ = nullptr; pointer_event_manager_->Clear(); scroll_manager_->Clear();
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp index 32b45bb..17e5148 100644 --- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp +++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -197,7 +197,7 @@ private: void Dispose() { - raw_data_.Clear(); + raw_data_ = nullptr; delete this; }
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp index 77bd20c..53f6c2a2a 100644 --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
@@ -195,7 +195,7 @@ HTMLSelectElement* select = SelectElement(); HTMLOptionElement* option = select->OptionToBeShown(); String text = g_empty_string; - option_style_.Clear(); + option_style_ = nullptr; if (select->IsMultiple()) { unsigned selected_count = 0;
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h index 65e3f2fd..9c24935 100644 --- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h +++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
@@ -29,6 +29,7 @@ #include "core/layout/api/SelectionState.h" #include "core/layout/line/InlineBox.h" #include "platform/text/TextRun.h" +#include "platform/text/Truncation.h" #include "platform/wtf/Forward.h" namespace blink { @@ -37,18 +38,6 @@ class GraphicsContext; class TextMatchMarker; -// The two truncation values below are used as tokens representing truncation -// state for the text box, are intended to be relative to |m_start|, and are set -// directly into |m_truncation|. In the case where there is some truncation of -// the text but it is not full, |m_truncation| is set to the character offset -// from |m_start| representing the characters that are not truncated. -// -// Thus the maximum possible length of the text displayed before an ellipsis in -// a single InlineTextBox is |USHRT_MAX - 2| to allow for the no-truncation and -// full-truncation states. -const unsigned short kCNoTruncation = USHRT_MAX; -const unsigned short kCFullTruncation = USHRT_MAX - 1; - class CORE_EXPORT InlineTextBox : public InlineBox { public: InlineTextBox(LineLayoutItem item, int start, unsigned short length)
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc index f98bf2d..1094ebe 100644 --- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc +++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
@@ -569,10 +569,7 @@ // Verifies that the margin strut of a child with a different writing mode does // not get used in the collapsing margins calculation. -// -// TODO(glebl): Disabled for now. Follow-up with kojii@ on -// https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4844 -TEST_F(NGBlockLayoutAlgorithmTest, DISABLED_CollapsingMarginsCase6) { +TEST_F(NGBlockLayoutAlgorithmTest, CollapsingMarginsCase6) { SetBodyInnerHTML(R"HTML( <style> #div1 {
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp index fa353c4e..72e088f 100644 --- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp +++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
@@ -127,7 +127,7 @@ void ClearLoader() { loader_ = nullptr; - script_state_.Clear(); + script_state_ = nullptr; } WeakPtr<Task> CreateWeakPtr() { return weak_factory_.CreateWeakPtr(); }
diff --git a/third_party/WebKit/Source/core/loader/ScheduledNavigation.h b/third_party/WebKit/Source/core/loader/ScheduledNavigation.h index 19a43e6..6359ca4 100644 --- a/third_party/WebKit/Source/core/loader/ScheduledNavigation.h +++ b/third_party/WebKit/Source/core/loader/ScheduledNavigation.h
@@ -52,7 +52,7 @@ DEFINE_INLINE_VIRTUAL_TRACE() { visitor->Trace(origin_document_); } protected: - void ClearUserGesture() { user_gesture_token_.Clear(); } + void ClearUserGesture() { user_gesture_token_ = nullptr; } private: Reason reason_;
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResource.cpp b/third_party/WebKit/Source/core/loader/resource/FontResource.cpp index 1f47fcf..442a1e9 100644 --- a/third_party/WebKit/Source/core/loader/resource/FontResource.cpp +++ b/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
@@ -199,7 +199,7 @@ } void FontResource::AllClientsAndObserversRemoved() { - font_data_.Clear(); + font_data_ = nullptr; Resource::AllClientsAndObserversRemoved(); }
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp b/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp index 6a55a41..edb7bf4 100644 --- a/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp +++ b/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp
@@ -327,7 +327,7 @@ // If our Image has an observer, it's always us so we need to clear the back // pointer before dropping our reference. image_->ClearImageObserver(); - image_.Clear(); + image_ = nullptr; size_available_ = Image::kSizeUnavailable; }
diff --git a/third_party/WebKit/Source/core/paint/ng/ng_text_fragment_painter.cc b/third_party/WebKit/Source/core/paint/ng/ng_text_fragment_painter.cc index d0a939a..1a8aea7 100644 --- a/third_party/WebKit/Source/core/paint/ng/ng_text_fragment_painter.cc +++ b/third_party/WebKit/Source/core/paint/ng/ng_text_fragment_painter.cc
@@ -11,6 +11,7 @@ #include "core/style/AppliedTextDecoration.h" #include "core/style/ComputedStyle.h" #include "platform/graphics/GraphicsContextStateSaver.h" +#include "platform/text/Truncation.h" namespace blink { @@ -44,12 +45,6 @@ void NGTextFragmentPainter::Paint(const Document& document, const PaintInfo& paint_info, const LayoutPoint& paint_offset) { - // TODO(eae): These constants are currently defined in core/layout/line/ - // InlineTextBox.h, move them to a separate header and have InlineTextBox.h - // and this file include it. - static unsigned short kCNoTruncation = USHRT_MAX; - static unsigned short kCFullTruncation = USHRT_MAX - 1; - const ComputedStyle& style_to_use = fragment_.Style(); NGPhysicalSize size_;
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp index c84b47e..ce3f8c3 100644 --- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp +++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -315,7 +315,7 @@ response_array_buffer_failure_(false) {} XMLHttpRequest::~XMLHttpRequest() { - binary_response_builder_.Clear(); + binary_response_builder_ = nullptr; length_downloaded_to_file_ = 0; ReportMemoryUsageToV8(); } @@ -442,7 +442,7 @@ size = binary_response_builder_->size(); blob_data->SetContentType( FinalResponseMIMETypeWithFallback().LowerASCII()); - binary_response_builder_.Clear(); + binary_response_builder_ = nullptr; ReportMemoryUsageToV8(); } response_blob_ = @@ -472,7 +472,7 @@ // https://xhr.spec.whatwg.org/#arraybuffer-response allows clearing // of the 'received bytes' payload when the response buffer allocation // fails. - binary_response_builder_.Clear(); + binary_response_builder_ = nullptr; ReportMemoryUsageToV8(); // Mark allocation as failed; subsequent calls to the accessor must // continue to report |null|. @@ -1244,7 +1244,7 @@ // These variables may referred by the response accessors. So, we can clear // this only when we clear the response holder variables above. - binary_response_builder_.Clear(); + binary_response_builder_ = nullptr; response_array_buffer_.Clear(); response_array_buffer_failure_ = false;
diff --git a/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp b/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp index 49343a1d..c26180a 100644 --- a/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp +++ b/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
@@ -228,7 +228,7 @@ void CryptoResultImpl::Cancel() { DCHECK(cancel_); cancel_->Cancel(); - cancel_.Clear(); + cancel_ = nullptr; ClearResolver(); }
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp index 8543af5..14ef39c 100644 --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
@@ -4,7 +4,6 @@ #include "modules/device_orientation/DeviceMotionController.h" -#include "core/dom/Document.h" #include "core/frame/Deprecation.h" #include "core/frame/HostsUsingFeatures.h" #include "core/frame/Settings.h"
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.h b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.h index 84ba56a..1b04756 100644 --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.h +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.h
@@ -5,7 +5,6 @@ #ifndef DeviceMotionController_h #define DeviceMotionController_h -#include "core/dom/Document.h" #include "core/frame/DeviceSingleWindowEventController.h" #include "modules/ModulesExport.h"
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp index 0c7e43c..8852040 100644 --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.cpp
@@ -4,7 +4,6 @@ #include "modules/device_orientation/DeviceOrientationAbsoluteController.h" -#include "core/dom/Document.h" #include "core/frame/Settings.h" #include "modules/device_orientation/DeviceOrientationDispatcher.h"
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h index 51151c3..a64f8e44 100644 --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h
@@ -5,7 +5,6 @@ #ifndef DeviceOrientationAbsoluteController_h #define DeviceOrientationAbsoluteController_h -#include "core/dom/Document.h" #include "modules/ModulesExport.h" #include "modules/device_orientation/DeviceOrientationController.h"
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp index 3e47f8c..7d133cc 100644 --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
@@ -4,7 +4,6 @@ #include "modules/device_orientation/DeviceOrientationController.h" -#include "core/dom/Document.h" #include "core/frame/Deprecation.h" #include "core/frame/HostsUsingFeatures.h" #include "core/frame/Settings.h"
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h index ec7eac7..41bb211 100644 --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h
@@ -5,7 +5,6 @@ #ifndef DeviceOrientationController_h #define DeviceOrientationController_h -#include "core/dom/Document.h" #include "core/frame/DeviceSingleWindowEventController.h" #include "modules/ModulesExport.h"
diff --git a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.cpp b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.cpp index 8fb1ec9..9ba8442 100644 --- a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.cpp +++ b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractor.cpp
@@ -9,7 +9,6 @@ #include <utility> #include "core/HTMLNames.h" -#include "core/dom/Document.h" #include "core/dom/ElementTraversal.h" #include "core/frame/LocalFrame.h" #include "core/html/HTMLElement.h"
diff --git a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractorTest.cpp b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractorTest.cpp index af4a1ae..108a6fe4 100644 --- a/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractorTest.cpp +++ b/third_party/WebKit/Source/modules/document_metadata/CopylessPasteExtractorTest.cpp
@@ -6,7 +6,6 @@ #include <memory> #include <string> #include <utility> -#include "core/dom/Document.h" #include "core/dom/Element.h" #include "core/testing/DummyPageHolder.h" #include "modules/document_metadata/CopylessPasteExtractor.h"
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp index 823225a..3224fe89 100644 --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp
@@ -7,7 +7,6 @@ #include <memory> #include "bindings/core/v8/ScriptPromiseResolver.h" #include "core/dom/DOMException.h" -#include "core/dom/Document.h" #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h" #include "modules/encryptedmedia/EncryptedMediaUtils.h" #include "modules/encryptedmedia/MediaKeySession.h"
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.cpp index 84c7320..c0202be 100644 --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.cpp +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysController.cpp
@@ -4,7 +4,6 @@ #include "modules/encryptedmedia/MediaKeysController.h" -#include "core/dom/Document.h" #include "core/frame/WebLocalFrameImpl.h" #include "public/platform/WebContentDecryptionModule.h" #include "public/web/WebFrameClient.h"
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp index 3bdc2a5..2ee590d 100644 --- a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp +++ b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
@@ -9,7 +9,6 @@ #include "bindings/core/v8/ScriptPromise.h" #include "bindings/core/v8/ScriptPromiseResolver.h" #include "core/dom/DOMException.h" -#include "core/dom/Document.h" #include "core/dom/ExceptionCode.h" #include "core/dom/ExecutionContext.h" #include "core/frame/Deprecation.h"
diff --git a/third_party/WebKit/Source/modules/eventsource/EventSource.cpp b/third_party/WebKit/Source/modules/eventsource/EventSource.cpp index d0957eb..a0028be 100644 --- a/third_party/WebKit/Source/modules/eventsource/EventSource.cpp +++ b/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
@@ -37,7 +37,6 @@ #include "bindings/core/v8/ScriptController.h" #include "bindings/core/v8/serialization/SerializedScriptValue.h" #include "bindings/core/v8/serialization/SerializedScriptValueFactory.h" -#include "core/dom/Document.h" #include "core/dom/ExceptionCode.h" #include "core/dom/ExecutionContext.h" #include "core/dom/TaskRunnerHelper.h"
diff --git a/third_party/WebKit/Source/modules/exported/WebAXObject.cpp b/third_party/WebKit/Source/modules/exported/WebAXObject.cpp index 045a9e8..96bdace 100644 --- a/third_party/WebKit/Source/modules/exported/WebAXObject.cpp +++ b/third_party/WebKit/Source/modules/exported/WebAXObject.cpp
@@ -33,7 +33,6 @@ #include "SkMatrix44.h" #include "core/HTMLNames.h" #include "core/css/CSSPrimitiveValueMappings.h" -#include "core/dom/Document.h" #include "core/dom/Node.h" #include "core/editing/VisiblePosition.h" #include "core/editing/markers/DocumentMarker.h"
diff --git a/third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp b/third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp index 2b609367..92a736a 100644 --- a/third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp +++ b/third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp
@@ -33,7 +33,6 @@ #include "bindings/modules/v8/V8DOMFileSystem.h" #include "bindings/modules/v8/V8DirectoryEntry.h" #include "bindings/modules/v8/V8FileEntry.h" -#include "core/dom/Document.h" #include "core/frame/LocalFrame.h" #include "core/frame/WebLocalFrameImpl.h" #include "modules/filesystem/DOMFileSystem.h"
diff --git a/third_party/WebKit/Source/modules/exported/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/modules/exported/WebEmbeddedWorkerImpl.cpp index 27b1462..3baa85f 100644 --- a/third_party/WebKit/Source/modules/exported/WebEmbeddedWorkerImpl.cpp +++ b/third_party/WebKit/Source/modules/exported/WebEmbeddedWorkerImpl.cpp
@@ -32,7 +32,6 @@ #include <memory> #include "bindings/core/v8/SourceLocation.h" -#include "core/dom/Document.h" #include "core/dom/SecurityContext.h" #include "core/dom/TaskRunnerHelper.h" #include "core/frame/csp/ContentSecurityPolicy.h" @@ -165,7 +164,7 @@ } if (main_script_loader_) { main_script_loader_->Cancel(); - main_script_loader_.Clear(); + main_script_loader_ = nullptr; // This deletes 'this'. worker_context_client_->WorkerContextFailedToStart(); return; @@ -400,7 +399,7 @@ worker_clients, main_script_loader_->ResponseAddressSpace(), main_script_loader_->OriginTrialTokens(), std::move(worker_settings), static_cast<V8CacheOptions>(worker_start_data_.v8_cache_options)); - main_script_loader_.Clear(); + main_script_loader_ = nullptr; } else { // ContentSecurityPolicy and ReferrerPolicy are applied to |document| at // SetContentSecurityPolicyAndReferrerPolicy() before evaluating the main
diff --git a/third_party/WebKit/Source/modules/exported/WebMediaDevicesRequest.cpp b/third_party/WebKit/Source/modules/exported/WebMediaDevicesRequest.cpp index 59c40dc0..09ec9f6 100644 --- a/third_party/WebKit/Source/modules/exported/WebMediaDevicesRequest.cpp +++ b/third_party/WebKit/Source/modules/exported/WebMediaDevicesRequest.cpp
@@ -25,7 +25,6 @@ #include "public/web/WebMediaDevicesRequest.h" -#include "core/dom/Document.h" #include "modules/mediastream/MediaDevicesRequest.h" #include "platform/weborigin/SecurityOrigin.h" #include "platform/wtf/Vector.h"
diff --git a/third_party/WebKit/Source/modules/exported/WebUserMediaRequest.cpp b/third_party/WebKit/Source/modules/exported/WebUserMediaRequest.cpp index 45cee52..cab4028 100644 --- a/third_party/WebKit/Source/modules/exported/WebUserMediaRequest.cpp +++ b/third_party/WebKit/Source/modules/exported/WebUserMediaRequest.cpp
@@ -30,7 +30,6 @@ #include "public/web/WebUserMediaRequest.h" -#include "core/dom/Document.h" #include "modules/mediastream/UserMediaRequest.h" #include "platform/mediastream/MediaStreamDescriptor.h" #include "platform/mediastream/MediaStreamSource.h"
diff --git a/third_party/WebKit/Source/modules/fetch/BlobBytesConsumerTest.cpp b/third_party/WebKit/Source/modules/fetch/BlobBytesConsumerTest.cpp index 184f14c..7a402ef 100644 --- a/third_party/WebKit/Source/modules/fetch/BlobBytesConsumerTest.cpp +++ b/third_party/WebKit/Source/modules/fetch/BlobBytesConsumerTest.cpp
@@ -4,7 +4,6 @@ #include "modules/fetch/BlobBytesConsumer.h" -#include "core/dom/Document.h" #include "core/loader/ThreadableLoader.h" #include "core/testing/DummyPageHolder.h" #include "modules/fetch/BytesConsumerTestUtil.h"
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp index a059b94..598eb0b 100644 --- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp +++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
@@ -7,7 +7,6 @@ #include <memory> #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/ScriptPromiseResolver.h" -#include "core/dom/Document.h" #include "core/dom/ExecutionContext.h" #include "core/fileapi/Blob.h" #include "core/frame/Frame.h"
diff --git a/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp b/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp index 8f237e2f..df42bb15 100644 --- a/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp +++ b/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
@@ -112,7 +112,7 @@ WebURLRequest::FetchCredentialsMode credentials) { credentials_ = credentials; if (credentials_ != WebURLRequest::kFetchCredentialsModePassword) - attached_credential_.Clear(); + attached_credential_ = nullptr; } DEFINE_TRACE(FetchRequestData) {
diff --git a/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumerTest.cpp b/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumerTest.cpp index 8902e4f7..002f9d2 100644 --- a/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumerTest.cpp +++ b/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumerTest.cpp
@@ -4,7 +4,6 @@ #include "modules/fetch/FormDataBytesConsumer.h" -#include "core/dom/Document.h" #include "core/html/FormData.h" #include "core/testing/DummyPageHolder.h" #include "core/typed_arrays/DOMArrayBuffer.h"
diff --git a/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumerTest.cpp b/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumerTest.cpp index eff3567..4a1e0d57 100644 --- a/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumerTest.cpp +++ b/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumerTest.cpp
@@ -8,7 +8,6 @@ #include "bindings/core/v8/V8BindingForCore.h" #include "bindings/core/v8/V8GCController.h" -#include "core/dom/Document.h" #include "core/streams/ReadableStreamOperations.h" #include "core/testing/DummyPageHolder.h" #include "modules/fetch/BytesConsumerTestUtil.h"
diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp index 472f689..562b1fa7 100644 --- a/third_party/WebKit/Source/modules/fetch/Request.cpp +++ b/third_party/WebKit/Source/modules/fetch/Request.cpp
@@ -5,7 +5,6 @@ #include "modules/fetch/Request.h" #include "bindings/core/v8/Dictionary.h" -#include "core/dom/Document.h" #include "core/dom/ExecutionContext.h" #include "core/loader/ThreadableLoader.h" #include "modules/fetch/BodyStreamBuffer.h"
diff --git a/third_party/WebKit/Source/modules/fetch/RequestTest.cpp b/third_party/WebKit/Source/modules/fetch/RequestTest.cpp index 37463c87..9bc96cd 100644 --- a/third_party/WebKit/Source/modules/fetch/RequestTest.cpp +++ b/third_party/WebKit/Source/modules/fetch/RequestTest.cpp
@@ -7,7 +7,6 @@ #include <memory> #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8BindingForTesting.h" -#include "core/dom/Document.h" #include "platform/bindings/ScriptState.h" #include "platform/wtf/HashMap.h" #include "platform/wtf/text/WTFString.h"
diff --git a/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp b/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp index db226c16..a324c74 100644 --- a/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp +++ b/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp
@@ -7,7 +7,6 @@ #include <memory> #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8BindingForTesting.h" -#include "core/dom/Document.h" #include "core/dom/ExecutionContext.h" #include "core/frame/Frame.h" #include "core/testing/DummyPageHolder.h"
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp index ea07c52..b331a3f 100644 --- a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp +++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
@@ -364,7 +364,7 @@ } void IDBCursor::Close() { - value_.Clear(); + value_ = nullptr; request_.Clear(); backend_.reset(); }
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp index 83e6774..27d7824 100644 --- a/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp +++ b/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp
@@ -260,7 +260,7 @@ bool IDBValueUnwrapper::Reset() { #if DCHECK_IS_ON() - blob_handle_.Clear(); + blob_handle_ = nullptr; current_ = nullptr; end_ = nullptr; #endif // DCHECK_IS_ON()
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp index 4ec076c..0c2a3e2d 100644 --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1303,7 +1303,7 @@ DCHECK(GetDrawingBuffer()); drawing_buffer_->BeginDestruction(); - drawing_buffer_.Clear(); + drawing_buffer_ = nullptr; } void WebGLRenderingContextBase::MarkContextChanged( @@ -7490,7 +7490,7 @@ // enough. if (GetDrawingBuffer()) { drawing_buffer_->BeginDestruction(); - drawing_buffer_.Clear(); + drawing_buffer_ = nullptr; } auto execution_context = host()->GetTopExecutionContext();
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp index 7f2c4a7..5003f6e0 100644 --- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp +++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
@@ -606,7 +606,7 @@ probe::didReceiveWebSocketHandshakeResponse( GetDocument(), identifier_, handshake_request_.Get(), response); } - handshake_request_.Clear(); + handshake_request_ = nullptr; } void DocumentWebSocketChannel::DidFail(WebSocketHandle* handle,
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn index e37ca00..7899d73 100644 --- a/third_party/WebKit/Source/platform/BUILD.gn +++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -1404,6 +1404,7 @@ "text/TextRunIterator.h", "text/TextStream.cpp", "text/TextStream.h", + "text/Truncation.h", "text/UnicodeBidi.h", "text/UnicodeRange.cpp", "text/UnicodeRange.h",
diff --git a/third_party/WebKit/Source/platform/Prerender.cpp b/third_party/WebKit/Source/platform/Prerender.cpp index c42d3be..da708e3 100644 --- a/third_party/WebKit/Source/platform/Prerender.cpp +++ b/third_party/WebKit/Source/platform/Prerender.cpp
@@ -51,7 +51,7 @@ void Prerender::Dispose() { client_ = nullptr; - extra_data_.Clear(); + extra_data_ = nullptr; } void Prerender::Add() {
diff --git a/third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp b/third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp index 990035a4..7ee2fa8 100644 --- a/third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp +++ b/third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp
@@ -284,7 +284,7 @@ void V8PerIsolateData::ClearScriptRegexpContext() { if (script_regexp_script_state_) script_regexp_script_state_->DisposePerContextData(); - script_regexp_script_state_.Clear(); + script_regexp_script_state_ = nullptr; } bool V8PerIsolateData::HasInstance(
diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.cpp b/third_party/WebKit/Source/platform/fonts/FontCache.cpp index a97409e..7371502 100644 --- a/third_party/WebKit/Source/platform/fonts/FontCache.cpp +++ b/third_party/WebKit/Source/platform/fonts/FontCache.cpp
@@ -221,7 +221,7 @@ RefPtr<OpenTypeVerticalData> vertical_data = OpenTypeVerticalData::Create(platform_data); if (!vertical_data->IsOpenType()) - vertical_data.Clear(); + vertical_data = nullptr; font_vertical_data_cache.Set(key, vertical_data); return vertical_data; }
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp index 205ee8c..e5ec82a 100644 --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
@@ -841,7 +841,7 @@ RefPtr<StaticBitmapImage> image = bridge->NewImageSnapshot(kPreferAcceleration, kSnapshotReasonUnitTests); EXPECT_FALSE(image->IsTextureBacked()); - image.Clear(); + image = nullptr; // Verify that taking a snapshot did not affect the state of bridge EXPECT_FALSE(bridge->IsAccelerated());
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp index 3a635492..c73ce2e 100644 --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -516,7 +516,7 @@ image->PaintImageForCurrentFrame().GetSkImage(); // Must tear down AcceleratedStaticBitmapImage before calling // makeNonTextureImage() - image.Clear(); + image = nullptr; image = StaticBitmapImage::Create(texture_image->makeNonTextureImage()); } surface->Canvas()->drawImage(image->PaintImageForCurrentFrame(), 0, 0);
diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp index 54c571b..845cee2 100644 --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
@@ -114,14 +114,14 @@ void SetFrameCount(size_t count) { frame_count_ = count; if (count > 1) { - generator_.Clear(); + generator_ = nullptr; generator_ = ImageFrameGenerator::Create(FullSize(), true, ColorBehavior::Ignore(), {}); UseMockImageDecoderFactory(); } } void SetSupportedSizes(std::vector<SkISize> sizes) { - generator_.Clear(); + generator_ = nullptr; generator_ = ImageFrameGenerator::Create( FullSize(), true, ColorBehavior::Ignore(), std::move(sizes)); UseMockImageDecoderFactory();
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp index 9a7ad598..7a4885f 100644 --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp
@@ -247,7 +247,7 @@ ASSERT_EQ(live, true); DrawingBufferForTests* raw_pointer = drawing_buffer_.Get(); - drawing_buffer_.Clear(); + drawing_buffer_ = nullptr; ASSERT_EQ(live, true); EXPECT_FALSE(raw_pointer->MarkContentsChanged()); @@ -295,7 +295,7 @@ EXPECT_EQ(live, true); DrawingBufferForTests* raw_ptr = drawing_buffer_.Get(); - drawing_buffer_.Clear(); + drawing_buffer_ = nullptr; EXPECT_EQ(live, true); EXPECT_FALSE(raw_ptr->MarkContentsChanged());
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp index 8c53856b..5316370 100644 --- a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp +++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp
@@ -199,7 +199,7 @@ ::testing::Mock::VerifyAndClearExpectations(&gl_); // Destroy image and surface to return texture to recleable resource pool - image.Clear(); + image = nullptr; surface = nullptr; ::testing::Mock::VerifyAndClearExpectations(&gl_);
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp index 84dd1e5..575d476 100644 --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
@@ -4943,7 +4943,7 @@ PairWithWeakHandling(living_int, living_int), dupe_int); // This one is identical to the previous and doesn't add // anything. - dupe_int.Clear(); + dupe_int = nullptr; EXPECT_EQ(0, OffHeapInt::destructor_calls_); EXPECT_EQ(4u, map1->size()); @@ -5025,7 +5025,7 @@ map1->insert(dupe_int, PairWithWeakHandling(living_int, living_int)); // This one is identical to the previous and doesn't add anything. map1->insert(dupe_int, PairWithWeakHandling(living_int, living_int)); - dupe_int.Clear(); + dupe_int = nullptr; EXPECT_EQ(0, OffHeapInt::destructor_calls_); EXPECT_EQ(4u, map1->size());
diff --git a/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp b/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp index c3dc56c..9423c64 100644 --- a/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp +++ b/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp
@@ -166,7 +166,7 @@ void Resource::CachedMetadataHandlerImpl::ClearCachedMetadata( CachedMetadataHandler::CacheType cache_type) { - cached_metadata_.Clear(); + cached_metadata_ = nullptr; if (cache_type == CachedMetadataHandler::kSendToPlatform) SendToPlatform(); } @@ -405,7 +405,7 @@ } void Resource::ClearData() { - data_.Clear(); + data_ = nullptr; encoded_size_memory_usage_ = 0; }
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp index 6cd88d09..cf745bc 100644 --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp
@@ -600,7 +600,7 @@ const String& downloaded_file_path) { downloaded_file_path_ = downloaded_file_path; if (downloaded_file_path_.IsEmpty()) { - downloaded_file_handle_.Clear(); + downloaded_file_handle_ = nullptr; return; } // TODO(dmurph): Investigate whether we need the mimeType on this blob.
diff --git a/third_party/WebKit/Source/platform/text/Truncation.h b/third_party/WebKit/Source/platform/text/Truncation.h new file mode 100644 index 0000000..a06fa51 --- /dev/null +++ b/third_party/WebKit/Source/platform/text/Truncation.h
@@ -0,0 +1,27 @@ +// Copyright 2017 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef Truncation_h +#define Truncation_h + +#include <climits> + +namespace blink { + +// The two truncation values below are used as tokens representing truncation +// state for a text fragment (in LayoutNG) or text box (in legacy layout), are +// intended to be relative to |m_start|. They are set directly into +// |m_truncation|. In the case where there is some truncation of the text but it +// is not full, |m_truncation| is set to the character offset from |m_start| +// representing the characters that are not truncated. +// +// Thus the maximum possible length of the text displayed before an ellipsis in +// a single NGTextFragment or InlineTextBox is |USHRT_MAX - 2| to allow for the +// no-truncation and full-truncation states. +const unsigned short kCNoTruncation = USHRT_MAX; +const unsigned short kCFullTruncation = USHRT_MAX - 1; + +} // namespace blink + +#endif // Truncation_h
diff --git a/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp b/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp index a6285ae..479106b 100644 --- a/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp +++ b/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp
@@ -146,7 +146,7 @@ RefPtr<HyphenationMinikin> hyphenation(AdoptRef(new HyphenationMinikin)); if (hyphenation->OpenDictionary(locale.LowerASCII())) return hyphenation; - hyphenation.Clear(); + hyphenation = nullptr; DEFINE_STATIC_LOCAL(LocaleMap, locale_fallback, (CreateLocaleFallbackMap())); const auto& it = locale_fallback.find(locale);
diff --git a/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp b/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp index a569c5a..adc6156 100644 --- a/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp +++ b/third_party/WebKit/Source/platform/wtf/FunctionalTest.cpp
@@ -319,7 +319,7 @@ class Number : public RefCounted<Number> { public: static RefPtr<Number> Create(int value) { - return AdoptRef(new Number(value)); + return WTF::AdoptRef(new Number(value)); } ~Number() { value_ = 0; }
diff --git a/third_party/WebKit/Source/platform/wtf/HashMapTest.cpp b/third_party/WebKit/Source/platform/wtf/HashMapTest.cpp index 02d6ce1..534d4e9 100644 --- a/third_party/WebKit/Source/platform/wtf/HashMapTest.cpp +++ b/third_party/WebKit/Source/platform/wtf/HashMapTest.cpp
@@ -167,7 +167,7 @@ TEST(HashMapTest, RefPtrAsKey) { bool is_deleted = false; DummyRefCounted::ref_invokes_count_ = 0; - RefPtr<DummyRefCounted> ptr = AdoptRef(new DummyRefCounted(is_deleted)); + RefPtr<DummyRefCounted> ptr = WTF::AdoptRef(new DummyRefCounted(is_deleted)); EXPECT_EQ(0, DummyRefCounted::ref_invokes_count_); HashMap<RefPtr<DummyRefCounted>, int> map; map.insert(ptr, 1); @@ -183,7 +183,7 @@ EXPECT_NE(map.end(), map.find(ptr)); EXPECT_EQ(1, DummyRefCounted::ref_invokes_count_); - ptr.Clear(); + ptr = nullptr; EXPECT_FALSE(is_deleted); map.erase(raw_ptr); @@ -199,7 +199,7 @@ typedef HashMap<int, RefPtr<DummyRefCounted>> Map; Map map; - RefPtr<DummyRefCounted> ptr = AdoptRef(new DummyRefCounted(is_deleted)); + RefPtr<DummyRefCounted> ptr = WTF::AdoptRef(new DummyRefCounted(is_deleted)); EXPECT_EQ(0, DummyRefCounted::ref_invokes_count_); map.insert(1, ptr); @@ -207,7 +207,7 @@ EXPECT_EQ(1, DummyRefCounted::ref_invokes_count_); EXPECT_EQ(ptr, map.at(1)); - ptr.Clear(); + ptr = nullptr; EXPECT_FALSE(is_deleted); map.erase(1); @@ -218,10 +218,11 @@ // Add and remove until the deleted slot is reused. for (int i = 1; i < 100; i++) { bool is_deleted2 = false; - RefPtr<DummyRefCounted> ptr2 = AdoptRef(new DummyRefCounted(is_deleted2)); + RefPtr<DummyRefCounted> ptr2 = + WTF::AdoptRef(new DummyRefCounted(is_deleted2)); map.insert(i, ptr2); EXPECT_FALSE(is_deleted2); - ptr2.Clear(); + ptr2 = nullptr; EXPECT_FALSE(is_deleted2); map.erase(i); EXPECT_TRUE(is_deleted2);
diff --git a/third_party/WebKit/Source/platform/wtf/HashSetTest.cpp b/third_party/WebKit/Source/platform/wtf/HashSetTest.cpp index e596af9..5b25fe59 100644 --- a/third_party/WebKit/Source/platform/wtf/HashSetTest.cpp +++ b/third_party/WebKit/Source/platform/wtf/HashSetTest.cpp
@@ -180,7 +180,7 @@ TEST(HashSetTest, HashSetRefPtr) { bool is_deleted = false; - RefPtr<DummyRefCounted> ptr = AdoptRef(new DummyRefCounted(is_deleted)); + RefPtr<DummyRefCounted> ptr = WTF::AdoptRef(new DummyRefCounted(is_deleted)); EXPECT_EQ(0, DummyRefCounted::ref_invokes_count_); HashSet<RefPtr<DummyRefCounted>> set; set.insert(ptr); @@ -194,7 +194,7 @@ EXPECT_TRUE(set.Contains(ptr)); EXPECT_NE(set.end(), set.find(ptr)); - ptr.Clear(); + ptr = nullptr; EXPECT_FALSE(is_deleted); set.erase(raw_ptr);
diff --git a/third_party/WebKit/Source/platform/wtf/ListHashSetTest.cpp b/third_party/WebKit/Source/platform/wtf/ListHashSetTest.cpp index 6de7f98..08993e1 100644 --- a/third_party/WebKit/Source/platform/wtf/ListHashSetTest.cpp +++ b/third_party/WebKit/Source/platform/wtf/ListHashSetTest.cpp
@@ -402,7 +402,7 @@ using Set = TypeParam; bool is_deleted = false; DummyRefCounted::ref_invokes_count_ = 0; - RefPtr<DummyRefCounted> ptr = AdoptRef(new DummyRefCounted(is_deleted)); + RefPtr<DummyRefCounted> ptr = WTF::AdoptRef(new DummyRefCounted(is_deleted)); EXPECT_EQ(0, DummyRefCounted::ref_invokes_count_); Set set; @@ -418,7 +418,7 @@ EXPECT_TRUE(set.Contains(raw_ptr)); EXPECT_EQ(1, DummyRefCounted::ref_invokes_count_); - ptr.Clear(); + ptr = nullptr; EXPECT_FALSE(is_deleted); EXPECT_EQ(1, DummyRefCounted::ref_invokes_count_); @@ -434,8 +434,9 @@ bool is_deleted = false; bool is_deleted2 = false; - RefPtr<DummyRefCounted> ptr = AdoptRef(new DummyRefCounted(is_deleted)); - RefPtr<DummyRefCounted> ptr2 = AdoptRef(new DummyRefCounted(is_deleted2)); + RefPtr<DummyRefCounted> ptr = WTF::AdoptRef(new DummyRefCounted(is_deleted)); + RefPtr<DummyRefCounted> ptr2 = + WTF::AdoptRef(new DummyRefCounted(is_deleted2)); typename Set::AddResult add_result = set.insert(ptr); EXPECT_TRUE(add_result.is_new_entry); @@ -450,11 +451,11 @@ set.InsertBefore(it, ptr); EXPECT_EQ(1u, set.size()); set.insert(ptr2); - ptr2.Clear(); + ptr2 = nullptr; set.erase(ptr); EXPECT_FALSE(is_deleted); - ptr.Clear(); + ptr = nullptr; EXPECT_TRUE(is_deleted); EXPECT_FALSE(is_deleted2);
diff --git a/third_party/WebKit/Source/platform/wtf/RefPtr.h b/third_party/WebKit/Source/platform/wtf/RefPtr.h index 164c76a4..214619a5 100644 --- a/third_party/WebKit/Source/platform/wtf/RefPtr.h +++ b/third_party/WebKit/Source/platform/wtf/RefPtr.h
@@ -95,7 +95,6 @@ ALWAYS_INLINE T* Get() const { return ptr_; } T* LeakRef() WARN_UNUSED_RESULT; - void Clear(); T& operator*() const { return *ptr_; } ALWAYS_INLINE T* operator->() const { return ptr_; } @@ -108,7 +107,9 @@ return *this; } RefPtr& operator=(std::nullptr_t) { - Clear(); + T* ptr = ptr_; + ptr_ = nullptr; + DerefIfNotNull(ptr); return *this; } // This is required by HashMap<RefPtr>>. @@ -136,13 +137,6 @@ } template <typename T> -inline void RefPtr<T>::Clear() { - T* ptr = ptr_; - ptr_ = nullptr; - DerefIfNotNull(ptr); -} - -template <typename T> template <typename U> inline RefPtr<T>& RefPtr<T>::operator=(RefPtrValuePeeker<U> optr) { RefPtr ptr = static_cast<U*>(optr); @@ -245,6 +239,5 @@ } // namespace WTF using WTF::RefPtr; -using WTF::AdoptRef; #endif // WTF_RefPtr_h
diff --git a/third_party/WebKit/Source/platform/wtf/RefPtrTest.cpp b/third_party/WebKit/Source/platform/wtf/RefPtrTest.cpp index 9b5277d..8f11195 100644 --- a/third_party/WebKit/Source/platform/wtf/RefPtrTest.cpp +++ b/third_party/WebKit/Source/platform/wtf/RefPtrTest.cpp
@@ -15,7 +15,7 @@ EXPECT_TRUE(!string); string = StringImpl::Create("test"); EXPECT_TRUE(!!string); - string.Clear(); + string = nullptr; EXPECT_TRUE(!string); } @@ -45,7 +45,8 @@ TEST(RefPtrTest, ConstObject) { // This test is only to ensure we force the compilation of a const RefCounted // object to ensure the generated code compiles. - RefPtr<const RefCountedClass> ptr_to_const = AdoptRef(new RefCountedClass()); + RefPtr<const RefCountedClass> ptr_to_const = + WTF::AdoptRef(new RefCountedClass()); } } // namespace WTF
diff --git a/third_party/WebKit/Source/platform/wtf/RefVector.h b/third_party/WebKit/Source/platform/wtf/RefVector.h index c7fd805..b633369 100644 --- a/third_party/WebKit/Source/platform/wtf/RefVector.h +++ b/third_party/WebKit/Source/platform/wtf/RefVector.h
@@ -16,12 +16,12 @@ template <typename T> class RefVector : public RefCounted<RefVector<T>> { public: - static RefPtr<RefVector> Create() { return AdoptRef(new RefVector<T>); } + static RefPtr<RefVector> Create() { return WTF::AdoptRef(new RefVector<T>); } static RefPtr<RefVector> Create(const Vector<T>& vector) { - return AdoptRef(new RefVector<T>(vector)); + return WTF::AdoptRef(new RefVector<T>(vector)); } static RefPtr<RefVector> Create(Vector<T>&& vector) { - return AdoptRef(new RefVector<T>(std::move(vector))); + return WTF::AdoptRef(new RefVector<T>(std::move(vector))); } RefPtr<RefVector> Copy() { return Create(GetVector()); }
diff --git a/third_party/WebKit/Source/platform/wtf/TreeNodeTest.cpp b/third_party/WebKit/Source/platform/wtf/TreeNodeTest.cpp index a8c24824c..986fc4d 100644 --- a/third_party/WebKit/Source/platform/wtf/TreeNodeTest.cpp +++ b/third_party/WebKit/Source/platform/wtf/TreeNodeTest.cpp
@@ -33,7 +33,7 @@ class TestTree : public RefCounted<TestTree>, public TreeNode<TestTree> { public: - static RefPtr<TestTree> Create() { return AdoptRef(new TestTree()); } + static RefPtr<TestTree> Create() { return WTF::AdoptRef(new TestTree()); } }; TEST(TreeNodeTest, AppendChild) {
diff --git a/third_party/WebKit/Source/platform/wtf/text/CString.cpp b/third_party/WebKit/Source/platform/wtf/text/CString.cpp index 6705a895..8663c6c 100644 --- a/third_party/WebKit/Source/platform/wtf/text/CString.cpp +++ b/third_party/WebKit/Source/platform/wtf/text/CString.cpp
@@ -44,7 +44,7 @@ Partitions::BufferMalloc(size, WTF_HEAP_PROFILER_TYPE_NAME(CStringImpl))); data = reinterpret_cast<char*>(buffer + 1); data[length] = '\0'; - return AdoptRef(new (buffer) CStringImpl(length)); + return WTF::AdoptRef(new (buffer) CStringImpl(length)); } void CStringImpl::operator delete(void* ptr) {
diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBuffer.h b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBuffer.h index 9d0d11d..27aad34b 100644 --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBuffer.h +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBuffer.h
@@ -138,14 +138,14 @@ ArrayBufferContents::kDontInitialize); if (UNLIKELY(!contents.Data())) OOM_CRASH(); - RefPtr<ArrayBuffer> buffer = AdoptRef(new ArrayBuffer(contents)); + RefPtr<ArrayBuffer> buffer = WTF::AdoptRef(new ArrayBuffer(contents)); memcpy(buffer->Data(), source, byte_length); return buffer; } RefPtr<ArrayBuffer> ArrayBuffer::Create(ArrayBufferContents& contents) { CHECK(contents.DataMaybeShared()); - return AdoptRef(new ArrayBuffer(contents)); + return WTF::AdoptRef(new ArrayBuffer(contents)); } RefPtr<ArrayBuffer> ArrayBuffer::CreateOrNull(unsigned num_elements, @@ -169,7 +169,7 @@ ArrayBufferContents::kNotShared, policy); if (UNLIKELY(!contents.Data())) OOM_CRASH(); - return AdoptRef(new ArrayBuffer(contents)); + return WTF::AdoptRef(new ArrayBuffer(contents)); } RefPtr<ArrayBuffer> ArrayBuffer::CreateOrNull( @@ -180,7 +180,7 @@ ArrayBufferContents::kNotShared, policy); if (!contents.Data()) return nullptr; - return AdoptRef(new ArrayBuffer(contents)); + return WTF::AdoptRef(new ArrayBuffer(contents)); } RefPtr<ArrayBuffer> ArrayBuffer::CreateShared(unsigned num_elements, @@ -194,7 +194,7 @@ ArrayBufferContents contents(byte_length, 1, ArrayBufferContents::kShared, ArrayBufferContents::kDontInitialize); CHECK(contents.DataShared()); - RefPtr<ArrayBuffer> buffer = AdoptRef(new ArrayBuffer(contents)); + RefPtr<ArrayBuffer> buffer = WTF::AdoptRef(new ArrayBuffer(contents)); memcpy(buffer->DataShared(), source, byte_length); return buffer; } @@ -206,7 +206,7 @@ ArrayBufferContents contents(num_elements, element_byte_size, ArrayBufferContents::kShared, policy); CHECK(contents.DataShared()); - return AdoptRef(new ArrayBuffer(contents)); + return WTF::AdoptRef(new ArrayBuffer(contents)); } ArrayBuffer::ArrayBuffer(ArrayBufferContents& contents)
diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.cpp b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.cpp index 30cf7c9..adb984f 100644 --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.cpp +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.cpp
@@ -53,14 +53,14 @@ #endif ArrayBufferContents::ArrayBufferContents() - : holder_(AdoptRef(new DataHolder())) {} + : holder_(WTF::AdoptRef(new DataHolder())) {} ArrayBufferContents::ArrayBufferContents( unsigned num_elements, unsigned element_byte_size, SharingType is_shared, ArrayBufferContents::InitializationPolicy policy) - : holder_(AdoptRef(new DataHolder())) { + : holder_(WTF::AdoptRef(new DataHolder())) { // Do not allow 32-bit overflow of the total size. unsigned total_size = num_elements * element_byte_size; if (num_elements) { @@ -75,7 +75,7 @@ ArrayBufferContents::ArrayBufferContents(DataHandle data, unsigned size_in_bytes, SharingType is_shared) - : holder_(AdoptRef(new DataHolder())) { + : holder_(WTF::AdoptRef(new DataHolder())) { if (data) { holder_->Adopt(std::move(data), size_in_bytes, is_shared); } else { @@ -90,7 +90,7 @@ ArrayBufferContents::~ArrayBufferContents() {} void ArrayBufferContents::Neuter() { - holder_.Clear(); + holder_ = nullptr; } void ArrayBufferContents::Transfer(ArrayBufferContents& other) {
diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h b/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h index 90d6600..dac779dc 100644 --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h
@@ -88,7 +88,7 @@ unsigned byte_offset, unsigned length) { CHECK(VerifySubRange<T>(buffer.Get(), byte_offset, length)); - return AdoptRef(new Subclass(std::move(buffer), byte_offset, length)); + return WTF::AdoptRef(new Subclass(std::move(buffer), byte_offset, length)); } template <class Subclass>
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h index 7a6f754f..4d413506 100644 --- a/third_party/WebKit/public/web/WebLocalFrame.h +++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -762,6 +762,11 @@ // Printing ------------------------------------------------------------ + // Dispatch |beforeprint| event, and execute event handlers. They might detach + // this frame from the owner WebView. + // This function should be called before pairs of PrintBegin() and PrintEnd(). + virtual void DispatchBeforePrintEvent() = 0; + // Reformats the WebFrame for printing. WebPrintParams specifies the printable // content size, paper size, printable area size, printer DPI and print // scaling option. If constrainToNode node is specified, then only the given @@ -785,6 +790,11 @@ // Reformats the WebFrame for screen display. virtual void PrintEnd() = 0; + // Dispatch |afterprint| event, and execute event handlers. They might detach + // this frame from the owner WebView. + // This function should be called after pairs of PrintBegin() and PrintEnd(). + virtual void DispatchAfterPrintEvent() = 0; + // If the frame contains a full-frame plugin or the given node refers to a // plugin whose content indicates that printed output should not be scaled, // return true, otherwise return false.
diff --git a/ui/file_manager/file_manager/foreground/elements/files_quick_view.css b/ui/file_manager/file_manager/foreground/elements/files_quick_view.css index 781b49c..e6fd3d4 100644 --- a/ui/file_manager/file_manager/foreground/elements/files_quick_view.css +++ b/ui/file_manager/file_manager/foreground/elements/files_quick_view.css
@@ -118,9 +118,6 @@ #toolbar { --paper-toolbar-background: rgb(40, 42, 45); --paper-toolbar-height: 48px; - --paper-toolbar-content: { - -webkit-padding-end: 0; - }; color: white; font-size: 108%; margin: 0; @@ -141,11 +138,8 @@ #buttons { display: flex; -} - -#file-path { - overflow: hidden; - text-overflow: ellipsis; + position: absolute; + right: 0px; } :host-context(html[dir='rtl']) #buttons {
diff --git a/ui/file_manager/file_manager/foreground/elements/files_quick_view.html b/ui/file_manager/file_manager/foreground/elements/files_quick_view.html index 40f0a8d..3e15292 100644 --- a/ui/file_manager/file_manager/foreground/elements/files_quick_view.html +++ b/ui/file_manager/file_manager/foreground/elements/files_quick_view.html
@@ -18,7 +18,7 @@ <template> <dialog id="dialog"> <paper-toolbar id="toolbar"> - <div id="file-path">[[filePath]]</div> + <div>[[filePath]]</div> <div id="buttons"> <paper-button id="open-button" on-tap="onOpenInNewButtonTap" hidden$="[[!hasTask]]" i18n-values="aria-label:QUICK_VIEW_OPEN_IN_NEW_BUTTON_LABEL" tabindex="0" has-tooltip> <iron-icon icon="files:open-in-new"></iron-icon>