Skip to content
Permalink
Browse files
Web Inspector: Fix common typo "supress" => "suppress"
https://bugs.webkit.org/show_bug.cgi?id=149199

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-09-16
Reviewed by Gyuyoung Kim.

Source/WebCore:

* html/shadow/ContentDistributor.h:
(WebCore::ContentDistributor::needsDistribution):
* page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportViolation):
* platform/NotImplemented.h:
* platform/graphics/ca/win/LayerChangesFlusher.cpp:
(WebCore::LayerChangesFlusher::hookCallback):
* platform/mac/HIDGamepadProvider.cpp:
(WebCore::HIDGamepadProvider::deviceRemoved):
* platform/win/makesafeseh.asm:

Source/WebInspectorUI:

* UserInterface/Views/DataGrid.js:
(WebInspector.DataGridNode.prototype.select):
(WebInspector.DataGridNode.prototype.deselect):
* UserInterface/Views/SearchBar.js:
(WebInspector.SearchBar):

Source/WebKit2:

* PluginProcess/mac/PluginProcessMac.mm:
(WebKit::PluginProcess::platformInitializeProcess):

Canonical link: https://commits.webkit.org/167336@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JosephPecoraro authored and webkit-commit-queue committed Sep 16, 2015
1 parent 7757e21 commit 0b10d9513c21d6fa6ca11226668e2cb958eb3465
@@ -1,3 +1,21 @@
2015-09-16 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Fix common typo "supress" => "suppress"
https://bugs.webkit.org/show_bug.cgi?id=149199

Reviewed by Gyuyoung Kim.

* html/shadow/ContentDistributor.h:
(WebCore::ContentDistributor::needsDistribution):
* page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportViolation):
* platform/NotImplemented.h:
* platform/graphics/ca/win/LayerChangesFlusher.cpp:
(WebCore::LayerChangesFlusher::hookCallback):
* platform/mac/HIDGamepadProvider.cpp:
(WebCore::HIDGamepadProvider::deviceRemoved):
* platform/win/makesafeseh.asm:

2015-09-16 Chris Dumez <cdumez@apple.com>

WebIDL: Rename [ReturnNewObject] to [NewObject] and use it more consistently in DOM
@@ -87,7 +87,7 @@ class ContentDistributor {

inline bool ContentDistributor::needsDistribution() const
{
// During the invalidation, re-distribution should be supressed.
// During the invalidation, re-distribution should be suppressed.
return m_validity != Valid && m_validity != Invalidating;
}

@@ -1638,7 +1638,7 @@ void ContentSecurityPolicy::reportViolation(const String& directiveText, const S
// directive that was violated. The document's URL is safe to send because
// it's the document itself that's requesting that it be sent. You could
// make an argument that we shouldn't send HTTPS document URLs to HTTP
// report-uris (for the same reasons that we supress the Referer in that
// report-uris (for the same reasons that we suppress the Referer in that
// case), but the Referer is sent implicitly whereas this request is only
// sent explicitly. As for which directive was violated, that's pretty
// harmless information.
@@ -29,9 +29,9 @@
#include <wtf/Assertions.h>

#if PLATFORM(GTK) || PLATFORM(EFL)
#define supressNotImplementedWarning() getenv("DISABLE_NI_WARNING")
#define suppressNotImplementedWarning() getenv("DISABLE_NI_WARNING")
#else
#define supressNotImplementedWarning() false
#define suppressNotImplementedWarning() false
#endif

#if LOG_DISABLED
@@ -44,7 +44,7 @@ WEBCORE_EXPORT WTFLogChannel* notImplementedLoggingChannel();

#define notImplemented() do { \
static bool havePrinted = false; \
if (!havePrinted && !supressNotImplementedWarning()) { \
if (!havePrinted && !suppressNotImplementedWarning()) { \
WTFLogVerbose(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, WebCore::notImplementedLoggingChannel(), "UNIMPLEMENTED: "); \
havePrinted = true; \
} \
@@ -70,10 +70,10 @@ void LayerChangesFlusher::cancelPendingFlush(AbstractCACFLayerTreeHost* host)

LRESULT LayerChangesFlusher::hookCallback(int code, WPARAM wParam, LPARAM lParam)
{
// Supress the exception handler Windows puts around all hook calls so we can
// Suppress the exception handler Windows puts around all hook calls so we can
// crash for debugging purposes if an exception is hit.
ExceptionRegistration registrationStruct; // Note: must be stack allocated.
StructuredExceptionHandlerSuppressor supressor(registrationStruct);
StructuredExceptionHandlerSuppressor suppressor(registrationStruct);
return singleton().hookFired(code, wParam, lParam);
}

@@ -203,7 +203,7 @@ void HIDGamepadProvider::deviceRemoved(IOHIDDeviceRef device)
ASSERT(removedGamepad);

// Any time we get a device removed callback we know it's a real event and not an 'already connected' event.
// We should always stop supressing callbacks when we receive such an event.
// We should always stop suppressing callbacks when we receive such an event.
m_shouldDispatchCallbacks = true;

for (auto& client : m_clients)
@@ -32,7 +32,7 @@
.386
.model FLAT, STDCALL

EXTERN exceptionHandler@16 : near ; Defined in StructuredExceptionHandlerSupressor.cpp
EXTERN exceptionHandler@16 : near ; Defined in StructuredExceptionHandlerSuppressor.cpp

exceptionHandlerThunk proto
.safeseh exceptionHandlerThunk
@@ -1,3 +1,16 @@
2015-09-16 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Fix common typo "supress" => "suppress"
https://bugs.webkit.org/show_bug.cgi?id=149199

Reviewed by Gyuyoung Kim.

* UserInterface/Views/DataGrid.js:
(WebInspector.DataGridNode.prototype.select):
(WebInspector.DataGridNode.prototype.deselect):
* UserInterface/Views/SearchBar.js:
(WebInspector.SearchBar):

2015-09-16 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Turn off line wrapping in resource text editors
@@ -1722,7 +1722,7 @@ WebInspector.DataGridNode = class DataGridNode extends WebInspector.Object
this.dispatchEventToListeners("revealed");
}

select(supressSelectedEvent)
select(suppressSelectedEvent)
{
if (!this.dataGrid || !this.selectable || this.selected)
return;
@@ -1736,7 +1736,7 @@ WebInspector.DataGridNode = class DataGridNode extends WebInspector.Object
if (this._element)
this._element.classList.add("selected");

if (!supressSelectedEvent)
if (!suppressSelectedEvent)
this.dataGrid.dispatchEventToListeners(WebInspector.DataGrid.Event.SelectedNodeChanged);
}

@@ -1746,7 +1746,7 @@ WebInspector.DataGridNode = class DataGridNode extends WebInspector.Object
this.select();
}

deselect(supressDeselectedEvent)
deselect(suppressDeselectedEvent)
{
if (!this.dataGrid || this.dataGrid.selectedNode !== this || !this.selected)
return;
@@ -1757,7 +1757,7 @@ WebInspector.DataGridNode = class DataGridNode extends WebInspector.Object
if (this._element)
this._element.classList.remove("selected");

if (!supressDeselectedEvent)
if (!suppressDeselectedEvent)
this.dataGrid.dispatchEventToListeners(WebInspector.DataGrid.Event.SelectedNodeChanged);
}

@@ -25,7 +25,7 @@

WebInspector.SearchBar = class SearchBar extends WebInspector.NavigationItem
{
constructor(identifier, placeholder, delegate, supressIncremental)
constructor(identifier, placeholder, delegate, suppressIncremental)
{
super(identifier);

@@ -39,7 +39,7 @@ WebInspector.SearchBar = class SearchBar extends WebInspector.NavigationItem
this._searchInput = this._element.appendChild(document.createElement("input"));
this._searchInput.type = "search";
this._searchInput.spellcheck = false;
this._searchInput.incremental = !supressIncremental;
this._searchInput.incremental = !suppressIncremental;
this._searchInput.setAttribute("results", 5);
this._searchInput.setAttribute("autosave", identifier + "-autosave");
this._searchInput.setAttribute("placeholder", placeholder);
@@ -1,3 +1,13 @@
2015-09-16 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Fix common typo "supress" => "suppress"
https://bugs.webkit.org/show_bug.cgi?id=149199

Reviewed by Gyuyoung Kim.

* PluginProcess/mac/PluginProcessMac.mm:
(WebKit::PluginProcess::platformInitializeProcess):

2015-09-16 Dan Bernstein <mitz@apple.com>

[iOS] Inline implementation of -[WKImagePreviewViewController previewActions]
@@ -440,7 +440,7 @@ static void muteAudio(void)

m_pluginBundleIdentifier = CFBundleGetIdentifier(pluginBundle.get());

// FIXME: Workaround for Java not liking its plugin process to be supressed - <rdar://problem/14267843>
// FIXME: Workaround for Java not liking its plugin process to be suppressed - <rdar://problem/14267843>
if (m_pluginBundleIdentifier == "com.oracle.java.JavaAppletPlugin")
(new UserActivity("com.oracle.java.JavaAppletPlugin"))->start();
}

0 comments on commit 0b10d95

Please sign in to comment.