Skip to content

Commit

Permalink
FirefoxDriver's object annotations should be writable
Browse files Browse the repository at this point in the history
Fixes the WDBS build
  • Loading branch information
jleyba committed Nov 6, 2014
1 parent f1e1575 commit c7103aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion javascript/firefox-driver/js/firefoxDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function injectAndExecuteScript(respond, parameters, isAsync, timer) {
Object.defineProperty(value, '__exposedProps__', {
enumerable: false,
configurable: false,
writable: false,
writable: true,
value: props
});
}
Expand Down
2 changes: 1 addition & 1 deletion javascript/firefox-driver/js/moz.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ fxdriver.moz.markUnwrapped_ = function(thing) {
Object.defineProperty(thing, '__fxdriver_unwrapped', {
enumerable: false,
configurable: false,
writable: false,
writable: true,
value: true
});
};
Expand Down

0 comments on commit c7103aa

Please sign in to comment.