summaryrefslogtreecommitdiff
path: root/layout/style
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style')
-rw-r--r--layout/style/Loader.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/layout/style/Loader.cpp b/layout/style/Loader.cpp
index e3a49b3b6a..2103aaf351 100644
--- a/layout/style/Loader.cpp
+++ b/layout/style/Loader.cpp
@@ -792,22 +792,6 @@ SheetLoadData::OnStreamComplete(nsIUnicharStreamLoader* aLoader,
if (NS_FAILED(aStatus)) {
LOG_WARN((" Load failed: status 0x%x", aStatus));
- // Handle sheet not loading error because source was a tracking URL.
- // We make a note of this sheet node by including it in a dedicated
- // array of blocked tracking nodes under its parent document.
- //
- // Multiple sheet load instances might be tied to this request,
- // we annotate each one linked to a valid owning element (node).
- if (aStatus == NS_ERROR_TRACKING_URI) {
- nsIDocument* doc = mLoader->GetDocument();
- if (doc) {
- for (SheetLoadData* data = this; data; data = data->mNext) {
- // mOwningElement may be null but AddBlockTrackingNode can cope
- nsCOMPtr<nsIContent> content = do_QueryInterface(data->mOwningElement);
- doc->AddBlockedTrackingNode(content);
- }
- }
- }
mLoader->SheetComplete(this, aStatus);
return NS_OK;
}