Skip to content

Commit

Permalink
Fix coding convention errors
Browse files Browse the repository at this point in the history
Missing newline from tools/wptrunner/wptrunner/executors/protocol.py.

Remove comma from resources/testdriver.js.

Unused commented code in device-posture/device-posture.https.html.
  • Loading branch information
JuhaVainio committed Feb 21, 2024
1 parent b1b8d47 commit 0ff7d73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion device-posture/device-posture.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
//<script src="../resources/orientation-event-helpers.js"></script>
<script>
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion resources/testdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@
set_device_posture: function(posture, context=null) {
console.log('JV666 TEST_DRIVER testdriver.js set_device_posture: ' + posture);
return window.test_driver_internal.set_device_posture(posture, context);
},
}
};

window.test_driver_internal = {
Expand Down
2 changes: 1 addition & 1 deletion tools/wptrunner/wptrunner/executors/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,4 +811,4 @@ class DevicePostureProtocolPart(ProtocolPart):

@abstractmethod
def set_device_posture(self, posture):
pass
pass

0 comments on commit 0ff7d73

Please sign in to comment.