Skip to content
Permalink
Browse files
Fix path to post file in a fwe tests, and adjust the expected results…
… to match.

https://bugs.webkit.org/show_bug.cgi?id=120899.

Rubber stamped by Filip Pizlo.

* fast/events/constructors/speech-recognition-error-constructor-expected.txt:
* fast/events/constructors/speech-recognition-error-constructor.html:
* fast/events/constructors/storage-event-constructor-expected.txt:
* fast/events/constructors/storage-event-constructor.html:



Canonical link: https://commits.webkit.org/138976@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Mark Lam committed Sep 9, 2013
1 parent 28b39af commit 3f24d1ebbfb653785b3b2da15aa9957c78efcaad
Showing 5 changed files with 20 additions and 2 deletions.
@@ -1,3 +1,15 @@
2013-09-09 Mark Lam <mark.lam@apple.com>

Fix path to post file in a fwe tests, and adjust the expected results to match.
https://bugs.webkit.org/show_bug.cgi?id=120899.

Rubber stamped by Filip Pizlo.

* fast/events/constructors/speech-recognition-error-constructor-expected.txt:
* fast/events/constructors/speech-recognition-error-constructor.html:
* fast/events/constructors/storage-event-constructor-expected.txt:
* fast/events/constructors/storage-event-constructor.html:

2013-09-09 Ryosuke Niwa <rniwa@webkit.org>

Prevent overflow of width/height of layout overflow rectangle which can cause scroll bar to misfunction
@@ -13,4 +13,7 @@ FAIL new webkitSpeechRecognitionError('eventType', { cancelable: false }).cancel
FAIL new webkitSpeechRecognitionError('eventType', { cancelable: true }).cancelable should be true. Threw exception ReferenceError: Can't find variable: webkitSpeechRecognitionError
FAIL new webkitSpeechRecognitionError('eventType', { error: 'bar' }).error should be bar. Threw exception ReferenceError: Can't find variable: webkitSpeechRecognitionError
FAIL new webkitSpeechRecognitionError('eventType', { message: 'foo' }).message should be foo. Threw exception ReferenceError: Can't find variable: webkitSpeechRecognitionError
PASS successfullyParsed is true

TEST COMPLETE

@@ -31,7 +31,7 @@
shouldBeEqualToString("new webkitSpeechRecognitionError('eventType', { message: 'foo' }).message", "foo");

</script>
<script src="../../js/resource/js-test-post.js"></script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>

@@ -90,4 +90,7 @@ PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc'
PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).newValue is "ghi"
PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).url is "jkl"
PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).storageArea is localStorage
PASS successfullyParsed is true

TEST COMPLETE

@@ -82,6 +82,6 @@
shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).url", "jkl");
shouldBe("new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).storageArea", "localStorage");
</script>
<script src="../../js/resource/js-test-post.js"></script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>

0 comments on commit 3f24d1e

Please sign in to comment.