Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: LayoutTests/fast/performance/performance-measure-exceptions.html

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/performance/performance-measure-exceptions.html
diff --git a/LayoutTests/fast/performance/performance-measure-exceptions.html b/LayoutTests/fast/performance/performance-measure-exceptions.html
index 23550557610f0a4d35bde238ee61ebdaa5d37383..c07e688d96ce478c34b38ac48731fd4659e7e615 100644
--- a/LayoutTests/fast/performance/performance-measure-exceptions.html
+++ b/LayoutTests/fast/performance/performance-measure-exceptions.html
@@ -7,7 +7,7 @@
<script>
description("This tests that 'performance.measure' throws exceptions with reasonable messages.");
- shouldThrow('window.performance.measure("DoesNotExist", "AlsoDoesNotExist")', '"SyntaxError: The mark \'AlsoDoesNotExist\' does not exist."');
+ shouldThrow('window.performance.measure("DoesNotExist", "AlsoDoesNotExist")', '"SyntaxError: Failed to execute \'measure\' on \'Performance\': The mark \'AlsoDoesNotExist\' does not exist."');
window.performance.mark('mark');
@@ -25,7 +25,7 @@
'loadEventEnd',
];
allTheExceptionalThings.forEach(function(name) {
- shouldThrow('window.performance.measure("measuring", \'' + name + '\', "mark")', '"InvalidAccessError: \'' + name + '\' is empty: either the event hasn\'t happened yet, or it would provide cross-origin timing information."');
+ shouldThrow('window.performance.measure("measuring", \'' + name + '\', "mark")', '"InvalidAccessError: Failed to execute \'measure\' on \'Performance\': \'' + name + '\' is empty: either the event hasn\'t happened yet, or it would provide cross-origin timing information."');
});
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698